R4 Draft for Comment

This page is part of the FHIR Specification (v3.2.0: R4 Ballot 1). 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

Financial Management Work GroupMaturity Level: N/ABallot Status: Informative Compartments: Patient

R2 : R3 Conversion maps for EnrollmentRequest.

Functional status for this map: 1 test that all execute ok. 1 fail round-trip testing and all r3 resources are valid. (see documentation)

map "http://hl7.org/fhir/StructureMap/EnrollmentRequest2to3" = "R2 to R3 Conversions for EnrollmentRequest"

uses "http://hl7.org/fhir/DSTU2/StructureDefinition/EnrollmentRequest" alias EnrollmentRequestR2 as source
uses "http://hl7.org/fhir/StructureDefinition/EnrollmentRequest" alias EnrollmentRequest as target

imports "http://hl7.org/fhir/StructureMap/primitives2to3"
imports "http://hl7.org/fhir/StructureMap/DomainResource2to3"
imports "http://hl7.org/fhir/StructureMap/Identifier2to3"
imports "http://hl7.org/fhir/StructureMap/Reference2to3"

group for type+types  EnrollmentRequest extends DomainResource
  input src : EnrollmentRequestR2 as source
  input tgt : EnrollmentRequest as target

  "EnrollmentRequest-identifier" : for src.identifier make tgt.identifier
  "EnrollmentRequest-created" : for src.created make tgt.created
  "EnrollmentRequest-provider" : for src.provider make tgt.provider
  "EnrollmentRequest-organization" : for src.organization make tgt.organization
  "EnrollmentRequest-subject" : for src.subject make tgt.subject
  "EnrollmentRequest-coverage" : for src.coverage make tgt.coverage

endgroup

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

uses "http://hl7.org/fhir/StructureDefinition/EnrollmentRequest" alias EnrollmentRequest as source
uses "http://hl7.org/fhir/DSTU2/StructureDefinition/EnrollmentRequest" alias EnrollmentRequestR2 as target

imports "http://hl7.org/fhir/StructureMap/primitives3to2"
imports "http://hl7.org/fhir/StructureMap/DomainResource3to2"
imports "http://hl7.org/fhir/StructureMap/Identifier3to2"
imports "http://hl7.org/fhir/StructureMap/Reference3to2"

group for type+types  EnrollmentRequest extends DomainResource
  input src : EnrollmentRequest as source
  input tgt : EnrollmentRequestR2 as target

  "EnrollmentRequest-identifier" : for src.identifier make tgt.identifier
  "EnrollmentRequest-created" : for src.created make tgt.created
  "EnrollmentRequest-coverage" : for src.coverage make tgt.coverage

endgroup