{"name": "medication-dispense-times-absent-for-reason", "comment": "A MedicationDispense in progress whose time prepared and time handed over are each given by a data-absent-reason extension and no value: each is a cascade:ValueAbsentForReason node of its property, with the reason's code.", "input": {"file": "fixtures/in/medication-dispense-times-absent-for-reason.json", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/in/medication-dispense-times-absent-for-reason.json", "text": "{\n  \"resourceType\": \"MedicationDispense\",\n  \"id\": \"meddisp-atorvastatin-2\",\n  \"status\": \"in-progress\",\n  \"medicationCodeableConcept\": {\n    \"text\": \"Atorvastatin 10 mg tablet\"\n  },\n  \"subject\": {\n    \"reference\": \"Patient/pat-conformance-1\"\n  },\n  \"_whenPrepared\": {\n    \"extension\": [\n      {\n        \"url\": \"http://hl7.org/fhir/StructureDefinition/data-absent-reason\",\n        \"valueCode\": \"asked-unknown\"\n      }\n    ]\n  },\n  \"_whenHandedOver\": {\n    \"extension\": [\n      {\n        \"url\": \"http://hl7.org/fhir/StructureDefinition/data-absent-reason\",\n        \"valueCode\": \"unknown\"\n      }\n    ]\n  }\n}\n"}, "expectedGraph": {"file": "fixtures/expected/medication-dispense-times-absent-for-reason.ttl", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/expected/medication-dispense-times-absent-for-reason.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;L_B80nMgBUAmQ5l7_yrrjEEP6Vanh76-bua24uZzcjM> cascade:valueAbsentForReason <ni:///sha-256;L_B80nMgBUAmQ5l7_yrrjEEP6Vanh76-bua24uZzcjM#absent-dispensePreparedTime> .\n<ni:///sha-256;L_B80nMgBUAmQ5l7_yrrjEEP6Vanh76-bua24uZzcjM#absent-dispensePreparedTime> cascade:absentValueProperty cascade:dispensePreparedTime ;\n\tcascade:absentReasonCode <https://ns.cascadeprotocol.org/codes/data-absent-reason/asked-unknown> .\n<ni:///sha-256;L_B80nMgBUAmQ5l7_yrrjEEP6Vanh76-bua24uZzcjM> cascade:valueAbsentForReason <ni:///sha-256;L_B80nMgBUAmQ5l7_yrrjEEP6Vanh76-bua24uZzcjM#absent-dispenseHandedOverTime> .\n<ni:///sha-256;L_B80nMgBUAmQ5l7_yrrjEEP6Vanh76-bua24uZzcjM#absent-dispenseHandedOverTime> cascade:absentValueProperty cascade:dispenseHandedOverTime ;\n\tcascade:absentReasonCode <https://ns.cascadeprotocol.org/codes/data-absent-reason/unknown> .\n<ni:///sha-256;L_B80nMgBUAmQ5l7_yrrjEEP6Vanh76-bua24uZzcjM> cascade:drugName \"Atorvastatin 10 mg tablet\" ;\n\tcascade:workflowStatus \"in-progress\" .\n<urn:uuid:24240dbf-05fb-8906-bffc-56ac777e176e> a cascade:MedicationDispense ;\n\tcascade:sourceUrl <https://fhir.meridian.example/api/FHIR/R4/MedicationDispense/meddisp-atorvastatin-2> ;\n\tcascade:sourceRecordId \"meddisp-atorvastatin-2\" .\n<ni:///sha-256;L_B80nMgBUAmQ5l7_yrrjEEP6Vanh76-bua24uZzcjM> prov:specializationOf <urn:uuid:24240dbf-05fb-8906-bffc-56ac777e176e> ;\n\tcascade:patient <urn:uuid:7883c5a4-6c61-837c-9bf7-dbe1b37d89ff> .\n_:29709679b5bb3b3da4cafbc473324586 bridge:arrivedAs <ni:///sha-256;L_B80nMgBUAmQ5l7_yrrjEEP6Vanh76-bua24uZzcjM> ;\n\toa:hasSelector _:b6c369bb39875f18beee02d32742885c ;\n\toa:hasSource <ni:///sha-256;MpIE-scLGyjXDS3R6jASDA8U7IELFlCJ_G8aoumPjo4> ;\n\tprov:wasDerivedFrom <ni:///sha-256;MpIE-scLGyjXDS3R6jASDA8U7IELFlCJ_G8aoumPjo4> ;\n\tprov:wasGeneratedBy _:3608f4b6d47847da36e567e555c24488 .\n_:b6c369bb39875f18beee02d32742885c a oa:FragmentSelector ;\n\tdct:conformsTo <https://www.rfc-editor.org/rfc/rfc6901> ;\n\trdf:value \"\" .\n<ni:///sha-256;MpIE-scLGyjXDS3R6jASDA8U7IELFlCJ_G8aoumPjo4> cascade:serverBaseUrl \"https://fhir.meridian.example/api/FHIR/R4\" ;\n\tpav:retrievedOn \"2026-09-01T10:00:00Z\"^^xsd:dateTime ;\n\tprov:wasGeneratedBy _:593eff4486fea55488f366eaf558d49e ;\n\tprov:wasAttributedTo _:1a37b3e00f9c2d6da5c569fd8313df1f ;\n\tcascade:authenticatedPatient \"Patient/eM5vN8qTz2Hc4Rk7Jw0Pb3\" ;\n\tcascade:authenticatedAsProxy false ;\n\tcascade:sourceFormatVersion \"4.0.1\" .\n_:7c9bd66ba6a7991f04a4a3ac5c7e7840 prov:agent _:1a37b3e00f9c2d6da5c569fd8313df1f ;\n\tprov:hadRole cascade:AuthorRole .\n_:593eff4486fea55488f366eaf558d49e prov:qualifiedAssociation _:7c9bd66ba6a7991f04a4a3ac5c7e7840 .\n_:bf5e8e6e57d7ac43127c4f9fff7d7ed7 prov:agent _:8bdf45cbf122203556bf9eb857a95c72 ;\n\tprov:hadRole cascade:TransmitterRole .\n_:593eff4486fea55488f366eaf558d49e prov:qualifiedAssociation _:bf5e8e6e57d7ac43127c4f9fff7d7ed7 .\n_:1a37b3e00f9c2d6da5c569fd8313df1f <http://www.w3.org/2000/01/rdf-schema#label> \"Meridian Health System\" .\n_:8bdf45cbf122203556bf9eb857a95c72 <http://www.w3.org/2000/01/rdf-schema#label> \"Apple Health\" .\n_:3608f4b6d47847da36e567e555c24488 <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;MpIE-scLGyjXDS3R6jASDA8U7IELFlCJ_G8aoumPjo4> a prov:Entity .\n_:3608f4b6d47847da36e567e555c24488 a prov:Activity ;\n\tprov:used <ni:///sha-256;MpIE-scLGyjXDS3R6jASDA8U7IELFlCJ_G8aoumPjo4> ;\n\tprov:qualifiedAssociation _:a1da93be4d728c30496144184cd2d689 .\n_:a1da93be4d728c30496144184cd2d689 prov:hadPlan _:69c229f12c77c8903eb6724931ee6d1a .\n_:69c229f12c77c8903eb6724931ee6d1a a prov:Plan ;\n\t<http://www.w3.org/2000/01/rdf-schema#label> \"fhir-r4\" ;\n\tpav:version \"0.1.0\" .\n_:a1da93be4d728c30496144184cd2d689 prov:agent _:205b6296b6f78b810bf0b52084121291 .\n_:205b6296b6f78b810bf0b52084121291 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/medication-dispense-times-absent-for-reason.ttl", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/findings/medication-dispense-times-absent-for-reason.ttl", "text": "", "empty": true}}