Outburn-IL / IL-DGMC-IG

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

Consultation Request profile #10

Closed AlexBaumberg closed 3 months ago

AlexBaumberg commented 3 months ago

Attached is an example used for validation.

Validation exceptions:

{ "resourceType": "OperationOutcome", "issue": [ { "severity": "error", "code": "value", "diagnostics": "5001", "details": { "text": "Value is 'Organization' but must be 'Practitioner'" }, "expression": [ "ServiceRequest.performer[1].type" ] }, { "severity": "error", "code": "invalid", "diagnostics": "5001", "details": { "text": "Profile http://fhir.dgmc.health.gov.il/StructureDefinition/dgmc-cml-consultation-request|0.1.3, Element matches more than one slice - practitioner, organization" }, "expression": [ "ServiceRequest.performer[0]" ] }, { "severity": "error", "code": "invalid", "diagnostics": "5001", "details": { "text": "Profile http://fhir.dgmc.health.gov.il/StructureDefinition/dgmc-cml-consultation-request|0.1.3, Element matches more than one slice - practitioner, organization" }, "expression": [ "ServiceRequest.performer[1]" ] }, { "severity": "error", "code": "processing", "diagnostics": "5001", "details": { "text": "Slicing cannot be evaluated: Could not match discriminator (1) for slice" }, "expression": [ "ServiceRequest.code.coding[0]" ] }, { "severity": "error", "code": "processing", "diagnostics": "5001", "details": { "text": "Slicing cannot be evaluated: Could not match discriminator (1) for slice" }, "expression": [ "ServiceRequest.code.coding[1]" ] }, { "severity": "error", "code": "structure", "diagnostics": "5001", "details": { "text": "The type 'Organization' is not a valid Target for this element (must be one of" }, "expression": [ "ServiceRequest.performer[1]" ] } ] } ServiceRequest.txt

mechanik-daniel commented 3 months ago

Solved, the slicing was not configured correctly