{"name": "lab-urine-leukocytes-range", "comment": "A laboratory Observation whose value is a range: two bounds, each a quantity with its UCUM unit and its display.", "input": {"file": "fixtures/in/lab-urine-leukocytes-range.json", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/in/lab-urine-leukocytes-range.json", "text": "{\n  \"resourceType\": \"Observation\",\n  \"id\": \"obs-urine-wbc-1\",\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\": \"5821-4\",\n        \"display\": \"Leukocytes [#/area] in Urine sediment by Microscopy high power field\"\n      }\n    ],\n    \"text\": \"WBC, urine sediment\"\n  },\n  \"subject\": {\n    \"reference\": \"Patient/pat-conformance-1\"\n  },\n  \"effectiveDateTime\": \"2026-08-03T09:20:00Z\",\n  \"valueRange\": {\n    \"low\": {\n      \"value\": 0,\n      \"unit\": \"/HPF\",\n      \"system\": \"http://unitsofmeasure.org\",\n      \"code\": \"/[HPF]\"\n    },\n    \"high\": {\n      \"value\": 5,\n      \"unit\": \"/HPF\",\n      \"system\": \"http://unitsofmeasure.org\",\n      \"code\": \"/[HPF]\"\n    }\n  }\n}\n"}, "expectedGraph": {"file": "fixtures/expected/lab-urine-leukocytes-range.ttl", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/expected/lab-urine-leukocytes-range.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;64dq8oYjVCBm4D3YrHb9e6ghEV84d2_QcmO6WRLePYM> cascade:testCode <http://loinc.org/rdf/5821-4> ;\n\tcascade:resultValueRangeHigh <ni:///sha-256;64dq8oYjVCBm4D3YrHb9e6ghEV84d2_QcmO6WRLePYM#range-high> .\n<ni:///sha-256;64dq8oYjVCBm4D3YrHb9e6ghEV84d2_QcmO6WRLePYM#range-high> cascade:decimalValue \"5\"^^xsd:decimal ;\n\tcascade:writtenValue \"5\" ;\n\tcascade:ucumUnit \"/[HPF]\" ;\n\tcascade:unitText \"/HPF\" .\n<ni:///sha-256;64dq8oYjVCBm4D3YrHb9e6ghEV84d2_QcmO6WRLePYM> cascade:resultValueRangeLow <ni:///sha-256;64dq8oYjVCBm4D3YrHb9e6ghEV84d2_QcmO6WRLePYM#range-low> .\n<ni:///sha-256;64dq8oYjVCBm4D3YrHb9e6ghEV84d2_QcmO6WRLePYM#range-low> cascade:decimalValue \"0\"^^xsd:decimal ;\n\tcascade:writtenValue \"0\" ;\n\tcascade:ucumUnit \"/[HPF]\" ;\n\tcascade:unitText \"/HPF\" .\n<ni:///sha-256;64dq8oYjVCBm4D3YrHb9e6ghEV84d2_QcmO6WRLePYM> cascade:testName \"WBC, urine sediment\" ;\n\tcascade:resultValueKind cascade:RangeResultValue ;\n\tcascade:resultClinicallyRelevantTime \"2026-08-03T09:20:00Z\"^^xsd:dateTime ;\n\tcascade:workflowStatus \"final\" .\n<urn:uuid:d9897e19-7f6c-853d-a02f-f55c0993361e> a cascade:LaboratoryTestResult ;\n\tcascade:sourceUrl <https://fhir.meridian.example/api/FHIR/R4/Observation/obs-urine-wbc-1> ;\n\tcascade:sourceRecordId \"obs-urine-wbc-1\" .\n<ni:///sha-256;64dq8oYjVCBm4D3YrHb9e6ghEV84d2_QcmO6WRLePYM> prov:specializationOf <urn:uuid:d9897e19-7f6c-853d-a02f-f55c0993361e> ;\n\tcascade:patient <urn:uuid:7883c5a4-6c61-837c-9bf7-dbe1b37d89ff> .\n_:d6ca1a6f5bc03e3fd56e588be3886952 bridge:arrivedAs <ni:///sha-256;64dq8oYjVCBm4D3YrHb9e6ghEV84d2_QcmO6WRLePYM> ;\n\toa:hasSelector _:64462930276d07d0ff34497840562d19 ;\n\toa:hasSource <ni:///sha-256;oUMaOZj8Cd_C_pkCiuC6gkY7SnN5kQkmEpJFfJfG19A> ;\n\tprov:wasDerivedFrom <ni:///sha-256;oUMaOZj8Cd_C_pkCiuC6gkY7SnN5kQkmEpJFfJfG19A> ;\n\tprov:wasGeneratedBy _:37868ecda1519af4330ae9988ce3b5f3 .\n_:64462930276d07d0ff34497840562d19 a oa:FragmentSelector ;\n\tdct:conformsTo <https://www.rfc-editor.org/rfc/rfc6901> ;\n\trdf:value \"\" .\n<ni:///sha-256;oUMaOZj8Cd_C_pkCiuC6gkY7SnN5kQkmEpJFfJfG19A> cascade:serverBaseUrl \"https://fhir.meridian.example/api/FHIR/R4\" ;\n\tpav:retrievedOn \"2026-09-01T10:00:00Z\"^^xsd:dateTime ;\n\tprov:wasGeneratedBy _:a72c7ae6acfb24bc5390f56754d229b9 ;\n\tprov:wasAttributedTo _:ff6aa6bfe80feb9eb60730986be9703b ;\n\tcascade:authenticatedPatient \"Patient/eM5vN8qTz2Hc4Rk7Jw0Pb3\" ;\n\tcascade:authenticatedAsProxy false ;\n\tcascade:sourceFormatVersion \"4.0.1\" .\n_:8e7f83712c0fdc7d27cc5c12b527338b prov:agent _:ff6aa6bfe80feb9eb60730986be9703b ;\n\tprov:hadRole cascade:AuthorRole .\n_:a72c7ae6acfb24bc5390f56754d229b9 prov:qualifiedAssociation _:8e7f83712c0fdc7d27cc5c12b527338b .\n_:8a66444dbd6603f1364a360484d3a9c6 prov:agent _:2151fdd083cc327f7387c227c45e417b ;\n\tprov:hadRole cascade:TransmitterRole .\n_:a72c7ae6acfb24bc5390f56754d229b9 prov:qualifiedAssociation _:8a66444dbd6603f1364a360484d3a9c6 .\n_:ff6aa6bfe80feb9eb60730986be9703b <http://www.w3.org/2000/01/rdf-schema#label> \"Meridian Health System\" .\n_:2151fdd083cc327f7387c227c45e417b <http://www.w3.org/2000/01/rdf-schema#label> \"Apple Health\" .\n_:37868ecda1519af4330ae9988ce3b5f3 <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;oUMaOZj8Cd_C_pkCiuC6gkY7SnN5kQkmEpJFfJfG19A> a prov:Entity .\n_:37868ecda1519af4330ae9988ce3b5f3 a prov:Activity ;\n\tprov:used <ni:///sha-256;oUMaOZj8Cd_C_pkCiuC6gkY7SnN5kQkmEpJFfJfG19A> ;\n\tprov:qualifiedAssociation _:29020c803ff6e35bf8593c2059be8a1d .\n_:29020c803ff6e35bf8593c2059be8a1d prov:hadPlan _:dcd1319256f29bbcd14ddc83a07ab797 .\n_:dcd1319256f29bbcd14ddc83a07ab797 a prov:Plan ;\n\t<http://www.w3.org/2000/01/rdf-schema#label> \"fhir-r4\" ;\n\tpav:version \"0.1.0\" .\n_:29020c803ff6e35bf8593c2059be8a1d prov:agent _:ff130b200cddd9f1f423544371ac6c97 .\n_:ff130b200cddd9f1f423544371ac6c97 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-urine-leukocytes-range.ttl", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/findings/lab-urine-leukocytes-range.ttl", "text": "", "empty": true}}