FHIR Release 3 (STU) 4

This page is part of the FHIR Specification (v3.0.2: (v4.0.1: R4 - Mixed Normative and STU 3). ) 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 R4 R3

Patient Administration Work Group Maturity Level : N/A Ballot Standards Status : Informative Security Category : Business Compartments : Device , Patient , Practitioner , RelatedPerson

R2 : R3 Converson : R4 Conversion maps for Schedule.

Functional status for this map: 1 test 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/Schedule2to3" = "R2 to R3 Conversions for Schedule"

uses "http://hl7.org/fhir/DSTU2/StructureDefinition/Schedule" alias ScheduleR2 as source
uses "http://hl7.org/fhir/StructureDefinition/Schedule" alias Schedule as target

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


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

uses "http://hl7.org/fhir/3.0/StructureDefinition/Schedule" alias ScheduleR3 as source
uses "http://hl7.org/fhir/StructureDefinition/Schedule" alias Schedule as target


group for type+types  Schedule extends DomainResource
  input src : ScheduleR2 as source
  input tgt : Schedule as target

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


  "Schedule-identifier" : for src.identifier make tgt.identifier
  "Schedule-serviceType" : for src.type make tgt.serviceType
  "Schedule-actor" : for src.actor make tgt.actor
  "Schedule-planningHorizon" : for src.planningHorizon make tgt.planningHorizon
  "Schedule-comment" : for src.comment make tgt.comment

group Schedule(source src : ScheduleR3, target tgt : Schedule) extends DomainResource <<type+>> {
  src.identifier -> tgt.identifier;
  src.active -> tgt.active;
  src.serviceCategory -> tgt.serviceCategory;
  src.serviceType -> tgt.serviceType;
  src.specialty -> tgt.specialty;
  src.actor -> tgt.actor;
  src.planningHorizon -> tgt.planningHorizon;
  src.comment -> tgt.comment;
}


endgroup


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

uses "http://hl7.org/fhir/StructureDefinition/Schedule" alias Schedule as source
uses "http://hl7.org/fhir/DSTU2/StructureDefinition/Schedule" alias ScheduleR2 as target

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


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

uses "http://hl7.org/fhir/StructureDefinition/Schedule" alias Schedule as source
uses "http://hl7.org/fhir/3.0/StructureDefinition/Schedule" alias ScheduleR3 as target


group for type+types  Schedule extends DomainResource
  input src : Schedule as source
  input tgt : ScheduleR2 as target

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


  "Schedule-identifier" : for src.identifier make tgt.identifier
  "Schedule-type" : for src.serviceType make tgt.type
  "Schedule-actor" : for src.actor make tgt.actor
  "Schedule-planningHorizon" : for src.planningHorizon make tgt.planningHorizon
  "Schedule-comment" : for src.comment make tgt.comment

group Schedule(source src : Schedule, target tgt : ScheduleR3) extends DomainResource <<type+>> {
  src.identifier -> tgt.identifier;
  src.active -> tgt.active;
  src.serviceCategory -> tgt.serviceCategory;
  src.serviceType -> tgt.serviceType;
  src.specialty -> tgt.specialty;
  src.actor -> tgt.actor;
  src.planningHorizon -> tgt.planningHorizon;
  src.comment -> tgt.comment;
}


endgroup


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