{"name": "lab-test-code-in-snomed-ct", "comment": "A laboratory Observation coded in SNOMED CT: the code is a cascade:testCode IRI, as a LOINC code is.", "input": {"file": "fixtures/in/lab-test-code-in-snomed-ct.json", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/in/lab-test-code-in-snomed-ct.json", "text": "{\n  \"resourceType\": \"Observation\",\n  \"id\": \"obs-b12-snomed-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://snomed.info/sct\",\n        \"code\": \"271216009\",\n        \"display\": \"Serum vitamin B12 measurement\"\n      }\n    ],\n    \"text\": \"Vitamin B12\"\n  },\n  \"subject\": {\n    \"reference\": \"Patient/pat-conformance-1\"\n  },\n  \"effectiveDateTime\": \"2026-04-14\",\n  \"valueQuantity\": {\n    \"value\": 410,\n    \"unit\": \"pg/mL\",\n    \"system\": \"http://unitsofmeasure.org\",\n    \"code\": \"pg/mL\"\n  }\n}\n"}, "expectedGraph": {"file": "fixtures/expected/lab-test-code-in-snomed-ct.ttl", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/expected/lab-test-code-in-snomed-ct.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;QtXVG6CN52T2-CwdTZv5MjUjuK-qegHMYe61UULmgU0> cascade:testCode <http://snomed.info/id/271216009> ;\n\tcascade:resultQuantity <ni:///sha-256;QtXVG6CN52T2-CwdTZv5MjUjuK-qegHMYe61UULmgU0#value> .\n<ni:///sha-256;QtXVG6CN52T2-CwdTZv5MjUjuK-qegHMYe61UULmgU0#value> cascade:decimalValue \"410\"^^xsd:decimal ;\n\tcascade:writtenValue \"410\" ;\n\tcascade:ucumUnit \"pg/mL\" ;\n\tcascade:unitText \"pg/mL\" .\n<ni:///sha-256;QtXVG6CN52T2-CwdTZv5MjUjuK-qegHMYe61UULmgU0> cascade:testName \"Vitamin B12\" ;\n\tcascade:resultValueKind cascade:QuantityResultValue ;\n\tcascade:resultClinicallyRelevantTime \"2026-04-14\"^^xsd:date ;\n\tcascade:workflowStatus \"final\" .\n<urn:uuid:3cb7fd3a-dedf-893d-9139-adb3df50eae6> a cascade:LaboratoryTestResult ;\n\tcascade:sourceUrl <https://fhir.meridian.example/api/FHIR/R4/Observation/obs-b12-snomed-1> ;\n\tcascade:sourceRecordId \"obs-b12-snomed-1\" .\n<ni:///sha-256;QtXVG6CN52T2-CwdTZv5MjUjuK-qegHMYe61UULmgU0> prov:specializationOf <urn:uuid:3cb7fd3a-dedf-893d-9139-adb3df50eae6> ;\n\tcascade:patient <urn:uuid:7883c5a4-6c61-837c-9bf7-dbe1b37d89ff> .\n_:f457a2ba7415191a9da9470174adedeb bridge:arrivedAs <ni:///sha-256;QtXVG6CN52T2-CwdTZv5MjUjuK-qegHMYe61UULmgU0> ;\n\toa:hasSelector _:211388752118c9c4c91821b3bf371eeb ;\n\toa:hasSource <ni:///sha-256;odCGi8ZwBaM22AP6T1LDZVxnCYscyPYS3d3ZS3vbRFA> ;\n\tprov:wasDerivedFrom <ni:///sha-256;odCGi8ZwBaM22AP6T1LDZVxnCYscyPYS3d3ZS3vbRFA> ;\n\tprov:wasGeneratedBy _:949ccf39ae9cd9667ab0dc8579c29b36 .\n_:211388752118c9c4c91821b3bf371eeb a oa:FragmentSelector ;\n\tdct:conformsTo <https://www.rfc-editor.org/rfc/rfc6901> ;\n\trdf:value \"\" .\n<ni:///sha-256;odCGi8ZwBaM22AP6T1LDZVxnCYscyPYS3d3ZS3vbRFA> cascade:serverBaseUrl \"https://fhir.meridian.example/api/FHIR/R4\" ;\n\tpav:retrievedOn \"2026-09-01T10:00:00Z\"^^xsd:dateTime ;\n\tprov:wasGeneratedBy _:118ea181c7e027450a4f0f747b565a5f ;\n\tprov:wasAttributedTo _:94ebb9c136ab3962ab6e832ff5f4b389 ;\n\tcascade:authenticatedPatient \"Patient/eM5vN8qTz2Hc4Rk7Jw0Pb3\" ;\n\tcascade:authenticatedAsProxy false ;\n\tcascade:sourceFormatVersion \"4.0.1\" .\n_:b9d092903dfd4eb307597db2e2cab633 prov:agent _:94ebb9c136ab3962ab6e832ff5f4b389 ;\n\tprov:hadRole cascade:AuthorRole .\n_:118ea181c7e027450a4f0f747b565a5f prov:qualifiedAssociation _:b9d092903dfd4eb307597db2e2cab633 .\n_:37e145bd13b1d679830e6d6b5b6e070 prov:agent _:bfcdbe81ba8d44cb6a84bc66b890a9f ;\n\tprov:hadRole cascade:TransmitterRole .\n_:118ea181c7e027450a4f0f747b565a5f prov:qualifiedAssociation _:37e145bd13b1d679830e6d6b5b6e070 .\n_:94ebb9c136ab3962ab6e832ff5f4b389 <http://www.w3.org/2000/01/rdf-schema#label> \"Meridian Health System\" .\n_:bfcdbe81ba8d44cb6a84bc66b890a9f <http://www.w3.org/2000/01/rdf-schema#label> \"Apple Health\" .\n_:949ccf39ae9cd9667ab0dc8579c29b36 <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;odCGi8ZwBaM22AP6T1LDZVxnCYscyPYS3d3ZS3vbRFA> a prov:Entity .\n_:949ccf39ae9cd9667ab0dc8579c29b36 a prov:Activity ;\n\tprov:used <ni:///sha-256;odCGi8ZwBaM22AP6T1LDZVxnCYscyPYS3d3ZS3vbRFA> ;\n\tprov:qualifiedAssociation _:ee7e19344450f4e9b57eaf1751f926e9 .\n_:ee7e19344450f4e9b57eaf1751f926e9 prov:hadPlan _:27c04937b7cf596cf542e4039e2f49a5 .\n_:27c04937b7cf596cf542e4039e2f49a5 a prov:Plan ;\n\t<http://www.w3.org/2000/01/rdf-schema#label> \"fhir-r4\" ;\n\tpav:version \"0.1.0\" .\n_:ee7e19344450f4e9b57eaf1751f926e9 prov:agent _:171b8fa596245fad8239475a6caefead .\n_:171b8fa596245fad8239475a6caefead 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-test-code-in-snomed-ct.ttl", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/findings/lab-test-code-in-snomed-ct.ttl", "text": "", "empty": true}}