FHIR Cross-Version Mapping Pack, published by HL7 International / FHIR Infrastructure. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/fhir-cross-version/ and changes regularly. See the Directory of published versions
Page standards status: Draft | Maturity Level: 1 |
{
"resourceType" : "StructureMap",
"id" : "SubstancePolymer4to5",
"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/SubstancePolymer4to5'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'SubstancePolymer4to5'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'SubstancePolymer Transforms: R4 to R5'</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>http://hl7.org/fhir/4.0/SubstancePolymer<span style=\"color: navy\">" </span><b>alias </b>SubstancePolymerR4 <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/5.0/SubstancePolymer<span style=\"color: navy\">" </span><b>alias </b>SubstancePolymerR5 <b>as </b><b>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/StructureMap/*4to5<span style=\"color: navy\">"\r\n</span>\r\n<b>group </b>SubstancePolymer<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>SubstancePolymerR4, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>SubstancePolymerR5<span style=\"color: navy\">)</span><b> extends </b>DomainResource<b> <<type+>></b><span style=\"color: navy\"> {\r\n</span> src.class<span style=\"color: navy\"><b> -> </b></span>tgt.class<span style=\"color: navy\">;</span>\r\n src.geometry<span style=\"color: navy\"><b> -> </b></span>tgt.geometry<span style=\"color: navy\">;</span>\r\n src.copolymerConnectivity<span style=\"color: navy\"><b> -> </b></span>tgt.copolymerConnectivity<span style=\"color: navy\">;</span>\r\n src.modification<span style=\"color: navy\"><b> -> </b></span>tgt.modification<span style=\"color: navy\">;</span>\r\n src.monomerSet<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.monomerSet<b> as </b><span style=\"color: maroon\">t</span><b> then </b>SubstancePolymerMonomerSet<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.repeat<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.repeat<b> as </b><span style=\"color: maroon\">t</span><b> then </b>SubstancePolymerRepeat<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>SubstancePolymerMonomerSet<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.ratioType<span style=\"color: navy\"><b> -> </b></span>tgt.ratioType<span style=\"color: navy\">;</span>\r\n src.startingMaterial<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.startingMaterial<b> as </b><span style=\"color: maroon\">t</span><b> then </b>SubstancePolymerMonomerSetStartingMaterial<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>SubstancePolymerMonomerSetStartingMaterial<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.material<span style=\"color: navy\"><b> -> </b></span>tgt.code<span style=\"color: navy\">;</span>\r\n src.type<span style=\"color: navy\"><b> -> </b></span>tgt.category<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<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span> tgt.amount<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t = <span style=\"color: maroon\">s.amount</span><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>SubstancePolymerRepeat<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.averageMolecularFormula<span style=\"color: navy\"><b> -> </b></span>tgt.averageMolecularFormula<span style=\"color: navy\">;</span>\r\n src.repeatUnitAmountType<span style=\"color: navy\"><b> -> </b></span>tgt.repeatUnitAmountType<span style=\"color: navy\">;</span>\r\n src.repeatUnit<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.repeatUnit<b> as </b><span style=\"color: maroon\">t</span><b> then </b>SubstancePolymerRepeatRepeatUnit<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>SubstancePolymerRepeatRepeatUnit<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.repeatUnit<span style=\"color: navy\"><b> -> </b></span>tgt.unit<span style=\"color: navy\">;</span>\r\n src.orientationOfPolymerisation<span style=\"color: navy\"><b> -> </b></span>tgt.orientation<span style=\"color: navy\">;</span>\r\n src.degreeOfPolymerisation<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.degreeOfPolymerisation<b> as </b><span style=\"color: maroon\">t</span><b> then </b>SubstancePolymerRepeatRepeatUnitDegreeOfPolymerisation<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.structuralRepresentation<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.structuralRepresentation<b> as </b><span style=\"color: maroon\">t</span><b> then </b>SubstancePolymerRepeatRepeatUnitStructuralRepresentation<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>SubstancePolymerRepeatRepeatUnitDegreeOfPolymerisation<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.degree<span style=\"color: navy\"><b> -> </b></span>tgt.type<span style=\"color: navy\">;</span>\r\n src.amount<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span><span style=\"color: maroon\">tgt</span><b> then</b><span style=\"color: navy\"> {\r\n</span> s.amount<span style=\"color: navy\"> : </span>Quantity<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.average = <span style=\"color: maroon\">v.value</span><span style=\"color: navy\">;</span>\r\n s.referenceRange<b> as </b><span style=\"color: maroon\">sr</span><span style=\"color: navy\"><b> -> </b></span><span style=\"color: maroon\">tgt</span><b> then</b><span style=\"color: navy\"> {\r\n</span> sr.lowLimit<b> as </b><span style=\"color: maroon\">vl</span><span style=\"color: navy\"><b> -> </b></span>tgt.low = <span style=\"color: maroon\">vl.value</span><span style=\"color: navy\">;</span>\r\n sr.highLimit<b> as </b><span style=\"color: maroon\">vh</span><span style=\"color: navy\"><b> -> </b></span>tgt.high = <span style=\"color: maroon\">vh.value</span><span style=\"color: navy\">;</span>\r\n <span style=\"color: navy\">}</span><span style=\"color: navy\">;</span>\r\n <span style=\"color: navy\">}</span><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>SubstancePolymerRepeatRepeatUnitStructuralRepresentation<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 src.attachment<span style=\"color: navy\"><b> -> </b></span>tgt.attachment<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.xver"
}
]
}
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "draft",
"_valueCode" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
}
]
}
}
],
"url" : "http://hl7.org/fhir/StructureMap/SubstancePolymer4to5",
"version" : "0.1.0",
"name" : "SubstancePolymer4to5",
"title" : "SubstancePolymer Transforms: R4 to R5",
"status" : "active",
"date" : "2024-02-22T03:16:50+00:00",
"publisher" : "HL7 International / FHIR Infrastructure",
"contact" : [
{
"telecom" : [
{
"system" : "url",
"value" : "http://www.hl7.org/Special/committees/fiwg"
}
]
}
],
"description" : "SubstancePolymerTransformsR4toR5",
"jurisdiction" : [
{
"coding" : [
{
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code" : "001"
}
]
}
],
"structure" : [
{
"url" : "http://hl7.org/fhir/4.0/SubstancePolymer",
"mode" : "source",
"alias" : "SubstancePolymerR4"
},
{
"url" : "http://hl7.org/fhir/5.0/SubstancePolymer",
"mode" : "target",
"alias" : "SubstancePolymerR5"
}
],
"import" : [
"http://hl7.org/fhir/StructureMap/*4to5"
],
"group" : [
{
"name" : "SubstancePolymer",
"extends" : "DomainResource",
"typeMode" : "type-and-types",
"input" : [
{
"name" : "src",
"type" : "SubstancePolymerR4",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "SubstancePolymerR5",
"mode" : "target"
}
],
"rule" : [
{
"name" : "class",
"source" : [
{
"context" : "src",
"element" : "class",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "class",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "geometry",
"source" : [
{
"context" : "src",
"element" : "geometry",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "geometry",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "copolymerConnectivity",
"source" : [
{
"context" : "src",
"element" : "copolymerConnectivity",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "copolymerConnectivity",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "modification",
"source" : [
{
"context" : "src",
"element" : "modification",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "modification",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "monomerSet",
"source" : [
{
"context" : "src",
"element" : "monomerSet",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "monomerSet",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "SubstancePolymerMonomerSet",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
},
{
"name" : "repeat",
"source" : [
{
"context" : "src",
"element" : "repeat",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "repeat",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "SubstancePolymerRepeat",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
}
]
},
{
"name" : "SubstancePolymerMonomerSet",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "ratioType",
"source" : [
{
"context" : "src",
"element" : "ratioType",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "ratioType",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "startingMaterial",
"source" : [
{
"context" : "src",
"element" : "startingMaterial",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "startingMaterial",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "SubstancePolymerMonomerSetStartingMaterial",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
}
]
},
{
"name" : "SubstancePolymerMonomerSetStartingMaterial",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "material",
"source" : [
{
"context" : "src",
"element" : "material",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "code",
"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" : "category",
"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" : "amount",
"source" : [
{
"context" : "src",
"element" : "amount",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "amount",
"variable" : "t"
},
{
"context" : "t",
"transform" : "copy",
"parameter" : [
{
"valueId" : "s.amount"
}
]
}
]
}
]
},
{
"name" : "SubstancePolymerRepeat",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "averageMolecularFormula",
"source" : [
{
"context" : "src",
"element" : "averageMolecularFormula",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "averageMolecularFormula",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "repeatUnitAmountType",
"source" : [
{
"context" : "src",
"element" : "repeatUnitAmountType",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "repeatUnitAmountType",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "repeatUnit",
"source" : [
{
"context" : "src",
"element" : "repeatUnit",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "repeatUnit",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "SubstancePolymerRepeatRepeatUnit",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
}
]
},
{
"name" : "SubstancePolymerRepeatRepeatUnit",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "repeatUnit",
"source" : [
{
"context" : "src",
"element" : "repeatUnit",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "unit",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "orientationOfPolymerisation",
"source" : [
{
"context" : "src",
"element" : "orientationOfPolymerisation",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "orientation",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "degreeOfPolymerisation",
"source" : [
{
"context" : "src",
"element" : "degreeOfPolymerisation",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "degreeOfPolymerisation",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "SubstancePolymerRepeatRepeatUnitDegreeOfPolymerisation",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
},
{
"name" : "structuralRepresentation",
"source" : [
{
"context" : "src",
"element" : "structuralRepresentation",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "structuralRepresentation",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "SubstancePolymerRepeatRepeatUnitStructuralRepresentation",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
}
]
},
{
"name" : "SubstancePolymerRepeatRepeatUnitDegreeOfPolymerisation",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "degree",
"source" : [
{
"context" : "src",
"element" : "degree",
"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" : "s"
}
],
"target" : [
{
"transform" : "copy",
"parameter" : [
{
"valueId" : "tgt"
}
]
}
],
"rule" : [
{
"name" : "amountQuantity",
"source" : [
{
"context" : "s",
"type" : "Quantity",
"element" : "amount",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "average",
"transform" : "copy",
"parameter" : [
{
"valueId" : "v.value"
}
]
}
]
},
{
"name" : "referenceRange",
"source" : [
{
"context" : "s",
"element" : "referenceRange",
"variable" : "sr"
}
],
"target" : [
{
"transform" : "copy",
"parameter" : [
{
"valueId" : "tgt"
}
]
}
],
"rule" : [
{
"name" : "lowLimit",
"source" : [
{
"context" : "sr",
"element" : "lowLimit",
"variable" : "vl"
}
],
"target" : [
{
"context" : "tgt",
"element" : "low",
"transform" : "copy",
"parameter" : [
{
"valueId" : "vl.value"
}
]
}
]
},
{
"name" : "highLimit",
"source" : [
{
"context" : "sr",
"element" : "highLimit",
"variable" : "vh"
}
],
"target" : [
{
"context" : "tgt",
"element" : "high",
"transform" : "copy",
"parameter" : [
{
"valueId" : "vh.value"
}
]
}
]
}
]
}
]
}
]
},
{
"name" : "SubstancePolymerRepeatRepeatUnitStructuralRepresentation",
"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" : "attachment",
"source" : [
{
"context" : "src",
"element" : "attachment",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "attachment",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
}
]
}