PreNUDGE FHIR® IG for Data Provider / Data from Apps (R4)
0.1.0 - ci-build
PreNUDGE FHIR® IG for Data Provider / Data from Apps (R4) - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
| Active as of 2026-03-03 |
@prefix fhir: <http://hl7.org/fhir/> . @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . @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 "AlcoholQuestionnaireResponseToObservation"] ; # fhir:text [ fhir:status [ fhir:v "generated" ] ; fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: StructureMap AlcoholQuestionnaireResponseToObservation</b></p><a name=\"AlcoholQuestionnaireResponseToObservation\"> </a><a name=\"hcAlcoholQuestionnaireResponseToObservation\"> </a><pre class=\"fml\">#xD;\n<b>map</b><span style=\"color: navy\"> \"</span>https://fhir.hl7.at/prenudge/appdata/r4/StructureMap/AlcoholQuestionnaireResponseToObservation<span style=\"color: navy\">\" = \"</span>AlcoholQuestionnaireResponseToObservation<span style=\"color: navy\">\"#xD;\n#xD;\n</span><span style=\"color: navy\">// </span><span style=\"color: green\">Alcohol Use Q mapping frequency to O drinks per day</span>#xD;\n#xD;\n<b>uses</b><span style=\"color: navy\"> \"</span><a href=\"http://hl7.org/fhir/R4/questionnaireresponse.html\" title=\"QuestionnaireResponse\">http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse</a><span style=\"color: navy\">\" </span><b>alias </b>QR <b>as </b><b>source</b>#xD;\n<b>uses</b><span style=\"color: navy\"> \"</span><a href=\"http://hl7.org/fhir/R4/observation.html\" title=\"Observation\">http://hl7.org/fhir/StructureDefinition/Observation</a><span style=\"color: navy\">\" </span><b>alias </b>Obs <b>as </b><b>target</b>#xD;\n<b>uses</b><span style=\"color: navy\"> \"</span><a href=\"http://hl7.org/fhir/R4/datatypes.html#Coding\" title=\"Coding\">http://hl7.org/fhir/StructureDefinition/Coding</a><span style=\"color: navy\">\" </span><b>alias </b>Coding <b>as </b><b>source</b>#xD;\n#xD;\n<b>imports</b><span style=\"color: navy\"> \"</span>http://hl7.org/fhir/StructureMap/*<span style=\"color: navy\">\"#xD;\n</span><b>imports</b><span style=\"color: navy\"> \"</span><a href=\"StructureMap-QuestionnaireResponseToObservationBase.html\" title=\"Shared base for Q to O\">https://fhir.hl7.at/prenudge/appdata/r4/StructureMap/QuestionnaireResponseToObservationBase</a><span style=\"color: navy\">\"#xD;\n</span>#xD;\n<b>group </b>AlcoholQuestionnaireResponseToObservation<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>QR, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>Obs<span style=\"color: navy\">)</span><span style=\"color: navy\"> {#xD;\n</span> src<b> then </b>SetObservationBase<span style=\"color: navy\">(</span><span style=\"color: maroon\">src</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span> <i>\"Base\"</i><span style=\"color: navy\">;</span>#xD;\n src<span style=\"color: navy\"><b> -> </b></span> tgt.meta<b> as </b><span style=\"color: maroon\">meta</span><span style=\"color: navy\">, </span> meta.profile = <span style=\"color: blue\">'https://fhir.hl7.at/prenudge/appdata/r4/StructureDefinition/at-prenudge-alcoholuse-observation'</span> <i>\"SetProfile\"</i><span style=\"color: navy\">;</span>#xD;\n src<span style=\"color: navy\"><b> -> </b></span>tgt.code = <b>cc</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'http://loinc.org'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'74013-4'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'Alcoholic drinks per day'</span><span style=\"color: navy\">)</span> <i>\"SetCode\"</i><span style=\"color: navy\">;</span>#xD;\n src.item<b> as </b><span style=\"color: maroon\">item</span><b> where </b>linkId = 'alcohol-frequency'<b> then </b>MapAlcoholFrequency<span style=\"color: navy\">(</span><span style=\"color: maroon\">item</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span> <i>\"ProcessItem\"</i><span style=\"color: navy\">;</span>#xD;\n<span style=\"color: navy\">}#xD;\n#xD;\n</span><b>group </b>MapAlcoholFrequency<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>QR, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>Obs<span style=\"color: navy\">)</span><span style=\"color: navy\"> {#xD;\n</span> src.answer<b> as </b><span style=\"color: maroon\">answer</span><b> then</b><span style=\"color: navy\"> {#xD;\n</span> answer.valueCoding<b> as </b><span style=\"color: maroon\">coding</span><b> then </b>MapAlcoholCodingToQuantity<span style=\"color: navy\">(</span><span style=\"color: maroon\">coding</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span> <i>\"MapValueCoding\"</i><span style=\"color: navy\">;</span>#xD;\n <span style=\"color: navy\">}</span> <i>\"ProcessAnswer\"</i><span style=\"color: navy\">;</span>#xD;\n<span style=\"color: navy\">// </span><span style=\"color: green\">TODO: Note mapping disabled due to MaLaC-HD limitation</span>#xD;\n<span style=\"color: navy\">// </span><span style=\"color: green\">Annotation.text (markdown) target not supported with FHIR string source</span>#xD;\n<span style=\"color: navy\">// </span><span style=\"color: green\">See: https://gitlab.com/cdehealth/malac-hd/-/issues/128</span>#xD;\n<span style=\"color: navy\">}#xD;\n#xD;\n</span><b>group </b>MapAlcoholCodingToQuantity<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">coding</span><span style=\"color: navy\"> : </span>Coding, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>Obs<span style=\"color: navy\">)</span><span style=\"color: navy\"> {#xD;\n</span> coding.code<b> as </b><span style=\"color: maroon\">c</span><b> where </b>$this = '69620002'<span style=\"color: navy\"><b> -> </b></span> tgt.value = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Quantity'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">qty</span><span style=\"color: navy\">, </span> qty.value = <span style=\"color: blue\">'1'</span><span style=\"color: navy\">, </span> qty.unit = <span style=\"color: blue\">'drinks/day'</span><span style=\"color: navy\">, </span> qty.system = <span style=\"color: blue\">'http://unitsofmeasure.org'</span><span style=\"color: navy\">, </span> qty.code = <span style=\"color: blue\">'{drinks}/d'</span> <i>\"MapDaily\"</i><span style=\"color: navy\">;</span>#xD;\n coding.code<b> as </b><span style=\"color: maroon\">c</span><b> where </b>$this = '307447001'<span style=\"color: navy\"><b> -> </b></span> tgt.value = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Quantity'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">qty</span><span style=\"color: navy\">, </span> qty.value = <span style=\"color: blue\">'0.79'</span><span style=\"color: navy\">, </span> qty.unit = <span style=\"color: blue\">'drinks/day'</span><span style=\"color: navy\">, </span> qty.system = <span style=\"color: blue\">'http://unitsofmeasure.org'</span><span style=\"color: navy\">, </span> qty.code = <span style=\"color: blue\">'{drinks}/d'</span> <i>\"MapSixTimesWeekly\"</i><span style=\"color: navy\">;</span>#xD;\n coding.code<b> as </b><span style=\"color: maroon\">c</span><b> where </b>$this = '396113003'<span style=\"color: navy\"><b> -> </b></span> tgt.value = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Quantity'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">qty</span><span style=\"color: navy\">, </span> qty.value = <span style=\"color: blue\">'0.5'</span><span style=\"color: navy\">, </span> qty.unit = <span style=\"color: blue\">'drinks/day'</span><span style=\"color: navy\">, </span> qty.system = <span style=\"color: blue\">'http://unitsofmeasure.org'</span><span style=\"color: navy\">, </span> qty.code = <span style=\"color: blue\">'{drinks}/d'</span> <i>\"MapThreeToFourTimesWeekly\"</i><span style=\"color: navy\">;</span>#xD;\n coding.code<b> as </b><span style=\"color: maroon\">c</span><b> where </b>$this = '229800002'<span style=\"color: navy\"><b> -> </b></span> tgt.value = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Quantity'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">qty</span><span style=\"color: navy\">, </span> qty.value = <span style=\"color: blue\">'0.21'</span><span style=\"color: navy\">, </span> qty.unit = <span style=\"color: blue\">'drinks/day'</span><span style=\"color: navy\">, </span> qty.system = <span style=\"color: blue\">'http://unitsofmeasure.org'</span><span style=\"color: navy\">, </span> qty.code = <span style=\"color: blue\">'{drinks}/d'</span> <i>\"MapTwiceWeekly\"</i><span style=\"color: navy\">;</span>#xD;\n coding.code<b> as </b><span style=\"color: maroon\">c</span><b> where </b>$this = '307452006'<span style=\"color: navy\"><b> -> </b></span> tgt.value = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Quantity'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">qty</span><span style=\"color: navy\">, </span> qty.value = <span style=\"color: blue\">'0.08'</span><span style=\"color: navy\">, </span> qty.unit = <span style=\"color: blue\">'drinks/day'</span><span style=\"color: navy\">, </span> qty.system = <span style=\"color: blue\">'http://unitsofmeasure.org'</span><span style=\"color: navy\">, </span> qty.code = <span style=\"color: blue\">'{drinks}/d'</span> <i>\"MapThreeTimesMonthly\"</i><span style=\"color: navy\">;</span>#xD;\n coding.code<b> as </b><span style=\"color: maroon\">c</span><b> where </b>$this = '307450003'<span style=\"color: navy\"><b> -> </b></span> tgt.value = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Quantity'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">qty</span><span style=\"color: navy\">, </span> qty.value = <span style=\"color: blue\">'0.03'</span><span style=\"color: navy\">, </span> qty.unit = <span style=\"color: blue\">'drinks/day'</span><span style=\"color: navy\">, </span> qty.system = <span style=\"color: blue\">'http://unitsofmeasure.org'</span><span style=\"color: navy\">, </span> qty.code = <span style=\"color: blue\">'{drinks}/d'</span> <i>\"MapOnceMonthly\"</i><span style=\"color: navy\">;</span>#xD;\n coding.code<b> as </b><span style=\"color: maroon\">c</span><b> where </b>$this = '445547001'<span style=\"color: navy\"><b> -> </b></span> tgt.value = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Quantity'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">qty</span><span style=\"color: navy\">, </span> qty.value = <span style=\"color: blue\">'0.02'</span><span style=\"color: navy\">, </span> qty.unit = <span style=\"color: blue\">'drinks/day'</span><span style=\"color: navy\">, </span> qty.system = <span style=\"color: blue\">'http://unitsofmeasure.org'</span><span style=\"color: navy\">, </span> qty.code = <span style=\"color: blue\">'{drinks}/d'</span> <i>\"MapEveryTwoMonths\"</i><span style=\"color: navy\">;</span>#xD;\n coding.code<b> as </b><span style=\"color: maroon\">c</span><b> where </b>$this = '105542008'<span style=\"color: navy\"><b> -> </b></span> tgt.value = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Quantity'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">qty</span><span style=\"color: navy\">, </span> qty.value = <span style=\"color: blue\">'0.001'</span><span style=\"color: navy\">, </span> qty.unit = <span style=\"color: blue\">'drinks/day'</span><span style=\"color: navy\">, </span> qty.system = <span style=\"color: blue\">'http://unitsofmeasure.org'</span><span style=\"color: navy\">, </span> qty.code = <span style=\"color: blue\">'{drinks}/d'</span> <i>\"MapCurrentNonDrinker\"</i><span style=\"color: navy\">;</span>#xD;\n coding.code<b> as </b><span style=\"color: maroon\">c</span><b> where </b>$this = '783261004'<span style=\"color: navy\"><b> -> </b></span> tgt.value = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Quantity'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">qty</span><span style=\"color: navy\">, </span> qty.value = <span style=\"color: blue\">'0'</span><span style=\"color: navy\">, </span> qty.unit = <span style=\"color: blue\">'drinks/day'</span><span style=\"color: navy\">, </span> qty.system = <span style=\"color: blue\">'http://unitsofmeasure.org'</span><span style=\"color: navy\">, </span> qty.code = <span style=\"color: blue\">'{drinks}/d'</span> <i>\"MapLifetimeNonDrinker\"</i><span style=\"color: navy\">;</span>#xD;\n<span style=\"color: navy\">}#xD;\n#xD;\n</span></pre></div>"^^rdf:XMLLiteral ] ] ; # fhir:url [ fhir:v "https://fhir.hl7.at/prenudge/appdata/r4/StructureMap/AlcoholQuestionnaireResponseToObservation"^^xsd:anyURI ; fhir:l <https://fhir.hl7.at/prenudge/appdata/r4/StructureMap/AlcoholQuestionnaireResponseToObservation> ] ; # fhir:version [ fhir:v "0.1.0"] ; # fhir:name [ fhir:v "AlcoholQuestionnaireResponseToObservation"] ; # fhir:title [ fhir:v "Alcohol Use Q mapping frequency to O drinks per day"] ; # fhir:status [ fhir:v "active"] ; # fhir:date [ fhir:v "2026-03-03T20:34:38+00:00"^^xsd:dateTime] ; # fhir:publisher [ fhir:v "The PreNUDGE Consortium"] ; # fhir:contact ( [ fhir:name [ fhir:v "The PreNUDGE Consortium" ] ; ( fhir:telecom [ fhir:system [ fhir:v "url" ] ; fhir:value [ fhir:v "https://prenudge.at" ] ] ) ] [ fhir:name [ fhir:v "The PreNUDGE Consortium" ] ; ( fhir:telecom [ fhir:system [ fhir:v "url" ] ; fhir:value [ fhir:v "https://prenudge.at" ] ; fhir:use [ fhir:v "work" ] ] ) ] ) ; # fhir:description [ fhir:v "Alcohol Use Q mapping frequency to O drinks per day"] ; # fhir:structure ( [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse"^^xsd:anyURI ; fhir:l <http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse> ] ; fhir:mode [ fhir:v "source" ] ; fhir:alias [ fhir:v "QR" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/Observation"^^xsd:anyURI ; fhir:l <http://hl7.org/fhir/StructureDefinition/Observation> ] ; fhir:mode [ fhir:v "target" ] ; fhir:alias [ fhir:v "Obs" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/Coding"^^xsd:anyURI ; fhir:l <http://hl7.org/fhir/StructureDefinition/Coding> ] ; fhir:mode [ fhir:v "source" ] ; fhir:alias [ fhir:v "Coding" ] ] ) ; # fhir:import ( [ fhir:v "http://hl7.org/fhir/StructureMap/*"^^xsd:anyURI ; fhir:l <http://hl7.org/fhir/StructureMap/*> ] [ fhir:v "https://fhir.hl7.at/prenudge/appdata/r4/StructureMap/QuestionnaireResponseToObservationBase"^^xsd:anyURI ; fhir:l <https://fhir.hl7.at/prenudge/appdata/r4/StructureMap/QuestionnaireResponseToObservationBase> ] ) ; # fhir:group ( [ fhir:name [ fhir:v "AlcoholQuestionnaireResponseToObservation" ] ; fhir:typeMode [ fhir:v "none" ] ; ( fhir:input [ fhir:name [ fhir:v "src" ] ; fhir:type [ fhir:v "QR" ] ; fhir:mode [ fhir:v "source" ] ] [ fhir:name [ fhir:v "tgt" ] ; fhir:type [ fhir:v "Obs" ] ; fhir:mode [ fhir:v "target" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "Base" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "SetObservationBase" ] ; ( fhir:variable [ fhir:v "src" ] [ fhir:v "tgt" ] ) ] ) ] [ fhir:name [ fhir:v "SetProfile" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "meta" ] ; fhir:variable [ fhir:v "meta" ] ] [ fhir:context [ fhir:v "meta" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "profile" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ a fhir:String ; fhir:v "https://fhir.hl7.at/prenudge/appdata/r4/StructureDefinition/at-prenudge-alcoholuse-observation" ] ] ) ] ) ] [ fhir:name [ fhir:v "SetCode" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "code" ] ; fhir:transform [ fhir:v "cc" ] ; ( fhir:parameter [ fhir:value [ a fhir:String ; fhir:v "http://loinc.org" ] ] [ fhir:value [ a fhir:String ; fhir:v "74013-4" ] ] [ fhir:value [ a fhir:String ; fhir:v "Alcoholic drinks per day" ] ] ) ] ) ] [ fhir:name [ fhir:v "ProcessItem" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "item" ] ; fhir:variable [ fhir:v "item" ] ; fhir:condition [ fhir:v "linkId = 'alcohol-frequency'" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "MapAlcoholFrequency" ] ; ( fhir:variable [ fhir:v "item" ] [ fhir:v "tgt" ] ) ] ) ] ) ] [ fhir:name [ fhir:v "MapAlcoholFrequency" ] ; fhir:typeMode [ fhir:v "none" ] ; ( fhir:input [ fhir:name [ fhir:v "src" ] ; fhir:type [ fhir:v "QR" ] ; fhir:mode [ fhir:v "source" ] ] [ fhir:name [ fhir:v "tgt" ] ; fhir:type [ fhir:v "Obs" ] ; fhir:mode [ fhir:v "target" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "ProcessAnswer" ] ; ( fhir:source [ fhir:context [ fhir:v "src" ] ; fhir:element [ fhir:v "answer" ] ; fhir:variable [ fhir:v "answer" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "MapValueCoding" ] ; ( fhir:source [ fhir:context [ fhir:v "answer" ] ; fhir:element [ fhir:v "valueCoding" ] ; fhir:variable [ fhir:v "coding" ] ] ) ; ( fhir:dependent [ fhir:name [ fhir:v "MapAlcoholCodingToQuantity" ] ; ( fhir:variable [ fhir:v "coding" ] [ fhir:v "tgt" ] ) ] ) ] ) ] ) ] [ fhir:name [ fhir:v "MapAlcoholCodingToQuantity" ] ; fhir:typeMode [ fhir:v "none" ] ; ( fhir:input [ fhir:name [ fhir:v "coding" ] ; fhir:type [ fhir:v "Coding" ] ; fhir:mode [ fhir:v "source" ] ] [ fhir:name [ fhir:v "tgt" ] ; fhir:type [ fhir:v "Obs" ] ; fhir:mode [ fhir:v "target" ] ] ) ; ( fhir:rule [ fhir:name [ fhir:v "MapDaily" ] ; ( fhir:source [ fhir:context [ fhir:v "coding" ] ; fhir:element [ fhir:v "code" ] ; fhir:variable [ fhir:v "c" ] ; fhir:condition [ fhir:v "$this = '69620002'" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "value" ] ; fhir:variable [ fhir:v "qty" ] ; fhir:transform [ fhir:v "create" ] ; ( fhir:parameter [ fhir:value [ a fhir:String ; fhir:v "Quantity" ] ] ) ] [ fhir:context [ fhir:v "qty" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "value" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ a fhir:String ; fhir:v "1" ] ] ) ] [ fhir:context [ fhir:v "qty" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "unit" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ a fhir:String ; fhir:v "drinks/day" ] ] ) ] [ fhir:context [ fhir:v "qty" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "system" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ a fhir:String ; fhir:v "http://unitsofmeasure.org" ] ] ) ] [ fhir:context [ fhir:v "qty" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "code" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ a fhir:String ; fhir:v "{drinks}/d" ] ] ) ] ) ] [ fhir:name [ fhir:v "MapSixTimesWeekly" ] ; ( fhir:source [ fhir:context [ fhir:v "coding" ] ; fhir:element [ fhir:v "code" ] ; fhir:variable [ fhir:v "c" ] ; fhir:condition [ fhir:v "$this = '307447001'" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "value" ] ; fhir:variable [ fhir:v "qty" ] ; fhir:transform [ fhir:v "create" ] ; ( fhir:parameter [ fhir:value [ a fhir:String ; fhir:v "Quantity" ] ] ) ] [ fhir:context [ fhir:v "qty" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "value" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ a fhir:String ; fhir:v "0.79" ] ] ) ] [ fhir:context [ fhir:v "qty" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "unit" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ a fhir:String ; fhir:v "drinks/day" ] ] ) ] [ fhir:context [ fhir:v "qty" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "system" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ a fhir:String ; fhir:v "http://unitsofmeasure.org" ] ] ) ] [ fhir:context [ fhir:v "qty" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "code" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ a fhir:String ; fhir:v "{drinks}/d" ] ] ) ] ) ] [ fhir:name [ fhir:v "MapThreeToFourTimesWeekly" ] ; ( fhir:source [ fhir:context [ fhir:v "coding" ] ; fhir:element [ fhir:v "code" ] ; fhir:variable [ fhir:v "c" ] ; fhir:condition [ fhir:v "$this = '396113003'" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "value" ] ; fhir:variable [ fhir:v "qty" ] ; fhir:transform [ fhir:v "create" ] ; ( fhir:parameter [ fhir:value [ a fhir:String ; fhir:v "Quantity" ] ] ) ] [ fhir:context [ fhir:v "qty" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "value" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ a fhir:String ; fhir:v "0.5" ] ] ) ] [ fhir:context [ fhir:v "qty" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "unit" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ a fhir:String ; fhir:v "drinks/day" ] ] ) ] [ fhir:context [ fhir:v "qty" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "system" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ a fhir:String ; fhir:v "http://unitsofmeasure.org" ] ] ) ] [ fhir:context [ fhir:v "qty" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "code" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ a fhir:String ; fhir:v "{drinks}/d" ] ] ) ] ) ] [ fhir:name [ fhir:v "MapTwiceWeekly" ] ; ( fhir:source [ fhir:context [ fhir:v "coding" ] ; fhir:element [ fhir:v "code" ] ; fhir:variable [ fhir:v "c" ] ; fhir:condition [ fhir:v "$this = '229800002'" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "value" ] ; fhir:variable [ fhir:v "qty" ] ; fhir:transform [ fhir:v "create" ] ; ( fhir:parameter [ fhir:value [ a fhir:String ; fhir:v "Quantity" ] ] ) ] [ fhir:context [ fhir:v "qty" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "value" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ a fhir:String ; fhir:v "0.21" ] ] ) ] [ fhir:context [ fhir:v "qty" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "unit" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ a fhir:String ; fhir:v "drinks/day" ] ] ) ] [ fhir:context [ fhir:v "qty" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "system" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ a fhir:String ; fhir:v "http://unitsofmeasure.org" ] ] ) ] [ fhir:context [ fhir:v "qty" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "code" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ a fhir:String ; fhir:v "{drinks}/d" ] ] ) ] ) ] [ fhir:name [ fhir:v "MapThreeTimesMonthly" ] ; ( fhir:source [ fhir:context [ fhir:v "coding" ] ; fhir:element [ fhir:v "code" ] ; fhir:variable [ fhir:v "c" ] ; fhir:condition [ fhir:v "$this = '307452006'" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "value" ] ; fhir:variable [ fhir:v "qty" ] ; fhir:transform [ fhir:v "create" ] ; ( fhir:parameter [ fhir:value [ a fhir:String ; fhir:v "Quantity" ] ] ) ] [ fhir:context [ fhir:v "qty" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "value" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ a fhir:String ; fhir:v "0.08" ] ] ) ] [ fhir:context [ fhir:v "qty" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "unit" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ a fhir:String ; fhir:v "drinks/day" ] ] ) ] [ fhir:context [ fhir:v "qty" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "system" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ a fhir:String ; fhir:v "http://unitsofmeasure.org" ] ] ) ] [ fhir:context [ fhir:v "qty" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "code" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ a fhir:String ; fhir:v "{drinks}/d" ] ] ) ] ) ] [ fhir:name [ fhir:v "MapOnceMonthly" ] ; ( fhir:source [ fhir:context [ fhir:v "coding" ] ; fhir:element [ fhir:v "code" ] ; fhir:variable [ fhir:v "c" ] ; fhir:condition [ fhir:v "$this = '307450003'" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "value" ] ; fhir:variable [ fhir:v "qty" ] ; fhir:transform [ fhir:v "create" ] ; ( fhir:parameter [ fhir:value [ a fhir:String ; fhir:v "Quantity" ] ] ) ] [ fhir:context [ fhir:v "qty" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "value" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ a fhir:String ; fhir:v "0.03" ] ] ) ] [ fhir:context [ fhir:v "qty" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "unit" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ a fhir:String ; fhir:v "drinks/day" ] ] ) ] [ fhir:context [ fhir:v "qty" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "system" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ a fhir:String ; fhir:v "http://unitsofmeasure.org" ] ] ) ] [ fhir:context [ fhir:v "qty" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "code" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ a fhir:String ; fhir:v "{drinks}/d" ] ] ) ] ) ] [ fhir:name [ fhir:v "MapEveryTwoMonths" ] ; ( fhir:source [ fhir:context [ fhir:v "coding" ] ; fhir:element [ fhir:v "code" ] ; fhir:variable [ fhir:v "c" ] ; fhir:condition [ fhir:v "$this = '445547001'" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "value" ] ; fhir:variable [ fhir:v "qty" ] ; fhir:transform [ fhir:v "create" ] ; ( fhir:parameter [ fhir:value [ a fhir:String ; fhir:v "Quantity" ] ] ) ] [ fhir:context [ fhir:v "qty" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "value" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ a fhir:String ; fhir:v "0.02" ] ] ) ] [ fhir:context [ fhir:v "qty" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "unit" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ a fhir:String ; fhir:v "drinks/day" ] ] ) ] [ fhir:context [ fhir:v "qty" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "system" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ a fhir:String ; fhir:v "http://unitsofmeasure.org" ] ] ) ] [ fhir:context [ fhir:v "qty" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "code" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ a fhir:String ; fhir:v "{drinks}/d" ] ] ) ] ) ] [ fhir:name [ fhir:v "MapCurrentNonDrinker" ] ; ( fhir:source [ fhir:context [ fhir:v "coding" ] ; fhir:element [ fhir:v "code" ] ; fhir:variable [ fhir:v "c" ] ; fhir:condition [ fhir:v "$this = '105542008'" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "value" ] ; fhir:variable [ fhir:v "qty" ] ; fhir:transform [ fhir:v "create" ] ; ( fhir:parameter [ fhir:value [ a fhir:String ; fhir:v "Quantity" ] ] ) ] [ fhir:context [ fhir:v "qty" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "value" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ a fhir:String ; fhir:v "0.001" ] ] ) ] [ fhir:context [ fhir:v "qty" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "unit" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ a fhir:String ; fhir:v "drinks/day" ] ] ) ] [ fhir:context [ fhir:v "qty" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "system" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ a fhir:String ; fhir:v "http://unitsofmeasure.org" ] ] ) ] [ fhir:context [ fhir:v "qty" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "code" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ a fhir:String ; fhir:v "{drinks}/d" ] ] ) ] ) ] [ fhir:name [ fhir:v "MapLifetimeNonDrinker" ] ; ( fhir:source [ fhir:context [ fhir:v "coding" ] ; fhir:element [ fhir:v "code" ] ; fhir:variable [ fhir:v "c" ] ; fhir:condition [ fhir:v "$this = '783261004'" ] ] ) ; ( fhir:target [ fhir:context [ fhir:v "tgt" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "value" ] ; fhir:variable [ fhir:v "qty" ] ; fhir:transform [ fhir:v "create" ] ; ( fhir:parameter [ fhir:value [ a fhir:String ; fhir:v "Quantity" ] ] ) ] [ fhir:context [ fhir:v "qty" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "value" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ a fhir:String ; fhir:v "0" ] ] ) ] [ fhir:context [ fhir:v "qty" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "unit" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ a fhir:String ; fhir:v "drinks/day" ] ] ) ] [ fhir:context [ fhir:v "qty" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "system" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ a fhir:String ; fhir:v "http://unitsofmeasure.org" ] ] ) ] [ fhir:context [ fhir:v "qty" ] ; fhir:contextType [ fhir:v "variable" ] ; fhir:element [ fhir:v "code" ] ; fhir:transform [ fhir:v "copy" ] ; ( fhir:parameter [ fhir:value [ a fhir:String ; fhir:v "{drinks}/d" ] ] ) ] ) ] ) ] ) . #
IG © 2026+ The PreNUDGE Consortium. Package hl7.at.fhir.prenudge.appdata.r4#0.1.0 based on FHIR® 4.0.1. Generated 2026-03-03
Links: Table of Contents |
QA Report