FHIR Cross-Version Mapping Pack, published by HL7 International / FHIR Infrastructure. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/fhir-cross-version/ and changes regularly. See the Directory of published versions
Page standards status: Draft | Maturity Level: 1 |
{
"resourceType" : "StructureMap",
"id" : "Questionnaire3to4",
"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/Questionnaire3to4'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'Questionnaire3to4'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'Questionnaire Transforms: R3 to R4'</span>\r\n<span style=\"color: #cc00cc\">/// <b>status</b> = </span><span style=\"color: blue\">'active'</span>\r\n\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/3.0/Questionnaire<span style=\"color: navy\">" </span><b>alias </b>QuestionnaireR3 <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/4.0/Questionnaire<span style=\"color: navy\">" </span><b>alias </b>Questionnaire <b>as </b><b>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/StructureMap/*3to4<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>QuestionnaireR3, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>Questionnaire<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>\r\n src.title<span style=\"color: navy\"><b> -> </b></span>tgt.title<span style=\"color: navy\">;</span>\r\n src.status<span style=\"color: navy\"><b> -> </b></span>tgt.status<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.description<span style=\"color: navy\"><b> -> </b></span>tgt.description<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.approvalDate<span style=\"color: navy\"><b> -> </b></span>tgt.approvalDate<span style=\"color: navy\">;</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.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.contact<span style=\"color: navy\"><b> -> </b></span>tgt.contact<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.code<span style=\"color: navy\"><b> -> </b></span>tgt.code<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.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>item<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>item<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<span style=\"color: navy\"><b> -> </b></span>tgt.type<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>enableWhen<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.required<span style=\"color: navy\"><b> -> </b></span>tgt.required<span style=\"color: navy\">;</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.options<span style=\"color: navy\"><b> -> </b></span>tgt.answerValueSet<span style=\"color: navy\">;</span>\r\n src.option<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>option<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<span style=\"color: navy\"><b> -> </b></span>tgt.initial<b> as </b><span style=\"color: maroon\">t</span><b> then </b>initial<span style=\"color: navy\">(</span><span style=\"color: maroon\">src</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.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>item<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>enableWhen<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.hasAnswer<b> as </b><span style=\"color: maroon\">v</span><b> where </b>src.answer.empty()<span style=\"color: navy\"><b> -> </b></span> tgt.operator = <span style=\"color: blue\">'exists'</span><span style=\"color: navy\">, </span> tgt.answer = <span style=\"color: maroon\">v</span><span style=\"color: navy\">;</span>\r\n src.answer<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span> tgt.answer = <span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span> tgt.operator = <span style=\"color: blue\">'='</span><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>option<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\"><b> -> </b></span>tgt.value<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>initial<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.initial<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>"
},
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
"valueCode" : "fhir"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
"valueInteger" : 1,
"_valueInteger" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
}
]
}
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "draft",
"_valueCode" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
}
]
}
}
],
"url" : "http://hl7.org/fhir/StructureMap/Questionnaire3to4",
"version" : "0.1.0",
"name" : "Questionnaire3to4",
"title" : "Questionnaire Transforms: R3 to R4",
"status" : "active",
"date" : "2024-02-22T03:16:50+00:00",
"publisher" : "HL7 International / FHIR Infrastructure",
"contact" : [
{
"telecom" : [
{
"system" : "url",
"value" : "http://www.hl7.org/Special/committees/fiwg"
}
]
}
],
"description" : "QuestionnaireTransformsR3toR4",
"jurisdiction" : [
{
"coding" : [
{
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code" : "001"
}
]
}
],
"structure" : [
{
"url" : "http://hl7.org/fhir/3.0/Questionnaire",
"mode" : "source",
"alias" : "QuestionnaireR3"
},
{
"url" : "http://hl7.org/fhir/4.0/Questionnaire",
"mode" : "target",
"alias" : "Questionnaire"
}
],
"import" : [
"http://hl7.org/fhir/StructureMap/*3to4"
],
"group" : [
{
"name" : "Questionnaire",
"extends" : "DomainResource",
"typeMode" : "type-and-types",
"input" : [
{
"name" : "src",
"type" : "QuestionnaireR3",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "Questionnaire",
"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"
}
]
}
]
},
{
"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" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "status",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"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" : "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" : "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" : "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"
}
]
}
]
},
{
"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" : "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" : "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" : "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" : "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" : "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" : "item",
"source" : [
{
"context" : "src",
"element" : "item",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "item",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "item",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
}
]
},
{
"name" : "item",
"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" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "type",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "enableWhen",
"source" : [
{
"context" : "src",
"element" : "enableWhen",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "enableWhen",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "enableWhen",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
},
{
"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"
}
]
}
]
},
{
"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" : "options",
"source" : [
{
"context" : "src",
"element" : "options",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "answerValueSet",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "option",
"source" : [
{
"context" : "src",
"element" : "option",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "answerOption",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "option",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
},
{
"name" : "initial",
"source" : [
{
"context" : "src",
"element" : "initial"
}
],
"target" : [
{
"context" : "tgt",
"element" : "initial",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "initial",
"parameter" : [
{
"valueId" : "src"
},
{
"valueId" : "t"
}
]
}
]
},
{
"name" : "item",
"source" : [
{
"context" : "src",
"element" : "item",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "item",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "item",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
}
]
},
{
"name" : "enableWhen",
"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" : "hasAnswer",
"source" : [
{
"context" : "src",
"element" : "hasAnswer",
"variable" : "v",
"condition" : "src.answer.empty()"
}
],
"target" : [
{
"context" : "tgt",
"element" : "operator",
"transform" : "copy",
"parameter" : [
{
"valueString" : "exists"
}
]
},
{
"context" : "tgt",
"element" : "answer",
"transform" : "copy",
"parameter" : [
{
"valueId" : "v"
}
]
}
]
},
{
"name" : "answer",
"source" : [
{
"context" : "src",
"element" : "answer",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "answer",
"transform" : "copy",
"parameter" : [
{
"valueId" : "v"
}
]
},
{
"context" : "tgt",
"element" : "operator",
"transform" : "copy",
"parameter" : [
{
"valueString" : "="
}
]
}
]
}
]
},
{
"name" : "option",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "value",
"source" : [
{
"context" : "src",
"element" : "value",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "initial",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "initial",
"source" : [
{
"context" : "src",
"element" : "initial",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
}
]
}