{"name": "condition-code-data-absent-reason-extension", "comment": "A Condition whose code has no coding and carries the data-absent-reason extension, unknown: no cascade:conditionCode, and the version's #absent-conditionCode node names the data-absent-reason code unknown as its cascade:absentReasonCode.", "input": {"file": "fixtures/in/condition-code-data-absent-reason-extension.json", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/in/condition-code-data-absent-reason-extension.json", "text": "{\n  \"resourceType\": \"Condition\",\n  \"id\": \"cond-unknown-2\",\n  \"code\": {\n    \"extension\": [\n      {\n        \"url\": \"http://hl7.org/fhir/StructureDefinition/data-absent-reason\",\n        \"valueCode\": \"unknown\"\n      }\n    ],\n    \"text\": \"Unknown problem\"\n  },\n  \"subject\": {\n    \"reference\": \"Patient/pat-conformance-1\"\n  },\n  \"onsetDateTime\": \"2025-03-27\"\n}\n"}, "expectedGraph": {"file": "fixtures/expected/condition-code-data-absent-reason-extension.ttl", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/expected/condition-code-data-absent-reason-extension.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;SVOmCO9G_VIu_asEAF0tIRQyaNp7QFy8XPTh7EFJpRk> cascade:valueAbsentForReason <ni:///sha-256;SVOmCO9G_VIu_asEAF0tIRQyaNp7QFy8XPTh7EFJpRk#absent-conditionCode> .\n<ni:///sha-256;SVOmCO9G_VIu_asEAF0tIRQyaNp7QFy8XPTh7EFJpRk#absent-conditionCode> cascade:absentValueProperty cascade:conditionCode ;\n\tcascade:absentReasonCode <https://ns.cascadeprotocol.org/codes/data-absent-reason/unknown> .\n<ni:///sha-256;SVOmCO9G_VIu_asEAF0tIRQyaNp7QFy8XPTh7EFJpRk> cascade:conditionName \"Unknown problem\" ;\n\tcascade:onsetDate \"2025-03-27\"^^xsd:date .\n<urn:uuid:d58925f6-e80f-8ddd-a9af-27fc0e2ae1d5> a cascade:ProblemOrDiagnosis ;\n\tcascade:sourceUrl <https://fhir.meridian.example/api/FHIR/R4/Condition/cond-unknown-2> ;\n\tcascade:sourceRecordId \"cond-unknown-2\" .\n<ni:///sha-256;SVOmCO9G_VIu_asEAF0tIRQyaNp7QFy8XPTh7EFJpRk> prov:specializationOf <urn:uuid:d58925f6-e80f-8ddd-a9af-27fc0e2ae1d5> ;\n\tcascade:patient <urn:uuid:7883c5a4-6c61-837c-9bf7-dbe1b37d89ff> .\n_:adaf70481601bd0d0b0b21081acbacca bridge:arrivedAs <ni:///sha-256;SVOmCO9G_VIu_asEAF0tIRQyaNp7QFy8XPTh7EFJpRk> ;\n\toa:hasSelector _:d51b51c0efe9dd1f5c1a7ef1d0262b69 ;\n\toa:hasSource <ni:///sha-256;p1-n6onjrku4_2VEFmifNbCRTcr53QGD_woTob4oVME> ;\n\tprov:wasDerivedFrom <ni:///sha-256;p1-n6onjrku4_2VEFmifNbCRTcr53QGD_woTob4oVME> ;\n\tprov:wasGeneratedBy _:fd87d5e37866259be80091b0281741e8 .\n_:d51b51c0efe9dd1f5c1a7ef1d0262b69 a oa:FragmentSelector ;\n\tdct:conformsTo <https://www.rfc-editor.org/rfc/rfc6901> ;\n\trdf:value \"\" .\n<ni:///sha-256;p1-n6onjrku4_2VEFmifNbCRTcr53QGD_woTob4oVME> cascade:serverBaseUrl \"https://fhir.meridian.example/api/FHIR/R4\" ;\n\tpav:retrievedOn \"2026-09-01T10:00:00Z\"^^xsd:dateTime ;\n\tprov:wasGeneratedBy _:186cc48964a1e06e6c85091718ff3510 ;\n\tprov:wasAttributedTo _:cec25c2063b826207bb342571a87497e ;\n\tcascade:authenticatedPatient \"Patient/eM5vN8qTz2Hc4Rk7Jw0Pb3\" ;\n\tcascade:authenticatedAsProxy false ;\n\tcascade:sourceFormatVersion \"4.0.1\" .\n_:3ca0b8ba57da72161c16d2c91330a959 prov:agent _:cec25c2063b826207bb342571a87497e ;\n\tprov:hadRole cascade:AuthorRole .\n_:186cc48964a1e06e6c85091718ff3510 prov:qualifiedAssociation _:3ca0b8ba57da72161c16d2c91330a959 .\n_:7e3b3a8c3cf73f100f18fe247b8f5827 prov:agent _:37cb86c961f0f5f9f30b9439635fd5cc ;\n\tprov:hadRole cascade:TransmitterRole .\n_:186cc48964a1e06e6c85091718ff3510 prov:qualifiedAssociation _:7e3b3a8c3cf73f100f18fe247b8f5827 .\n_:cec25c2063b826207bb342571a87497e <http://www.w3.org/2000/01/rdf-schema#label> \"Meridian Health System\" .\n_:37cb86c961f0f5f9f30b9439635fd5cc <http://www.w3.org/2000/01/rdf-schema#label> \"Apple Health\" .\n_:fd87d5e37866259be80091b0281741e8 <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;p1-n6onjrku4_2VEFmifNbCRTcr53QGD_woTob4oVME> a prov:Entity .\n_:fd87d5e37866259be80091b0281741e8 a prov:Activity ;\n\tprov:used <ni:///sha-256;p1-n6onjrku4_2VEFmifNbCRTcr53QGD_woTob4oVME> ;\n\tprov:qualifiedAssociation _:1aea6b70dd931aa913ce436403851673 .\n_:1aea6b70dd931aa913ce436403851673 prov:hadPlan _:86875793e5e107e44159fd79a0b1ca1a .\n_:86875793e5e107e44159fd79a0b1ca1a a prov:Plan ;\n\t<http://www.w3.org/2000/01/rdf-schema#label> \"fhir-r4\" ;\n\tpav:version \"0.1.0\" .\n_:1aea6b70dd931aa913ce436403851673 prov:agent _:738eb0c2802b1d51446f16b16d07089 .\n_:738eb0c2802b1d51446f16b16d07089 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/condition-code-data-absent-reason-extension.ttl", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/findings/condition-code-data-absent-reason-extension.ttl", "text": "", "empty": true}}