Current Build

Переводит команда Health Samurai . Приглашаем поучаствовать в русификации стандарта FHIR: GitHub , Email.

FHIR Infrastructure Work GroupMaturity Level: N/ABallot Status: Informative Compartments: Device, Encounter, Patient, Practitioner, RelatedPerson

R3 : R4 Conversion maps for QuestionnaireResponse.

Functional status for this map: 5 tests of which 5 fail to execute. (see documentation)

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

uses "http://hl7.org/fhir/3.0/StructureDefinition/QuestionnaireResponse" alias QuestionnaireResponseR3 as source
uses "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" alias QuestionnaireResponse as target

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

group QuestionnaireResponse(source src : QuestionnaireResponseR3, target tgt : QuestionnaireResponse) extends DomainResource <<type+>> {
  src.identifier -> tgt.identifier;
  src.basedOn -> tgt.basedOn;
  src.parent -> tgt.partOf "partOf";
  src.status -> tgt.status;
  src.subject -> tgt.subject;
  src.context -> tgt.context;
  src.authored -> tgt.authored;
  src.author -> tgt.author;
  src.source -> tgt.source;
  src.item as vs0 -> tgt.item as vt0 then {
    vs0.linkId -> vt0.linkId;
    vs0.definition -> vt0.definition;
    vs0.text -> vt0.text;
    vs0.subject -> vt0.subject;
  };
}


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

uses "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" alias QuestionnaireResponse as source
uses "http://hl7.org/fhir/3.0/StructureDefinition/QuestionnaireResponse" alias QuestionnaireResponseR3 as target

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

group QuestionnaireResponse(source src : QuestionnaireResponse, target tgt : QuestionnaireResponseR3) extends DomainResource <<type+>> {
  src.identifier -> tgt.identifier;
  src.basedOn -> tgt.basedOn;
  src.partOf -> tgt.parent "parent";
  src.status -> tgt.status;
  src.subject -> tgt.subject;
  src.context -> tgt.context;
  src.authored -> tgt.authored;
  src.author -> tgt.author;
  src.source -> tgt.source;
  src.item as vs0 -> tgt.item as vt0 then {
    vs0.linkId -> vt0.linkId;
    vs0.definition -> vt0.definition;
    vs0.text -> vt0.text;
    vs0.subject -> vt0.subject;
  };
}


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