This page is part of the FHIR Core Extensions Registry (v5.1.0-snapshot1: Release 5.1) based on FHIR (HL7® FHIR® Standard) v5.0.0. The current version which supersedes this version is 1.0.0. For a full list of available versions, see the Directory of published versions
Page standards status: Trial-use | Maturity Level: 1 |
{
"resourceType" : "StructureMap",
"id" : "SubstanceDefinition5to4",
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><pre class=\"fml\">\r\n<span style=\"color: #cc00cc\">/// <b>url</b> = </span><span style=\"color: blue\">'http://hl7.org/fhir/StructureMap/SubstanceDefinition5to4'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'SubstanceDefinition5to4'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'FML Conversion for SubstanceDefinition: R5 to R4'</span>\r\n<span style=\"color: #cc00cc\">/// <b>status</b> = </span><span style=\"color: blue\">'active'</span>\r\n\r\n<b>uses</b><span style=\"color: navy\"> "</span><a href=\"http://hl7.org/fhir/R5/substancedefinition.html\" title=\"SubstanceDefinition\">http://hl7.org/fhir/StructureDefinition/SubstanceDefinition</a><span style=\"color: navy\">" </span><b>alias </b>SubstanceDefinitionR5 <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span><a href=\"http://hl7.org/fhir/R4/substancespecification.html\" title=\"SubstanceSpecification\">http://hl7.org/fhir/4.0/StructureDefinition/SubstanceSpecification</a><span style=\"color: navy\">" </span><b>alias </b>SubstanceSpecificationR4 <b>as </b><b>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/StructureMap/*5to4<span style=\"color: navy\">"\r\n</span>\r\n<b>group </b>SubstanceDefinition<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>SubstanceDefinitionR5, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>SubstanceSpecificationR4<span style=\"color: navy\">)</span><b> extends </b>DomainResource<b> <<type+>></b><span style=\"color: navy\"> {\r\n</span> src.identifier<span style=\"color: navy\"><b> -> </b></span>tgt.identifier<span style=\"color: navy\">;</span>\r\n src.status<span style=\"color: navy\"><b> -> </b></span>tgt.status<span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">src.version -> tgt.version;</span>\r\n src.domain<span style=\"color: navy\"><b> -> </b></span>tgt.domain<span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">src.classification -> tgt.classification;</span>\r\n src.description<span style=\"color: navy\"><b> -> </b></span>tgt.description<span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">src.grade -> tgt.grade;</span>\r\n src.note<span style=\"color: navy\"><b> -> </b></span>tgt.comment<span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">src.informationSource -> tgt.informationSource;</span>\r\n src.moiety<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.moiety<b> as </b><span style=\"color: maroon\">t</span><b> then </b>SubstanceDefinitionMoiety<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">src.manufacturer -> tgt.manufacturer;</span>\r\n src.property<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.property<b> as </b><span style=\"color: maroon\">t</span><b> then </b>SubstanceDefinitionProperty<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">src.characterization as s -> tgt.characterization as t then SubstanceDefinitionCharacterization(s,t);</span>\r\n src.referenceInformation<span style=\"color: navy\"><b> -> </b></span>tgt.referenceInformation<span style=\"color: navy\">;</span>\r\n src.structure<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.structure<b> as </b><span style=\"color: maroon\">t</span><b> then </b>SubstanceDefinitionStructure<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">src.molecularWeight as s -> tgt.molecularWeight as t then SubstanceDefinitionMolecularWeight(s,t);</span>\r\n src.code<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.code<b> as </b><span style=\"color: maroon\">t</span><b> then </b>SubstanceDefinitionCode<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n src.name<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.name<b> as </b><span style=\"color: maroon\">t</span><b> then </b>SubstanceDefinitionName<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n src.relationship<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.relationship<b> as </b><span style=\"color: maroon\">t</span><b> then </b>SubstanceDefinitionRelationship<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n src.nucleicAcid<span style=\"color: navy\"><b> -> </b></span>tgt.nucleicAcid<span style=\"color: navy\">;</span>\r\n src.polymer<span style=\"color: navy\"><b> -> </b></span>tgt.polymer<span style=\"color: navy\">;</span>\r\n src.protein<span style=\"color: navy\"><b> -> </b></span>tgt.protein<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>SubstanceDefinitionMoiety<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.role<span style=\"color: navy\"><b> -> </b></span>tgt.role<span style=\"color: navy\">;</span>\r\n src.identifier<span style=\"color: navy\"><b> -> </b></span>tgt.identifier<span style=\"color: navy\">;</span>\r\n src.name<span style=\"color: navy\"><b> -> </b></span>tgt.name<span style=\"color: navy\">;</span>\r\n src.stereochemistry<span style=\"color: navy\"><b> -> </b></span>tgt.stereochemistry<span style=\"color: navy\">;</span>\r\n src.opticalActivity<span style=\"color: navy\"><b> -> </b></span>tgt.opticalActivity<span style=\"color: navy\">;</span>\r\n src.molecularFormula<span style=\"color: navy\"><b> -> </b></span>tgt.molecularFormula<span style=\"color: navy\">;</span>\r\n src.amount<span style=\"color: navy\"> : </span>Quantity<span style=\"color: navy\"><b> -> </b></span>tgt.amount<span style=\"color: navy\">;</span>\r\n src.amount<span style=\"color: navy\"> : </span>string<span style=\"color: navy\"><b> -> </b></span>tgt.amount<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><span style=\"color: navy\">// </span><span style=\"color: green\">group SubstanceDefinitionCharacterization(source src, target tgt) extends BackboneElement {</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.technique -> tgt.technique;</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.form -> tgt.form;</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.description -> tgt.description;</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.file -> tgt.file;</span>\r\n<span style=\"color: navy\">// </span><span style=\"color: green\">}</span>\r\n<b>group </b>SubstanceDefinitionProperty<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.type<span style=\"color: navy\"><b> -> </b></span>tgt.code<span style=\"color: navy\">;</span>\r\n src.value<span style=\"color: navy\"> : </span>Quantity<span style=\"color: navy\"><b> -> </b></span>tgt.amount<span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">src.value : CodeableConcept -> tgt.amount;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>SubstanceDefinitionMolecularWeight<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.method<span style=\"color: navy\"><b> -> </b></span>tgt.method<span style=\"color: navy\">;</span>\r\n src.type<span style=\"color: navy\"><b> -> </b></span>tgt.type<span style=\"color: navy\">;</span>\r\n src.amount<span style=\"color: navy\"><b> -> </b></span>tgt.amount<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>SubstanceDefinitionStructure<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.stereochemistry<span style=\"color: navy\"><b> -> </b></span>tgt.stereochemistry<span style=\"color: navy\">;</span>\r\n src.opticalActivity<span style=\"color: navy\"><b> -> </b></span>tgt.opticalActivity<span style=\"color: navy\">;</span>\r\n src.molecularFormula<span style=\"color: navy\"><b> -> </b></span>tgt.molecularFormula<span style=\"color: navy\">;</span>\r\n src.molecularFormulaByMoiety<span style=\"color: navy\"><b> -> </b></span>tgt.molecularFormulaByMoiety<span style=\"color: navy\">;</span>\r\n src.molecularWeight<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span> tgt.isotope<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.molecularWeight<b> as </b><span style=\"color: maroon\">tm</span><b> then </b>SubstanceDefinitionMolecularWeight<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">tm</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n src.sourceDocument<span style=\"color: navy\"><b> -> </b></span>tgt.source<span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">src.technique -> tgt.technique;</span>\r\n src.representation<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.representation<b> as </b><span style=\"color: maroon\">t</span><b> then </b>SubstanceDefinitionStructureRepresentation<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>SubstanceDefinitionStructureRepresentation<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.type<span style=\"color: navy\"><b> -> </b></span>tgt.type<span style=\"color: navy\">;</span>\r\n src.representation<span style=\"color: navy\"><b> -> </b></span>tgt.representation<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>SubstanceDefinitionCode<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.code<span style=\"color: navy\"><b> -> </b></span>tgt.code<span style=\"color: navy\">;</span>\r\n src.status<span style=\"color: navy\"><b> -> </b></span>tgt.status<span style=\"color: navy\">;</span>\r\n src.statusDate<span style=\"color: navy\"><b> -> </b></span>tgt.statusDate<span style=\"color: navy\">;</span>\r\n src.note<span style=\"color: navy\"><b> -> </b></span>tgt.comment<span style=\"color: navy\">;</span>\r\n src.source<span style=\"color: navy\"><b> -> </b></span>tgt.source<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>SubstanceDefinitionName<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.name<span style=\"color: navy\"><b> -> </b></span>tgt.name<span style=\"color: navy\">;</span>\r\n src.type<span style=\"color: navy\"><b> -> </b></span>tgt.type<span style=\"color: navy\">;</span>\r\n src.status<span style=\"color: navy\"><b> -> </b></span>tgt.status<span style=\"color: navy\">;</span>\r\n src.preferred<span style=\"color: navy\"><b> -> </b></span>tgt.preferred<span style=\"color: navy\">;</span>\r\n src.language<span style=\"color: navy\"><b> -> </b></span>tgt.language<span style=\"color: navy\">;</span>\r\n src.domain<span style=\"color: navy\"><b> -> </b></span>tgt.domain<span style=\"color: navy\">;</span>\r\n src.jurisdiction<span style=\"color: navy\"><b> -> </b></span>tgt.jurisdiction<span style=\"color: navy\">;</span>\r\n src.official<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.official<b> as </b><span style=\"color: maroon\">t</span><b> then </b>SubstanceDefinitionNameOfficial<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n src.source<span style=\"color: navy\"><b> -> </b></span>tgt.source<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>SubstanceDefinitionNameOfficial<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.authority<span style=\"color: navy\"><b> -> </b></span>tgt.authority<span style=\"color: navy\">;</span>\r\n src.status<span style=\"color: navy\"><b> -> </b></span>tgt.status<span style=\"color: navy\">;</span>\r\n src.date<span style=\"color: navy\"><b> -> </b></span>tgt.date<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>SubstanceDefinitionRelationship<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.substanceDefinition<span style=\"color: navy\"> : </span>Reference<span style=\"color: navy\"><b> -> </b></span>tgt.substance<span style=\"color: navy\">;</span>\r\n src.substanceDefinition<span style=\"color: navy\"> : </span>CodeableConcept<span style=\"color: navy\"><b> -> </b></span>tgt.substance<span style=\"color: navy\">;</span>\r\n src.type<span style=\"color: navy\"><b> -> </b></span>tgt.relationship<span style=\"color: navy\">;</span>\r\n src.isDefining<span style=\"color: navy\"><b> -> </b></span>tgt.isDefining<span style=\"color: navy\">;</span>\r\n src.amount<span style=\"color: navy\"> : </span>Quantity<span style=\"color: navy\"><b> -> </b></span>tgt.amount<span style=\"color: navy\">;</span>\r\n src.amount<span style=\"color: navy\"> : </span>Ratio<span style=\"color: navy\"><b> -> </b></span>tgt.amount<span style=\"color: navy\">;</span>\r\n src.amount<span style=\"color: navy\"> : </span>string<span style=\"color: navy\"><b> -> </b></span>tgt.amount<span style=\"color: navy\">;</span>\r\n src.comparator<span style=\"color: navy\"><b> -> </b></span>tgt.amountType<span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">src.ratioHighLimitAmount -> tgt.ratioHighLimitAmount;</span>\r\n src.source<span style=\"color: navy\"><b> -> </b></span>tgt.source<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>"
},
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
"valueCode" : "fhir"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
"valueInteger" : 1,
"_valueInteger" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.extensions"
}
]
}
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "trial-use",
"_valueCode" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.extensions"
}
]
}
}
],
"url" : "http://hl7.org/fhir/StructureMap/SubstanceDefinition5to4",
"version" : "5.1.0-snapshot1",
"name" : "SubstanceDefinition5to4",
"title" : "FML Conversion for SubstanceDefinition: R5 to R4",
"status" : "active",
"date" : "2024-03-12T13:30:10+11:00",
"publisher" : "HL7 International / FHIR Infrastructure",
"contact" : [
{
"telecom" : [
{
"system" : "url",
"value" : "http://www.hl7.org/Special/committees/fiwg"
}
]
}
],
"description" : "FMLConversionforSubstanceDefinitionR5toR4",
"jurisdiction" : [
{
"coding" : [
{
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code" : "001"
}
]
}
],
"structure" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/SubstanceDefinition",
"mode" : "source",
"alias" : "SubstanceDefinitionR5"
},
{
"url" : "http://hl7.org/fhir/4.0/StructureDefinition/SubstanceSpecification",
"mode" : "target",
"alias" : "SubstanceSpecificationR4"
}
],
"import" : [
"http://hl7.org/fhir/StructureMap/*5to4"
],
"group" : [
{
"name" : "SubstanceDefinition",
"extends" : "DomainResource",
"typeMode" : "type-and-types",
"input" : [
{
"name" : "src",
"type" : "SubstanceDefinitionR5",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "SubstanceSpecificationR4",
"mode" : "target"
}
],
"rule" : [
{
"name" : "identifier",
"source" : [
{
"context" : "src",
"element" : "identifier",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "identifier",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "status",
"source" : [
{
"context" : "src",
"element" : "status",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "status",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
],
"documentation" : "src.version -> tgt.version;"
},
{
"name" : "domain",
"source" : [
{
"context" : "src",
"element" : "domain",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "domain",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
],
"documentation" : "src.classification -> tgt.classification;"
},
{
"name" : "description",
"source" : [
{
"context" : "src",
"element" : "description",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "description",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
],
"documentation" : "src.grade -> tgt.grade;"
},
{
"name" : "note",
"source" : [
{
"context" : "src",
"element" : "note",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "comment",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
],
"documentation" : "src.informationSource -> tgt.informationSource;"
},
{
"name" : "moiety",
"source" : [
{
"context" : "src",
"element" : "moiety",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "moiety",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "SubstanceDefinitionMoiety",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
],
"documentation" : "src.manufacturer -> tgt.manufacturer;"
},
{
"name" : "property",
"source" : [
{
"context" : "src",
"element" : "property",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "property",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "SubstanceDefinitionProperty",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
],
"documentation" : "src.characterization as s -> tgt.characterization as t then SubstanceDefinitionCharacterization(s,t);"
},
{
"name" : "referenceInformation",
"source" : [
{
"context" : "src",
"element" : "referenceInformation",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "referenceInformation",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "structure",
"source" : [
{
"context" : "src",
"element" : "structure",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "structure",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "SubstanceDefinitionStructure",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
],
"documentation" : "src.molecularWeight as s -> tgt.molecularWeight as t then SubstanceDefinitionMolecularWeight(s,t);"
},
{
"name" : "code",
"source" : [
{
"context" : "src",
"element" : "code",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "code",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "SubstanceDefinitionCode",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
},
{
"name" : "name",
"source" : [
{
"context" : "src",
"element" : "name",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "name",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "SubstanceDefinitionName",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
},
{
"name" : "relationship",
"source" : [
{
"context" : "src",
"element" : "relationship",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "relationship",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "SubstanceDefinitionRelationship",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
},
{
"name" : "nucleicAcid",
"source" : [
{
"context" : "src",
"element" : "nucleicAcid",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "nucleicAcid",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "polymer",
"source" : [
{
"context" : "src",
"element" : "polymer",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "polymer",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "protein",
"source" : [
{
"context" : "src",
"element" : "protein",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "protein",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "SubstanceDefinitionMoiety",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "role",
"source" : [
{
"context" : "src",
"element" : "role",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "role",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "identifier",
"source" : [
{
"context" : "src",
"element" : "identifier",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "identifier",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "name",
"source" : [
{
"context" : "src",
"element" : "name",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "name",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "stereochemistry",
"source" : [
{
"context" : "src",
"element" : "stereochemistry",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "stereochemistry",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "opticalActivity",
"source" : [
{
"context" : "src",
"element" : "opticalActivity",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "opticalActivity",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "molecularFormula",
"source" : [
{
"context" : "src",
"element" : "molecularFormula",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "molecularFormula",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "amountQuantity",
"source" : [
{
"context" : "src",
"type" : "Quantity",
"element" : "amount",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "amount",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "amountString",
"source" : [
{
"context" : "src",
"type" : "string",
"element" : "amount",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "amount",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "SubstanceDefinitionProperty",
"extends" : "BackboneElement",
"documentation" : "group SubstanceDefinitionCharacterization(source src, target tgt) extends BackboneElement {\r\nsrc.technique -> tgt.technique;\r\nsrc.form -> tgt.form;\r\nsrc.description -> tgt.description;\r\nsrc.file -> tgt.file;\r\n}",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "type",
"source" : [
{
"context" : "src",
"element" : "type",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "code",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "valueQuantity",
"source" : [
{
"context" : "src",
"type" : "Quantity",
"element" : "value",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "amount",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
],
"documentation" : "src.value : CodeableConcept -> tgt.amount;"
}
]
},
{
"name" : "SubstanceDefinitionMolecularWeight",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "method",
"source" : [
{
"context" : "src",
"element" : "method",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "method",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "type",
"source" : [
{
"context" : "src",
"element" : "type",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "type",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "amount",
"source" : [
{
"context" : "src",
"element" : "amount",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "amount",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "SubstanceDefinitionStructure",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "stereochemistry",
"source" : [
{
"context" : "src",
"element" : "stereochemistry",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "stereochemistry",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "opticalActivity",
"source" : [
{
"context" : "src",
"element" : "opticalActivity",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "opticalActivity",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "molecularFormula",
"source" : [
{
"context" : "src",
"element" : "molecularFormula",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "molecularFormula",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "molecularFormulaByMoiety",
"source" : [
{
"context" : "src",
"element" : "molecularFormulaByMoiety",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "molecularFormulaByMoiety",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "molecularWeight",
"source" : [
{
"context" : "src",
"element" : "molecularWeight",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "isotope",
"variable" : "t"
},
{
"context" : "t",
"element" : "molecularWeight",
"variable" : "tm"
}
],
"dependent" : [
{
"name" : "SubstanceDefinitionMolecularWeight",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "tm"
}
]
}
]
},
{
"name" : "sourceDocument",
"source" : [
{
"context" : "src",
"element" : "sourceDocument",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "source",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
],
"documentation" : "src.technique -> tgt.technique;"
},
{
"name" : "representation",
"source" : [
{
"context" : "src",
"element" : "representation",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "representation",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "SubstanceDefinitionStructureRepresentation",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
}
]
},
{
"name" : "SubstanceDefinitionStructureRepresentation",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "type",
"source" : [
{
"context" : "src",
"element" : "type",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "type",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "representation",
"source" : [
{
"context" : "src",
"element" : "representation",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "representation",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "SubstanceDefinitionCode",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "code",
"source" : [
{
"context" : "src",
"element" : "code",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "code",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "status",
"source" : [
{
"context" : "src",
"element" : "status",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "status",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "statusDate",
"source" : [
{
"context" : "src",
"element" : "statusDate",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "statusDate",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "note",
"source" : [
{
"context" : "src",
"element" : "note",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "comment",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "source",
"source" : [
{
"context" : "src",
"element" : "source",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "source",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "SubstanceDefinitionName",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "name",
"source" : [
{
"context" : "src",
"element" : "name",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "name",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "type",
"source" : [
{
"context" : "src",
"element" : "type",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "type",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "status",
"source" : [
{
"context" : "src",
"element" : "status",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "status",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "preferred",
"source" : [
{
"context" : "src",
"element" : "preferred",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "preferred",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "language",
"source" : [
{
"context" : "src",
"element" : "language",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "language",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "domain",
"source" : [
{
"context" : "src",
"element" : "domain",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "domain",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "jurisdiction",
"source" : [
{
"context" : "src",
"element" : "jurisdiction",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "jurisdiction",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "official",
"source" : [
{
"context" : "src",
"element" : "official",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "official",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "SubstanceDefinitionNameOfficial",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
},
{
"name" : "source",
"source" : [
{
"context" : "src",
"element" : "source",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "source",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "SubstanceDefinitionNameOfficial",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "authority",
"source" : [
{
"context" : "src",
"element" : "authority",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "authority",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "status",
"source" : [
{
"context" : "src",
"element" : "status",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "status",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "date",
"source" : [
{
"context" : "src",
"element" : "date",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "date",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "SubstanceDefinitionRelationship",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "substanceDefinitionReference",
"source" : [
{
"context" : "src",
"type" : "Reference",
"element" : "substanceDefinition",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "substance",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "substanceDefinitionCodeableConcept",
"source" : [
{
"context" : "src",
"type" : "CodeableConcept",
"element" : "substanceDefinition",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "substance",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "type",
"source" : [
{
"context" : "src",
"element" : "type",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "relationship",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "isDefining",
"source" : [
{
"context" : "src",
"element" : "isDefining",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "isDefining",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "amountQuantity",
"source" : [
{
"context" : "src",
"type" : "Quantity",
"element" : "amount",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "amount",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "amountRatio",
"source" : [
{
"context" : "src",
"type" : "Ratio",
"element" : "amount",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "amount",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "amountString",
"source" : [
{
"context" : "src",
"type" : "string",
"element" : "amount",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "amount",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "comparator",
"source" : [
{
"context" : "src",
"element" : "comparator",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "amountType",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
],
"documentation" : "src.ratioHighLimitAmount -> tgt.ratioHighLimitAmount;"
},
{
"name" : "source",
"source" : [
{
"context" : "src",
"element" : "source",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "source",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
}
]
}