Release 5

This page is part of the FHIR Specification (v5.0.0: R5 - STU). This is the current published version. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3

FHIR Infrastructure icon Work GroupMaturity Level: N/AStandards Status: InformativeSecurity Category: Business Compartments: No defined compartments

R4 : R5 Conversion maps for Subscription.

Functional status for this map: See Conversions Summary. (see documentation)

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

uses "http://hl7.org/fhir/3.0/StructureDefinition/Subscription" alias SubscriptionR3 as source
uses "http://hl7.org/fhir/StructureDefinition/Subscription" alias Subscription as target

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

group Subscription(source src : SubscriptionR3, target tgt : Subscription) extends DomainResource <<type+>> {
  src.status -> tgt.status;
  src.contact -> tgt.contact;
  src.end -> tgt.end;
  src.reason -> tgt.reason;
  src.criteria -> tgt.criteria;
  src.error -> tgt.error;
  src.channel as vs0 -> tgt.channel as vt0 then channel(vs0, vt0);
}

group channel(source src, target tgt) extends BackboneElement {
  src.type -> tgt.type;
  src.endpoint -> tgt.endpoint;
  src.payload -> tgt.payload;
  src.header -> tgt.header;
}


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

uses "http://hl7.org/fhir/StructureDefinition/Subscription" alias Subscription as source
uses "http://hl7.org/fhir/3.0/StructureDefinition/Subscription" alias SubscriptionR3 as target

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

group Subscription(source src : Subscription, target tgt : SubscriptionR3) extends DomainResource <<type+>> {
  src.status -> tgt.status;
  src.contact -> tgt.contact;
  src.end -> tgt.end;
  src.reason -> tgt.reason;
  src.criteria -> tgt.criteria;
  src.error -> tgt.error;
  src.channel as vs0 -> tgt.channel as vt0 then channel(vs0, vt0);
}

group channel(source src, target tgt) extends BackboneElement {
  src.type -> tgt.type;
  src.endpoint -> tgt.endpoint;
  src.payload -> tgt.payload;
  src.header -> tgt.header;
}


No validation errors - all conversions are clean