FHIR Release 3 (STU)

This page is part of the FHIR Specification (v3.0.2: STU 3). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3

Patient Care Work GroupMaturity Level: N/ABallot Status: InformativeCompartments: Device, Patient, Practitioner

R2 : R3 Converson maps for Flag.

Functional status for this map: 3 tests that all execute ok. All tests pass round-trip testing and all r3 resources are valid. (see documentation)

map "http://hl7.org/fhir/StructureMap/Flag2to3" = "R2 to R3 Conversions for Flag"

uses "http://hl7.org/fhir/DSTU2/StructureDefinition/Flag" alias FlagR2 as source
uses "http://hl7.org/fhir/StructureDefinition/Flag" alias Flag as target

imports "http://hl7.org/fhir/StructureMap/*2to3"

group for type+types  Flag extends DomainResource
  input src : FlagR2 as source
  input tgt : Flag as target

  "Flag-identifier" : for src.identifier make tgt.identifier
  "Flag-category" : for src.category make tgt.category
  "Flag-status" : for src.status make tgt.status
  "Flag-period" : for src.period make tgt.period
  "Flag-subject" : for src.subject make tgt.subject
  "Flag-encounter" : for src.encounter make tgt.encounter
  "Flag-author" : for src.author make tgt.author
  "Flag-code" : for src.code make tgt.code

endgroup

map "http://hl7.org/fhir/StructureMap/Flag3to2" = "R3 to R2 Conversion for Flag"

uses "http://hl7.org/fhir/StructureDefinition/Flag" alias Flag as source
uses "http://hl7.org/fhir/DSTU2/StructureDefinition/Flag" alias FlagR2 as target

imports "http://hl7.org/fhir/StructureMap/*3to2"

group for type+types  Flag extends DomainResource
  input src : Flag as source
  input tgt : FlagR2 as target

  "Flag-identifier" : for src.identifier make tgt.identifier
  "Flag-category" : for src.category make tgt.category
  "Flag-status" : for src.status make tgt.status
  "Flag-period" : for src.period make tgt.period
  "Flag-subject" : for src.subject make tgt.subject
  "Flag-encounter" : for src.encounter make tgt.encounter
  "Flag-author" : for src.author make tgt.author
  "Flag-code" : for src.code make tgt.code

endgroup