Release 4

This page is part of the FHIR Specification (v4.0.1: R4 - Mixed Normative and STU) in it's permanent home (it will always be available at this URL). 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/AStandards Status: InformativeSecurity Category: Business Compartments: Not linked to any defined compartments

R3 : R4 Conversion maps for Organization.

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

map "http://hl7.org/fhir/StructureMap/Organization3to4" = "R3 to R4 Conversions for Organization"

uses "http://hl7.org/fhir/3.0/StructureDefinition/Organization" alias OrganizationR3 as source
uses "http://hl7.org/fhir/StructureDefinition/Organization" alias Organization as target

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

group Organization(source src : OrganizationR3, target tgt : Organization) extends DomainResource <<type+>> {
  src.identifier -> tgt.identifier;
  src.active -> tgt.active;
  src.type -> tgt.type;
  src.name -> tgt.name;
  src.alias -> tgt.alias;
  src.telecom -> tgt.telecom;
  src.address -> tgt.address;
  src.partOf -> tgt.partOf;
  src.contact as vs0 -> tgt.contact as vt0 then contact(vs0, vt0);
  src.endpoint -> tgt.endpoint;
}

group contact(source src, target tgt) extends BackboneElement {
  src.purpose -> tgt.purpose;
  src.name -> tgt.name;
  src.telecom -> tgt.telecom;
  src.address -> tgt.address;
}


map "http://hl7.org/fhir/StructureMap/Organization4to3" = "R4 to R3 Conversion for Organization"

uses "http://hl7.org/fhir/StructureDefinition/Organization" alias Organization as source
uses "http://hl7.org/fhir/3.0/StructureDefinition/Organization" alias OrganizationR3 as target

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

group Organization(source src : Organization, target tgt : OrganizationR3) extends DomainResource <<type+>> {
  src.identifier -> tgt.identifier;
  src.active -> tgt.active;
  src.type -> tgt.type;
  src.name -> tgt.name;
  src.alias -> tgt.alias;
  src.telecom -> tgt.telecom;
  src.address -> tgt.address;
  src.partOf -> tgt.partOf;
  src.contact as vs0 -> tgt.contact as vt0 then contact(vs0, vt0);
  src.endpoint -> tgt.endpoint;
}

group contact(source src, target tgt) extends BackboneElement {
  src.purpose -> tgt.purpose;
  src.name -> tgt.name;
  src.telecom -> tgt.telecom;
  src.address -> tgt.address;
}


<p>No validation errors - all conversions are clean</p>