R6 Ballot (1st Draft)

This page is part of the FHIR Specification v6.0.0-ballot1: Release 6 Ballot (1st Draft) (see Ballot Notes). The current version is 5.0.0. For a full list of available versions, see the Directory of published versions

Patient Administration icon Work GroupMaturity Level: N/AStandards Status: InformativeSecurity Category: Business Compartments: No defined compartments

R4 : R5 Conversion maps for Location.

Functional status for this map: See Conversions Summary. (see documentation)

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

uses "http://hl7.org/fhir/3.0/StructureDefinition/Location" alias LocationR3 as source
uses "http://hl7.org/fhir/StructureDefinition/Location" alias Location as target

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

group Location(source src : LocationR3, target tgt : Location) extends DomainResource <<type+>> {
  src.identifier -> tgt.identifier;
  src.status -> tgt.status;
  src.operationalStatus -> tgt.operationalStatus;
  src.name -> tgt.name;
  src.alias -> tgt.alias;
  src.description -> tgt.description;
  src.mode -> tgt.mode;
  src.type -> tgt.type;
  src.telecom -> tgt.telecom;
  src.address -> tgt.address;
  src.physicalType -> tgt.physicalType;
  src.position as vs0 -> tgt.position as vt0 then position(vs0, vt0);
  src.managingOrganization -> tgt.managingOrganization;
  src.partOf -> tgt.partOf;
  src.endpoint -> tgt.endpoint;
}

group position(source src, target tgt) extends BackboneElement {
  src.longitude -> tgt.longitude;
  src.latitude -> tgt.latitude;
  src.altitude -> tgt.altitude;
}


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

uses "http://hl7.org/fhir/StructureDefinition/Location" alias Location as source
uses "http://hl7.org/fhir/3.0/StructureDefinition/Location" alias LocationR3 as target

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

group Location(source src : Location, target tgt : LocationR3) extends DomainResource <<type+>> {
  src.identifier -> tgt.identifier;
  src.status -> tgt.status;
  src.operationalStatus -> tgt.operationalStatus;
  src.name -> tgt.name;
  src.alias -> tgt.alias;
  src.description -> tgt.description;
  src.mode -> tgt.mode;
  src.type -> tgt.type;
  src.telecom -> tgt.telecom;
  src.address -> tgt.address;
  src.physicalType -> tgt.physicalType;
  src.position as vs0 -> tgt.position as vt0 then position(vs0, vt0);
  src.managingOrganization -> tgt.managingOrganization;
  src.partOf -> tgt.partOf;
  src.endpoint -> tgt.endpoint;
}

group position(source src, target tgt) extends BackboneElement {
  src.longitude -> tgt.longitude;
  src.latitude -> tgt.latitude;
  src.altitude -> tgt.altitude;
}


No validation errors - all conversions are clean