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" : "OperationDefinition5to4B",
"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/OperationDefinition5to4B'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'OperationDefinition5to4B'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'FML Conversion for OperationDefinition: 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>conceptmap</b><span style=\"color: navy\"> "</span>BindingStrength<span style=\"color: navy\">" {\r\n</span><b> prefix </b>s<span style=\"color: navy\"> = "</span><a href=\"http://hl7.org/fhir/R5/codesystem-binding-strength.html\" title=\"BindingStrength\">http://hl7.org/fhir/binding-strength</a><span style=\"color: navy\">"\r\n</span><b> prefix </b>t<span style=\"color: navy\"> = "</span><a href=\"http://hl7.org/fhir/R4B/codesystem-binding-strength.html\" title=\"BindingStrength\">http://hl7.org/fhir/4.3/binding-strength</a><span style=\"color: navy\">"\r\n</span>\r\n s<span style=\"color: navy\">:</span>required <b>-</b> t<span style=\"color: navy\">:</span>required\r\n s<span style=\"color: navy\">:</span>extensible <b>-</b> t<span style=\"color: navy\">:</span>extensible\r\n s<span style=\"color: navy\">:</span>preferred <b>-</b> t<span style=\"color: navy\">:</span>preferred\r\n s<span style=\"color: navy\">:</span>example <b>-</b> t<span style=\"color: navy\">:</span>example\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>conceptmap</b><span style=\"color: navy\"> "</span>OperationKind<span style=\"color: navy\">" {\r\n</span><b> prefix </b>s<span style=\"color: navy\"> = "</span><a href=\"http://hl7.org/fhir/R5/codesystem-operation-kind.html\" title=\"Operation Kind\">http://hl7.org/fhir/operation-kind</a><span style=\"color: navy\">"\r\n</span><b> prefix </b>t<span style=\"color: navy\"> = "</span><a href=\"http://hl7.org/fhir/R4B/codesystem-operation-kind.html\" title=\"OperationKind\">http://hl7.org/fhir/4.3/operation-kind</a><span style=\"color: navy\">"\r\n</span>\r\n s<span style=\"color: navy\">:</span>operation <b>-</b> t<span style=\"color: navy\">:</span>operation\r\n s<span style=\"color: navy\">:</span>query <b>-</b> t<span style=\"color: navy\">:</span>query\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>conceptmap</b><span style=\"color: navy\"> "</span>OperationParameterUse<span style=\"color: navy\">" {\r\n</span><b> prefix </b>s<span style=\"color: navy\"> = "</span><a href=\"http://hl7.org/fhir/R5/codesystem-operation-parameter-use.html\" title=\"Operation Parameter Use\">http://hl7.org/fhir/operation-parameter-use</a><span style=\"color: navy\">"\r\n</span><b> prefix </b>t<span style=\"color: navy\"> = "</span><a href=\"http://hl7.org/fhir/R4B/codesystem-operation-parameter-use.html\" title=\"OperationParameterUse\">http://hl7.org/fhir/4.3/operation-parameter-use</a><span style=\"color: navy\">"\r\n</span>\r\n s<span style=\"color: navy\">:</span>in <b>-</b> t<span style=\"color: navy\">:</span>in\r\n s<span style=\"color: navy\">:</span>out <b>-</b> t<span style=\"color: navy\">:</span>out\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>conceptmap</b><span style=\"color: navy\"> "</span>PublicationStatus<span style=\"color: navy\">" {\r\n</span><b> prefix </b>s<span style=\"color: navy\"> = "</span><a href=\"http://hl7.org/fhir/R5/codesystem-publication-status.html\" title=\"PublicationStatus\">http://hl7.org/fhir/publication-status</a><span style=\"color: navy\">"\r\n</span><b> prefix </b>t<span style=\"color: navy\"> = "</span><a href=\"http://hl7.org/fhir/R4B/codesystem-publication-status.html\" title=\"PublicationStatus\">http://hl7.org/fhir/4.3/publication-status</a><span style=\"color: navy\">"\r\n</span>\r\n s<span style=\"color: navy\">:</span>draft <b>-</b> t<span style=\"color: navy\">:</span>draft\r\n s<span style=\"color: navy\">:</span>active <b>-</b> t<span style=\"color: navy\">:</span>active\r\n s<span style=\"color: navy\">:</span>retired <b>-</b> t<span style=\"color: navy\">:</span>retired\r\n s<span style=\"color: navy\">:</span>unknown <b>-</b> t<span style=\"color: navy\">:</span>unknown\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>conceptmap</b><span style=\"color: navy\"> "</span>SearchParamType<span style=\"color: navy\">" {\r\n</span><b> prefix </b>s<span style=\"color: navy\"> = "</span><a href=\"http://hl7.org/fhir/R5/codesystem-search-param-type.html\" title=\"SearchParamType\">http://hl7.org/fhir/search-param-type</a><span style=\"color: navy\">"\r\n</span><b> prefix </b>t<span style=\"color: navy\"> = "</span><a href=\"http://hl7.org/fhir/R4B/codesystem-search-param-type.html\" title=\"SearchParamType\">http://hl7.org/fhir/4.3/search-param-type</a><span style=\"color: navy\">"\r\n</span>\r\n s<span style=\"color: navy\">:</span>number <b>-</b> t<span style=\"color: navy\">:</span>number\r\n s<span style=\"color: navy\">:</span>date <b>-</b> t<span style=\"color: navy\">:</span>date\r\n s<span style=\"color: navy\">:</span>string <b>-</b> t<span style=\"color: navy\">:</span>string\r\n s<span style=\"color: navy\">:</span>token <b>-</b> t<span style=\"color: navy\">:</span>token\r\n s<span style=\"color: navy\">:</span>reference <b>-</b> t<span style=\"color: navy\">:</span>reference\r\n s<span style=\"color: navy\">:</span>composite <b>-</b> t<span style=\"color: navy\">:</span>composite\r\n s<span style=\"color: navy\">:</span>quantity <b>-</b> t<span style=\"color: navy\">:</span>quantity\r\n s<span style=\"color: navy\">:</span>uri <b>-</b> t<span style=\"color: navy\">:</span>uri\r\n s<span style=\"color: navy\">:</span>special <b>-</b> t<span style=\"color: navy\">:</span>special\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>uses</b><span style=\"color: navy\"> "</span><a href=\"http://hl7.org/fhir/R5/operationdefinition.html\" title=\"OperationDefinition\">http://hl7.org/fhir/StructureDefinition/OperationDefinition</a><span style=\"color: navy\">" </span><b>alias </b>OperationDefinitionR5 <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span><a href=\"http://hl7.org/fhir/R4B/operationdefinition.html\" title=\"OperationDefinition\">http://hl7.org/fhir/4.3/StructureDefinition/OperationDefinition</a><span style=\"color: navy\">" </span><b>alias </b>OperationDefinitionR4B <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>OperationDefinition<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>OperationDefinitionR5, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>OperationDefinitionR4B<span style=\"color: navy\">)</span><b> extends </b>DomainResource<b> <<type+>></b><span style=\"color: navy\"> {\r\n</span> src.url<span style=\"color: navy\"><b> -> </b></span>tgt.url<span style=\"color: navy\">;</span>\r\n src.version<span style=\"color: navy\"><b> -> </b></span>tgt.version<span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">src.identifier -> tgt.identifier;</span>\r\n src.name<span style=\"color: navy\"><b> -> </b></span>tgt.name<span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">src.versionAlgorithm : string -> tgt.versionAlgorithm;</span>\r\n src.title<span style=\"color: navy\"><b> -> </b></span>tgt.title<span style=\"color: navy\">;</span>\r\n src.status<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.status = <b>translate</b><span style=\"color: navy\">(</span><span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'#PublicationStatus'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'code'</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n src.kind<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.kind = <b>translate</b><span style=\"color: navy\">(</span><span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'#OperationKind'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'code'</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n src.experimental<span style=\"color: navy\"><b> -> </b></span>tgt.experimental<span style=\"color: navy\">;</span>\r\n src.date<span style=\"color: navy\"><b> -> </b></span>tgt.date<span style=\"color: navy\">;</span>\r\n src.publisher<span style=\"color: navy\"><b> -> </b></span>tgt.publisher<span style=\"color: navy\">;</span>\r\n src.contact<span style=\"color: navy\"><b> -> </b></span>tgt.contact<span style=\"color: navy\">;</span>\r\n src.description<span style=\"color: navy\"><b> -> </b></span>tgt.description<span style=\"color: navy\">;</span>\r\n src.useContext<span style=\"color: navy\"><b> -> </b></span>tgt.useContext<span style=\"color: navy\">;</span>\r\n src.jurisdiction<span style=\"color: navy\"><b> -> </b></span>tgt.jurisdiction<span style=\"color: navy\">;</span>\r\n src.purpose<span style=\"color: navy\"><b> -> </b></span>tgt.purpose<span style=\"color: navy\">;</span>\r\n src.affectsState<span style=\"color: navy\"><b> -> </b></span>tgt.affectsState<span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">src.copyright -> tgt.copyright;</span>\r\n src.code<span style=\"color: navy\"><b> -> </b></span>tgt.code<span style=\"color: navy\">;</span>\r\n src.comment<span style=\"color: navy\"><b> -> </b></span>tgt.comment<span style=\"color: navy\">;</span>\r\n src.base<span style=\"color: navy\"><b> -> </b></span>tgt.base<span style=\"color: navy\">;</span>\r\n src.resource<span style=\"color: navy\"><b> -> </b></span>tgt.resource<span style=\"color: navy\">;</span>\r\n src.system<span style=\"color: navy\"><b> -> </b></span>tgt.system<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.instance<span style=\"color: navy\"><b> -> </b></span>tgt.instance<span style=\"color: navy\">;</span>\r\n src.inputProfile<span style=\"color: navy\"><b> -> </b></span>tgt.inputProfile<span style=\"color: navy\">;</span>\r\n src.outputProfile<span style=\"color: navy\"><b> -> </b></span>tgt.outputProfile<span style=\"color: navy\">;</span>\r\n src.parameter<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.parameter<b> as </b><span style=\"color: maroon\">t</span><b> then </b>OperationDefinitionParameter<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.overload<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.overload<b> as </b><span style=\"color: maroon\">t</span><b> then </b>OperationDefinitionOverload<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>OperationDefinitionParameter<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.name<span style=\"color: navy\"><b> -> </b></span>tgt.name<span style=\"color: navy\">;</span>\r\n src.use<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.use = <b>translate</b><span style=\"color: navy\">(</span><span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'#OperationParameterUse'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'code'</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n src.min<span style=\"color: navy\"><b> -> </b></span>tgt.min<span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">src.scope as v -> tgt.scope = translate(v, '#OperationParameterScope', 'code');</span>\r\n src.max<span style=\"color: navy\"><b> -> </b></span>tgt.max<span style=\"color: navy\">;</span>\r\n src.documentation<span style=\"color: navy\"><b> -> </b></span>tgt.documentation<span style=\"color: navy\">;</span>\r\n src.type<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.type = <b>translate</b><span style=\"color: navy\">(</span><span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'http://hl7.org/fhir/interversion/types5to4B'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'code'</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n src.targetProfile<span style=\"color: navy\"><b> -> </b></span>tgt.targetProfile<span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">src.allowedType as v -> tgt.allowedType = translate(v, 'http://hl7.org/fhir/interversion/types5to4B', 'code');</span>\r\n src.searchType<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.searchType = <b>translate</b><span style=\"color: navy\">(</span><span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'#SearchParamType'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'code'</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n src.binding<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.binding<b> as </b><span style=\"color: maroon\">t</span><b> then </b>OperationDefinitionParameterBinding<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.referencedFrom<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.referencedFrom<b> as </b><span style=\"color: maroon\">t</span><b> then </b>OperationDefinitionParameterReferencedFrom<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>OperationDefinitionParameterBinding<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.strength<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.strength = <b>translate</b><span style=\"color: navy\">(</span><span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'#BindingStrength'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'code'</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n src.valueSet<span style=\"color: navy\"><b> -> </b></span>tgt.valueSet<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>OperationDefinitionParameterReferencedFrom<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.source<span style=\"color: navy\"><b> -> </b></span>tgt.source<span style=\"color: navy\">;</span>\r\n src.sourceId<span style=\"color: navy\"><b> -> </b></span>tgt.sourceId<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>OperationDefinitionOverload<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.parameterName<span style=\"color: navy\"><b> -> </b></span>tgt.parameterName<span style=\"color: navy\">;</span>\r\n src.comment<span style=\"color: navy\"><b> -> </b></span>tgt.comment<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>"
},
"contained" : [
{
"resourceType" : "ConceptMap",
"id" : "BindingStrength",
"status" : "active",
"group" : [
{
"source" : "http://hl7.org/fhir/binding-strength",
"target" : "http://hl7.org/fhir/4.3/binding-strength",
"element" : [
{
"code" : "required",
"target" : [
{
"code" : "required",
"relationship" : "related-to"
}
]
},
{
"code" : "extensible",
"target" : [
{
"code" : "extensible",
"relationship" : "related-to"
}
]
},
{
"code" : "preferred",
"target" : [
{
"code" : "preferred",
"relationship" : "related-to"
}
]
},
{
"code" : "example",
"target" : [
{
"code" : "example",
"relationship" : "related-to"
}
]
}
]
}
]
},
{
"resourceType" : "ConceptMap",
"id" : "OperationKind",
"status" : "active",
"group" : [
{
"source" : "http://hl7.org/fhir/operation-kind",
"target" : "http://hl7.org/fhir/4.3/operation-kind",
"element" : [
{
"code" : "operation",
"target" : [
{
"code" : "operation",
"relationship" : "related-to"
}
]
},
{
"code" : "query",
"target" : [
{
"code" : "query",
"relationship" : "related-to"
}
]
}
]
}
]
},
{
"resourceType" : "ConceptMap",
"id" : "OperationParameterUse",
"status" : "active",
"group" : [
{
"source" : "http://hl7.org/fhir/operation-parameter-use",
"target" : "http://hl7.org/fhir/4.3/operation-parameter-use",
"element" : [
{
"code" : "in",
"target" : [
{
"code" : "in",
"relationship" : "related-to"
}
]
},
{
"code" : "out",
"target" : [
{
"code" : "out",
"relationship" : "related-to"
}
]
}
]
}
]
},
{
"resourceType" : "ConceptMap",
"id" : "PublicationStatus",
"status" : "active",
"group" : [
{
"source" : "http://hl7.org/fhir/publication-status",
"target" : "http://hl7.org/fhir/4.3/publication-status",
"element" : [
{
"code" : "draft",
"target" : [
{
"code" : "draft",
"relationship" : "related-to"
}
]
},
{
"code" : "active",
"target" : [
{
"code" : "active",
"relationship" : "related-to"
}
]
},
{
"code" : "retired",
"target" : [
{
"code" : "retired",
"relationship" : "related-to"
}
]
},
{
"code" : "unknown",
"target" : [
{
"code" : "unknown",
"relationship" : "related-to"
}
]
}
]
}
]
},
{
"resourceType" : "ConceptMap",
"id" : "SearchParamType",
"status" : "active",
"group" : [
{
"source" : "http://hl7.org/fhir/search-param-type",
"target" : "http://hl7.org/fhir/4.3/search-param-type",
"element" : [
{
"code" : "number",
"target" : [
{
"code" : "number",
"relationship" : "related-to"
}
]
},
{
"code" : "date",
"target" : [
{
"code" : "date",
"relationship" : "related-to"
}
]
},
{
"code" : "string",
"target" : [
{
"code" : "string",
"relationship" : "related-to"
}
]
},
{
"code" : "token",
"target" : [
{
"code" : "token",
"relationship" : "related-to"
}
]
},
{
"code" : "reference",
"target" : [
{
"code" : "reference",
"relationship" : "related-to"
}
]
},
{
"code" : "composite",
"target" : [
{
"code" : "composite",
"relationship" : "related-to"
}
]
},
{
"code" : "quantity",
"target" : [
{
"code" : "quantity",
"relationship" : "related-to"
}
]
},
{
"code" : "uri",
"target" : [
{
"code" : "uri",
"relationship" : "related-to"
}
]
},
{
"code" : "special",
"target" : [
{
"code" : "special",
"relationship" : "related-to"
}
]
}
]
}
]
}
],
"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/OperationDefinition5to4B",
"version" : "5.1.0-snapshot1",
"name" : "OperationDefinition5to4B",
"title" : "FML Conversion for OperationDefinition: R5 to R4B",
"status" : "active",
"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" : "FMLConversionforOperationDefinitionR5toR4B",
"jurisdiction" : [
{
"coding" : [
{
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code" : "001"
}
]
}
],
"structure" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/OperationDefinition",
"mode" : "source",
"alias" : "OperationDefinitionR5"
},
{
"url" : "http://hl7.org/fhir/4.3/StructureDefinition/OperationDefinition",
"mode" : "target",
"alias" : "OperationDefinitionR4B"
}
],
"import" : [
"http://hl7.org/fhir/StructureMap/*5to4B"
],
"group" : [
{
"name" : "OperationDefinition",
"extends" : "DomainResource",
"typeMode" : "type-and-types",
"input" : [
{
"name" : "src",
"type" : "OperationDefinitionR5",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "OperationDefinitionR4B",
"mode" : "target"
}
],
"rule" : [
{
"name" : "url",
"source" : [
{
"context" : "src",
"element" : "url",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "url",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "version",
"source" : [
{
"context" : "src",
"element" : "version",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "version",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
],
"documentation" : "src.identifier -> tgt.identifier;"
},
{
"name" : "name",
"source" : [
{
"context" : "src",
"element" : "name",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "name",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
],
"documentation" : "src.versionAlgorithm : string -> tgt.versionAlgorithm;"
},
{
"name" : "title",
"source" : [
{
"context" : "src",
"element" : "title",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "title",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "status",
"source" : [
{
"context" : "src",
"element" : "status",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "status",
"transform" : "translate",
"parameter" : [
{
"valueId" : "v"
},
{
"valueString" : "#PublicationStatus"
},
{
"valueString" : "code"
}
]
}
]
},
{
"name" : "kind",
"source" : [
{
"context" : "src",
"element" : "kind",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "kind",
"transform" : "translate",
"parameter" : [
{
"valueId" : "v"
},
{
"valueString" : "#OperationKind"
},
{
"valueString" : "code"
}
]
}
]
},
{
"name" : "experimental",
"source" : [
{
"context" : "src",
"element" : "experimental",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "experimental",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "date",
"source" : [
{
"context" : "src",
"element" : "date",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "date",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "publisher",
"source" : [
{
"context" : "src",
"element" : "publisher",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "publisher",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "contact",
"source" : [
{
"context" : "src",
"element" : "contact",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "contact",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "description",
"source" : [
{
"context" : "src",
"element" : "description",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "description",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "useContext",
"source" : [
{
"context" : "src",
"element" : "useContext",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "useContext",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "jurisdiction",
"source" : [
{
"context" : "src",
"element" : "jurisdiction",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "jurisdiction",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "purpose",
"source" : [
{
"context" : "src",
"element" : "purpose",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "purpose",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "affectsState",
"source" : [
{
"context" : "src",
"element" : "affectsState",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "affectsState",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
],
"documentation" : "src.copyright -> tgt.copyright;"
},
{
"name" : "code",
"source" : [
{
"context" : "src",
"element" : "code",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "code",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"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" : "base",
"source" : [
{
"context" : "src",
"element" : "base",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "base",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "resource",
"source" : [
{
"context" : "src",
"element" : "resource",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "resource",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "system",
"source" : [
{
"context" : "src",
"element" : "system",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "system",
"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" : "instance",
"source" : [
{
"context" : "src",
"element" : "instance",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "instance",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "inputProfile",
"source" : [
{
"context" : "src",
"element" : "inputProfile",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "inputProfile",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "outputProfile",
"source" : [
{
"context" : "src",
"element" : "outputProfile",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "outputProfile",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "parameter",
"source" : [
{
"context" : "src",
"element" : "parameter",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "parameter",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "OperationDefinitionParameter",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
},
{
"name" : "overload",
"source" : [
{
"context" : "src",
"element" : "overload",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "overload",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "OperationDefinitionOverload",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
}
]
},
{
"name" : "OperationDefinitionParameter",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "name",
"source" : [
{
"context" : "src",
"element" : "name",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "name",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "use",
"source" : [
{
"context" : "src",
"element" : "use",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "use",
"transform" : "translate",
"parameter" : [
{
"valueId" : "v"
},
{
"valueString" : "#OperationParameterUse"
},
{
"valueString" : "code"
}
]
}
]
},
{
"name" : "min",
"source" : [
{
"context" : "src",
"element" : "min",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "min",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
],
"documentation" : "src.scope as v -> tgt.scope = translate(v, '#OperationParameterScope', 'code');"
},
{
"name" : "max",
"source" : [
{
"context" : "src",
"element" : "max",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "max",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "documentation",
"source" : [
{
"context" : "src",
"element" : "documentation",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "documentation",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "type",
"source" : [
{
"context" : "src",
"element" : "type",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "type",
"transform" : "translate",
"parameter" : [
{
"valueId" : "v"
},
{
"valueString" : "http://hl7.org/fhir/interversion/types5to4B"
},
{
"valueString" : "code"
}
]
}
]
},
{
"name" : "targetProfile",
"source" : [
{
"context" : "src",
"element" : "targetProfile",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "targetProfile",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
],
"documentation" : "src.allowedType as v -> tgt.allowedType = translate(v, 'http://hl7.org/fhir/interversion/types5to4B', 'code');"
},
{
"name" : "searchType",
"source" : [
{
"context" : "src",
"element" : "searchType",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "searchType",
"transform" : "translate",
"parameter" : [
{
"valueId" : "v"
},
{
"valueString" : "#SearchParamType"
},
{
"valueString" : "code"
}
]
}
]
},
{
"name" : "binding",
"source" : [
{
"context" : "src",
"element" : "binding",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "binding",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "OperationDefinitionParameterBinding",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
},
{
"name" : "referencedFrom",
"source" : [
{
"context" : "src",
"element" : "referencedFrom",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "referencedFrom",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "OperationDefinitionParameterReferencedFrom",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
}
]
},
{
"name" : "OperationDefinitionParameterBinding",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "strength",
"source" : [
{
"context" : "src",
"element" : "strength",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "strength",
"transform" : "translate",
"parameter" : [
{
"valueId" : "v"
},
{
"valueString" : "#BindingStrength"
},
{
"valueString" : "code"
}
]
}
]
},
{
"name" : "valueSet",
"source" : [
{
"context" : "src",
"element" : "valueSet",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "valueSet",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "OperationDefinitionParameterReferencedFrom",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"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" : "sourceId",
"source" : [
{
"context" : "src",
"element" : "sourceId",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "sourceId",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "OperationDefinitionOverload",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "parameterName",
"source" : [
{
"context" : "src",
"element" : "parameterName",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "parameterName",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"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"
}
]
}
]
}
]
}
]
}