R4 Ballot #2 (Mixed Normative/Trial use)

This page is part of the FHIR Specification (v3.5.0: R4 Ballot #2). 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: Informative Compartments: Device, Patient, Practitioner, RelatedPerson

R3 : R4 Conversion maps for Schedule.

Functional status for this map: 3 tests of which 3 fail to execute. (see documentation)

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


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

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



group Schedule extends DomainResource
  input src : ScheduleR3 as source
  input tgt : Schedule as target

  "Schedule.identifier" : for src.identifier as vs make tgt.identifier as vt
  "Schedule.active" : for src.active as vs make tgt.active as vt
  "Schedule.serviceCategory" : for src.serviceCategory as vs make tgt.serviceCategory as vt
  "Schedule.serviceType" : for src.serviceType as vs make tgt.serviceType as vt
  "Schedule.specialty" : for src.specialty as vs make tgt.specialty as vt
  "Schedule.actor" : for src.actor as vs make tgt.actor as vt
  "Schedule.planningHorizon" : for src.planningHorizon as vs make tgt.planningHorizon as vt
  "Schedule.comment" : for src.comment as vs make tgt.comment as vt
endgroup


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


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

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



group Schedule extends DomainResource
  input src : Schedule as source
  input tgt : ScheduleR3 as target

  "Schedule.identifier" : for src.identifier as vs make tgt.identifier as vt
  "Schedule.active" : for src.active as vs make tgt.active as vt
  "Schedule.serviceCategory" : for src.serviceCategoryFirstRep as vs make tgt.serviceCategory as vt
  "Schedule.serviceType" : for src.serviceType as vs make tgt.serviceType as vt
  "Schedule.specialty" : for src.specialty as vs make tgt.specialty as vt
  "Schedule.actor" : for src.actor as vs make tgt.actor as vt
  "Schedule.planningHorizon" : for src.planningHorizon as vs make tgt.planningHorizon as vt
  "Schedule.comment" : for src.comment as vs make tgt.comment as vt
endgroup