Snapshot 3: Connectathon 32 Base

This page is part of the FHIR Specification (v5.0.0-snapshot3: R5 Snapshot #3, to support Connectathon 32). 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 icon Work GroupMaturity Level: N/AStandards Status: InformativeSecurity Category: Patient Compartments: Not linked to any defined compartments

R4 : R5 Conversion maps for EnrollmentResponse.

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/EnrollmentResponse3to4" = "R3 to R4 Conversions for EnrollmentResponse"

uses "http://hl7.org/fhir/3.0/StructureDefinition/EnrollmentResponse" alias EnrollmentResponseR3 as source
uses "http://hl7.org/fhir/StructureDefinition/EnrollmentResponse" alias EnrollmentResponse as target

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

group EnrollmentResponse(source src : EnrollmentResponseR3, target tgt : EnrollmentResponse) extends DomainResource <<type+>> {
  src.identifier -> tgt.identifier;
  src.status -> tgt.status;
  src.request -> tgt.request;
  src.outcome as vs then {
    vs.coding as c where code in ('complete' | 'error' | 'partial') then {
      c.code -> tgt.outcome;
    };
  };
  src.disposition -> tgt.disposition;
  src.created -> tgt.created;
  src.organization -> tgt.organization;
  src.requestProvider -> tgt.requestProvider;
}


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

uses "http://hl7.org/fhir/StructureDefinition/EnrollmentResponse" alias EnrollmentResponse as source
uses "http://hl7.org/fhir/3.0/StructureDefinition/EnrollmentResponse" alias EnrollmentResponseR3 as target

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

group EnrollmentResponse(source src : EnrollmentResponse, target tgt : EnrollmentResponseR3) extends DomainResource <<type+>> {
  src.identifier -> tgt.identifier;
  src.status -> tgt.status;
  src.request -> tgt.request;
  src.outcome as vs where value in ('complete' | 'error' | 'partial') ->  tgt.outcome as vt,  vt.coding as c,  c.system = 'http://hl7.org/fhir/remittance-outcome',  c.code = vs;
  src.disposition -> tgt.disposition;
  src.created -> tgt.created;
  src.organization -> tgt.organization;
  src.requestProvider -> tgt.requestProvider;
}


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