medizininformatik-initiative / kerndatensatzmodul-biobank

0 stars 0 forks source link

Specimen Profil: discriminator path '$this.procedure.coding' stimmt nicht #17

Open miriamroessner opened 8 months ago

miriamroessner commented 8 months ago

FHIR Validator gibt: fatal: Internal logic failure: The instance has multiple elements at 'Bundle.entry[0].resource[0].processing[0]' for the discriminator path '$this.procedure.coding'. Don't know how to handle that. bei Validierung gegen Specimen Profil, obwohl mehrere Codings pro Procedure zulässig sein sollten

Beispiel-Bundle: { "resourceType": "Bundle", "type": "transaction", "entry": [ { "fullUrl": "Specimen/67890", "resource": { "resourceType": "Specimen", "id": "67890", "meta": { "profile": [ "https://www.medizininformatik-initiative.de/fhir/ext/modul-biobank/StructureDefinition/Specimen" ] }, "identifier": [ { "value": "EDTA12345" } ], "status": "available", "type": { "coding": [ { "system": "http://snomed.info/sct", "code": "708049000", "display": "Plasma specimen with ethylenediamine tetraacetic acid (specimen)" } ] }, "subject": { "reference": "Patient/12345", "identifier": { "value": "111111111" } }, "receivedTime": "2022-12-06T14:00:00+01:00", "collection": { "collectedDateTime": "2022-12-06" }, "processing": [ { "extension": [ { "url": "https://www.medizininformatik-initiative.de/fhir/ext/modul-biobank/StructureDefinition/Temperaturbedingungen", "valueRange": { "low": { "value": 20.0, "system": "http://unitsofmeasure.org", "code": "Cel" }, "high": { "value": 27.0, "system": "http://unitsofmeasure.org", "code": "Cel" } } } ], "procedure": { "coding": [ { "system": "http://snomed.info/sct", "code": "73373003", "display": "Specimen centrifugation (procedure)" }, { "system": "http://snomed.info/sct", "code": "911000257109", "display": "Centrifugation at less than 3000g (relative centrifugal force) between 10 and 15 minutes with braking ramp at room temperature between 18 and 28 degrees Celsius" } ] }, "timeDateTime": "2022-12-06T14:37:22+01:00" } ] }, "request": { "method": "PUT", "url": "Specimen/67890" } } ] }

noemide commented 7 months ago

Siehe auch Simplifier Issue: #2461 Beispiel kann nicht erfolgreich validiert werden Das Beispiel ("MusterprobeFluessig") kann nicht gegen Version > 1.5 validiert werden: "Exception : Internal logic failure: The instance has multiple elements at 'Specimen.processing[3]' for the discriminator path '$this.procedure.coding'. Don't know how to handle that."