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" : "SubstanceReferenceInformation4to5",
"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/SubstanceReferenceInformation4to5'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'SubstanceReferenceInformation4to5'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'FML Conversion for SubstanceReferenceInformation: R4 to R5'</span>\r\n<span style=\"color: #cc00cc\">/// <b>status</b> = </span><span style=\"color: blue\">'draft'</span>\r\n\r\n<b>uses</b><span style=\"color: navy\"> "</span><a href=\"http://hl7.org/fhir/R4/substancereferenceinformation.html\" title=\"SubstanceReferenceInformation\">http://hl7.org/fhir/4.0/StructureDefinition/SubstanceReferenceInformation</a><span style=\"color: navy\">" </span><b>alias </b>SubstanceReferenceInformationR4 <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span><a href=\"http://hl7.org/fhir/R5/substancereferenceinformation.html\" title=\"SubstanceReferenceInformation\">http://hl7.org/fhir/StructureDefinition/SubstanceReferenceInformation</a><span style=\"color: navy\">" </span><b>alias </b>SubstanceReferenceInformationR5 <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>SubstanceReferenceInformation<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>SubstanceReferenceInformationR4, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>SubstanceReferenceInformationR5<span style=\"color: navy\">)</span><b> extends </b>DomainResource<b> <<type+>></b><span style=\"color: navy\"> {\r\n</span> src.comment<span style=\"color: navy\"><b> -> </b></span>tgt.comment<span style=\"color: navy\">;</span>\r\n src.gene<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.gene<b> as </b><span style=\"color: maroon\">t</span><b> then </b>SubstanceReferenceInformationGene<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.geneElement<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.geneElement<b> as </b><span style=\"color: maroon\">t</span><b> then </b>SubstanceReferenceInformationGeneElement<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.target<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.target<b> as </b><span style=\"color: maroon\">t</span><b> then </b>SubstanceReferenceInformationTarget<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>SubstanceReferenceInformationGene<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.geneSequenceOrigin<span style=\"color: navy\"><b> -> </b></span>tgt.geneSequenceOrigin<span style=\"color: navy\">;</span>\r\n src.gene<span style=\"color: navy\"><b> -> </b></span>tgt.gene<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>SubstanceReferenceInformationGeneElement<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.element<span style=\"color: navy\"><b> -> </b></span>tgt.element<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>SubstanceReferenceInformationTarget<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.target<span style=\"color: navy\"><b> -> </b></span>tgt.target<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.interaction<span style=\"color: navy\"><b> -> </b></span>tgt.interaction<span style=\"color: navy\">;</span>\r\n src.organism<span style=\"color: navy\"><b> -> </b></span>tgt.organism<span style=\"color: navy\">;</span>\r\n src.organismType<span style=\"color: navy\"><b> -> </b></span>tgt.organismType<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>Range<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.amountType<span style=\"color: navy\"><b> -> </b></span>tgt.amountType<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></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/SubstanceReferenceInformation4to5",
"version" : "5.1.0-snapshot1",
"name" : "SubstanceReferenceInformation4to5",
"title" : "FML Conversion for SubstanceReferenceInformation: R4 to R5",
"status" : "draft",
"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" : "FMLConversionforSubstanceReferenceInformationR4toR5",
"jurisdiction" : [
{
"coding" : [
{
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code" : "001"
}
]
}
],
"structure" : [
{
"url" : "http://hl7.org/fhir/4.0/StructureDefinition/SubstanceReferenceInformation",
"mode" : "source",
"alias" : "SubstanceReferenceInformationR4"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/SubstanceReferenceInformation",
"mode" : "target",
"alias" : "SubstanceReferenceInformationR5"
}
],
"import" : [
"http://hl7.org/fhir/StructureMap/*4to5"
],
"group" : [
{
"name" : "SubstanceReferenceInformation",
"extends" : "DomainResource",
"typeMode" : "type-and-types",
"input" : [
{
"name" : "src",
"type" : "SubstanceReferenceInformationR4",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "SubstanceReferenceInformationR5",
"mode" : "target"
}
],
"rule" : [
{
"name" : "comment",
"source" : [
{
"context" : "src",
"element" : "comment",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "comment",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "gene",
"source" : [
{
"context" : "src",
"element" : "gene",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "gene",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "SubstanceReferenceInformationGene",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
},
{
"name" : "geneElement",
"source" : [
{
"context" : "src",
"element" : "geneElement",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "geneElement",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "SubstanceReferenceInformationGeneElement",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
},
{
"name" : "target",
"source" : [
{
"context" : "src",
"element" : "target",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "target",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "SubstanceReferenceInformationTarget",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
}
]
},
{
"name" : "SubstanceReferenceInformationGene",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "geneSequenceOrigin",
"source" : [
{
"context" : "src",
"element" : "geneSequenceOrigin",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "geneSequenceOrigin",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "gene",
"source" : [
{
"context" : "src",
"element" : "gene",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "gene",
"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" : "SubstanceReferenceInformationGeneElement",
"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" : "element",
"source" : [
{
"context" : "src",
"element" : "element",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "element",
"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" : "SubstanceReferenceInformationTarget",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "target",
"source" : [
{
"context" : "src",
"element" : "target",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "target",
"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" : "interaction",
"source" : [
{
"context" : "src",
"element" : "interaction",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "interaction",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "organism",
"source" : [
{
"context" : "src",
"element" : "organism",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "organism",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "organismType",
"source" : [
{
"context" : "src",
"element" : "organismType",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "organismType",
"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" : "amountRange",
"source" : [
{
"context" : "src",
"type" : "Range",
"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" : "amountType",
"source" : [
{
"context" : "src",
"element" : "amountType",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "amountType",
"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"
}
]
}
]
}
]
}
]
}