FHIR Extensions Pack
5.1.0-snapshot1 - Working Copy International flag

This page is part of the FHIR Core Extensions Registry (v5.1.0-snapshot1: Release 5.1) based on FHIR (HL7® FHIR® Standard) v5.0.0. The current version which supersedes this version is 1.0.0. For a full list of available versions, see the Directory of published versions

StructureMap: FML Conversion for Resource: R5 to R4

Official URL: http://hl7.org/fhir/StructureMap/Resource5to4 Version: 5.1.0-snapshot1
Standards status: Trial-use Maturity Level: 1 Computable Name: Resource5to4

FMLConversionforResourceR5toR4

/// url = 'http://hl7.org/fhir/StructureMap/Resource5to4'
/// name = 'Resource5to4'
/// title = 'FML Conversion for Resource: R5 to R4'
/// status = 'active'

uses "http://hl7.org/fhir/StructureDefinition/Resource" alias ResourceR5 as source
uses "http://hl7.org/fhir/4.0/StructureDefinition/Resource" alias ResourceR4 as target
uses "http://hl7.org/fhir/StructureDefinition/Base" alias BaseR5 as source

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

group Resource(source src : ResourceR5, target tgt : ResourceR4) extends Base <<type+>> {
  src.id -> tgt.id;
  src.meta -> tgt.meta;
  src.implicitRules -> tgt.implicitRules;
  src.language -> tgt.language;
}

group Base(source src : BaseR5) {
}