Closed juliangruendner closed 1 week ago
The UI renders a broken JSON representation of resources.
Specifically arrays are missing the “," between the items in the array.
Example
IS:
"category": [ { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/observation-category", "code": "laboratory", "display": "Laboratory" } { "system": "http://loinc.org", "code": "26436-6", "display": "Laboratory studies (set)" } ] } ]
SHOULD:
"category": [ { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/observation-category", "code": "laboratory", "display": "Laboratory" }, { "system": "http://loinc.org", "code": "26436-6", "display": "Laboratory studies (set)" } ] } ]
Full example resource as input:
{ "resourceType": "Observation", "id": "VHF-MIXED-TEST-CASE-0001-a-E-1-OL-1", "meta": { "versionId": "12002", "lastUpdated": "2024-06-18T07:33:25.359Z", "profile": [ "https://www.medizininformatik-initiative.de/fhir/core/modul-labor/StructureDefinition/ObservationLab" ] }, "identifier": [ { "type": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/v2-0203", "code": "OBI" } ] }, "system": "https://VHFMIXEDTESTCASEA.de/befund", "value": "VHF-MIXED-TEST-CASE-0001-a-E-1-OL-1", "assigner": { "identifier": { "system": "https://www.medizininformatik-initiative.de/fhir/core/NamingSystem/org-identifier", "value": "VHFMIXEDTESTCASEA" } } } ], "status": "final", "category": [ { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/observation-category", "code": "laboratory", "display": "Laboratory" }, { "system": "http://loinc.org", "code": "26436-6", "display": "Laboratory studies (set)" } ] } ], "code": { "coding": [ { "system": "http://loinc.org", "code": "33762-6" } ], "text": "NT-proBNP SerPl-mCnc" }, "subject": { "reference": "Patient/VHF-MIXED-TEST-CASE-0001-a" }, "encounter": { "reference": "Encounter/VHF-MIXED-TEST-CASE-0001-a-E-1" }, "effectiveDateTime": "2021-01-01T01:11:00+01:00", "valueQuantity": { "value": 111.11, "unit": "picogram per milliliter", "system": "http://unitsofmeasure.org", "code": "pg/mL" } }
The UI renders a broken JSON representation of resources.
Specifically arrays are missing the “," between the items in the array.
Example
IS:
SHOULD:
Full example resource as input: