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: N/A Compartments: No defined compartments

R4 : R5 Conversion maps for OperationOutcome.

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

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

uses "http://hl7.org/fhir/3.0/StructureDefinition/OperationOutcome" alias OperationOutcomeR3 as source
uses "http://hl7.org/fhir/StructureDefinition/OperationOutcome" alias OperationOutcome as target

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

group OperationOutcome(source src : OperationOutcomeR3, target tgt : OperationOutcome) extends DomainResource <<type+>> {
  src.issue as vs0 -> tgt.issue as vt0 then {
    vs0.severity -> vt0.severity;
    vs0.code -> vt0.code;
    vs0.details -> vt0.details;
    vs0.diagnostics -> vt0.diagnostics;
    vs0.location -> vt0.location;
    vs0.expression -> vt0.expression;
  };
}


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

uses "http://hl7.org/fhir/StructureDefinition/OperationOutcome" alias OperationOutcome as source
uses "http://hl7.org/fhir/3.0/StructureDefinition/OperationOutcome" alias OperationOutcomeR3 as target

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

group OperationOutcome(source src : OperationOutcome, target tgt : OperationOutcomeR3) extends DomainResource <<type+>> {
  src.issue as vs0 -> tgt.issue as vt0 then {
    vs0.severity -> vt0.severity;
    vs0.code -> vt0.code;
    vs0.details -> vt0.details;
    vs0.diagnostics -> vt0.diagnostics;
    vs0.location -> vt0.location;
    vs0.expression -> vt0.expression;
  };
}


No validation errors - all conversions are clean