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" : "Parameters4to3",
"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/Parameters4to3'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'Parameters4to3'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'Parameters Transforms: R4 to R3'</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/Parameters<span style=\"color: navy\">" </span><b>alias </b>Parameters <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/3.0/Parameters<span style=\"color: navy\">" </span><b>alias </b>ParametersR3 <b>as </b><b>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/StructureMap/*4to3<span style=\"color: navy\">"\r\n</span>\r\n<b>group </b>Parameters<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>Parameters, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>ParametersR3<span style=\"color: navy\">)</span><b> extends </b>Resource<b> <<type+>></b><span style=\"color: navy\"> {\r\n</span> src.parameter<b> as </b><span style=\"color: maroon\">vs0</span><span style=\"color: navy\"><b> -> </b></span>tgt.parameter<b> as </b><span style=\"color: maroon\">vt0</span><b> then</b><span style=\"color: navy\"> {\r\n</span> vs0.name<span style=\"color: navy\"><b> -> </b></span>vt0.name<span style=\"color: navy\">;</span>\r\n vs0.value<span style=\"color: navy\"> : </span>base64Binary<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -> </b></span>vt0.value = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'base64Binary'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">vt</span><b> then </b>base64Binary<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n vs0.value<span style=\"color: navy\"> : </span>boolean<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -> </b></span>vt0.value = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'boolean'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">vt</span><b> then </b>boolean<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n vs0.value<span style=\"color: navy\"> : </span>code<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -> </b></span>vt0.value = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'code'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">vt</span><b> then </b>code<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n vs0.value<span style=\"color: navy\"> : </span>date<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -> </b></span>vt0.value = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'date'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">vt</span><b> then </b>date<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n vs0.value<span style=\"color: navy\"> : </span>dateTime<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -> </b></span>vt0.value = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'dateTime'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">vt</span><b> then </b>dateTime<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n vs0.value<span style=\"color: navy\"> : </span>decimal<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -> </b></span>vt0.value = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'decimal'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">vt</span><b> then </b>decimal<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n vs0.value<span style=\"color: navy\"> : </span>id<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -> </b></span>vt0.value = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'id'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">vt</span><b> then </b>id<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n vs0.value<span style=\"color: navy\"> : </span>instant<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -> </b></span>vt0.value = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'instant'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">vt</span><b> then </b>instant<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n vs0.value<span style=\"color: navy\"> : </span>integer<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -> </b></span>vt0.value = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'integer'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">vt</span><b> then </b>integer<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n vs0.value<span style=\"color: navy\"> : </span>markdown<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -> </b></span>vt0.value = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'markdown'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">vt</span><b> then </b>markdown<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n vs0.value<span style=\"color: navy\"> : </span>oid<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -> </b></span>vt0.value = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'oid'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">vt</span><b> then </b>oid<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n vs0.value<span style=\"color: navy\"> : </span>positiveInt<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -> </b></span>vt0.value = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'positiveInt'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">vt</span><b> then </b>positiveInt<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n vs0.value<span style=\"color: navy\"> : </span>string<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -> </b></span>vt0.value = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'string'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">vt</span><b> then </b>string<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n vs0.value<span style=\"color: navy\"> : </span>time<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -> </b></span>vt0.value = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'time'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">vt</span><b> then </b>time<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n vs0.value<span style=\"color: navy\"> : </span>unsignedInt<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -> </b></span>vt0.value = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'unsignedInt'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">vt</span><b> then </b>unsignedInt<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n vs0.value<span style=\"color: navy\"> : </span>uri<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -> </b></span>vt0.value = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'uri'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">vt</span><b> then </b>uri<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n vs0.value<span style=\"color: navy\"> : </span>Address<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -> </b></span>vt0.value = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Address'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">vt</span><b> then </b>Address<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n vs0.value<span style=\"color: navy\"> : </span>Age<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -> </b></span>vt0.value = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Age'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">vt</span><b> then </b>Age<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n vs0.value<span style=\"color: navy\"> : </span>Annotation<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -> </b></span>vt0.value = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Annotation'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">vt</span><b> then </b>Annotation<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n vs0.value<span style=\"color: navy\"> : </span>Attachment<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -> </b></span>vt0.value = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Attachment'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">vt</span><b> then </b>Attachment<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n vs0.value<span style=\"color: navy\"> : </span>CodeableConcept<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -> </b></span>vt0.value = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'CodeableConcept'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">vt</span><b> then </b>CodeableConcept<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n vs0.value<span style=\"color: navy\"> : </span>Coding<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -> </b></span>vt0.value = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Coding'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">vt</span><b> then </b>Coding<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n vs0.value<span style=\"color: navy\"> : </span>ContactPoint<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -> </b></span>vt0.value = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'ContactPoint'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">vt</span><b> then </b>ContactPoint<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n vs0.value<span style=\"color: navy\"> : </span>Count<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -> </b></span>vt0.value = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Count'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">vt</span><b> then </b>Count<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n vs0.value<span style=\"color: navy\"> : </span>Distance<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -> </b></span>vt0.value = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Distance'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">vt</span><b> then </b>Distance<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n vs0.value<span style=\"color: navy\"> : </span>Duration<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -> </b></span>vt0.value = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Duration'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">vt</span><b> then </b>Duration<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n vs0.value<span style=\"color: navy\"> : </span>HumanName<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -> </b></span>vt0.value = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'HumanName'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">vt</span><b> then </b>HumanName<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n vs0.value<span style=\"color: navy\"> : </span>Identifier<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -> </b></span>vt0.value = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Identifier'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">vt</span><b> then </b>Identifier<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n vs0.value<span style=\"color: navy\"> : </span>Money<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -> </b></span>vt0.value = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Money'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">vt</span><b> then </b>Money<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n vs0.value<span style=\"color: navy\"> : </span>Period<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -> </b></span>vt0.value = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Period'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">vt</span><b> then </b>Period<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n vs0.value<span style=\"color: navy\"> : </span>Quantity<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -> </b></span>vt0.value = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Quantity'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">vt</span><b> then </b>Quantity<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n vs0.value<span style=\"color: navy\"> : </span>Range<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -> </b></span>vt0.value = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Range'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">vt</span><b> then </b>Range<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n vs0.value<span style=\"color: navy\"> : </span>Ratio<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -> </b></span>vt0.value = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Ratio'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">vt</span><b> then </b>Ratio<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n vs0.value<span style=\"color: navy\"> : </span>Reference<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -> </b></span>vt0.value = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Reference'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">vt</span><b> then </b>Reference<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n vs0.value<span style=\"color: navy\"> : </span>SampledData<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -> </b></span>vt0.value = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'SampledData'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">vt</span><b> then </b>SampledData<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n vs0.value<span style=\"color: navy\"> : </span>Signature<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -> </b></span>vt0.value = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Signature'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">vt</span><b> then </b>Signature<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n vs0.value<span style=\"color: navy\"> : </span>Timing<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -> </b></span>vt0.value = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Timing'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">vt</span><b> then </b>Timing<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt</span><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></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/Parameters4to3",
"version" : "0.1.0",
"name" : "Parameters4to3",
"title" : "Parameters Transforms: R4 to R3",
"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" : "ParametersTransformsR4toR3",
"jurisdiction" : [
{
"coding" : [
{
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code" : "001"
}
]
}
],
"structure" : [
{
"url" : "http://hl7.org/fhir/4.0/Parameters",
"mode" : "source",
"alias" : "Parameters"
},
{
"url" : "http://hl7.org/fhir/3.0/Parameters",
"mode" : "target",
"alias" : "ParametersR3"
}
],
"import" : [
"http://hl7.org/fhir/StructureMap/*4to3"
],
"group" : [
{
"name" : "Parameters",
"extends" : "Resource",
"typeMode" : "type-and-types",
"input" : [
{
"name" : "src",
"type" : "Parameters",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "ParametersR3",
"mode" : "target"
}
],
"rule" : [
{
"name" : "parameter",
"source" : [
{
"context" : "src",
"element" : "parameter",
"variable" : "vs0"
}
],
"target" : [
{
"context" : "tgt",
"element" : "parameter",
"variable" : "vt0"
}
],
"rule" : [
{
"name" : "name",
"source" : [
{
"context" : "vs0",
"element" : "name",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "vt0",
"element" : "name",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "valueBase64Binary",
"source" : [
{
"context" : "vs0",
"type" : "base64Binary",
"element" : "value",
"variable" : "vs"
}
],
"target" : [
{
"context" : "vt0",
"element" : "value",
"variable" : "vt",
"transform" : "create",
"parameter" : [
{
"valueString" : "base64Binary"
}
]
}
],
"dependent" : [
{
"name" : "base64Binary",
"parameter" : [
{
"valueId" : "vs"
},
{
"valueId" : "vt"
}
]
}
]
},
{
"name" : "valueBoolean",
"source" : [
{
"context" : "vs0",
"type" : "boolean",
"element" : "value",
"variable" : "vs"
}
],
"target" : [
{
"context" : "vt0",
"element" : "value",
"variable" : "vt",
"transform" : "create",
"parameter" : [
{
"valueString" : "boolean"
}
]
}
],
"dependent" : [
{
"name" : "boolean",
"parameter" : [
{
"valueId" : "vs"
},
{
"valueId" : "vt"
}
]
}
]
},
{
"name" : "valueCode",
"source" : [
{
"context" : "vs0",
"type" : "code",
"element" : "value",
"variable" : "vs"
}
],
"target" : [
{
"context" : "vt0",
"element" : "value",
"variable" : "vt",
"transform" : "create",
"parameter" : [
{
"valueString" : "code"
}
]
}
],
"dependent" : [
{
"name" : "code",
"parameter" : [
{
"valueId" : "vs"
},
{
"valueId" : "vt"
}
]
}
]
},
{
"name" : "valueDate",
"source" : [
{
"context" : "vs0",
"type" : "date",
"element" : "value",
"variable" : "vs"
}
],
"target" : [
{
"context" : "vt0",
"element" : "value",
"variable" : "vt",
"transform" : "create",
"parameter" : [
{
"valueString" : "date"
}
]
}
],
"dependent" : [
{
"name" : "date",
"parameter" : [
{
"valueId" : "vs"
},
{
"valueId" : "vt"
}
]
}
]
},
{
"name" : "valueDateTime",
"source" : [
{
"context" : "vs0",
"type" : "dateTime",
"element" : "value",
"variable" : "vs"
}
],
"target" : [
{
"context" : "vt0",
"element" : "value",
"variable" : "vt",
"transform" : "create",
"parameter" : [
{
"valueString" : "dateTime"
}
]
}
],
"dependent" : [
{
"name" : "dateTime",
"parameter" : [
{
"valueId" : "vs"
},
{
"valueId" : "vt"
}
]
}
]
},
{
"name" : "valueDecimal",
"source" : [
{
"context" : "vs0",
"type" : "decimal",
"element" : "value",
"variable" : "vs"
}
],
"target" : [
{
"context" : "vt0",
"element" : "value",
"variable" : "vt",
"transform" : "create",
"parameter" : [
{
"valueString" : "decimal"
}
]
}
],
"dependent" : [
{
"name" : "decimal",
"parameter" : [
{
"valueId" : "vs"
},
{
"valueId" : "vt"
}
]
}
]
},
{
"name" : "valueId",
"source" : [
{
"context" : "vs0",
"type" : "id",
"element" : "value",
"variable" : "vs"
}
],
"target" : [
{
"context" : "vt0",
"element" : "value",
"variable" : "vt",
"transform" : "create",
"parameter" : [
{
"valueString" : "id"
}
]
}
],
"dependent" : [
{
"name" : "id",
"parameter" : [
{
"valueId" : "vs"
},
{
"valueId" : "vt"
}
]
}
]
},
{
"name" : "valueInstant",
"source" : [
{
"context" : "vs0",
"type" : "instant",
"element" : "value",
"variable" : "vs"
}
],
"target" : [
{
"context" : "vt0",
"element" : "value",
"variable" : "vt",
"transform" : "create",
"parameter" : [
{
"valueString" : "instant"
}
]
}
],
"dependent" : [
{
"name" : "instant",
"parameter" : [
{
"valueId" : "vs"
},
{
"valueId" : "vt"
}
]
}
]
},
{
"name" : "valueInteger",
"source" : [
{
"context" : "vs0",
"type" : "integer",
"element" : "value",
"variable" : "vs"
}
],
"target" : [
{
"context" : "vt0",
"element" : "value",
"variable" : "vt",
"transform" : "create",
"parameter" : [
{
"valueString" : "integer"
}
]
}
],
"dependent" : [
{
"name" : "integer",
"parameter" : [
{
"valueId" : "vs"
},
{
"valueId" : "vt"
}
]
}
]
},
{
"name" : "valueMarkdown",
"source" : [
{
"context" : "vs0",
"type" : "markdown",
"element" : "value",
"variable" : "vs"
}
],
"target" : [
{
"context" : "vt0",
"element" : "value",
"variable" : "vt",
"transform" : "create",
"parameter" : [
{
"valueString" : "markdown"
}
]
}
],
"dependent" : [
{
"name" : "markdown",
"parameter" : [
{
"valueId" : "vs"
},
{
"valueId" : "vt"
}
]
}
]
},
{
"name" : "valueOid",
"source" : [
{
"context" : "vs0",
"type" : "oid",
"element" : "value",
"variable" : "vs"
}
],
"target" : [
{
"context" : "vt0",
"element" : "value",
"variable" : "vt",
"transform" : "create",
"parameter" : [
{
"valueString" : "oid"
}
]
}
],
"dependent" : [
{
"name" : "oid",
"parameter" : [
{
"valueId" : "vs"
},
{
"valueId" : "vt"
}
]
}
]
},
{
"name" : "valuePositiveInt",
"source" : [
{
"context" : "vs0",
"type" : "positiveInt",
"element" : "value",
"variable" : "vs"
}
],
"target" : [
{
"context" : "vt0",
"element" : "value",
"variable" : "vt",
"transform" : "create",
"parameter" : [
{
"valueString" : "positiveInt"
}
]
}
],
"dependent" : [
{
"name" : "positiveInt",
"parameter" : [
{
"valueId" : "vs"
},
{
"valueId" : "vt"
}
]
}
]
},
{
"name" : "valueString",
"source" : [
{
"context" : "vs0",
"type" : "string",
"element" : "value",
"variable" : "vs"
}
],
"target" : [
{
"context" : "vt0",
"element" : "value",
"variable" : "vt",
"transform" : "create",
"parameter" : [
{
"valueString" : "string"
}
]
}
],
"dependent" : [
{
"name" : "string",
"parameter" : [
{
"valueId" : "vs"
},
{
"valueId" : "vt"
}
]
}
]
},
{
"name" : "valueTime",
"source" : [
{
"context" : "vs0",
"type" : "time",
"element" : "value",
"variable" : "vs"
}
],
"target" : [
{
"context" : "vt0",
"element" : "value",
"variable" : "vt",
"transform" : "create",
"parameter" : [
{
"valueString" : "time"
}
]
}
],
"dependent" : [
{
"name" : "time",
"parameter" : [
{
"valueId" : "vs"
},
{
"valueId" : "vt"
}
]
}
]
},
{
"name" : "valueUnsignedInt",
"source" : [
{
"context" : "vs0",
"type" : "unsignedInt",
"element" : "value",
"variable" : "vs"
}
],
"target" : [
{
"context" : "vt0",
"element" : "value",
"variable" : "vt",
"transform" : "create",
"parameter" : [
{
"valueString" : "unsignedInt"
}
]
}
],
"dependent" : [
{
"name" : "unsignedInt",
"parameter" : [
{
"valueId" : "vs"
},
{
"valueId" : "vt"
}
]
}
]
},
{
"name" : "valueUri",
"source" : [
{
"context" : "vs0",
"type" : "uri",
"element" : "value",
"variable" : "vs"
}
],
"target" : [
{
"context" : "vt0",
"element" : "value",
"variable" : "vt",
"transform" : "create",
"parameter" : [
{
"valueString" : "uri"
}
]
}
],
"dependent" : [
{
"name" : "uri",
"parameter" : [
{
"valueId" : "vs"
},
{
"valueId" : "vt"
}
]
}
]
},
{
"name" : "valueAddress",
"source" : [
{
"context" : "vs0",
"type" : "Address",
"element" : "value",
"variable" : "vs"
}
],
"target" : [
{
"context" : "vt0",
"element" : "value",
"variable" : "vt",
"transform" : "create",
"parameter" : [
{
"valueString" : "Address"
}
]
}
],
"dependent" : [
{
"name" : "Address",
"parameter" : [
{
"valueId" : "vs"
},
{
"valueId" : "vt"
}
]
}
]
},
{
"name" : "valueAge",
"source" : [
{
"context" : "vs0",
"type" : "Age",
"element" : "value",
"variable" : "vs"
}
],
"target" : [
{
"context" : "vt0",
"element" : "value",
"variable" : "vt",
"transform" : "create",
"parameter" : [
{
"valueString" : "Age"
}
]
}
],
"dependent" : [
{
"name" : "Age",
"parameter" : [
{
"valueId" : "vs"
},
{
"valueId" : "vt"
}
]
}
]
},
{
"name" : "valueAnnotation",
"source" : [
{
"context" : "vs0",
"type" : "Annotation",
"element" : "value",
"variable" : "vs"
}
],
"target" : [
{
"context" : "vt0",
"element" : "value",
"variable" : "vt",
"transform" : "create",
"parameter" : [
{
"valueString" : "Annotation"
}
]
}
],
"dependent" : [
{
"name" : "Annotation",
"parameter" : [
{
"valueId" : "vs"
},
{
"valueId" : "vt"
}
]
}
]
},
{
"name" : "valueAttachment",
"source" : [
{
"context" : "vs0",
"type" : "Attachment",
"element" : "value",
"variable" : "vs"
}
],
"target" : [
{
"context" : "vt0",
"element" : "value",
"variable" : "vt",
"transform" : "create",
"parameter" : [
{
"valueString" : "Attachment"
}
]
}
],
"dependent" : [
{
"name" : "Attachment",
"parameter" : [
{
"valueId" : "vs"
},
{
"valueId" : "vt"
}
]
}
]
},
{
"name" : "valueCodeableConcept",
"source" : [
{
"context" : "vs0",
"type" : "CodeableConcept",
"element" : "value",
"variable" : "vs"
}
],
"target" : [
{
"context" : "vt0",
"element" : "value",
"variable" : "vt",
"transform" : "create",
"parameter" : [
{
"valueString" : "CodeableConcept"
}
]
}
],
"dependent" : [
{
"name" : "CodeableConcept",
"parameter" : [
{
"valueId" : "vs"
},
{
"valueId" : "vt"
}
]
}
]
},
{
"name" : "valueCoding",
"source" : [
{
"context" : "vs0",
"type" : "Coding",
"element" : "value",
"variable" : "vs"
}
],
"target" : [
{
"context" : "vt0",
"element" : "value",
"variable" : "vt",
"transform" : "create",
"parameter" : [
{
"valueString" : "Coding"
}
]
}
],
"dependent" : [
{
"name" : "Coding",
"parameter" : [
{
"valueId" : "vs"
},
{
"valueId" : "vt"
}
]
}
]
},
{
"name" : "valueContactPoint",
"source" : [
{
"context" : "vs0",
"type" : "ContactPoint",
"element" : "value",
"variable" : "vs"
}
],
"target" : [
{
"context" : "vt0",
"element" : "value",
"variable" : "vt",
"transform" : "create",
"parameter" : [
{
"valueString" : "ContactPoint"
}
]
}
],
"dependent" : [
{
"name" : "ContactPoint",
"parameter" : [
{
"valueId" : "vs"
},
{
"valueId" : "vt"
}
]
}
]
},
{
"name" : "valueCount",
"source" : [
{
"context" : "vs0",
"type" : "Count",
"element" : "value",
"variable" : "vs"
}
],
"target" : [
{
"context" : "vt0",
"element" : "value",
"variable" : "vt",
"transform" : "create",
"parameter" : [
{
"valueString" : "Count"
}
]
}
],
"dependent" : [
{
"name" : "Count",
"parameter" : [
{
"valueId" : "vs"
},
{
"valueId" : "vt"
}
]
}
]
},
{
"name" : "valueDistance",
"source" : [
{
"context" : "vs0",
"type" : "Distance",
"element" : "value",
"variable" : "vs"
}
],
"target" : [
{
"context" : "vt0",
"element" : "value",
"variable" : "vt",
"transform" : "create",
"parameter" : [
{
"valueString" : "Distance"
}
]
}
],
"dependent" : [
{
"name" : "Distance",
"parameter" : [
{
"valueId" : "vs"
},
{
"valueId" : "vt"
}
]
}
]
},
{
"name" : "valueDuration",
"source" : [
{
"context" : "vs0",
"type" : "Duration",
"element" : "value",
"variable" : "vs"
}
],
"target" : [
{
"context" : "vt0",
"element" : "value",
"variable" : "vt",
"transform" : "create",
"parameter" : [
{
"valueString" : "Duration"
}
]
}
],
"dependent" : [
{
"name" : "Duration",
"parameter" : [
{
"valueId" : "vs"
},
{
"valueId" : "vt"
}
]
}
]
},
{
"name" : "valueHumanName",
"source" : [
{
"context" : "vs0",
"type" : "HumanName",
"element" : "value",
"variable" : "vs"
}
],
"target" : [
{
"context" : "vt0",
"element" : "value",
"variable" : "vt",
"transform" : "create",
"parameter" : [
{
"valueString" : "HumanName"
}
]
}
],
"dependent" : [
{
"name" : "HumanName",
"parameter" : [
{
"valueId" : "vs"
},
{
"valueId" : "vt"
}
]
}
]
},
{
"name" : "valueIdentifier",
"source" : [
{
"context" : "vs0",
"type" : "Identifier",
"element" : "value",
"variable" : "vs"
}
],
"target" : [
{
"context" : "vt0",
"element" : "value",
"variable" : "vt",
"transform" : "create",
"parameter" : [
{
"valueString" : "Identifier"
}
]
}
],
"dependent" : [
{
"name" : "Identifier",
"parameter" : [
{
"valueId" : "vs"
},
{
"valueId" : "vt"
}
]
}
]
},
{
"name" : "valueMoney",
"source" : [
{
"context" : "vs0",
"type" : "Money",
"element" : "value",
"variable" : "vs"
}
],
"target" : [
{
"context" : "vt0",
"element" : "value",
"variable" : "vt",
"transform" : "create",
"parameter" : [
{
"valueString" : "Money"
}
]
}
],
"dependent" : [
{
"name" : "Money",
"parameter" : [
{
"valueId" : "vs"
},
{
"valueId" : "vt"
}
]
}
]
},
{
"name" : "valuePeriod",
"source" : [
{
"context" : "vs0",
"type" : "Period",
"element" : "value",
"variable" : "vs"
}
],
"target" : [
{
"context" : "vt0",
"element" : "value",
"variable" : "vt",
"transform" : "create",
"parameter" : [
{
"valueString" : "Period"
}
]
}
],
"dependent" : [
{
"name" : "Period",
"parameter" : [
{
"valueId" : "vs"
},
{
"valueId" : "vt"
}
]
}
]
},
{
"name" : "valueQuantity",
"source" : [
{
"context" : "vs0",
"type" : "Quantity",
"element" : "value",
"variable" : "vs"
}
],
"target" : [
{
"context" : "vt0",
"element" : "value",
"variable" : "vt",
"transform" : "create",
"parameter" : [
{
"valueString" : "Quantity"
}
]
}
],
"dependent" : [
{
"name" : "Quantity",
"parameter" : [
{
"valueId" : "vs"
},
{
"valueId" : "vt"
}
]
}
]
},
{
"name" : "valueRange",
"source" : [
{
"context" : "vs0",
"type" : "Range",
"element" : "value",
"variable" : "vs"
}
],
"target" : [
{
"context" : "vt0",
"element" : "value",
"variable" : "vt",
"transform" : "create",
"parameter" : [
{
"valueString" : "Range"
}
]
}
],
"dependent" : [
{
"name" : "Range",
"parameter" : [
{
"valueId" : "vs"
},
{
"valueId" : "vt"
}
]
}
]
},
{
"name" : "valueRatio",
"source" : [
{
"context" : "vs0",
"type" : "Ratio",
"element" : "value",
"variable" : "vs"
}
],
"target" : [
{
"context" : "vt0",
"element" : "value",
"variable" : "vt",
"transform" : "create",
"parameter" : [
{
"valueString" : "Ratio"
}
]
}
],
"dependent" : [
{
"name" : "Ratio",
"parameter" : [
{
"valueId" : "vs"
},
{
"valueId" : "vt"
}
]
}
]
},
{
"name" : "valueReference",
"source" : [
{
"context" : "vs0",
"type" : "Reference",
"element" : "value",
"variable" : "vs"
}
],
"target" : [
{
"context" : "vt0",
"element" : "value",
"variable" : "vt",
"transform" : "create",
"parameter" : [
{
"valueString" : "Reference"
}
]
}
],
"dependent" : [
{
"name" : "Reference",
"parameter" : [
{
"valueId" : "vs"
},
{
"valueId" : "vt"
}
]
}
]
},
{
"name" : "valueSampledData",
"source" : [
{
"context" : "vs0",
"type" : "SampledData",
"element" : "value",
"variable" : "vs"
}
],
"target" : [
{
"context" : "vt0",
"element" : "value",
"variable" : "vt",
"transform" : "create",
"parameter" : [
{
"valueString" : "SampledData"
}
]
}
],
"dependent" : [
{
"name" : "SampledData",
"parameter" : [
{
"valueId" : "vs"
},
{
"valueId" : "vt"
}
]
}
]
},
{
"name" : "valueSignature",
"source" : [
{
"context" : "vs0",
"type" : "Signature",
"element" : "value",
"variable" : "vs"
}
],
"target" : [
{
"context" : "vt0",
"element" : "value",
"variable" : "vt",
"transform" : "create",
"parameter" : [
{
"valueString" : "Signature"
}
]
}
],
"dependent" : [
{
"name" : "Signature",
"parameter" : [
{
"valueId" : "vs"
},
{
"valueId" : "vt"
}
]
}
]
},
{
"name" : "valueTiming",
"source" : [
{
"context" : "vs0",
"type" : "Timing",
"element" : "value",
"variable" : "vs"
}
],
"target" : [
{
"context" : "vt0",
"element" : "value",
"variable" : "vt",
"transform" : "create",
"parameter" : [
{
"valueString" : "Timing"
}
]
}
],
"dependent" : [
{
"name" : "Timing",
"parameter" : [
{
"valueId" : "vs"
},
{
"valueId" : "vt"
}
]
}
]
}
]
}
]
}
]
}