FHIR CI-Build

This is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions icon

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

R4 : R5 Conversion maps for SearchParameter.

Functional status for this map: See Conversions Summary. (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;
  };
}


No validation errors - all conversions are clean