{"name": "lab-glucose-fasting", "comment": "A laboratory Observation: one lab result, its value written as the source wrote it.", "input": {"file": "fixtures/in/lab-glucose-fasting.json", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/in/lab-glucose-fasting.json", "text": "{\n  \"resourceType\": \"Observation\",\n  \"status\": \"final\",\n  \"category\": [\n    {\n      \"coding\": [\n        {\n          \"system\": \"http://terminology.hl7.org/CodeSystem/observation-category\",\n          \"code\": \"laboratory\"\n        }\n      ]\n    }\n  ],\n  \"code\": {\n    \"coding\": [\n      {\n        \"system\": \"http://loinc.org\",\n        \"code\": \"2339-0\",\n        \"display\": \"Glucose [Mass/volume] in Blood\"\n      }\n    ],\n    \"text\": \"Glucose\"\n  },\n  \"subject\": {\n    \"reference\": \"Patient/pat-conformance-1\"\n  },\n  \"effectiveDateTime\": \"2026-08-02T07:30:00Z\",\n  \"valueQuantity\": {\n    \"value\": 95,\n    \"unit\": \"mg/dL\",\n    \"system\": \"http://unitsofmeasure.org\",\n    \"code\": \"mg/dL\"\n  },\n  \"id\": \"obs-glucose-fasting\"\n}\n"}, "expectedGraph": {"file": "fixtures/expected/lab-glucose-fasting.ttl", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/expected/lab-glucose-fasting.ttl", "text": "@prefix bridge: <https://ns.cascadeprotocol.org/bridge/v1-draft#> .\n@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .\n@prefix cascade: <https://ns.cascadeprotocol.org/cascade#> .\n@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .\n@prefix prov: <http://www.w3.org/ns/prov#> .\n@prefix dct: <http://purl.org/dc/terms/> .\n@prefix dcterms: <http://purl.org/dc/terms/> .\n@prefix oa: <http://www.w3.org/ns/oa#> .\n@prefix pav: <http://purl.org/pav/> .\n<ni:///sha-256;IX-0RNuCJArTn9k1YzQjJ5-Ik8oVzMcJOJO4mfWW8LE> cascade:testCode <http://loinc.org/rdf/2339-0> ;\n\tcascade:resultQuantity <ni:///sha-256;IX-0RNuCJArTn9k1YzQjJ5-Ik8oVzMcJOJO4mfWW8LE#value> .\n<ni:///sha-256;IX-0RNuCJArTn9k1YzQjJ5-Ik8oVzMcJOJO4mfWW8LE#value> cascade:decimalValue \"95\"^^xsd:decimal ;\n\tcascade:writtenValue \"95\" ;\n\tcascade:ucumUnit \"mg/dL\" ;\n\tcascade:unitText \"mg/dL\" .\n<ni:///sha-256;IX-0RNuCJArTn9k1YzQjJ5-Ik8oVzMcJOJO4mfWW8LE> cascade:testName \"Glucose\" ;\n\tcascade:resultValueKind cascade:QuantityResultValue ;\n\tcascade:resultClinicallyRelevantTime \"2026-08-02T07:30:00Z\"^^xsd:dateTime ;\n\tcascade:workflowStatus \"final\" .\n<urn:uuid:b0767641-8448-81a0-9753-f86ecfe0c5a3> a cascade:LaboratoryTestResult ;\n\tcascade:sourceUrl <https://fhir.meridian.example/api/FHIR/R4/Observation/obs-glucose-fasting> ;\n\tcascade:sourceRecordId \"obs-glucose-fasting\" .\n<ni:///sha-256;IX-0RNuCJArTn9k1YzQjJ5-Ik8oVzMcJOJO4mfWW8LE> prov:specializationOf <urn:uuid:b0767641-8448-81a0-9753-f86ecfe0c5a3> ;\n\tcascade:patient <urn:uuid:7883c5a4-6c61-837c-9bf7-dbe1b37d89ff> .\n_:5a84c71c2fe9595ee454fccf317d7356 bridge:arrivedAs <ni:///sha-256;IX-0RNuCJArTn9k1YzQjJ5-Ik8oVzMcJOJO4mfWW8LE> ;\n\toa:hasSelector _:9d9cb9dacbf219ae3d56f6d4aff971a4 ;\n\toa:hasSource <ni:///sha-256;8Liz1eB3suFP3NLPg4Qk39pM5zjqmcwdU18dYCaM2Xw> ;\n\tprov:wasDerivedFrom <ni:///sha-256;8Liz1eB3suFP3NLPg4Qk39pM5zjqmcwdU18dYCaM2Xw> ;\n\tprov:wasGeneratedBy _:cbbcbdafc29df3bf95f5457245d28f26 .\n_:9d9cb9dacbf219ae3d56f6d4aff971a4 a oa:FragmentSelector ;\n\tdct:conformsTo <https://www.rfc-editor.org/rfc/rfc6901> ;\n\trdf:value \"\" .\n<ni:///sha-256;8Liz1eB3suFP3NLPg4Qk39pM5zjqmcwdU18dYCaM2Xw> cascade:serverBaseUrl \"https://fhir.meridian.example/api/FHIR/R4\" ;\n\tpav:retrievedFrom <https://FHIR.Meridian.example/api/FHIR/R4/Observation/obs-glucose-fasting> ;\n\tpav:retrievedOn \"2026-09-01T10:00:00Z\"^^xsd:dateTime ;\n\tprov:wasGeneratedBy _:9520bfe4e19434eac98be98945cbea8f ;\n\tprov:wasAttributedTo _:48c54efc7747000356cd02c097660f3f ;\n\tcascade:authenticatedPatient \"Patient/eM5vN8qTz2Hc4Rk7Jw0Pb3\" ;\n\tcascade:authenticatedAsProxy false ;\n\tcascade:sourceFormatVersion \"4.0.1\" .\n_:ed4c394353c9b201bcf7df3f6221320e prov:agent _:48c54efc7747000356cd02c097660f3f ;\n\tprov:hadRole cascade:AuthorRole .\n_:9520bfe4e19434eac98be98945cbea8f prov:qualifiedAssociation _:ed4c394353c9b201bcf7df3f6221320e .\n_:5ef4a16fb10bd9dd8f0bc346973af522 prov:agent _:b232df2ffdf216daacc5a5d2719311a ;\n\tprov:hadRole cascade:TransmitterRole .\n_:9520bfe4e19434eac98be98945cbea8f prov:qualifiedAssociation _:5ef4a16fb10bd9dd8f0bc346973af522 .\n_:48c54efc7747000356cd02c097660f3f <http://www.w3.org/2000/01/rdf-schema#label> \"Meridian Health System\" .\n_:b232df2ffdf216daacc5a5d2719311a <http://www.w3.org/2000/01/rdf-schema#label> \"Apple Health\" .\n_:cbbcbdafc29df3bf95f5457245d28f26 <http://www.w3.org/2000/01/rdf-schema#label> \"Apple Health export\" ;\n\tprov:startedAtTime \"2026-09-01T10:00:04Z\"^^xsd:dateTime .\n<ni:///sha-256;8Liz1eB3suFP3NLPg4Qk39pM5zjqmcwdU18dYCaM2Xw> a prov:Entity .\n_:cbbcbdafc29df3bf95f5457245d28f26 a prov:Activity ;\n\tprov:used <ni:///sha-256;8Liz1eB3suFP3NLPg4Qk39pM5zjqmcwdU18dYCaM2Xw> ;\n\tprov:qualifiedAssociation _:9d5f44093d7b201c36035ce93a7f75e3 .\n_:9d5f44093d7b201c36035ce93a7f75e3 prov:hadPlan _:3c0e8c9947c0bae0adb5100045190368 .\n_:3c0e8c9947c0bae0adb5100045190368 a prov:Plan ;\n\t<http://www.w3.org/2000/01/rdf-schema#label> \"fhir-r4\" ;\n\tpav:version \"0.1.0\" .\n_:9d5f44093d7b201c36035ce93a7f75e3 prov:agent _:828c84906df25088dc01bb67a79d55a9 .\n_:828c84906df25088dc01bb67a79d55a9 a prov:SoftwareAgent ;\n\t<http://www.w3.org/2000/01/rdf-schema#label> \"Cascade Bridge for Rust\" ;\n\tpav:version \"0.1.0\" .\n"}, "expectedFindings": {"file": "fixtures/findings/lab-glucose-fasting.ttl", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/findings/lab-glucose-fasting.ttl", "text": "", "empty": true}}