SubstanceDefinition4to5
type: StructureMap
node role: treeRoot
id:
  v: SubstanceDefinition4to5
text:
  status:
    v: generated
  div: /// url = 'http://hl7.org/fhir/StructureMap/SubstanceDefinition4to5' /// name = 'SubstanceDefinition4to5' /// title = 'SubstanceDefinition Transforms: R4 to R5' /// status = 'active' uses "http://hl7.org/fhir/4.0/SubstanceSpecification" alias SubstanceSpecificationR4 as source uses "http://hl7.org/fhir/5.0/SubstanceDefinition" alias SubstanceDefinitionR5 as target imports "http://hl7.org/fhir/StructureMap/*4to5" group SubstanceDefinition(source src : SubstanceSpecificationR4, target tgt : SubstanceDefinitionR5) extends DomainResource <<type+>> { src.identifier -> tgt.identifier; src.status -> tgt.status; src.domain -> tgt.domain; src.description -> tgt.description; src.comment -> tgt.note; src.moiety as s -> tgt.moiety as t then SubstanceDefinitionMoiety(s, t); src.property as s -> tgt.property as t then SubstanceDefinitionProperty(s, t); src.referenceInformation -> tgt.referenceInformation; src.structure as s -> tgt.structure as t then SubstanceDefinitionStructure(s, t); src.code as s -> tgt.code as t then SubstanceDefinitionCode(s, t); src.name as s -> tgt.name as t then SubstanceDefinitionName(s, t); src.relationship as s -> tgt.relationship as t then SubstanceDefinitionRelationship(s, t); src.nucleicAcid -> tgt.nucleicAcid; src.polymer -> tgt.polymer; src.protein -> tgt.protein; } group SubstanceDefinitionMoiety(source src, target tgt) extends BackboneElement { src.role -> tgt.role; src.identifier -> tgt.identifier; src.name -> tgt.name; src.stereochemistry -> tgt.stereochemistry; src.opticalActivity -> tgt.opticalActivity; src.molecularFormula -> tgt.molecularFormula; src.amount : Quantity -> tgt.amount; src.amount : string -> tgt.amount; } // group SubstanceDefinitionCharacterization(source src, target tgt) extends BackboneElement { // src.technique -> tgt.technique; // src.form -> tgt.form; // src.description -> tgt.description; // src.file -> tgt.file; // } group SubstanceDefinitionProperty(source src, target tgt) extends BackboneElement { src.code -> tgt.ty…
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-wg
  value:
    v: fhir
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm
  value:
    v: 1
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom
      value:
        v: http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver
        link: http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status
  value:
    v: draft
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom
      value:
        v: http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver
        link: http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver
url:
  v: http://hl7.org/fhir/StructureMap/SubstanceDefinition4to5
version:
  v: 0.1.0
name:
  v: SubstanceDefinition4to5
title:
  v: SubstanceDefinition Transforms: R4 to R5
status:
  v: active
date:
  v: 2024-02-22T03:16:50+00:00
publisher:
  v: HL7 International / FHIR Infrastructure
contact:
  telecom:
    system:
      v: url
    value:
      v: http://www.hl7.org/Special/committees/fiwg
description:
  v: SubstanceDefinitionTransformsR4toR5
jurisdiction:
  coding:
    system:
      v: http://unstats.un.org/unsd/methods/m49/m49.htm
    code:
      v: 001
structure:
  url:
    v: http://hl7.org/fhir/4.0/SubstanceSpecification
    link: http://hl7.org/fhir/4.0/SubstanceSpecification
  mode:
    v: source
  alias:
    v: SubstanceSpecificationR4
structure:
  url:
    v: http://hl7.org/fhir/5.0/SubstanceDefinition
    link: http://hl7.org/fhir/5.0/SubstanceDefinition
  mode:
    v: target
  alias:
    v: SubstanceDefinitionR5
import:
  v: http://hl7.org/fhir/StructureMap/*4to5
  link: http://hl7.org/fhir/StructureMap/*4to5
group:
  name:
    v: SubstanceDefinition
  extends:
    v: DomainResource
  type mode:
    v: type-and-types
  input:
    name:
      v: src
    type:
      v: SubstanceSpecificationR4
    mode:
      v: source
  input:
    name:
      v: tgt
    type:
      v: SubstanceDefinitionR5
    mode:
      v: target
  rule:
    name:
      v: identifier
    source:
      context:
        v: src
      element:
        v: identifier
      variable:
        v: vvv
    target:
      context:
        v: tgt
      element:
        v: identifier
      variable:
        v: vvv
      transform:
        v: create
    dependent:
      name:
        v: DefaultMappingGroupAnonymousAlias
  rule:
    name:
      v: status
    source:
      context:
        v: src
      element:
        v: status
      variable:
        v: vvv
    target:
      context:
        v: tgt
      element:
        v: status
      variable:
        v: vvv
      transform:
        v: create
    dependent:
      name:
        v: DefaultMappingGroupAnonymousAlias
  rule:
    name:
      v: domain
    source:
      context:
        v: src
      element:
        v: domain
      variable:
        v: vvv
    target:
      context:
        v: tgt
      element:
        v: domain
      variable:
        v: vvv
      transform:
        v: create
    dependent:
      name:
        v: DefaultMappingGroupAnonymousAlias
  rule:
    name:
      v: description
    source:
      context:
        v: src
      element:
        v: description
      variable:
        v: vvv
    target:
      context:
        v: tgt
      element:
        v: description
      variable:
        v: vvv
      transform:
        v: create
    dependent:
      name:
        v: DefaultMappingGroupAnonymousAlias
  rule:
    name:
      v: comment
    source:
      context:
        v: src
      element:
        v: comment
      variable:
        v: vvv
    target:
      context:
        v: tgt

v: vvv

v: vvv

v: vvv

v: vvv

v: vvv

v: vvv

v: vvv

v: vvv

v: note

v: vvv

v: create

name:
  v: DefaultMappingGroupAnonymousAlias
parameter:
  value:
    v: vvv
parameter:
  value:
    v: vvv

name:
  v: moiety
source:
  context:
    v: src
  element:
    v: moiety
  variable:
    v: s
target:
  context:
    v: tgt
  element:
    v: moiety
  variable:
    v: t
dependent:
  name:
    v: SubstanceDefinitionMoiety
  parameter:
    value:
      v: s
  parameter:
    value:
      v: t

name:
  v: property
source:
  context:
    v: src
  element:
    v: property
  variable:
    v: s
target:
  context:
    v: tgt
  element:
    v: property
  variable:
    v: t
dependent:
  name:
    v: SubstanceDefinitionProperty
  parameter:
    value:
      v: s
  parameter:
    value:
      v: t

name:
  v: referenceInformation
source:
  context:
    v: src
  element:
    v: referenceInformation
  variable:
    v: vvv
target:
  context:
    v: tgt
  element:
    v: referenceInformation
  variable:
    v: vvv
  transform:
    v: create
dependent:
  name:
    v: DefaultMappingGroupAnonymousAlias
  parameter:
    value:
      v: vvv
  parameter:
    value:
      v: vvv

name:
  v: structure
source:
  context:
    v: src
  element:
    v: structure
  variable:
    v: s
target:
  context:
    v: tgt
  element:
    v: structure
  variable:
    v: t
dependent:
  name:
    v: SubstanceDefinitionStructure
  parameter:
    value:
      v: s
  parameter:
    value:
      v: t

name:
  v: code
source:
  context:
    v: src
  element:
    v: code
  variable:
    v: s
target:
  context:
    v: tgt
  element:
    v: code
  variable:
    v: t
dependent:
  name:
    v: SubstanceDefinitionCode
  parameter:
    value:
      v: s
  parameter:
    value:
      v: t

name:
  v: name
source:
  context:
    v: src
  element:
    v: name
  variable:
    v: s
target:
  context:
    v: tgt
  element:
    v: name
  variable:
    v: t
dependent:
  name:
    v: SubstanceDefinitionName
  parameter:
    value:
      v: s
  parameter:
    value:
      v: t

name:
  v: relationship
source:
  context:
    v: src
  element:
    v: relationship
  variable:
    v: s
target:
  context:
    v: tgt
  element:
    v: relationship
  variable:
    v: t
dependent:
  name:
    v: SubstanceDefinitionRelationship
  parameter:
    value:
      v: s
  parameter:
    value:
      v: t

name:
  v: nucleicAcid
source:
  context:
    v: src
  element:
    v: nucleicAcid
  variable:
    v: vvv
target:
  context:
    v: tgt
  element:
    v: nucleicAcid
  variable:
    v: vvv
  transform:
    v: create
dependent:
  name:
    v: DefaultMappingGroupAnonymousAlias
  parameter:
    value:
      v: vvv
  parameter:
    value:
      v: vvv

name:
  v: polymer
source:
  context:
    v: src
  element:
    v: polymer
  variable:
    v: vvv
target:
  context:
    v: tgt
  element:
    v: polymer
  variable:
    v: vvv
  transform:
    v: create
dependent:
  name:
    v: DefaultMappingGroupAnonymousAlias
  parameter:
    value:
      v: vvv
  parameter:
    value:
      v: vvv

name:
  v: protein
source:
  context:
    v: src
  element:
    v: protein
  variable:
    v: vvv
target:
  context:
    v: tgt
  element:
    v: protein
  variable:
    v: vvv
  transform:
    v: create
dependent:
  name:
    v: DefaultMappingGroupAnonymousAlias
  parameter:
    value:
      v: vvv
  parameter:
    value:
      v: vvv

name:
  v: SubstanceDefinitionMoiety
extends:
  v: BackboneElement
input:
  name:
    v: src
  mode:
    v: source
input:
  name:
    v: tgt
  mode:
    v: target
rule:
  name:
    v: role
  source:
    context:
      v: src
    element:
      v: role
    variable:
      v: vvv
  target:
    context:
      v: tgt
    element:
      v: role
    variable:
      v: vvv
    transform:
      v: create
  dependent:
    name:
      v: DefaultMappingGroupAnonymousAlias
    parameter:
      value:
        v: vvv
    parameter:
      value:
        v: vvv
rule:
  name:
    v: identifier
  source:
    context:
      v: src
    element:
      v: identifier
    variable:
      v: vvv
  target:
    context:
      v: tgt
    element:
      v: identifier
    variable:
      v: vvv
    transform:
      v: create
  dependent:
    name:
      v: DefaultMappingGroupAnonymousAlias
    parameter:
      value:
        v: vvv
    parameter:
      value:
        v: vvv
rule:
  name:
    v: name
  source:
    context:
      v: src
    element:
      v: name
    variable:
      v: vvv
  target:
    context:
      v: tgt
    element:
      v: name
    variable:
      v: vvv
    transform:
      v: create
  dependent:
    name:
      v: DefaultMappingGroupAnonymousAlias
    parameter:
      value:
        v: vvv
    parameter:
      value:
        v: vvv
rule:
  name:
    v: stereochemistry
  source:
    context:
      v: src
    element:
      v: stereochemistry
    variable:
      v: vvv
  target:
    context:
      v: tgt
    element:
      v: stereochemistry
    variable:
      v: vvv
    transform:
      v: create
  dependent:
    name:
      v: DefaultMappingGroupAnonymousAlias
    parameter:
      value:
        v: vvv
    parameter:
      value:
        v: vvv
rule:
  name:
    v: opticalActivity
  source:
    context:
      v: src
    element:
      v: opticalActivity
    variable:
      v: vvv
  target:
    context:
      v: tgt
    element:
      v: opticalActivity
    variable:
      v: vvv
    transform:
      v: create
  dependent:
    name:
      v: DefaultMappingGroupAnonymousAlias
    parameter:
      value:
        v: vvv
    parameter:
      value:
        v: vvv
rule:
  name:
    v: molecularFormula
  source:
    context:
      v: src
    element:
      v: molecularFormula
    variable:
      v: vvv
  target:
    context:
      v: tgt
    element:
      v: molecularFormula
    variable:
      v: vvv
    transform:
      v: create
  dependent:
    name:
      v: DefaultMappingGroupAnonymousAlias
    parameter:
      value:
        v: vvv
    parameter:
      value:
        v: vvv
rule:
  name:
    v: amountQuantity
  source:
    context:
      v: src
    type:
      v: Quantity
    element:
      v: amount
    variable:
      v: vvv
  target:
    context:
      v: tgt
    element:
      v: amount
    variable:
      v: vvv
    transform:
      v: create

name:
  v: DefaultMappingGroupAnonymousAlias
parameter:
  value:
    v: vvv
parameter:
  value:
    v: vvv

name:
  v: amountString
source:
  context:
    v: src
  type:
    v: string
  element:
    v: amount
  variable:
    v: vvv
target:
  context:
    v: tgt
  element:
    v: amount
  variable:
    v: vvv
  transform:
    v: create
dependent:
  name:
    v: DefaultMappingGroupAnonymousAlias
  parameter:
    value:
      v: vvv
  parameter:
    value:
      v: vvv

name:
  v: SubstanceDefinitionProperty
extends:
  v: BackboneElement
documentation:
  v: group SubstanceDefinitionCharacterization(source src, target tgt) extends BackboneElement { src.technique -> tgt.technique; src.form -> tgt.form; src.description -> tgt.description; src.file -> tgt.file; }
input:
  name:
    v: src
  mode:
    v: source
input:
  name:
    v: tgt
  mode:
    v: target
rule:
  name:
    v: code
  source:
    context:
      v: src
    element:
      v: code
    variable:
      v: vvv
  target:
    context:
      v: tgt
    element:
      v: type
    variable:
      v: vvv
    transform:
      v: create
  dependent:
    name:
      v: DefaultMappingGroupAnonymousAlias
    parameter:
      value:
        v: vvv
    parameter:
      value:
        v: vvv
rule:
  name:
    v: amountQuantity
  source:
    context:
      v: src
    type:
      v: Quantity
    element:
      v: amount
    variable:
      v: vvv
  target:
    context:
      v: tgt
    element:
      v: value
    variable:
      v: vvv
    transform:
      v: create
  dependent:
    name:
      v: DefaultMappingGroupAnonymousAlias
    parameter:
      value:
        v: vvv
    parameter:
      value:
        v: vvv

name:
  v: SubstanceDefinitionMolecularWeight
extends:
  v: BackboneElement
input:
  name:
    v: src
  mode:
    v: source
input:
  name:
    v: tgt
  mode:
    v: target
rule:
  name:
    v: method
  source:
    context:
      v: src
    element:
      v: method
    variable:
      v: vvv
  target:
    context:
      v: tgt
    element:
      v: method
    variable:
      v: vvv
    transform:
      v: create
  dependent:
    name:
      v: DefaultMappingGroupAnonymousAlias
    parameter:
      value:
        v: vvv
    parameter:
      value:
        v: vvv
rule:
  name:
    v: type
  source:
    context:
      v: src
    element:
      v: type
    variable:
      v: vvv
  target:
    context:
      v: tgt
    element:
      v: type
    variable:
      v: vvv
    transform:
      v: create
  dependent:
    name:
      v: DefaultMappingGroupAnonymousAlias
    parameter:
      value:
        v: vvv
    parameter:
      value:
        v: vvv
rule:
  name:
    v: amount
  source:
    context:
      v: src
    element:
      v: amount
    variable:
      v: vvv
  target:
    context:
      v: tgt
    element:
      v: amount
    variable:
      v: vvv
    transform:
      v: create
  dependent:
    name:
      v: DefaultMappingGroupAnonymousAlias
    parameter:
      value:
        v: vvv
    parameter:
      value:
        v: vvv

name:
  v: SubstanceDefinitionStructure
extends:
  v: BackboneElement
input:
  name:
    v: src
  mode:
    v: source
input:
  name:
    v: tgt
  mode:
    v: target
rule:
  name:
    v: stereochemistry
  source:
    context:
      v: src
    element:
      v: stereochemistry
    variable:
      v: vvv
  target:
    context:
      v: tgt
    element:
      v: stereochemistry
    variable:
      v: vvv
    transform:
      v: create
  dependent:
    name:
      v: DefaultMappingGroupAnonymousAlias
    parameter:
      value:
        v: vvv
    parameter:
      value:
        v: vvv
rule:
  name:
    v: opticalActivity
  source:
    context:
      v: src
    element:
      v: opticalActivity
    variable:
      v: vvv
  target:
    context:
      v: tgt
    element:
      v: opticalActivity
    variable:
      v: vvv
    transform:
      v: create
  dependent:
    name:
      v: DefaultMappingGroupAnonymousAlias
    parameter:
      value:
        v: vvv
    parameter:
      value:
        v: vvv
rule:
  name:
    v: molecularFormula
  source:
    context:
      v: src
    element:
      v: molecularFormula
    variable:
      v: vvv
  target:
    context:
      v: tgt
    element:
      v: molecularFormula
    variable:
      v: vvv
    transform:
      v: create
  dependent:
    name:
      v: DefaultMappingGroupAnonymousAlias
    parameter:
      value:
        v: vvv
    parameter:
      value:
        v: vvv
rule:
  name:
    v: molecularFormulaByMoiety
  source:
    context:
      v: src
    element:
      v: molecularFormulaByMoiety
    variable:
      v: vvv
  target:
    context:
      v: tgt
    element:
      v: molecularFormulaByMoiety
    variable:
      v: vvv
    transform:
      v: create
  dependent:
    name:
      v: DefaultMappingGroupAnonymousAlias
    parameter:
      value:
        v: vvv
    parameter:
      value:
        v: vvv
rule:
  name:
    v: isotope
  source:
    context:
      v: src
    element:
      v: isotope
    variable:
      v: s
  target:
    transform:
      v: copy
    parameter:
      value:
        v: tgt
  rule:
    name:
      v: molecularWeight
    source:
      context:
        v: s
      element:
        v: molecularWeight
      variable:
        v: v
    target:
      context:
        v: tgt
      element:
        v: molecularWeight
      variable:
        v: t
    dependent:
      name:
        v: SubstanceDefinitionMolecularWeight
rule:
  name:
    v: source
  source:
    context:
      v: src
    element:
      v: source
    variable:
      v: vvv
  target:
    context:
      v: tgt
    element:
      v: sourceDocument
    variable:
      v: vvv
    transform:
      v: create
  dependent:
    name:
      v: DefaultMappingGroupAnonymousAlias
    parameter:
      value:
        v: vvv
    parameter:
      value:
        v: vvv
rule:
  name:
    v: representation
  source:
    context:
      v: src
    element:
      v: representation
    variable:
      v: s
  target:
    context:
      v: tgt

v: v

v: t

v: representation

v: t

name:
  v: SubstanceDefinitionStructureRepresentation
parameter:
  value:
    v: s
parameter:
  value:
    v: t

name:
  v: SubstanceDefinitionStructureRepresentation
extends:
  v: BackboneElement
input:
  name:
    v: src
  mode:
    v: source
input:
  name:
    v: tgt
  mode:
    v: target
rule:
  name:
    v: type
  source:
    context:
      v: src
    element:
      v: type
    variable:
      v: vvv
  target:
    context:
      v: tgt
    element:
      v: type
    variable:
      v: vvv
    transform:
      v: create
  dependent:
    name:
      v: DefaultMappingGroupAnonymousAlias
    parameter:
      value:
        v: vvv
    parameter:
      value:
        v: vvv
rule:
  name:
    v: representation
  source:
    context:
      v: src
    element:
      v: representation
    variable:
      v: vvv
  target:
    context:
      v: tgt
    element:
      v: representation
    variable:
      v: vvv
    transform:
      v: create
  dependent:
    name:
      v: DefaultMappingGroupAnonymousAlias
    parameter:
      value:
        v: vvv
    parameter:
      value:
        v: vvv

name:
  v: SubstanceDefinitionCode
extends:
  v: BackboneElement
input:
  name:
    v: src
  mode:
    v: source
input:
  name:
    v: tgt
  mode:
    v: target
rule:
  name:
    v: code
  source:
    context:
      v: src
    element:
      v: code
    variable:
      v: vvv
  target:
    context:
      v: tgt
    element:
      v: code
    variable:
      v: vvv
    transform:
      v: create
  dependent:
    name:
      v: DefaultMappingGroupAnonymousAlias
    parameter:
      value:
        v: vvv
    parameter:
      value:
        v: vvv
rule:
  name:
    v: status
  source:
    context:
      v: src
    element:
      v: status
    variable:
      v: vvv
  target:
    context:
      v: tgt
    element:
      v: status
    variable:
      v: vvv
    transform:
      v: create
  dependent:
    name:
      v: DefaultMappingGroupAnonymousAlias
    parameter:
      value:
        v: vvv
    parameter:
      value:
        v: vvv
rule:
  name:
    v: statusDate
  source:
    context:
      v: src
    element:
      v: statusDate
    variable:
      v: vvv
  target:
    context:
      v: tgt
    element:
      v: statusDate
    variable:
      v: vvv
    transform:
      v: create
  dependent:
    name:
      v: DefaultMappingGroupAnonymousAlias
    parameter:
      value:
        v: vvv
    parameter:
      value:
        v: vvv
rule:
  name:
    v: comment
  source:
    context:
      v: src
    element:
      v: comment
    variable:
      v: vvv
  target:
    context:
      v: tgt
    element:
      v: note
    variable:
      v: vvv
    transform:
      v: create
  dependent:
    name:
      v: DefaultMappingGroupAnonymousAlias
    parameter:
      value:
        v: vvv
    parameter:
      value:
        v: vvv
rule:
  name:
    v: source
  source:
    context:
      v: src
    element:
      v: source
    variable:
      v: vvv
  target:
    context:
      v: tgt
    element:
      v: source
    variable:
      v: vvv
    transform:
      v: create
  dependent:
    name:
      v: DefaultMappingGroupAnonymousAlias
    parameter:
      value:
        v: vvv
    parameter:
      value:
        v: vvv

name:
  v: SubstanceDefinitionName
extends:
  v: BackboneElement
input:
  name:
    v: src
  mode:
    v: source
input:
  name:
    v: tgt
  mode:
    v: target
rule:
  name:
    v: name
  source:
    context:
      v: src
    element:
      v: name
    variable:
      v: vvv
  target:
    context:
      v: tgt
    element:
      v: name
    variable:
      v: vvv
    transform:
      v: create
  dependent:
    name:
      v: DefaultMappingGroupAnonymousAlias
    parameter:
      value:
        v: vvv
    parameter:
      value:
        v: vvv
rule:
  name:
    v: type
  source:
    context:
      v: src
    element:
      v: type
    variable:
      v: vvv
  target:
    context:
      v: tgt
    element:
      v: type
    variable:
      v: vvv
    transform:
      v: create
  dependent:
    name:
      v: DefaultMappingGroupAnonymousAlias
    parameter:
      value:
        v: vvv
    parameter:
      value:
        v: vvv
rule:
  name:
    v: status
  source:
    context:
      v: src
    element:
      v: status
    variable:
      v: vvv
  target:
    context:
      v: tgt
    element:
      v: status
    variable:
      v: vvv
    transform:
      v: create
  dependent:
    name:
      v: DefaultMappingGroupAnonymousAlias
    parameter:
      value:
        v: vvv
    parameter:
      value:
        v: vvv
rule:
  name:
    v: preferred
  source:
    context:
      v: src
    element:
      v: preferred
    variable:
      v: vvv
  target:
    context:
      v: tgt
    element:
      v: preferred
    variable:
      v: vvv
    transform:
      v: create
  dependent:
    name:
      v: DefaultMappingGroupAnonymousAlias
    parameter:
      value:
        v: vvv
    parameter:
      value:
        v: vvv
rule:
  name:
    v: language
  source:
    context:
      v: src
    element:
      v: language
    variable:
      v: vvv
  target:
    context:
      v: tgt
    element:
      v: language
    variable:
      v: vvv
    transform:
      v: create
  dependent:
    name:
      v: DefaultMappingGroupAnonymousAlias
    parameter:
      value:
        v: vvv
    parameter:
      value:
        v: vvv
rule:
  name:
    v: domain
  source:
    context:
      v: src
    element:
      v: domain
    variable:
      v: vvv
  target:
    context:
      v: tgt
    element:
      v: domain
    variable:
      v: vvv
    transform:
      v: create
  dependent:
    name:
      v: DefaultMappingGroupAnonymousAlias
    parameter:
      value:
        v: vvv
    parameter:
      value:
        v: vvv
rule:
  name:
    v: jurisdiction
  source:
    context:
      v: src
    element:
      v: jurisdiction
    variable:
      v: vvv
  target:
    context:
      v: tgt
    element:
      v: jurisdiction
    variable:
      v: vvv
    transform:
      v: create

name:
  v: DefaultMappingGroupAnonymousAlias
parameter:
  value:
    v: vvv
parameter:
  value:
    v: vvv

name:
  v: official
source:
  context:
    v: src
  element:
    v: official
  variable:
    v: s
target:
  context:
    v: tgt
  element:
    v: official
  variable:
    v: t
dependent:
  name:
    v: SubstanceDefinitionNameOfficial
  parameter:
    value:
      v: s
  parameter:
    value:
      v: t

name:
  v: source
source:
  context:
    v: src
  element:
    v: source
  variable:
    v: vvv
target:
  context:
    v: tgt
  element:
    v: source
  variable:
    v: vvv
  transform:
    v: create
dependent:
  name:
    v: DefaultMappingGroupAnonymousAlias
  parameter:
    value:
      v: vvv
  parameter:
    value:
      v: vvv

name:
  v: SubstanceDefinitionNameOfficial
extends:
  v: BackboneElement
input:
  name:
    v: src
  mode:
    v: source
input:
  name:
    v: tgt
  mode:
    v: target
rule:
  name:
    v: authority
  source:
    context:
      v: src
    element:
      v: authority
    variable:
      v: vvv
  target:
    context:
      v: tgt
    element:
      v: authority
    variable:
      v: vvv
    transform:
      v: create
  dependent:
    name:
      v: DefaultMappingGroupAnonymousAlias
    parameter:
      value:
        v: vvv
    parameter:
      value:
        v: vvv
rule:
  name:
    v: status
  source:
    context:
      v: src
    element:
      v: status
    variable:
      v: vvv
  target:
    context:
      v: tgt
    element:
      v: status
    variable:
      v: vvv
    transform:
      v: create
  dependent:
    name:
      v: DefaultMappingGroupAnonymousAlias
    parameter:
      value:
        v: vvv
    parameter:
      value:
        v: vvv
rule:
  name:
    v: date
  source:
    context:
      v: src
    element:
      v: date
    variable:
      v: vvv
  target:
    context:
      v: tgt
    element:
      v: date
    variable:
      v: vvv
    transform:
      v: create
  dependent:
    name:
      v: DefaultMappingGroupAnonymousAlias
    parameter:
      value:
        v: vvv
    parameter:
      value:
        v: vvv

name:
  v: SubstanceDefinitionRelationship
extends:
  v: BackboneElement
input:
  name:
    v: src
  mode:
    v: source
input:
  name:
    v: tgt
  mode:
    v: target
rule:
  name:
    v: substanceReference
  source:
    context:
      v: src
    type:
      v: Reference
    element:
      v: substance
    variable:
      v: vvv
  target:
    context:
      v: tgt
    element:
      v: substanceDefinition
    variable:
      v: vvv
    transform:
      v: create
  dependent:
    name:
      v: DefaultMappingGroupAnonymousAlias
    parameter:
      value:
        v: vvv
    parameter:
      value:
        v: vvv
rule:
  name:
    v: substanceCodeableConcept
  source:
    context:
      v: src
    type:
      v: CodeableConcept
    element:
      v: substance
    variable:
      v: vvv
  target:
    context:
      v: tgt
    element:
      v: substanceDefinition
    variable:
      v: vvv
    transform:
      v: create
  dependent:
    name:
      v: DefaultMappingGroupAnonymousAlias
    parameter:
      value:
        v: vvv
    parameter:
      value:
        v: vvv
rule:
  name:
    v: relationship
  source:
    context:
      v: src
    element:
      v: relationship
    variable:
      v: vvv
  target:
    context:
      v: tgt
    element:
      v: type
    variable:
      v: vvv
    transform:
      v: create
  dependent:
    name:
      v: DefaultMappingGroupAnonymousAlias
    parameter:
      value:
        v: vvv
    parameter:
      value:
        v: vvv
rule:
  name:
    v: isDefining
  source:
    context:
      v: src
    element:
      v: isDefining
    variable:
      v: vvv
  target:
    context:
      v: tgt
    element:
      v: isDefining
    variable:
      v: vvv
    transform:
      v: create
  dependent:
    name:
      v: DefaultMappingGroupAnonymousAlias
    parameter:
      value:
        v: vvv
    parameter:
      value:
        v: vvv
rule:
  name:
    v: amountQuantity
  source:
    context:
      v: src
    type:
      v: Quantity
    element:
      v: amount
    variable:
      v: vvv
  target:
    context:
      v: tgt
    element:
      v: amount
    variable:
      v: vvv
    transform:
      v: create
  dependent:
    name:
      v: DefaultMappingGroupAnonymousAlias
    parameter:
      value:
        v: vvv
    parameter:
      value:
        v: vvv
rule:
  name:
    v: amountRatio
  source:
    context:
      v: src
    type:
      v: Ratio
    element:
      v: amount
    variable:
      v: vvv
  target:
    context:
      v: tgt
    element:
      v: amount
    variable:
      v: vvv
    transform:
      v: create
  dependent:
    name:
      v: DefaultMappingGroupAnonymousAlias
    parameter:
      value:
        v: vvv
    parameter:
      value:
        v: vvv
rule:
  name:
    v: amountString
  source:
    context:
      v: src
    type:
      v: string
    element:
      v: amount
    variable:
      v: vvv

context:
  v: tgt
element:
  v: amount
variable:
  v: vvv
transform:
  v: create

name:
  v: DefaultMappingGroupAnonymousAlias
parameter:
  value:
    v: vvv
parameter:
  value:
    v: vvv

name:
  v: amountType
source:
  context:
    v: src
  element:
    v: amountType
  variable:
    v: vvv
target:
  context:
    v: tgt
  element:
    v: comparator
  variable:
    v: vvv
  transform:
    v: create
dependent:
  name:
    v: DefaultMappingGroupAnonymousAlias
  parameter:
    value:
      v: vvv
  parameter:
    value:
      v: vvv

name:
  v: source
source:
  context:
    v: src
  element:
    v: source
  variable:
    v: vvv
target:
  context:
    v: tgt
  element:
    v: source
  variable:
    v: vvv
  transform:
    v: create
dependent:
  name:
    v: DefaultMappingGroupAnonymousAlias
  parameter:
    value:
      v: vvv
  parameter:
    value:
      v: vvv