Current Build

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

Patient Care Work GroupMaturity Level: N/ABallot Status: Informative Compartments: Encounter, Patient, Practitioner

R3 : R4 Conversion maps for ClinicalImpression.

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

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

conceptmap "ClinicalImpressionStatus" {
  prefix s = "http://hl7.org/fhir/clinical-impression-status"
  prefix t = "http://hl7.org/fhir/event-status"

  s:draft - t:"in-progress"
  s:completed - t:completed
  s:"entered-in-error" - t:"entered-in-error"
}

uses "http://hl7.org/fhir/3.0/StructureDefinition/ClinicalImpression" alias ClinicalImpressionR3 as source
uses "http://hl7.org/fhir/StructureDefinition/ClinicalImpression" alias ClinicalImpression as target

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

group ClinicalImpression(source src : ClinicalImpressionR3, target tgt : ClinicalImpression) extends DomainResource <<type+>> {
  src.identifier -> tgt.identifier;
  src.status as v -> tgt.status = translate(v, "#Clinical Impression Status", "code");
  src.code -> tgt.code;
  src.description -> tgt.description;
  src.subject -> tgt.subject;
  src.context -> tgt.context;
  src.effective : dateTime as vs -> tgt.effective = create("dateTime") as vt then dateTime(vs, vt);
  src.effective : Period as vs -> tgt.effective = create("Period") as vt then Period(vs, vt);
  src.date -> tgt.date;
  src.assessor -> tgt.assessor;
  src.previous -> tgt.previous;
  src.problem -> tgt.problem;
  src.investigation as vs0 -> tgt.investigation as vt0 then {
    vs0.code -> vt0.code;
    vs0.item -> vt0.item;
  };
  src.protocol -> tgt.protocol;
  src.summary -> tgt.summary;
  src.finding as vs0 -> tgt.finding as vt0 then {
    vs0.itemCodeableConcept -> vt0.itemCodeableConcept;
    vs0.itemReference -> vt0.itemReference;
    vs0.basis -> vt0.basis;
  };
  src.prognosisCodeableConcept -> tgt.prognosisCodeableConcept;
  src.prognosisReference -> tgt.prognosisReference;
  src.action -> tgt.action;
  src.note -> tgt.note;
}


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

conceptmap "ClinicalImpressionStatus" {
  prefix s = "http://hl7.org/fhir/event-status"
  prefix t = "http://hl7.org/fhir/clinical-impression-status"

  s:"in-progress" - t:draft
  s:completed - t:completed
  s:"entered-in-error" - t:"entered-in-error"
}

uses "http://hl7.org/fhir/StructureDefinition/ClinicalImpression" alias ClinicalImpression as source
uses "http://hl7.org/fhir/3.0/StructureDefinition/ClinicalImpression" alias ClinicalImpressionR3 as target

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

group ClinicalImpression(source src : ClinicalImpression, target tgt : ClinicalImpressionR3) extends DomainResource <<type+>> {
  src.identifier -> tgt.identifier;
  src.status as v -> tgt.status = translate(v, "#ClinicalImpressionStatus", "code");
  src.code -> tgt.code;
  src.description -> tgt.description;
  src.subject -> tgt.subject;
  src.context -> tgt.context;
  src.effective : dateTime as vs -> tgt.effective = create("dateTime") as vt then dateTime(vs, vt);
  src.effective : Period as vs -> tgt.effective = create("Period") as vt then Period(vs, vt);
  src.date -> tgt.date;
  src.assessor -> tgt.assessor;
  src.previous -> tgt.previous;
  src.problem -> tgt.problem;
  src.investigation as vs0 -> tgt.investigation as vt0 then {
    vs0.code -> vt0.code;
    vs0.item -> vt0.item;
  };
  src.protocol -> tgt.protocol;
  src.summary -> tgt.summary;
  src.finding as vs0 -> tgt.finding as vt0 then {
    vs0.itemCodeableConcept : CodeableConcept as vs -> vt0.item = create("CodeableConcept") as vt then CodeableConcept(vs, vt) "item-CodeableConcept";
    vs0.basis -> vt0.basis;
  };
  src.prognosisCodeableConcept -> tgt.prognosisCodeableConcept;
  src.prognosisReference -> tgt.prognosisReference;
  src.action -> tgt.action;
  src.note -> tgt.note;
}


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