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" : "Questionnaire4to5",
"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/Questionnaire4to5'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'Questionnaire4to5'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'FML Conversion for Questionnaire: R4 to R5'</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>EnableWhenBehavior<span style=\"color: navy\">" {\r\n</span><b> prefix </b>s<span style=\"color: navy\"> = "</span><a href=\"http://hl7.org/fhir/R4/codesystem-questionnaire-enable-behavior.html\" title=\"EnableWhenBehavior\">http://hl7.org/fhir/4.0/questionnaire-enable-behavior</a><span style=\"color: navy\">"\r\n</span><b> prefix </b>t<span style=\"color: navy\"> = "</span><a href=\"http://hl7.org/fhir/R5/codesystem-questionnaire-enable-behavior.html\" title=\"Enable When Behavior\">http://hl7.org/fhir/questionnaire-enable-behavior</a><span style=\"color: navy\">"\r\n</span>\r\n s<span style=\"color: navy\">:</span>all <b>-</b> t<span style=\"color: navy\">:</span>all\r\n s<span style=\"color: navy\">:</span>any <b>-</b> t<span style=\"color: navy\">:</span>any\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/R4/codesystem-publication-status.html\" title=\"PublicationStatus\">http://hl7.org/fhir/4.0/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/R5/codesystem-publication-status.html\" title=\"PublicationStatus\">http://hl7.org/fhir/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>QuestionnaireItemOperator<span style=\"color: navy\">" {\r\n</span><b> prefix </b>s<span style=\"color: navy\"> = "</span><a href=\"http://hl7.org/fhir/R4/codesystem-questionnaire-enable-operator.html\" title=\"QuestionnaireItemOperator\">http://hl7.org/fhir/4.0/questionnaire-enable-operator</a><span style=\"color: navy\">"\r\n</span><b> prefix </b>t<span style=\"color: navy\"> = "</span><a href=\"http://hl7.org/fhir/R5/codesystem-questionnaire-enable-operator.html\" title=\"Questionnaire Item Operator\">http://hl7.org/fhir/questionnaire-enable-operator</a><span style=\"color: navy\">"\r\n</span>\r\n s<span style=\"color: navy\">:</span>exists <b>-</b> t<span style=\"color: navy\">:</span>exists\r\n s<span style=\"color: navy\">:</span>"=" <b>-</b> t<span style=\"color: navy\">:</span><span style=\"color: navy\">"</span>=<span style=\"color: navy\">"</span>\r\n s<span style=\"color: navy\">:</span>"!=" <b>-</b> t<span style=\"color: navy\">:</span><span style=\"color: navy\">"</span>!=<span style=\"color: navy\">"</span>\r\n s<span style=\"color: navy\">:</span>">" <b>-</b> t<span style=\"color: navy\">:</span><span style=\"color: navy\">"</span>><span style=\"color: navy\">"</span>\r\n s<span style=\"color: navy\">:</span>"<" <b>-</b> t<span style=\"color: navy\">:</span><span style=\"color: navy\">"</span><<span style=\"color: navy\">"</span>\r\n s<span style=\"color: navy\">:</span>">=" <b>-</b> t<span style=\"color: navy\">:</span><span style=\"color: navy\">"</span>>=<span style=\"color: navy\">"</span>\r\n s<span style=\"color: navy\">:</span>"<=" <b>-</b> t<span style=\"color: navy\">:</span><span style=\"color: navy\">"</span><=<span style=\"color: navy\">"</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>conceptmap</b><span style=\"color: navy\"> "</span>QuestionnaireItemType<span style=\"color: navy\">" {\r\n</span><b> prefix </b>s<span style=\"color: navy\"> = "</span><a href=\"http://hl7.org/fhir/R4/codesystem-item-type.html\" title=\"QuestionnaireItemType\">http://hl7.org/fhir/4.0/item-type</a><span style=\"color: navy\">"\r\n</span><b> prefix </b>t<span style=\"color: navy\"> = "</span><a href=\"http://hl7.org/fhir/R5/codesystem-item-type.html\" title=\"Questionnaire Item Type\">http://hl7.org/fhir/item-type</a><span style=\"color: navy\">"\r\n</span>\r\n s<span style=\"color: navy\">:</span>group <b>-</b> t<span style=\"color: navy\">:</span>group\r\n s<span style=\"color: navy\">:</span>display <b>-</b> t<span style=\"color: navy\">:</span>display\r\n s<span style=\"color: navy\">:</span>question <b>-</b> t<span style=\"color: navy\">:</span>question\r\n s<span style=\"color: navy\">:</span>boolean <b>-</b> t<span style=\"color: navy\">:</span>boolean\r\n s<span style=\"color: navy\">:</span>decimal <b>-</b> t<span style=\"color: navy\">:</span>decimal\r\n s<span style=\"color: navy\">:</span>integer <b>-</b> t<span style=\"color: navy\">:</span>integer\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>dateTime <b>-</b> t<span style=\"color: navy\">:</span>dateTime\r\n s<span style=\"color: navy\">:</span>time <b>-</b> t<span style=\"color: navy\">:</span>time\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>text <b>-</b> t<span style=\"color: navy\">:</span>text\r\n s<span style=\"color: navy\">:</span>url <b>-</b> t<span style=\"color: navy\">:</span>url\r\n s<span style=\"color: navy\">:</span>choice <b>-</b> t<span style=\"color: navy\">:</span>coding\r\n s<span style=\"color: navy\">:</span>"open-choice" <b>-</b> t<span style=\"color: navy\">:</span>coding\r\n s<span style=\"color: navy\">:</span>attachment <b>-</b> t<span style=\"color: navy\">:</span>attachment\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>quantity <b>-</b> t<span style=\"color: navy\">:</span>quantity\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/R4/questionnaire.html\" title=\"Questionnaire\">http://hl7.org/fhir/4.0/StructureDefinition/Questionnaire</a><span style=\"color: navy\">" </span><b>alias </b>QuestionnaireR4 <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span><a href=\"http://hl7.org/fhir/R5/questionnaire.html\" title=\"Questionnaire\">http://hl7.org/fhir/StructureDefinition/Questionnaire</a><span style=\"color: navy\">" </span><b>alias </b>QuestionnaireR5 <b>as </b><b>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/StructureMap/*4to5<span style=\"color: navy\">"\r\n</span>\r\n<b>group </b>Questionnaire<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>QuestionnaireR4, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>QuestionnaireR5<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.identifier<span style=\"color: navy\"><b> -> </b></span>tgt.identifier<span style=\"color: navy\">;</span>\r\n src.version<span style=\"color: navy\"><b> -> </b></span>tgt.version<span style=\"color: navy\">;</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.derivedFrom<span style=\"color: navy\"><b> -> </b></span>tgt.derivedFrom<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.experimental<span style=\"color: navy\"><b> -> </b></span>tgt.experimental<span style=\"color: navy\">;</span>\r\n src.subjectType<span style=\"color: navy\"><b> -> </b></span>tgt.subjectType<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.copyright<span style=\"color: navy\"><b> -> </b></span>tgt.copyright<span style=\"color: navy\">;</span>\r\n src.approvalDate<span style=\"color: navy\"><b> -> </b></span>tgt.approvalDate<span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">src.copyrightLabel -> tgt.copyrightLabel;</span>\r\n src.lastReviewDate<span style=\"color: navy\"><b> -> </b></span>tgt.lastReviewDate<span style=\"color: navy\">;</span>\r\n src.effectivePeriod<span style=\"color: navy\"><b> -> </b></span>tgt.effectivePeriod<span style=\"color: navy\">;</span>\r\n src.code<span style=\"color: navy\"><b> -> </b></span>tgt.code<span style=\"color: navy\">;</span>\r\n src.item<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.item<b> as </b><span style=\"color: maroon\">t</span><b> then </b>QuestionnaireItem<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>QuestionnaireItem<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.linkId<span style=\"color: navy\"><b> -> </b></span>tgt.linkId<span style=\"color: navy\">;</span>\r\n src.definition<span style=\"color: navy\"><b> -> </b></span>tgt.definition<span style=\"color: navy\">;</span>\r\n src.code<span style=\"color: navy\"><b> -> </b></span>tgt.code<span style=\"color: navy\">;</span>\r\n src.prefix<span style=\"color: navy\"><b> -> </b></span>tgt.prefix<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 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\">'#QuestionnaireItemType'</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.type<b> as </b><span style=\"color: maroon\">s</span><b> where </b>type = 'choice'<span style=\"color: navy\"><b> -> </b></span> tgt.answerConstraint<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.value = <span style=\"color: blue\">'optionsOnly'</span><span style=\"color: navy\">;</span>\r\n src.type<b> as </b><span style=\"color: maroon\">s</span><b> where </b>type = 'open-choice'<span style=\"color: navy\"><b> -> </b></span> tgt.answerConstraint<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.value = <span style=\"color: blue\">'optionsOrString'</span><span style=\"color: navy\">;</span>\r\n src.enableWhen<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.enableWhen<b> as </b><span style=\"color: maroon\">t</span><b> then </b>QuestionnaireItemEnableWhen<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.enableBehavior<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.enableBehavior = <b>translate</b><span style=\"color: navy\">(</span><span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'#EnableWhenBehavior'</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.required<span style=\"color: navy\"><b> -> </b></span>tgt.required<span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">src.disabledDisplay as v -> tgt.disabledDisplay = translate(v, '#DisabledDisplay', 'code');</span>\r\n src.repeats<span style=\"color: navy\"><b> -> </b></span>tgt.repeats<span style=\"color: navy\">;</span>\r\n src.readOnly<span style=\"color: navy\"><b> -> </b></span>tgt.readOnly<span style=\"color: navy\">;</span>\r\n src.maxLength<span style=\"color: navy\"><b> -> </b></span>tgt.maxLength<span style=\"color: navy\">;</span>\r\n src.answerValueSet<span style=\"color: navy\"><b> -> </b></span>tgt.answerValueSet<span style=\"color: navy\">;</span>\r\n src.answerOption<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.answerOption<b> as </b><span style=\"color: maroon\">t</span><b> then </b>QuestionnaireItemAnswerOption<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.initial<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.initial<b> as </b><span style=\"color: maroon\">t</span><b> then </b>QuestionnaireItemInitial<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>QuestionnaireItemEnableWhen<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.question<span style=\"color: navy\"><b> -> </b></span>tgt.question<span style=\"color: navy\">;</span>\r\n src.operator<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.operator = <b>translate</b><span style=\"color: navy\">(</span><span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'#QuestionnaireItemOperator'</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.answer<span style=\"color: navy\"> : </span>boolean<span style=\"color: navy\"><b> -> </b></span>tgt.answer<span style=\"color: navy\">;</span>\r\n src.answer<span style=\"color: navy\"> : </span>decimal<span style=\"color: navy\"><b> -> </b></span>tgt.answer<span style=\"color: navy\">;</span>\r\n src.answer<span style=\"color: navy\"> : </span>integer<span style=\"color: navy\"><b> -> </b></span>tgt.answer<span style=\"color: navy\">;</span>\r\n src.answer<span style=\"color: navy\"> : </span>date<span style=\"color: navy\"><b> -> </b></span>tgt.answer<span style=\"color: navy\">;</span>\r\n src.answer<span style=\"color: navy\"> : </span>dateTime<span style=\"color: navy\"><b> -> </b></span>tgt.answer<span style=\"color: navy\">;</span>\r\n src.answer<span style=\"color: navy\"> : </span>time<span style=\"color: navy\"><b> -> </b></span>tgt.answer<span style=\"color: navy\">;</span>\r\n src.answer<span style=\"color: navy\"> : </span>string<span style=\"color: navy\"><b> -> </b></span>tgt.answer<span style=\"color: navy\">;</span>\r\n src.answer<span style=\"color: navy\"> : </span>Coding<span style=\"color: navy\"><b> -> </b></span>tgt.answer<span style=\"color: navy\">;</span>\r\n src.answer<span style=\"color: navy\"> : </span>Quantity<span style=\"color: navy\"><b> -> </b></span>tgt.answer<span style=\"color: navy\">;</span>\r\n src.answer<span style=\"color: navy\"> : </span>Reference<span style=\"color: navy\"><b> -> </b></span>tgt.answer<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>QuestionnaireItemAnswerOption<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.value<span style=\"color: navy\"> : </span>integer<span style=\"color: navy\"><b> -> </b></span>tgt.value<span style=\"color: navy\">;</span>\r\n src.value<span style=\"color: navy\"> : </span>date<span style=\"color: navy\"><b> -> </b></span>tgt.value<span style=\"color: navy\">;</span>\r\n src.value<span style=\"color: navy\"> : </span>time<span style=\"color: navy\"><b> -> </b></span>tgt.value<span style=\"color: navy\">;</span>\r\n src.value<span style=\"color: navy\"> : </span>string<span style=\"color: navy\"><b> -> </b></span>tgt.value<span style=\"color: navy\">;</span>\r\n src.value<span style=\"color: navy\"> : </span>Coding<span style=\"color: navy\"><b> -> </b></span>tgt.value<span style=\"color: navy\">;</span>\r\n src.value<span style=\"color: navy\"> : </span>Reference<span style=\"color: navy\"><b> -> </b></span>tgt.value<span style=\"color: navy\">;</span>\r\n src.initialSelected<span style=\"color: navy\"><b> -> </b></span>tgt.initialSelected<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>QuestionnaireItemInitial<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.value<span style=\"color: navy\"> : </span>boolean<span style=\"color: navy\"><b> -> </b></span>tgt.value<span style=\"color: navy\">;</span>\r\n src.value<span style=\"color: navy\"> : </span>decimal<span style=\"color: navy\"><b> -> </b></span>tgt.value<span style=\"color: navy\">;</span>\r\n src.value<span style=\"color: navy\"> : </span>integer<span style=\"color: navy\"><b> -> </b></span>tgt.value<span style=\"color: navy\">;</span>\r\n src.value<span style=\"color: navy\"> : </span>date<span style=\"color: navy\"><b> -> </b></span>tgt.value<span style=\"color: navy\">;</span>\r\n src.value<span style=\"color: navy\"> : </span>dateTime<span style=\"color: navy\"><b> -> </b></span>tgt.value<span style=\"color: navy\">;</span>\r\n src.value<span style=\"color: navy\"> : </span>time<span style=\"color: navy\"><b> -> </b></span>tgt.value<span style=\"color: navy\">;</span>\r\n src.value<span style=\"color: navy\"> : </span>string<span style=\"color: navy\"><b> -> </b></span>tgt.value<span style=\"color: navy\">;</span>\r\n src.value<span style=\"color: navy\"> : </span>uri<span style=\"color: navy\"><b> -> </b></span>tgt.value<span style=\"color: navy\">;</span>\r\n src.value<span style=\"color: navy\"> : </span>Attachment<span style=\"color: navy\"><b> -> </b></span>tgt.value<span style=\"color: navy\">;</span>\r\n src.value<span style=\"color: navy\"> : </span>Coding<span style=\"color: navy\"><b> -> </b></span>tgt.value<span style=\"color: navy\">;</span>\r\n src.value<span style=\"color: navy\"> : </span>Quantity<span style=\"color: navy\"><b> -> </b></span>tgt.value<span style=\"color: navy\">;</span>\r\n src.value<span style=\"color: navy\"> : </span>Reference<span style=\"color: navy\"><b> -> </b></span>tgt.value<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>"
},
"contained" : [
{
"resourceType" : "ConceptMap",
"id" : "EnableWhenBehavior",
"status" : "active",
"group" : [
{
"source" : "http://hl7.org/fhir/4.0/questionnaire-enable-behavior",
"target" : "http://hl7.org/fhir/questionnaire-enable-behavior",
"element" : [
{
"code" : "all",
"target" : [
{
"code" : "all",
"relationship" : "related-to"
}
]
},
{
"code" : "any",
"target" : [
{
"code" : "any",
"relationship" : "related-to"
}
]
}
]
}
]
},
{
"resourceType" : "ConceptMap",
"id" : "PublicationStatus",
"status" : "active",
"group" : [
{
"source" : "http://hl7.org/fhir/4.0/publication-status",
"target" : "http://hl7.org/fhir/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" : "QuestionnaireItemOperator",
"status" : "active",
"group" : [
{
"source" : "http://hl7.org/fhir/4.0/questionnaire-enable-operator",
"target" : "http://hl7.org/fhir/questionnaire-enable-operator",
"element" : [
{
"code" : "exists",
"target" : [
{
"code" : "exists",
"relationship" : "related-to"
}
]
},
{
"code" : "=",
"target" : [
{
"code" : "=",
"relationship" : "related-to"
}
]
},
{
"code" : "!=",
"target" : [
{
"code" : "!=",
"relationship" : "related-to"
}
]
},
{
"code" : ">",
"target" : [
{
"code" : ">",
"relationship" : "related-to"
}
]
},
{
"code" : "<",
"target" : [
{
"code" : "<",
"relationship" : "related-to"
}
]
},
{
"code" : ">=",
"target" : [
{
"code" : ">=",
"relationship" : "related-to"
}
]
},
{
"code" : "<=",
"target" : [
{
"code" : "<=",
"relationship" : "related-to"
}
]
}
]
}
]
},
{
"resourceType" : "ConceptMap",
"id" : "QuestionnaireItemType",
"status" : "active",
"group" : [
{
"source" : "http://hl7.org/fhir/4.0/item-type",
"target" : "http://hl7.org/fhir/item-type",
"element" : [
{
"code" : "group",
"target" : [
{
"code" : "group",
"relationship" : "related-to"
}
]
},
{
"code" : "display",
"target" : [
{
"code" : "display",
"relationship" : "related-to"
}
]
},
{
"code" : "question",
"target" : [
{
"code" : "question",
"relationship" : "related-to"
}
]
},
{
"code" : "boolean",
"target" : [
{
"code" : "boolean",
"relationship" : "related-to"
}
]
},
{
"code" : "decimal",
"target" : [
{
"code" : "decimal",
"relationship" : "related-to"
}
]
},
{
"code" : "integer",
"target" : [
{
"code" : "integer",
"relationship" : "related-to"
}
]
},
{
"code" : "date",
"target" : [
{
"code" : "date",
"relationship" : "related-to"
}
]
},
{
"code" : "dateTime",
"target" : [
{
"code" : "dateTime",
"relationship" : "related-to"
}
]
},
{
"code" : "time",
"target" : [
{
"code" : "time",
"relationship" : "related-to"
}
]
},
{
"code" : "string",
"target" : [
{
"code" : "string",
"relationship" : "related-to"
}
]
},
{
"code" : "text",
"target" : [
{
"code" : "text",
"relationship" : "related-to"
}
]
},
{
"code" : "url",
"target" : [
{
"code" : "url",
"relationship" : "related-to"
}
]
},
{
"code" : "choice",
"target" : [
{
"code" : "coding",
"relationship" : "related-to"
}
]
},
{
"code" : "open-choice",
"target" : [
{
"code" : "coding",
"relationship" : "related-to"
}
]
},
{
"code" : "attachment",
"target" : [
{
"code" : "attachment",
"relationship" : "related-to"
}
]
},
{
"code" : "reference",
"target" : [
{
"code" : "reference",
"relationship" : "related-to"
}
]
},
{
"code" : "quantity",
"target" : [
{
"code" : "quantity",
"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/Questionnaire4to5",
"version" : "5.1.0",
"name" : "Questionnaire4to5",
"title" : "FML Conversion for Questionnaire: R4 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" : "FMLConversionforQuestionnaireR4toR5",
"jurisdiction" : [
{
"coding" : [
{
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code" : "001"
}
]
}
],
"structure" : [
{
"url" : "http://hl7.org/fhir/4.0/StructureDefinition/Questionnaire",
"mode" : "source",
"alias" : "QuestionnaireR4"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/Questionnaire",
"mode" : "target",
"alias" : "QuestionnaireR5"
}
],
"import" : [
"http://hl7.org/fhir/StructureMap/*4to5"
],
"group" : [
{
"name" : "Questionnaire",
"extends" : "DomainResource",
"typeMode" : "type-and-types",
"input" : [
{
"name" : "src",
"type" : "QuestionnaireR4",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "QuestionnaireR5",
"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" : "identifier",
"source" : [
{
"context" : "src",
"element" : "identifier",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "identifier",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "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"
}
]
}
]
},
{
"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" : "derivedFrom",
"source" : [
{
"context" : "src",
"element" : "derivedFrom",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "derivedFrom",
"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" : "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" : "subjectType",
"source" : [
{
"context" : "src",
"element" : "subjectType",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "subjectType",
"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" : "copyright",
"source" : [
{
"context" : "src",
"element" : "copyright",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "copyright",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "approvalDate",
"source" : [
{
"context" : "src",
"element" : "approvalDate",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "approvalDate",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
],
"documentation" : "src.copyrightLabel -> tgt.copyrightLabel;"
},
{
"name" : "lastReviewDate",
"source" : [
{
"context" : "src",
"element" : "lastReviewDate",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "lastReviewDate",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "effectivePeriod",
"source" : [
{
"context" : "src",
"element" : "effectivePeriod",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "effectivePeriod",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"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" : "item",
"source" : [
{
"context" : "src",
"element" : "item",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "item",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "QuestionnaireItem",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
}
]
},
{
"name" : "QuestionnaireItem",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "linkId",
"source" : [
{
"context" : "src",
"element" : "linkId",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "linkId",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "definition",
"source" : [
{
"context" : "src",
"element" : "definition",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "definition",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"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" : "prefix",
"source" : [
{
"context" : "src",
"element" : "prefix",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "prefix",
"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" : "type",
"source" : [
{
"context" : "src",
"element" : "type",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "type",
"transform" : "translate",
"parameter" : [
{
"valueId" : "v"
},
{
"valueString" : "#QuestionnaireItemType"
},
{
"valueString" : "code"
}
]
}
]
},
{
"name" : "type",
"source" : [
{
"context" : "src",
"element" : "type",
"variable" : "s",
"condition" : "type = 'choice'"
}
],
"target" : [
{
"context" : "tgt",
"element" : "answerConstraint",
"variable" : "t"
},
{
"context" : "t",
"element" : "value",
"transform" : "copy",
"parameter" : [
{
"valueString" : "optionsOnly"
}
]
}
]
},
{
"name" : "type",
"source" : [
{
"context" : "src",
"element" : "type",
"variable" : "s",
"condition" : "type = 'open-choice'"
}
],
"target" : [
{
"context" : "tgt",
"element" : "answerConstraint",
"variable" : "t"
},
{
"context" : "t",
"element" : "value",
"transform" : "copy",
"parameter" : [
{
"valueString" : "optionsOrString"
}
]
}
]
},
{
"name" : "enableWhen",
"source" : [
{
"context" : "src",
"element" : "enableWhen",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "enableWhen",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "QuestionnaireItemEnableWhen",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
},
{
"name" : "enableBehavior",
"source" : [
{
"context" : "src",
"element" : "enableBehavior",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "enableBehavior",
"transform" : "translate",
"parameter" : [
{
"valueId" : "v"
},
{
"valueString" : "#EnableWhenBehavior"
},
{
"valueString" : "code"
}
]
}
]
},
{
"name" : "required",
"source" : [
{
"context" : "src",
"element" : "required",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "required",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
],
"documentation" : "src.disabledDisplay as v -> tgt.disabledDisplay = translate(v, '#DisabledDisplay', 'code');"
},
{
"name" : "repeats",
"source" : [
{
"context" : "src",
"element" : "repeats",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "repeats",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "readOnly",
"source" : [
{
"context" : "src",
"element" : "readOnly",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "readOnly",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "maxLength",
"source" : [
{
"context" : "src",
"element" : "maxLength",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "maxLength",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "answerValueSet",
"source" : [
{
"context" : "src",
"element" : "answerValueSet",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "answerValueSet",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "answerOption",
"source" : [
{
"context" : "src",
"element" : "answerOption",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "answerOption",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "QuestionnaireItemAnswerOption",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
},
{
"name" : "initial",
"source" : [
{
"context" : "src",
"element" : "initial",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "initial",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "QuestionnaireItemInitial",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
}
]
},
{
"name" : "QuestionnaireItemEnableWhen",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "question",
"source" : [
{
"context" : "src",
"element" : "question",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "question",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "operator",
"source" : [
{
"context" : "src",
"element" : "operator",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "operator",
"transform" : "translate",
"parameter" : [
{
"valueId" : "v"
},
{
"valueString" : "#QuestionnaireItemOperator"
},
{
"valueString" : "code"
}
]
}
]
},
{
"name" : "answerBoolean",
"source" : [
{
"context" : "src",
"type" : "boolean",
"element" : "answer",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "answer",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "answerDecimal",
"source" : [
{
"context" : "src",
"type" : "decimal",
"element" : "answer",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "answer",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "answerInteger",
"source" : [
{
"context" : "src",
"type" : "integer",
"element" : "answer",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "answer",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "answerDate",
"source" : [
{
"context" : "src",
"type" : "date",
"element" : "answer",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "answer",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "answerDateTime",
"source" : [
{
"context" : "src",
"type" : "dateTime",
"element" : "answer",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "answer",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "answerTime",
"source" : [
{
"context" : "src",
"type" : "time",
"element" : "answer",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "answer",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "answerString",
"source" : [
{
"context" : "src",
"type" : "string",
"element" : "answer",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "answer",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "answerCoding",
"source" : [
{
"context" : "src",
"type" : "Coding",
"element" : "answer",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "answer",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "answerQuantity",
"source" : [
{
"context" : "src",
"type" : "Quantity",
"element" : "answer",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "answer",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "answerReference",
"source" : [
{
"context" : "src",
"type" : "Reference",
"element" : "answer",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "answer",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "QuestionnaireItemAnswerOption",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "valueInteger",
"source" : [
{
"context" : "src",
"type" : "integer",
"element" : "value",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "valueDate",
"source" : [
{
"context" : "src",
"type" : "date",
"element" : "value",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "valueTime",
"source" : [
{
"context" : "src",
"type" : "time",
"element" : "value",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "valueString",
"source" : [
{
"context" : "src",
"type" : "string",
"element" : "value",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "valueCoding",
"source" : [
{
"context" : "src",
"type" : "Coding",
"element" : "value",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "valueReference",
"source" : [
{
"context" : "src",
"type" : "Reference",
"element" : "value",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "initialSelected",
"source" : [
{
"context" : "src",
"element" : "initialSelected",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "initialSelected",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "QuestionnaireItemInitial",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "valueBoolean",
"source" : [
{
"context" : "src",
"type" : "boolean",
"element" : "value",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "valueDecimal",
"source" : [
{
"context" : "src",
"type" : "decimal",
"element" : "value",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "valueInteger",
"source" : [
{
"context" : "src",
"type" : "integer",
"element" : "value",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "valueDate",
"source" : [
{
"context" : "src",
"type" : "date",
"element" : "value",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "valueDateTime",
"source" : [
{
"context" : "src",
"type" : "dateTime",
"element" : "value",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "valueTime",
"source" : [
{
"context" : "src",
"type" : "time",
"element" : "value",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "valueString",
"source" : [
{
"context" : "src",
"type" : "string",
"element" : "value",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "valueUri",
"source" : [
{
"context" : "src",
"type" : "uri",
"element" : "value",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "valueAttachment",
"source" : [
{
"context" : "src",
"type" : "Attachment",
"element" : "value",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "valueCoding",
"source" : [
{
"context" : "src",
"type" : "Coding",
"element" : "value",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "valueQuantity",
"source" : [
{
"context" : "src",
"type" : "Quantity",
"element" : "value",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "valueReference",
"source" : [
{
"context" : "src",
"type" : "Reference",
"element" : "value",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
}
]
}