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 |
@prefix fhir: <http://hl7.org/fhir/> . @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . # - resource ------------------------------------------------------------------- a fhir:StructureMap ; fhir:nodeRole fhir:treeRoot ; fhir:id [ fhir:v "QuestionnaireResponse3to2"] ; # fhir:text [ fhir:status [ fhir:v "generated" ] ; fhir: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/QuestionnaireResponse3to2'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'QuestionnaireResponse3to2'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'QuestionnaireResponse Transforms: R3 to R2'</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/QuestionnaireResponse<span style=\"color: navy\">" </span><b>alias </b>QuestionnaireResponse <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/1.0/QuestionnaireResponse<span style=\"color: navy\">" </span><b>alias </b>QuestionnaireResponseR2 <b>as </b><b>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/StructureMap/*3to2<span style=\"color: navy\">"\r\n</span>\r\n<b>group </b>QuestionnaireResponse<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>QuestionnaireResponse, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>QuestionnaireResponseR2<span style=\"color: navy\">)</span><b> extends </b>DomainResource<b> <<type+>></b><span style=\"color: navy\"> {\r\n</span> src.identifier<span style=\"color: navy\"><b> -> </b></span>tgt.identifier <i>"QuestionnaireResponse-identifier"</i><span style=\"color: navy\">;</span>\r\n src.questionnaire<span style=\"color: navy\"><b> -> </b></span>tgt.questionnaire <i>"QuestionnaireResponse-questionnaire"</i><span style=\"color: navy\">;</span>\r\n src.status<span style=\"color: navy\"><b> -> </b></span>tgt.status <i>"QuestionnaireResponse-status"</i><span style=\"color: navy\">;</span>\r\n src.subject<span style=\"color: navy\"><b> -> </b></span>tgt.subject <i>"QuestionnaireResponse-subject"</i><span style=\"color: navy\">;</span>\r\n src.author<span style=\"color: navy\"><b> -> </b></span>tgt.author <i>"QuestionnaireResponse-author"</i><span style=\"color: navy\">;</span>\r\n src.authored<span style=\"color: navy\"><b> -> </b></span>tgt.authored <i>"QuestionnaireResponse-authored"</i><span style=\"color: navy\">;</span>\r\n src.source<span style=\"color: navy\"><b> -> </b></span>tgt.source <i>"QuestionnaireResponse-source"</i><span style=\"color: navy\">;</span>\r\n src.context<span style=\"color: navy\"><b> -> </b></span>tgt.encounter <i>"QuestionnaireResponse-encounter"</i><span style=\"color: navy\">;</span>\r\n src.item<b> as </b><span style=\"color: maroon\">vs0</span><span style=\"color: navy\"><b> -> </b></span>tgt.group<b> as </b><span style=\"color: maroon\">vt0</span><b> then </b>qrGroup<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs0</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt0</span><span style=\"color: navy\">)</span> <i>"QuestionnaireResponse-item"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>qrGroup<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 <i>"group-linkId"</i><span style=\"color: navy\">;</span>\r\n src.text<b> where </b>item.answer.empty()<span style=\"color: navy\"><b> -> </b></span>tgt.title <i>"group-text"</i><span style=\"color: navy\">;</span>\r\n src.text<b> where </b>item.answer.exists()<span style=\"color: navy\"><b> -> </b></span>tgt.text <i>"group-text"</i><span style=\"color: navy\">;</span>\r\n src.subject<span style=\"color: navy\"><b> -> </b></span>tgt.subject <i>"group-subject"</i><span style=\"color: navy\">;</span>\r\n src.item<b> as </b><span style=\"color: maroon\">vs0</span><b> where </b>answer.empty()<span style=\"color: navy\"><b> -> </b></span>tgt.group<b> as </b><span style=\"color: maroon\">vt0</span><b> then </b>qrGroup<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs0</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt0</span><span style=\"color: navy\">)</span> <i>"group-group"</i><span style=\"color: navy\">;</span>\r\n src.item<b> as </b><span style=\"color: maroon\">vs0</span><b> where </b>answer.exists()<span style=\"color: navy\"><b> -> </b></span>tgt.question<b> as </b><span style=\"color: maroon\">vt0</span><b> then </b>qrQuestion<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs0</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt0</span><span style=\"color: navy\">)</span> <i>"group-question"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>qrQuestion<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 <i>"question-linkId"</i><span style=\"color: navy\">;</span>\r\n src.text<span style=\"color: navy\"><b> -> </b></span>tgt.text <i>"question-text"</i><span style=\"color: navy\">;</span>\r\n src.answer<b> as </b><span style=\"color: maroon\">vs0</span><span style=\"color: navy\"><b> -> </b></span>tgt.answer<b> as </b><span style=\"color: maroon\">vt0</span><b> then </b>qrAnswer<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs0</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt0</span><span style=\"color: navy\">)</span> <i>"question-answer"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>qrAnswer<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 <i>"answer-value"</i><span style=\"color: navy\">;</span>\r\n src.item<b> as </b><span style=\"color: maroon\">vs0</span><b> check </b>answer.empty()<span style=\"color: navy\"><b> -> </b></span>tgt.group<b> as </b><span style=\"color: maroon\">vt0</span><b> then </b>qrGroup<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs0</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt0</span><span style=\"color: navy\">)</span> <i>"answer-group"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>" ] ; # fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ] ; fhir:value [ fhir:v "fhir" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm"^^xsd:anyURI ] ; fhir:value [ fhir:v "1"^^xsd:integer ; ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom"^^xsd:anyURI ] ; fhir:value [ fhir:v "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver> ] ] ) ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status"^^xsd:anyURI ] ; fhir:value [ fhir:v "draft" ; ( fhir:extension [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom"^^xsd:anyURI ] ; fhir:value [ fhir:v "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver> ] ] ) ] ] ) ; # fhir:url [ fhir:v "http://hl7.org/fhir/StructureMap/QuestionnaireResponse3to2"^^xsd:anyURI] ; # fhir:version [ fhir:v "0.1.0"] ; # fhir:name [ fhir:v "QuestionnaireResponse3to2"] ; # fhir:title [ fhir:v "QuestionnaireResponse Transforms: R3 to R2"] ; # fhir:status [ fhir:v "active"] ; # fhir:date [ fhir:v "2024-02-22T03:16:50+00:00"^^xsd:dateTime] ; # fhir:publisher [ fhir:v "HL7 International / FHIR Infrastructure"] ; # fhir:contact ( [ ( fhir:telecom [ fhir:system [ fhir:v "url" ] ; fhir:value [ fhir:v "http://www.hl7.org/Special/committees/fiwg" ] ] ) ] ) ; # fhir:description [ fhir:v "QuestionnaireResponseTransformsR3toR2"] ; # fhir:jurisdiction ( [ ( fhir:coding [ fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ] ; fhir:code [ fhir:v "001" ] ] ) ] ) ; # fhir:structure ( [ fhir:url [ fhir:v "http://hl7.org/fhir/3.0/QuestionnaireResponse"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/3.0/QuestionnaireResponse> ] ; fhir:mode [ fhir:v "source" ] ; fhir:alias [ fhir:v "QuestionnaireResponse" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/1.0/QuestionnaireResponse"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/1.0/QuestionnaireResponse> ] ; fhir:mode [ fhir:v "target" ] ; fhir:alias [ fhir:v "QuestionnaireResponseR2" ] ] ) ; # fhir:import ( [ fhir:v "http://hl7.org/fhir/StructureMap/*3to2"^^xsd:anyURI ; fhir:link <http://hl7.org/fhir/StructureMap/*3to2> ] ) ; # fhir:group ( [ fhir:name [ fhir:v "QuestionnaireResponse" ] ; fhir:extends [ fhir:v "DomainResource" ] ; fhir:typeMode [ fhir:v "type-and-types" ] ; ( fhir:input [ fhir:name [ fhir:v "src" ] ; fhir:type [ fhir:v "QuestionnaireResponse" ] ; fhir:mode [ fhir:v "source" ] ] [ fhir:name [ fhir:v "tgt" ] ; fhir:type [ fhir:v "QuestionnaireResponseR2" ] ; fhir:mode [ fhir:v "target" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "QuestionnaireResponse-identifier" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "identifier" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "identifier" ] ; fhir:variable [ fhir:v "vvv" ] ; fhir:transform [ fhir:v "create" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vvv" ] ] [ fhir:value [ fhir:v "vvv" ] ] ) ] ) ] [ fhir:name [ fhir:v "QuestionnaireResponse-questionnaire" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "questionnaire" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "questionnaire" ] ; fhir:variable [ fhir:v "vvv" ] ; fhir:transform [ fhir:v "create" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vvv" ] ] [ fhir:value [ fhir:v "vvv" ] ] ) ] ) ] [ fhir:name [ fhir:v "QuestionnaireResponse-status" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "status" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "status" ] ; fhir:variable [ fhir:v "vvv" ] ; fhir:transform [ fhir:v "create" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vvv" ] ] [ fhir:value [ fhir:v "vvv" ] ] ) ] ) ] [ fhir:name [ fhir:v "QuestionnaireResponse-subject" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "subject" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "subject" ] ; fhir:variable [ fhir:v "vvv" ] ; fhir:transform [ fhir:v "create" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vvv" ] ] [ fhir:value [ fhir:v "vvv" ] ] ) ] ) ] [ fhir:name [ fhir:v "QuestionnaireResponse-author" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "author" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "author" ] ; fhir:variable [ fhir:v "vvv" ] ; fhir:transform [ fhir:v "create" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vvv" ] ] [ fhir:value [ fhir:v "vvv" ] ] ) ] ) ] [ fhir:name [ fhir:v "QuestionnaireResponse-authored" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "authored" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "authored" ] ; fhir:variable [ fhir:v "vvv" ] ; fhir:transform [ fhir:v "create" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vvv" ] ] [ fhir:value [ fhir:v "vvv" ] ] ) ] ) ] [ fhir:name [ fhir:v "QuestionnaireResponse-source" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "source" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "source" ] ; fhir:variable [ fhir:v "vvv" ] ; fhir:transform [ fhir:v "create" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vvv" ] ] [ fhir:value [ fhir:v "vvv" ] ] ) ] ) ] [ fhir:name [ fhir:v "QuestionnaireResponse-encounter" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "context" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "encounter" ] ; fhir:variable [ fhir:v "vvv" ] ; fhir:transform [ fhir:v "create" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vvv" ] ] [ fhir:value [ fhir:v "vvv" ] ] ) ] ) ] [ fhir:name [ fhir:v "QuestionnaireResponse-item" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "item" ] ; fhir:variable [ fhir:v "vs0" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "group" ] ; fhir:variable [ fhir:v "vt0" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "qrGroup" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vs0" ] ] [ fhir:value [ fhir:v "vt0" ] ] ) ] ) ] ) ] [ fhir:name [ fhir:v "qrGroup" ] ; fhir:extends [ fhir:v "BackboneElement" ] ; ( fhir:input [ fhir:name [ fhir:v "src" ] ; fhir:mode [ fhir:v "source" ] ] [ fhir:name [ fhir:v "tgt" ] ; fhir:mode [ fhir:v "target" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "group-linkId" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "linkId" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "linkId" ] ; fhir:variable [ fhir:v "vvv" ] ; fhir:transform [ fhir:v "create" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vvv" ] ] [ fhir:value [ fhir:v "vvv" ] ] ) ] ) ] [ fhir:name [ fhir:v "group-text" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "text" ] ; fhir:variable [ fhir:v "vvv" ] ; fhir:condition [ fhir:v "item.answer.empty()" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "title" ] ; fhir:variable [ fhir:v "vvv" ] ; fhir:transform [ fhir:v "create" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vvv" ] ] [ fhir:value [ fhir:v "vvv" ] ] ) ] ) ] [ fhir:name [ fhir:v "group-text" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "text" ] ; fhir:variable [ fhir:v "vvv" ] ; fhir:condition [ fhir:v "item.answer.exists()" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "text" ] ; fhir:variable [ fhir:v "vvv" ] ; fhir:transform [ fhir:v "create" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vvv" ] ] [ fhir:value [ fhir:v "vvv" ] ] ) ] ) ] [ fhir:name [ fhir:v "group-subject" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "subject" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "subject" ] ; fhir:variable [ fhir:v "vvv" ] ; fhir:transform [ fhir:v "create" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vvv" ] ] [ fhir:value [ fhir:v "vvv" ] ] ) ] ) ] [ fhir:name [ fhir:v "group-group" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "item" ] ; fhir:variable [ fhir:v "vs0" ] ; fhir:condition [ fhir:v "answer.empty()" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "group" ] ; fhir:variable [ fhir:v "vt0" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "qrGroup" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vs0" ] ] [ fhir:value [ fhir:v "vt0" ] ] ) ] ) ] [ fhir:name [ fhir:v "group-question" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "item" ] ; fhir:variable [ fhir:v "vs0" ] ; fhir:condition [ fhir:v "answer.exists()" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "question" ] ; fhir:variable [ fhir:v "vt0" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "qrQuestion" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vs0" ] ] [ fhir:value [ fhir:v "vt0" ] ] ) ] ) ] ) ] [ fhir:name [ fhir:v "qrQuestion" ] ; fhir:extends [ fhir:v "BackboneElement" ] ; ( fhir:input [ fhir:name [ fhir:v "src" ] ; fhir:mode [ fhir:v "source" ] ] [ fhir:name [ fhir:v "tgt" ] ; fhir:mode [ fhir:v "target" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "question-linkId" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "linkId" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "linkId" ] ; fhir:variable [ fhir:v "vvv" ] ; fhir:transform [ fhir:v "create" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vvv" ] ] [ fhir:value [ fhir:v "vvv" ] ] ) ] ) ] [ fhir:name [ fhir:v "question-text" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "text" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "text" ] ; fhir:variable [ fhir:v "vvv" ] ; fhir:transform [ fhir:v "create" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vvv" ] ] [ fhir:value [ fhir:v "vvv" ] ] ) ] ) ] [ fhir:name [ fhir:v "question-answer" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "answer" ] ; fhir:variable [ fhir:v "vs0" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "answer" ] ; fhir:variable [ fhir:v "vt0" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "qrAnswer" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vs0" ] ] [ fhir:value [ fhir:v "vt0" ] ] ) ] ) ] ) ] [ fhir:name [ fhir:v "qrAnswer" ] ; fhir:extends [ fhir:v "BackboneElement" ] ; ( fhir:input [ fhir:name [ fhir:v "src" ] ; fhir:mode [ fhir:v "source" ] ] [ fhir:name [ fhir:v "tgt" ] ; fhir:mode [ fhir:v "target" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "answer-value" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "value" ] ; fhir:variable [ fhir:v "vvv" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "value" ] ; fhir:variable [ fhir:v "vvv" ] ; fhir:transform [ fhir:v "create" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "DefaultMappingGroupAnonymousAlias" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vvv" ] ] [ fhir:value [ fhir:v "vvv" ] ] ) ] ) ] [ fhir:name [ fhir:v "answer-group" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "item" ] ; fhir:variable [ fhir:v "vs0" ] ; fhir:check [ fhir:v "answer.empty()" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:element [ fhir:v "group" ] ; fhir:variable [ fhir:v "vt0" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "qrGroup" ] ; ( fhir:parameter [ fhir:value [ fhir:v "vs0" ] ] [ fhir:value [ fhir:v "vt0" ] ] ) ] ) ] ) ] ) . #
IG © 2022+ HL7 International / FHIR Infrastructure. Package hl7.fhir.uv.xver#0.1.0 based on FHIR 5.0.0. Generated 2024-02-22
Links: Table of Contents |
QA Report
| Version History |
|
Propose a change