Package | hl7.fhir.uv.xver |
Type | StructureMap |
Id | Id |
FHIR Version | R5 |
Source | http://hl7.org/fhir/extensions/https://build.fhir.org/ig/HL7/fhir-cross-version/StructureMap-BiologicallyDerivedProduct5to4B.html |
Url | http://hl7.org/fhir/StructureMap/BiologicallyDerivedProduct5to4B |
Version | 0.1.0 |
Status | active |
Date | 2024-02-22T03:16:50+00:00 |
Name | BiologicallyDerivedProduct5to4B |
Title | BiologicallyDerivedProduct Transforms: R5 to R4B |
Experimental | False |
Realm | uv |
Authority | hl7 |
Description | BiologicallyDerivedProductTransformsR5toR4B |
No resources found
No resources found
Note: links and images are rebased to the (stated) source
/// url = 'http://hl7.org/fhir/StructureMap/BiologicallyDerivedProduct5to4B' /// name = 'BiologicallyDerivedProduct5to4B' /// title = 'BiologicallyDerivedProduct Transforms: R5 to R4B' /// status = 'active' uses "http://hl7.org/fhir/5.0/BiologicallyDerivedProduct" alias BiologicallyDerivedProductR5 as source uses "http://hl7.org/fhir/4.0/BiologicallyDerivedProduct" alias BiologicallyDerivedProductR4B as target imports "http://hl7.org/fhir/StructureMap/*5to4B" group BiologicallyDerivedProduct(source src : BiologicallyDerivedProductR5, target tgt : BiologicallyDerivedProductR4B) extends DomainResource <<type+>> { src.productCategory as s -> tgt.productCategory as t then BiologicallyDerivedProductCategory(s, t); src.productCode -> tgt.productCode; src.parent -> tgt.parent; src.request -> tgt.request; src.identifier -> tgt.identifier; src.collection as s -> tgt.collection as t then BiologicallyDerivedProductCollection(s, t); } group BiologicallyDerivedProductCategory(source src, target tgt) extends BackboneElement { src.code as s where code = 'organ' -> tgt = 'organ'; src.code as s where code = 'tissue' -> tgt = 'tissue'; src.code as s where code = 'fluid' -> tgt = 'fluid'; src.code as s where code = 'cells' -> tgt = 'cells'; src.code as s where code = 'biologicalAgent' -> tgt = 'biologicalAgent'; } group BiologicallyDerivedProductCollection(source src, target tgt) extends BackboneElement { src.collector -> tgt.collector; src.source -> tgt.source; src.collected : dateTime -> tgt.collected; src.collected : Period -> tgt.collected; }
{
"resourceType" : "StructureMap",
"id" : "BiologicallyDerivedProduct5to4B",
"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/BiologicallyDerivedProduct5to4B'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'BiologicallyDerivedProduct5to4B'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'BiologicallyDerivedProduct Transforms: R5 to R4B'</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/5.0/BiologicallyDerivedProduct<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>http://hl7.org/fhir/4.0/BiologicallyDerivedProduct<span style=\"color: navy\">" </span><b>alias </b>BiologicallyDerivedProductR4B <b>as </b><b>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/StructureMap/*5to4B<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>BiologicallyDerivedProductR4B<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>\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.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/BiologicallyDerivedProduct5to4B",
"version" : "0.1.0",
"name" : "BiologicallyDerivedProduct5to4B",
"title" : "BiologicallyDerivedProduct Transforms: R5 to R4B",
"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" : "BiologicallyDerivedProductTransformsR5toR4B",
"jurisdiction" : [
{
"coding" : [
{
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code" : "001"
}
]
}
],
"structure" : [
{
"url" : "http://hl7.org/fhir/5.0/BiologicallyDerivedProduct",
"mode" : "source",
"alias" : "BiologicallyDerivedProductR5"
},
{
"url" : "http://hl7.org/fhir/4.0/BiologicallyDerivedProduct",
"mode" : "target",
"alias" : "BiologicallyDerivedProductR4B"
}
],
"import" : [
"http://hl7.org/fhir/StructureMap/*5to4B"
],
"group" : [
{
"name" : "BiologicallyDerivedProduct",
"extends" : "DomainResource",
"typeMode" : "type-and-types",
"input" : [
{
"name" : "src",
"type" : "BiologicallyDerivedProductR5",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "BiologicallyDerivedProductR4B",
"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"
}
]
}
]
}
]
},
{
"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"
}
]
}
]
}
]
}
]
}
XIG built as of ??metadata-date??. Found ??metadata-resources?? resources in ??metadata-packages?? packages.