This page is part of the FHIR Core Extensions Registry (v5.1.0-ballot: Releases Ballot 4) 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" : "BiologicallyDerivedProduct5to4",
"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/BiologicallyDerivedProduct5to4'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'BiologicallyDerivedProduct5to4'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'FML Conversion for BiologicallyDerivedProduct: 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/biologicallyderivedproduct.html\" title=\"BiologicallyDerivedProduct\">http://hl7.org/fhir/StructureDefinition/BiologicallyDerivedProduct</a><span style=\"color: navy\">" </span><b>alias </b>BiologicallyDerivedProductR5 <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span><a href=\"http://hl7.org/fhir/R4/biologicallyderivedproduct.html\" title=\"BiologicallyDerivedProduct\">http://hl7.org/fhir/4.0/StructureDefinition/BiologicallyDerivedProduct</a><span style=\"color: navy\">" </span><b>alias </b>BiologicallyDerivedProductR4 <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>BiologicallyDerivedProduct<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>BiologicallyDerivedProductR5, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>BiologicallyDerivedProductR4<span style=\"color: navy\">)</span><b> extends </b>DomainResource<b> <<type+>></b><span style=\"color: navy\"> {\r\n</span> src.productCategory<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.productCategory<b> as </b><span style=\"color: maroon\">t</span><b> then </b>BiologicallyDerivedProductCategory<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.productCode<span style=\"color: navy\"><b> -> </b></span>tgt.productCode<span style=\"color: navy\">;</span>\r\n src.parent<span style=\"color: navy\"><b> -> </b></span>tgt.parent<span style=\"color: navy\">;</span>\r\n src.request<span style=\"color: navy\"><b> -> </b></span>tgt.request<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.collection<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.collection<b> as </b><span style=\"color: maroon\">t</span><b> then </b>BiologicallyDerivedProductCollection<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.biologicalSourceEvent -> tgt.biologicalSourceEvent;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>BiologicallyDerivedProductCategory<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<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = 'organ'<span style=\"color: navy\"><b> -> </b></span>tgt = <span style=\"color: blue\">'organ'</span><span style=\"color: navy\">;</span>\r\n src.code<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = 'tissue'<span style=\"color: navy\"><b> -> </b></span>tgt = <span style=\"color: blue\">'tissue'</span><span style=\"color: navy\">;</span>\r\n src.code<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = 'fluid'<span style=\"color: navy\"><b> -> </b></span>tgt = <span style=\"color: blue\">'fluid'</span><span style=\"color: navy\">;</span>\r\n src.code<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = 'cells'<span style=\"color: navy\"><b> -> </b></span>tgt = <span style=\"color: blue\">'cells'</span><span style=\"color: navy\">;</span>\r\n src.code<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = 'biologicalAgent'<span style=\"color: navy\"><b> -> </b></span>tgt = <span style=\"color: blue\">'biologicalAgent'</span><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>BiologicallyDerivedProductCollection<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.collector<span style=\"color: navy\"><b> -> </b></span>tgt.collector<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 src.collected<span style=\"color: navy\"> : </span>dateTime<span style=\"color: navy\"><b> -> </b></span>tgt.collected<span style=\"color: navy\">;</span>\r\n src.collected<span style=\"color: navy\"> : </span>Period<span style=\"color: navy\"><b> -> </b></span>tgt.collected<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/BiologicallyDerivedProduct5to4",
"version" : "5.1.0-ballot1",
"name" : "BiologicallyDerivedProduct5to4",
"title" : "FML Conversion for BiologicallyDerivedProduct: R5 to R4",
"status" : "active",
"date" : "2023-12-19T08:40:03+11:00",
"publisher" : "HL7 International / FHIR Infrastructure",
"contact" : [
{
"telecom" : [
{
"system" : "url",
"value" : "http://www.hl7.org/Special/committees/fiwg"
}
]
}
],
"description" : "FMLConversionforBiologicallyDerivedProductR5toR4",
"jurisdiction" : [
{
"coding" : [
{
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code" : "001"
}
]
}
],
"structure" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/BiologicallyDerivedProduct",
"mode" : "source",
"alias" : "BiologicallyDerivedProductR5"
},
{
"url" : "http://hl7.org/fhir/4.0/StructureDefinition/BiologicallyDerivedProduct",
"mode" : "target",
"alias" : "BiologicallyDerivedProductR4"
}
],
"import" : [
"http://hl7.org/fhir/StructureMap/*5to4"
],
"group" : [
{
"name" : "BiologicallyDerivedProduct",
"extends" : "DomainResource",
"typeMode" : "type-and-types",
"input" : [
{
"name" : "src",
"type" : "BiologicallyDerivedProductR5",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "BiologicallyDerivedProductR4",
"mode" : "target"
}
],
"rule" : [
{
"name" : "productCategory",
"source" : [
{
"context" : "src",
"element" : "productCategory",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "productCategory",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "BiologicallyDerivedProductCategory",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
},
{
"name" : "productCode",
"source" : [
{
"context" : "src",
"element" : "productCode",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "productCode",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "parent",
"source" : [
{
"context" : "src",
"element" : "parent",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "parent",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "request",
"source" : [
{
"context" : "src",
"element" : "request",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "request",
"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" : "collection",
"source" : [
{
"context" : "src",
"element" : "collection",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "collection",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "BiologicallyDerivedProductCollection",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
],
"documentation" : "src.biologicalSourceEvent -> tgt.biologicalSourceEvent;"
}
]
},
{
"name" : "BiologicallyDerivedProductCategory",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "code",
"source" : [
{
"context" : "src",
"element" : "code",
"variable" : "s",
"condition" : "code = 'organ'"
}
],
"target" : [
{
"context" : "tgt",
"transform" : "copy",
"parameter" : [
{
"valueString" : "organ"
}
]
}
]
},
{
"name" : "code",
"source" : [
{
"context" : "src",
"element" : "code",
"variable" : "s",
"condition" : "code = 'tissue'"
}
],
"target" : [
{
"context" : "tgt",
"transform" : "copy",
"parameter" : [
{
"valueString" : "tissue"
}
]
}
]
},
{
"name" : "code",
"source" : [
{
"context" : "src",
"element" : "code",
"variable" : "s",
"condition" : "code = 'fluid'"
}
],
"target" : [
{
"context" : "tgt",
"transform" : "copy",
"parameter" : [
{
"valueString" : "fluid"
}
]
}
]
},
{
"name" : "code",
"source" : [
{
"context" : "src",
"element" : "code",
"variable" : "s",
"condition" : "code = 'cells'"
}
],
"target" : [
{
"context" : "tgt",
"transform" : "copy",
"parameter" : [
{
"valueString" : "cells"
}
]
}
]
},
{
"name" : "code",
"source" : [
{
"context" : "src",
"element" : "code",
"variable" : "s",
"condition" : "code = 'biologicalAgent'"
}
],
"target" : [
{
"context" : "tgt",
"transform" : "copy",
"parameter" : [
{
"valueString" : "biologicalAgent"
}
]
}
]
}
]
},
{
"name" : "BiologicallyDerivedProductCollection",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "collector",
"source" : [
{
"context" : "src",
"element" : "collector",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "collector",
"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" : "collectedDateTime",
"source" : [
{
"context" : "src",
"type" : "dateTime",
"element" : "collected",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "collected",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "collectedPeriod",
"source" : [
{
"context" : "src",
"type" : "Period",
"element" : "collected",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "collected",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
}
]
}
IG © 2022+ HL7 International / FHIR Infrastructure. Package hl7.fhir.uv.extensions#5.1.0-ballot1 based on FHIR 5.0.0. Generated 2023-12-19
Links: Table of Contents |
QA Report
| Version History |
|
Propose a change