@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 -------------------------------------------------------------------

<http://va.gov/fhir/StructureMap/Vpr2SmokingStatusObservation> a fhir:StructureMap ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "Vpr2SmokingStatusObservation"] ; # 
  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 Vpr2SmokingStatusObservation</b></p><a name=\"Vpr2SmokingStatusObservation\"> </a><a name=\"hcVpr2SmokingStatusObservation\"> </a><pre class=\"fml\">#xD;\n<b>map</b><span style=\"color: navy\"> \"</span>http://va.gov/fhir/StructureMap/Vpr2SmokingStatusObservation<span style=\"color: navy\">\" = \"</span>Vpr2SmokingStatusObservation<span style=\"color: navy\">\"#xD;\n#xD;\n</span><b>uses</b><span style=\"color: navy\"> \"</span><a href=\"StructureDefinition-VprHealthfactor.html\" title=\"VPR healthFactor\">http://va.gov/fhir/StructureDefinition/VprHealthfactor</a><span style=\"color: navy\">\" </span><b>alias </b>VprHealthfactor <b>as </b><b>source</b>#xD;\n<b>uses</b><span style=\"color: navy\"> \"</span><a href=\"StructureDefinition-SmokingStatusObservation.html\" title=\"Smoking Status Observation\">http://va.gov/fhir/StructureDefinition/SmokingStatusObservation</a><span style=\"color: navy\">\" </span><b>alias </b>SmokingStatusObservation <b>as </b><b>target</b>#xD;\n#xD;\n<b>group </b>map<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">healthFactor</span><span style=\"color: navy\"> : </span>VprHealthfactor, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>SmokingStatusObservation<span style=\"color: navy\">)</span><b> &lt;&lt;type+&gt;&gt;</b><span style=\"color: navy\"> {#xD;\n</span>  healthFactor.category<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.code = <span style=\"color: blue\">'http://loinc.org#72166-2'</span><span style=\"color: navy\">;</span>#xD;\n  healthFactor.name<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.code = <span style=\"color: blue\">'http://loinc.org#72166-2'</span><span style=\"color: navy\">;</span>#xD;\n  healthFactor.category<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.code = <span style=\"color: maroon\">v</span><span style=\"color: navy\">;</span>#xD;\n  healthFactor.name<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.code = <span style=\"color: maroon\">v</span><span style=\"color: navy\">;</span>#xD;\n  healthFactor.encounter<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.encounter = <span style=\"color: maroon\">v</span><span style=\"color: navy\">;</span>#xD;\n  healthFactor.facility<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.encounter = <span style=\"color: maroon\">v</span><span style=\"color: navy\">;</span>#xD;\n  healthFactor.recorded<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.encounter = <span style=\"color: maroon\">v</span><span style=\"color: navy\">;</span>#xD;\n  healthFactor.category<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.value = <span style=\"color: maroon\">v</span><span style=\"color: navy\">;</span>#xD;\n  healthFactor.name<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.value = <span style=\"color: maroon\">v</span><span style=\"color: navy\">;</span>#xD;\n  healthFactor.category<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -&gt; </b></span> tgt.value<b> as </b><span style=\"color: maroon\">v0</span><span style=\"color: navy\">, </span> v0.text = <span style=\"color: maroon\">v</span><span style=\"color: navy\">;</span>#xD;\n  healthFactor.name<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -&gt; </b></span> tgt.value<b> as </b><span style=\"color: maroon\">v0</span><span style=\"color: navy\">, </span> v0.text = <span style=\"color: maroon\">v</span><span style=\"color: navy\">;</span>#xD;\n  healthFactor.comment<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -&gt; </b></span> tgt.note<b> as </b><span style=\"color: maroon\">n0</span><span style=\"color: navy\">, </span> n0.text = <span style=\"color: maroon\">v</span><span style=\"color: navy\">;</span>#xD;\n<span style=\"color: navy\">}#xD;\n#xD;\n</span></pre></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:url [
     fhir:v "http://va.gov/fhir/StructureMap/Vpr2SmokingStatusObservation"^^xsd:anyURI ;
     fhir:l <http://va.gov/fhir/StructureMap/Vpr2SmokingStatusObservation>
  ] ; # 
  fhir:version [ fhir:v "2.5.0"] ; # 
  fhir:name [ fhir:v "Vpr2SmokingStatusObservation"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:date [ fhir:v "2026-03-31T16:09:38+00:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "VA"] ; # 
  fhir:contact ( [
     fhir:name [ fhir:v "VA" ] ;
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "https://www.va.gov" ]
     ] )
  ] ) ; # 
  fhir:jurisdiction ( [
     fhir:coding ( [
       fhir:system [
         fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ;
         fhir:l <urn:iso:std:iso:3166>
       ] ;
       fhir:code [ fhir:v "US" ] ;
       fhir:display [ fhir:v "United States of America" ]
     ] )
  ] ) ; # 
  fhir:structure ( [
     fhir:url [
       fhir:v "http://va.gov/fhir/StructureDefinition/VprHealthfactor"^^xsd:anyURI ;
       fhir:l <http://va.gov/fhir/StructureDefinition/VprHealthfactor>
     ] ;
     fhir:mode [ fhir:v "source" ] ;
     fhir:alias [ fhir:v "VprHealthfactor" ]
  ] [
     fhir:url [
       fhir:v "http://va.gov/fhir/StructureDefinition/SmokingStatusObservation"^^xsd:anyURI ;
       fhir:l <http://va.gov/fhir/StructureDefinition/SmokingStatusObservation>
     ] ;
     fhir:mode [ fhir:v "target" ] ;
     fhir:alias [ fhir:v "SmokingStatusObservation" ]
  ] ) ; # 
  fhir:group ( [
     fhir:name [ fhir:v "map" ] ;
     fhir:typeMode [ fhir:v "type-and-types" ] ;
     fhir:input ( [
       fhir:name [ fhir:v "healthFactor" ] ;
       fhir:type [ fhir:v "VprHealthfactor" ] ;
       fhir:mode [ fhir:v "source" ]
     ] [
       fhir:name [ fhir:v "tgt" ] ;
       fhir:type [ fhir:v "SmokingStatusObservation" ] ;
       fhir:mode [ fhir:v "target" ]
     ] ) ;
     fhir:rule ( [
       fhir:name [ fhir:v "category" ] ;
       fhir:source ( [
         fhir:context [ fhir:v "healthFactor" ] ;
         fhir:element [ fhir:v "category" ] ;
         fhir:variable [ fhir:v "v" ]
       ] ) ;
       fhir:target ( [
         fhir:context [ fhir:v "tgt" ] ;
         fhir:contextType [ fhir:v "variable" ] ;
         fhir:element [ fhir:v "code" ] ;
         fhir:transform [ fhir:v "copy" ] ;
         fhir:parameter ( [
           fhir:value [
             a fhir:String ;
             fhir:v "http://loinc.org#72166-2"
           ]
         ] )
       ] )
     ] [
       fhir:name [ fhir:v "name" ] ;
       fhir:source ( [
         fhir:context [ fhir:v "healthFactor" ] ;
         fhir:element [ fhir:v "name" ] ;
         fhir:variable [ fhir:v "v" ]
       ] ) ;
       fhir:target ( [
         fhir:context [ fhir:v "tgt" ] ;
         fhir:contextType [ fhir:v "variable" ] ;
         fhir:element [ fhir:v "code" ] ;
         fhir:transform [ fhir:v "copy" ] ;
         fhir:parameter ( [
           fhir:value [
             a fhir:String ;
             fhir:v "http://loinc.org#72166-2"
           ]
         ] )
       ] )
     ] [
       fhir:name [ fhir:v "category" ] ;
       fhir:source ( [
         fhir:context [ fhir:v "healthFactor" ] ;
         fhir:element [ fhir:v "category" ] ;
         fhir:variable [ fhir:v "v" ]
       ] ) ;
       fhir:target ( [
         fhir:context [ fhir:v "tgt" ] ;
         fhir:contextType [ fhir:v "variable" ] ;
         fhir:element [ fhir:v "code" ] ;
         fhir:transform [ fhir:v "copy" ] ;
         fhir:parameter ( [
           fhir:value [
             a fhir:Id ;
             fhir:v "v"
           ]
         ] )
       ] )
     ] [
       fhir:name [ fhir:v "name" ] ;
       fhir:source ( [
         fhir:context [ fhir:v "healthFactor" ] ;
         fhir:element [ fhir:v "name" ] ;
         fhir:variable [ fhir:v "v" ]
       ] ) ;
       fhir:target ( [
         fhir:context [ fhir:v "tgt" ] ;
         fhir:contextType [ fhir:v "variable" ] ;
         fhir:element [ fhir:v "code" ] ;
         fhir:transform [ fhir:v "copy" ] ;
         fhir:parameter ( [
           fhir:value [
             a fhir:Id ;
             fhir:v "v"
           ]
         ] )
       ] )
     ] [
       fhir:name [ fhir:v "encounter" ] ;
       fhir:source ( [
         fhir:context [ fhir:v "healthFactor" ] ;
         fhir:element [ fhir:v "encounter" ] ;
         fhir:variable [ fhir:v "v" ]
       ] ) ;
       fhir:target ( [
         fhir:context [ fhir:v "tgt" ] ;
         fhir:contextType [ fhir:v "variable" ] ;
         fhir:element [ fhir:v "encounter" ] ;
         fhir:transform [ fhir:v "copy" ] ;
         fhir:parameter ( [
           fhir:value [
             a fhir:Id ;
             fhir:v "v"
           ]
         ] )
       ] )
     ] [
       fhir:name [ fhir:v "facility" ] ;
       fhir:source ( [
         fhir:context [ fhir:v "healthFactor" ] ;
         fhir:element [ fhir:v "facility" ] ;
         fhir:variable [ fhir:v "v" ]
       ] ) ;
       fhir:target ( [
         fhir:context [ fhir:v "tgt" ] ;
         fhir:contextType [ fhir:v "variable" ] ;
         fhir:element [ fhir:v "encounter" ] ;
         fhir:transform [ fhir:v "copy" ] ;
         fhir:parameter ( [
           fhir:value [
             a fhir:Id ;
             fhir:v "v"
           ]
         ] )
       ] )
     ] [
       fhir:name [ fhir:v "recorded" ] ;
       fhir:source ( [
         fhir:context [ fhir:v "healthFactor" ] ;
         fhir:element [ fhir:v "recorded" ] ;
         fhir:variable [ fhir:v "v" ]
       ] ) ;
       fhir:target ( [
         fhir:context [ fhir:v "tgt" ] ;
         fhir:contextType [ fhir:v "variable" ] ;
         fhir:element [ fhir:v "encounter" ] ;
         fhir:transform [ fhir:v "copy" ] ;
         fhir:parameter ( [
           fhir:value [
             a fhir:Id ;
             fhir:v "v"
           ]
         ] )
       ] )
     ] [
       fhir:name [ fhir:v "category" ] ;
       fhir:source ( [
         fhir:context [ fhir:v "healthFactor" ] ;
         fhir:element [ fhir:v "category" ] ;
         fhir:variable [ fhir:v "v" ]
       ] ) ;
       fhir:target ( [
         fhir:context [ fhir:v "tgt" ] ;
         fhir:contextType [ fhir:v "variable" ] ;
         fhir:element [ fhir:v "value" ] ;
         fhir:transform [ fhir:v "copy" ] ;
         fhir:parameter ( [
           fhir:value [
             a fhir:Id ;
             fhir:v "v"
           ]
         ] )
       ] )
     ] [
       fhir:name [ fhir:v "name" ] ;
       fhir:source ( [
         fhir:context [ fhir:v "healthFactor" ] ;
         fhir:element [ fhir:v "name" ] ;
         fhir:variable [ fhir:v "v" ]
       ] ) ;
       fhir:target ( [
         fhir:context [ fhir:v "tgt" ] ;
         fhir:contextType [ fhir:v "variable" ] ;
         fhir:element [ fhir:v "value" ] ;
         fhir:transform [ fhir:v "copy" ] ;
         fhir:parameter ( [
           fhir:value [
             a fhir:Id ;
             fhir:v "v"
           ]
         ] )
       ] )
     ] [
       fhir:name [ fhir:v "category" ] ;
       fhir:source ( [
         fhir:context [ fhir:v "healthFactor" ] ;
         fhir:element [ fhir:v "category" ] ;
         fhir:variable [ fhir:v "v" ]
       ] ) ;
       fhir:target ( [
         fhir:context [ fhir:v "tgt" ] ;
         fhir:contextType [ fhir:v "variable" ] ;
         fhir:element [ fhir:v "value" ] ;
         fhir:variable [ fhir:v "v0" ]
       ] [
         fhir:context [ fhir:v "v0" ] ;
         fhir:contextType [ fhir:v "variable" ] ;
         fhir:element [ fhir:v "text" ] ;
         fhir:transform [ fhir:v "copy" ] ;
         fhir:parameter ( [
           fhir:value [
             a fhir:Id ;
             fhir:v "v"
           ]
         ] )
       ] )
     ] [
       fhir:name [ fhir:v "name" ] ;
       fhir:source ( [
         fhir:context [ fhir:v "healthFactor" ] ;
         fhir:element [ fhir:v "name" ] ;
         fhir:variable [ fhir:v "v" ]
       ] ) ;
       fhir:target ( [
         fhir:context [ fhir:v "tgt" ] ;
         fhir:contextType [ fhir:v "variable" ] ;
         fhir:element [ fhir:v "value" ] ;
         fhir:variable [ fhir:v "v0" ]
       ] [
         fhir:context [ fhir:v "v0" ] ;
         fhir:contextType [ fhir:v "variable" ] ;
         fhir:element [ fhir:v "text" ] ;
         fhir:transform [ fhir:v "copy" ] ;
         fhir:parameter ( [
           fhir:value [
             a fhir:Id ;
             fhir:v "v"
           ]
         ] )
       ] )
     ] [
       fhir:name [ fhir:v "comment" ] ;
       fhir:source ( [
         fhir:context [ fhir:v "healthFactor" ] ;
         fhir:element [ fhir:v "comment" ] ;
         fhir:variable [ fhir:v "v" ]
       ] ) ;
       fhir:target ( [
         fhir:context [ fhir:v "tgt" ] ;
         fhir:contextType [ fhir:v "variable" ] ;
         fhir:element [ fhir:v "note" ] ;
         fhir:variable [ fhir:v "n0" ]
       ] [
         fhir:context [ fhir:v "n0" ] ;
         fhir:contextType [ fhir:v "variable" ] ;
         fhir:element [ fhir:v "text" ] ;
         fhir:transform [ fhir:v "copy" ] ;
         fhir:parameter ( [
           fhir:value [
             a fhir:Id ;
             fhir:v "v"
           ]
         ] )
       ] )
     ] )
  ] ) . # 

# -------------------------------------------------------------------------------------

