Outburn-IL / IL-DGMC-IG

FHIR Package for the Israeli Division of Governmental Medical Centers
0 stars 3 forks source link

Encounter Chameleon #13

Closed AlexBaumberg closed 3 months ago

AlexBaumberg commented 3 months ago

Attached is an example used for validation.

Validation exceptions: Encounter CML.txt

{ "resourceType": "OperationOutcome", "issue": [ { "severity": "error", "code": "invalid", "diagnostics": "5001", "details": { "text": "Wrong whitespace in Display Name 'קבלה' for http://fhir.dgmc.health.gov.il/CodeSystem/cml-medical-record-type#2. Valid display is 'קבלה ' (for the language(s) '--')" }, "expression": [ "Encounter.identifier[1].type.coding[0].display" ] }, { "severity": "error", "code": "invalid", "diagnostics": "5001", "details": { "text": "Wrong whitespace in Display Name 'קבלה' for http://fhir.dgmc.health.gov.il/CodeSystem/cml-medical-record-type#2. Valid display is 'קבלה ' (for the language(s) '--')" }, "expression": [ "Encounter.type[0].coding[0].display" ] }, { "severity": "error", "code": "structure", "diagnostics": "5001", "details": { "text": "Encounter.identifier:cml-medical-record: max allowed = 1, but found 2 (from http://fhir.health.gov.il/StructureDefinition/dgmc-encounter-cml|0.1.3)" }, "expression": [ "Encounter" ] }, { "severity": "error", "code": "structure", "diagnostics": "5001", "details": { "text": "Slice 'Encounter.type:cml-medical-record-type': a matching slice is required, but not found (from http://fhir.health.gov.il/StructureDefinition/dgmc-encounter-cml|0.1.3). Note that other slices are allowed in addition to this required slice" }, "expression": [ "Encounter" ] } ] }

mechanik-daniel commented 3 months ago

Validation passes after my previous round of corrections