R4 Ballot #1 (Mixed Normative/Trial use)

This page is part of the FHIR Specification (v3.3.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

R2 : R3 Conversion maps for Schedule.

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/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

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

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

  "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

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

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

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

  "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

endgroup