US Veterans Health Administration FHIR Map Set Implementation Guide
2.5.0 - 260401a United States of America flag

US Veterans Health Administration FHIR Map Set Implementation Guide - Downloaded Version 2.5.0 See the Directory of published versions

StructureMap: Vpr2SmokingStatusObservation

Official URL: http://va.gov/fhir/StructureMap/Vpr2SmokingStatusObservation Version: 2.5.0
Draft as of 2026-03-31 Computable Name: Vpr2SmokingStatusObservation

map "http://va.gov/fhir/StructureMap/Vpr2SmokingStatusObservation" = "Vpr2SmokingStatusObservation"

uses "http://va.gov/fhir/StructureDefinition/VprHealthfactor" alias VprHealthfactor as source
uses "http://va.gov/fhir/StructureDefinition/SmokingStatusObservation" alias SmokingStatusObservation as target

group map(source healthFactor : VprHealthfactor, target tgt : SmokingStatusObservation) <<type+>> {
  healthFactor.category as v -> tgt.code = 'http://loinc.org#72166-2';
  healthFactor.name as v -> tgt.code = 'http://loinc.org#72166-2';
  healthFactor.category as v -> tgt.code = v;
  healthFactor.name as v -> tgt.code = v;
  healthFactor.encounter as v -> tgt.encounter = v;
  healthFactor.facility as v -> tgt.encounter = v;
  healthFactor.recorded as v -> tgt.encounter = v;
  healthFactor.category as v -> tgt.value = v;
  healthFactor.name as v -> tgt.value = v;
  healthFactor.category as v ->  tgt.value as v0,  v0.text = v;
  healthFactor.name as v ->  tgt.value as v0,  v0.text = v;
  healthFactor.comment as v ->  tgt.note as n0,  n0.text = v;
}