This page is part of the FHIR Core Extensions Registry (v5.1.0: Release 5.1) based on FHIR (HL7® FHIR® Standard) v5.0.0. This is the current published version. For a full list of available versions, see the Directory of published versions
Page standards status: Trial-use | Maturity Level: 1 |
{
"resourceType" : "StructureMap",
"id" : "CodeableConcept4Bto5",
"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/CodeableConcept4Bto5'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'CodeableConcept4Bto5'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'FML Conversion for CodeableConcept: R4B 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><a href=\"http://hl7.org/fhir/R4B/datatypes.html#string\" title=\"string\">http://hl7.org/fhir/4.3/StructureDefinition/string</a><span style=\"color: navy\">" </span><b>alias </b>stringR4B <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span><a href=\"http://hl7.org/fhir/R4B/datatypes.html#CodeableConcept\" title=\"CodeableConcept\">http://hl7.org/fhir/4.3/StructureDefinition/CodeableConcept</a><span style=\"color: navy\">" </span><b>alias </b>CodeableConceptR4B <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span><a href=\"http://hl7.org/fhir/R4B/references.html#CodeableReference\" title=\"CodeableReference\">http://hl7.org/fhir/4.3/StructureDefinition/CodeableReference</a><span style=\"color: navy\">" </span><b>alias </b>CodeableReferenceR4B <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span><a href=\"http://hl7.org/fhir/R4B/datatypes.html#Coding\" title=\"Coding\">http://hl7.org/fhir/4.3/StructureDefinition/Coding</a><span style=\"color: navy\">" </span><b>alias </b>CodingR4B <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span><a href=\"http://hl7.org/fhir/R4B/datatypes.html#code\" title=\"code\">http://hl7.org/fhir/4.3/StructureDefinition/code</a><span style=\"color: navy\">" </span><b>alias </b>codeR4B <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span><a href=\"http://hl7.org/fhir/R5/datatypes.html#CodeableConcept\" title=\"CodeableConcept\">http://hl7.org/fhir/StructureDefinition/CodeableConcept</a><span style=\"color: navy\">" </span><b>alias </b>CodeableConceptR5 <b>as </b><b>target</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span><a href=\"http://hl7.org/fhir/R5/references.html#CodeableReference\" title=\"CodeableReference\">http://hl7.org/fhir/StructureDefinition/CodeableReference</a><span style=\"color: navy\">" </span><b>alias </b>CodeableReferenceR5 <b>as </b><b>target</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span><a href=\"http://hl7.org/fhir/R5/datatypes.html#Coding\" title=\"Coding\">http://hl7.org/fhir/StructureDefinition/Coding</a><span style=\"color: navy\">" </span><b>alias </b>CodingR5 <b>as </b><b>target</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span><a href=\"http://hl7.org/fhir/R5/datatypes.html#code\" title=\"code\">http://hl7.org/fhir/StructureDefinition/code</a><span style=\"color: navy\">" </span><b>alias </b>codeR5 <b>as </b><b>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/StructureMap/*4Bto5<span style=\"color: navy\">"\r\n</span>\r\n<b>group </b>CodeableConcept<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>CodeableConceptR4B, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>CodeableConceptR5<span style=\"color: navy\">)</span><b> extends </b>Element<b> <<type+>></b><span style=\"color: navy\"> {\r\n</span> src.coding<span style=\"color: navy\"><b> -> </b></span>tgt.coding<span style=\"color: navy\">;</span>\r\n src.text<span style=\"color: navy\"><b> -> </b></span>tgt.text<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>CodeableConcept2CodeableReference<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>CodeableConceptR4B, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>CodeableReferenceR5<span style=\"color: navy\">)</span><b> extends </b>Element<b> <<types>></b><span style=\"color: navy\"> {\r\n</span> src<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.concept<b> as </b><span style=\"color: maroon\">t</span><b> then </b>CodeableConcept<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> <i>"concept"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>CodeableReference2CodeableConcept<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>CodeableReferenceR4B, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>CodeableConceptR5<span style=\"color: navy\">)</span><b> extends </b>Element<b> <<types>></b><span style=\"color: navy\"> {\r\n</span> src.concept<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>CodeableConcept<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">tgt</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>string2CodeableConcept<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>stringR4B, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>CodeableConceptR5<span style=\"color: navy\">)</span><b> extends </b>Element<b> <<types>></b><span style=\"color: navy\"> {\r\n</span> src.value<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.text = <span style=\"color: maroon\">v</span> <i>"string2CodeableConcept"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>string2CodeableReference<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>stringR4B, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>CodeableReferenceR5<span style=\"color: navy\">)</span><b> extends </b>Element<b> <<types>></b><span style=\"color: navy\"> {\r\n</span> src<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.concept<b> as </b><span style=\"color: maroon\">t</span><b> then </b>string2CodeableConcept<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> <i>"string2CodeableConcept"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>CodeableConcept2Coding<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>CodeableConceptR4B, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>CodingR5<span style=\"color: navy\">)</span><b> extends </b>Element<b> <<types>></b><span style=\"color: navy\"> {\r\n</span> src.coding<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span><span style=\"color: maroon\">tgt</span><b> as </b><span style=\"color: maroon\">t</span><b> then </b>Coding<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>Coding2CodeableConcept<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>CodingR4B, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>CodeableConceptR5<span style=\"color: navy\">)</span><b> extends </b>Element<b> <<types>></b><span style=\"color: navy\"> {\r\n</span> src<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.coding<b> as </b><span style=\"color: maroon\">t</span><b> then </b>Coding<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> <i>"Coding"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>Coding2CodeableReference<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>CodingR4B, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>CodeableReferenceR5<span style=\"color: navy\">)</span><b> extends </b>Element<b> <<types>></b><span style=\"color: navy\"> {\r\n</span> src<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span> tgt.concept = <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\">t</span><span style=\"color: navy\">, </span> t.coding<b> as </b><span style=\"color: maroon\">tc</span><b> then </b>Coding<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">tc</span><span style=\"color: navy\">)</span> <i>"Coding"</i><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">src as s -> tgt.concept = create('CodeableConcept') as tc, tc.coding = create ('Coding') as tcc, tcc.system = (a.system), tcc.code = (s.code), tcc.display = s.display "Coding2CodeableReference";</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>CodeableConcept2code<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>CodeableConceptR4B, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>codeR5, <b>source</b> <span style=\"color: maroon\">sysUrl</span><span style=\"color: navy\"> : </span>string<span style=\"color: navy\">)</span><b> extends </b>Element<b> <<types>></b><span style=\"color: navy\"> {\r\n</span> src.coding<b> as </b><span style=\"color: maroon\">s</span><b> where </b>s.system = sysUrl<span style=\"color: navy\"><b> -> </b></span><span style=\"color: maroon\">tgt</span><b> then</b><span style=\"color: navy\"> {\r\n</span> s.code<span style=\"color: navy\"><b> -> </b></span>tgt.value<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>code2CodeableConcept<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>codeR4B, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>CodeableConceptR5, <b>source</b> <span style=\"color: maroon\">sysUrl</span><span style=\"color: navy\"> : </span>string<span style=\"color: navy\">)</span><b> extends </b>Element<b> <<types>></b><span style=\"color: navy\"> {\r\n</span> src.value<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span> tgt.coding = <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\">t</span><span style=\"color: navy\">, </span> t.system = <span style=\"color: maroon\">sysUrl</span><span style=\"color: navy\">, </span> t.code = <span style=\"color: maroon\">s</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.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/CodeableConcept4Bto5",
"version" : "5.1.0",
"name" : "CodeableConcept4Bto5",
"title" : "FML Conversion for CodeableConcept: R4B to R5",
"status" : "active",
"date" : "2024-04-27T18:54:50+10:00",
"publisher" : "HL7 International / FHIR Infrastructure",
"contact" : [
{
"telecom" : [
{
"system" : "url",
"value" : "http://www.hl7.org/Special/committees/fiwg"
}
]
}
],
"description" : "FMLConversionforCodeableConceptR4BtoR5",
"jurisdiction" : [
{
"coding" : [
{
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code" : "001"
}
]
}
],
"structure" : [
{
"url" : "http://hl7.org/fhir/4.3/StructureDefinition/string",
"mode" : "source",
"alias" : "stringR4B"
},
{
"url" : "http://hl7.org/fhir/4.3/StructureDefinition/CodeableConcept",
"mode" : "source",
"alias" : "CodeableConceptR4B"
},
{
"url" : "http://hl7.org/fhir/4.3/StructureDefinition/CodeableReference",
"mode" : "source",
"alias" : "CodeableReferenceR4B"
},
{
"url" : "http://hl7.org/fhir/4.3/StructureDefinition/Coding",
"mode" : "source",
"alias" : "CodingR4B"
},
{
"url" : "http://hl7.org/fhir/4.3/StructureDefinition/code",
"mode" : "source",
"alias" : "codeR4B"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/CodeableConcept",
"mode" : "target",
"alias" : "CodeableConceptR5"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/CodeableReference",
"mode" : "target",
"alias" : "CodeableReferenceR5"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/Coding",
"mode" : "target",
"alias" : "CodingR5"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/code",
"mode" : "target",
"alias" : "codeR5"
}
],
"import" : [
"http://hl7.org/fhir/StructureMap/*4Bto5"
],
"group" : [
{
"name" : "CodeableConcept",
"extends" : "Element",
"typeMode" : "type-and-types",
"input" : [
{
"name" : "src",
"type" : "CodeableConceptR4B",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "CodeableConceptR5",
"mode" : "target"
}
],
"rule" : [
{
"name" : "coding",
"source" : [
{
"context" : "src",
"element" : "coding",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "coding",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "text",
"source" : [
{
"context" : "src",
"element" : "text",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "text",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "CodeableConcept2CodeableReference",
"extends" : "Element",
"typeMode" : "types",
"input" : [
{
"name" : "src",
"type" : "CodeableConceptR4B",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "CodeableReferenceR5",
"mode" : "target"
}
],
"rule" : [
{
"name" : "concept",
"source" : [
{
"context" : "src",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "concept",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "CodeableConcept",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
}
]
},
{
"name" : "CodeableReference2CodeableConcept",
"extends" : "Element",
"typeMode" : "types",
"input" : [
{
"name" : "src",
"type" : "CodeableReferenceR4B",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "CodeableConceptR5",
"mode" : "target"
}
],
"rule" : [
{
"name" : "concept",
"source" : [
{
"context" : "src",
"element" : "concept",
"variable" : "s"
}
],
"target" : [
{
"transform" : "copy",
"parameter" : [
{
"valueId" : "tgt"
}
]
}
],
"dependent" : [
{
"name" : "CodeableConcept",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "tgt"
}
]
}
]
}
]
},
{
"name" : "string2CodeableConcept",
"extends" : "Element",
"typeMode" : "types",
"input" : [
{
"name" : "src",
"type" : "stringR4B",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "CodeableConceptR5",
"mode" : "target"
}
],
"rule" : [
{
"name" : "string2CodeableConcept",
"source" : [
{
"context" : "src",
"element" : "value",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "text",
"transform" : "copy",
"parameter" : [
{
"valueId" : "v"
}
]
}
]
}
]
},
{
"name" : "string2CodeableReference",
"extends" : "Element",
"typeMode" : "types",
"input" : [
{
"name" : "src",
"type" : "stringR4B",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "CodeableReferenceR5",
"mode" : "target"
}
],
"rule" : [
{
"name" : "string2CodeableConcept",
"source" : [
{
"context" : "src",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "concept",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "string2CodeableConcept",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
}
]
},
{
"name" : "CodeableConcept2Coding",
"extends" : "Element",
"typeMode" : "types",
"input" : [
{
"name" : "src",
"type" : "CodeableConceptR4B",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "CodingR5",
"mode" : "target"
}
],
"rule" : [
{
"name" : "coding",
"source" : [
{
"context" : "src",
"element" : "coding",
"variable" : "s"
}
],
"target" : [
{
"variable" : "t",
"transform" : "copy",
"parameter" : [
{
"valueId" : "tgt"
}
]
}
],
"dependent" : [
{
"name" : "Coding",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
}
]
},
{
"name" : "Coding2CodeableConcept",
"extends" : "Element",
"typeMode" : "types",
"input" : [
{
"name" : "src",
"type" : "CodingR4B",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "CodeableConceptR5",
"mode" : "target"
}
],
"rule" : [
{
"name" : "Coding",
"source" : [
{
"context" : "src",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "coding",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "Coding",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
}
]
},
{
"name" : "Coding2CodeableReference",
"extends" : "Element",
"typeMode" : "types",
"input" : [
{
"name" : "src",
"type" : "CodingR4B",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "CodeableReferenceR5",
"mode" : "target"
}
],
"rule" : [
{
"name" : "Coding",
"source" : [
{
"context" : "src",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "concept",
"variable" : "t",
"transform" : "create",
"parameter" : [
{
"valueString" : "CodeableConcept"
}
]
},
{
"context" : "t",
"element" : "coding",
"variable" : "tc"
}
],
"dependent" : [
{
"name" : "Coding",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "tc"
}
]
}
],
"documentation" : "src as s -> tgt.concept = create('CodeableConcept') as tc, tc.coding = create ('Coding') as tcc, tcc.system = (a.system), tcc.code = (s.code), tcc.display = s.display \"Coding2CodeableReference\";"
}
]
},
{
"name" : "CodeableConcept2code",
"extends" : "Element",
"typeMode" : "types",
"input" : [
{
"name" : "src",
"type" : "CodeableConceptR4B",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "codeR5",
"mode" : "target"
},
{
"name" : "sysUrl",
"type" : "string",
"mode" : "source"
}
],
"rule" : [
{
"name" : "coding",
"source" : [
{
"context" : "src",
"element" : "coding",
"variable" : "s",
"condition" : "s.system = sysUrl"
}
],
"target" : [
{
"transform" : "copy",
"parameter" : [
{
"valueId" : "tgt"
}
]
}
],
"rule" : [
{
"name" : "code",
"source" : [
{
"context" : "s",
"element" : "code",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
}
]
},
{
"name" : "code2CodeableConcept",
"extends" : "Element",
"typeMode" : "types",
"input" : [
{
"name" : "src",
"type" : "codeR4B",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "CodeableConceptR5",
"mode" : "target"
},
{
"name" : "sysUrl",
"type" : "string",
"mode" : "source"
}
],
"rule" : [
{
"name" : "value",
"source" : [
{
"context" : "src",
"element" : "value",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "coding",
"variable" : "t",
"transform" : "create",
"parameter" : [
{
"valueString" : "Coding"
}
]
},
{
"context" : "t",
"element" : "system",
"transform" : "copy",
"parameter" : [
{
"valueId" : "sysUrl"
}
]
},
{
"context" : "t",
"element" : "code",
"transform" : "copy",
"parameter" : [
{
"valueId" : "s"
}
]
}
]
}
]
}
]
}