Release 4

This page is part of the FHIR Specification (v4.0.1: R4 - Mixed Normative and STU) in it's permanent home (it will always be available at this URL). 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

FHIR Infrastructure Work GroupMaturity Level: N/AStandards Status: InformativeSecurity Category: Anonymous Compartments: Not linked to any defined compartments

R3 : R4 Conversion maps for SearchParameter.

Functional status for this map: 3 tests that all execute ok. All tests pass round-trip testing and 3 r3 resources are invalid (0 errors). (see documentation)

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

uses "http://hl7.org/fhir/3.0/StructureDefinition/SearchParameter" alias SearchParameterR3 as source
uses "http://hl7.org/fhir/StructureDefinition/SearchParameter" alias SearchParameter as target

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

group SearchParameter(source src : SearchParameterR3, target tgt : SearchParameter) extends DomainResource <<type+>> {
  src.url -> tgt.url;
  src.version -> tgt.version;
  src.name -> tgt.name;
  src.status -> tgt.status;
  src.experimental -> tgt.experimental;
  src.date -> tgt.date;
  src.publisher -> tgt.publisher;
  src.contact -> tgt.contact;
  src.useContext -> tgt.useContext;
  src.jurisdiction -> tgt.jurisdiction;
  src.purpose -> tgt.purpose;
  src.code -> tgt.code;
  src.base -> tgt.base;
  src.type -> tgt.type;
  src.derivedFrom -> tgt.derivedFrom;
  src.description -> tgt.description;
  src.expression -> tgt.expression;
  src.xpath -> tgt.xpath;
  src.xpathUsage -> tgt.xpathUsage;
  src.target -> tgt.target;
  src.comparator -> tgt.comparator;
  src.modifier -> tgt.modifier;
  src.chain -> tgt.chain;
  src.component as vs0 -> tgt.component as vt0 then {
    vs0.definition -> vt0.definition;
    vs0.expression -> vt0.expression;
  };
}


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

uses "http://hl7.org/fhir/StructureDefinition/SearchParameter" alias SearchParameter as source
uses "http://hl7.org/fhir/3.0/StructureDefinition/SearchParameter" alias SearchParameterR3 as target

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

group SearchParameter(source src : SearchParameter, target tgt : SearchParameterR3) extends DomainResource <<type+>> {
  src.url -> tgt.url;
  src.version -> tgt.version;
  src.name -> tgt.name;
  src.status -> tgt.status;
  src.experimental -> tgt.experimental;
  src.date -> tgt.date;
  src.publisher -> tgt.publisher;
  src.contact -> tgt.contact;
  src.useContext -> tgt.useContext;
  src.jurisdiction -> tgt.jurisdiction;
  src.purpose -> tgt.purpose;
  src.code -> tgt.code;
  src.base -> tgt.base;
  src.type -> tgt.type;
  src.derivedFrom -> tgt.derivedFrom;
  src.description -> tgt.description;
  src.expression -> tgt.expression;
  src.xpath -> tgt.xpath;
  src.xpathUsage -> tgt.xpathUsage;
  src.target -> tgt.target;
  src.comparator -> tgt.comparator;
  src.modifier -> tgt.modifier;
  src.chain -> tgt.chain;
  src.component as vs0 -> tgt.component as vt0 then {
    vs0.definition -> vt0.definition;
    vs0.expression -> vt0.expression;
  };
}


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