{"name": "condition-real-code-beside-absent-reason-coding", "comment": "A Condition whose code has an ICD-10-CM coding and a coding in FHIR's data-absent-reason, unknown: the ICD-10-CM code is the one cascade:conditionCode, and the version has no #absent-conditionCode node.", "input": {"file": "fixtures/in/condition-real-code-beside-absent-reason-coding.json", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/in/condition-real-code-beside-absent-reason-coding.json", "text": "{\n  \"resourceType\": \"Condition\",\n  \"id\": \"cond-asthma-1\",\n  \"code\": {\n    \"coding\": [\n      {\n        \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\n        \"code\": \"J45.909\",\n        \"display\": \"Unspecified asthma, uncomplicated\"\n      },\n      {\n        \"system\": \"http://terminology.hl7.org/CodeSystem/data-absent-reason\",\n        \"code\": \"unknown\",\n        \"display\": \"Unknown\"\n      }\n    ],\n    \"text\": \"Asthma\"\n  },\n  \"subject\": {\n    \"reference\": \"Patient/pat-conformance-1\"\n  },\n  \"onsetDateTime\": \"2025-03-27\"\n}\n"}, "expectedGraph": {"file": "fixtures/expected/condition-real-code-beside-absent-reason-coding.ttl", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/expected/condition-real-code-beside-absent-reason-coding.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;5p9bwHrSjwR5TUYNf6Lt3yXuOOrRrZrQMK8PFMUM9Q8> cascade:conditionName \"Asthma\" ;\n\tcascade:conditionCode <https://ns.cascadeprotocol.org/codes/icd10cm/J45.909> ;\n\tcascade:onsetDate \"2025-03-27\"^^xsd:date .\n<urn:uuid:162e441d-bd1f-8a64-8f12-dbbaadb4fa6d> a cascade:ProblemOrDiagnosis ;\n\tcascade:sourceUrl <https://fhir.meridian.example/api/FHIR/R4/Condition/cond-asthma-1> ;\n\tcascade:sourceRecordId \"cond-asthma-1\" .\n<ni:///sha-256;5p9bwHrSjwR5TUYNf6Lt3yXuOOrRrZrQMK8PFMUM9Q8> prov:specializationOf <urn:uuid:162e441d-bd1f-8a64-8f12-dbbaadb4fa6d> ;\n\tcascade:patient <urn:uuid:7883c5a4-6c61-837c-9bf7-dbe1b37d89ff> .\n_:fecab12a9f28dc6068ea6129ddff3f71 bridge:arrivedAs <ni:///sha-256;5p9bwHrSjwR5TUYNf6Lt3yXuOOrRrZrQMK8PFMUM9Q8> ;\n\toa:hasSelector _:f35758d93f3ce317bf39dd7d8cc6960f ;\n\toa:hasSource <ni:///sha-256;cK_Ur3at81j-xlv-nB-xDnzqikiCWTTpSx7Hxx8kYJU> ;\n\tprov:wasDerivedFrom <ni:///sha-256;cK_Ur3at81j-xlv-nB-xDnzqikiCWTTpSx7Hxx8kYJU> ;\n\tprov:wasGeneratedBy _:ec9c39a9f5a9cc5a9036ab4a9208a704 .\n_:f35758d93f3ce317bf39dd7d8cc6960f a oa:FragmentSelector ;\n\tdct:conformsTo <https://www.rfc-editor.org/rfc/rfc6901> ;\n\trdf:value \"\" .\n<ni:///sha-256;cK_Ur3at81j-xlv-nB-xDnzqikiCWTTpSx7Hxx8kYJU> cascade:serverBaseUrl \"https://fhir.meridian.example/api/FHIR/R4\" ;\n\tpav:retrievedOn \"2026-09-01T10:00:00Z\"^^xsd:dateTime ;\n\tprov:wasGeneratedBy _:8fb6b8c9449dc0be966785d49e881d70 ;\n\tprov:wasAttributedTo _:51e3a3b935ac79471c55859ad0ee1e0f ;\n\tcascade:authenticatedPatient \"Patient/eM5vN8qTz2Hc4Rk7Jw0Pb3\" ;\n\tcascade:authenticatedAsProxy false ;\n\tcascade:sourceFormatVersion \"4.0.1\" .\n_:f1eff696882d73c56f1f3f98b4fd596d prov:agent _:51e3a3b935ac79471c55859ad0ee1e0f ;\n\tprov:hadRole cascade:AuthorRole .\n_:8fb6b8c9449dc0be966785d49e881d70 prov:qualifiedAssociation _:f1eff696882d73c56f1f3f98b4fd596d .\n_:2c0e89c1d465023ca0f70251a3612938 prov:agent _:3bc760f68a1654eb261c79f47c98b2c8 ;\n\tprov:hadRole cascade:TransmitterRole .\n_:8fb6b8c9449dc0be966785d49e881d70 prov:qualifiedAssociation _:2c0e89c1d465023ca0f70251a3612938 .\n_:51e3a3b935ac79471c55859ad0ee1e0f <http://www.w3.org/2000/01/rdf-schema#label> \"Meridian Health System\" .\n_:3bc760f68a1654eb261c79f47c98b2c8 <http://www.w3.org/2000/01/rdf-schema#label> \"Apple Health\" .\n_:ec9c39a9f5a9cc5a9036ab4a9208a704 <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;cK_Ur3at81j-xlv-nB-xDnzqikiCWTTpSx7Hxx8kYJU> a prov:Entity .\n_:ec9c39a9f5a9cc5a9036ab4a9208a704 a prov:Activity ;\n\tprov:used <ni:///sha-256;cK_Ur3at81j-xlv-nB-xDnzqikiCWTTpSx7Hxx8kYJU> ;\n\tprov:qualifiedAssociation _:26364ac1b941a6824dc6d63b21e9cb4 .\n_:26364ac1b941a6824dc6d63b21e9cb4 prov:hadPlan _:f87b4446c374ae9c38e141a726cbe553 .\n_:f87b4446c374ae9c38e141a726cbe553 a prov:Plan ;\n\t<http://www.w3.org/2000/01/rdf-schema#label> \"fhir-r4\" ;\n\tpav:version \"0.1.0\" .\n_:26364ac1b941a6824dc6d63b21e9cb4 prov:agent _:5bdc5dc15350ee598d5ad83de88c0aba .\n_:5bdc5dc15350ee598d5ad83de88c0aba 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-real-code-beside-absent-reason-coding.ttl", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/findings/condition-real-code-beside-absent-reason-coding.ttl", "text": "", "empty": true}}