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 Administration Work GroupMaturity Level: N/ABallot Status: InformativeCompartments: Device, Patient, Practitioner

R2 : R3 Converson maps for Account.

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

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

uses "http://hl7.org/fhir/DSTU2/StructureDefinition/Account" alias AccountR2 as source
uses "http://hl7.org/fhir/StructureDefinition/Account" alias Account as target

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

group for type+types  Account extends DomainResource
  input src : AccountR2 as source
  input tgt : Account as target

  "Account-identifier" : for src.identifier make tgt.identifier
  "Account-name" : for src.name make tgt.name
  "Account-type" : for src.type make tgt.type
  "Account-status" : for src.status make tgt.status
  "Account-active" : for src.activePeriod make tgt.active
  "Account-balance" : for src.balance make tgt.balance
//  "Account-coveragePeriod" : for src.coveragePeriod make tgt.coveragePeriod - moved into coverage resource
  "Account-subject" : for src.subject make tgt.subject
  "Account-owner" : for src.owner make tgt.owner
  "Account-description" : for src.description make tgt.description

endgroup

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

uses "http://hl7.org/fhir/StructureDefinition/Account" alias Account as source
uses "http://hl7.org/fhir/DSTU2/StructureDefinition/Account" alias AccountR2 as target

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

group for type+types  Account extends DomainResource
  input src : Account as source
  input tgt : AccountR2 as target

  "Account-identifier" : for src.identifier make tgt.identifier
  "Account-name" : for src.name make tgt.name
  "Account-type" : for src.type make tgt.type
  "Account-status" : for src.status make tgt.status
  "Account-activePeriod" : for src.active make tgt.activePeriod
  "Account-balance" : for src.balance make tgt.balance
//  "Account-coveragePeriod" : for src.coveragePeriod make tgt.coveragePeriod - moved into coverage resource
  "Account-subject" : for src.subject make tgt.subject
  "Account-owner" : for src.owner make tgt.owner
  "Account-description" : for src.description make tgt.description

endgroup