{"name": "patient-deceased-date", "comment": "A Patient whose deceasedDateTime is a day: the version states cascade:deceased true and the day as its cascade:dateOfDeath, an xsd:date, beside its gender.", "input": {"file": "fixtures/in/patient-deceased-date.json", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/in/patient-deceased-date.json", "text": "{\n  \"resourceType\": \"Patient\",\n  \"name\": [\n    {\n      \"family\": \"Hale\",\n      \"given\": [\n        \"Edmund\"\n      ]\n    }\n  ],\n  \"gender\": \"male\",\n  \"birthDate\": \"1941-07-02\",\n  \"deceasedDateTime\": \"2024-03-15\"\n}\n"}, "expectedGraph": {"file": "fixtures/expected/patient-deceased-date.ttl", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/expected/patient-deceased-date.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 foaf: <http://xmlns.com/foaf/0.1/> .\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;f2NVLzXAIdp36QteEk_6jXoKwXM2MOWIvpTEa0I9hOw> foaf:familyName \"Hale\" ;\n\tfoaf:givenName \"Edmund\" ;\n\tcascade:dateOfBirth \"1941-07-02\"^^xsd:date ;\n\tcascade:administrativeGender \"male\" ;\n\tcascade:deceased true ;\n\tcascade:dateOfDeath \"2024-03-15\"^^xsd:date .\n<urn:uuid:ea7fe31c-8d4f-8463-a8cc-ad99ee3c153e> a cascade:PatientProfile .\n<ni:///sha-256;f2NVLzXAIdp36QteEk_6jXoKwXM2MOWIvpTEa0I9hOw> prov:specializationOf <urn:uuid:ea7fe31c-8d4f-8463-a8cc-ad99ee3c153e> .\n_:9179c920b4781e2be3c8130599600e9a bridge:arrivedAs <ni:///sha-256;f2NVLzXAIdp36QteEk_6jXoKwXM2MOWIvpTEa0I9hOw> ;\n\toa:hasSelector _:eeae44cf8460baa3681ce88c2c392e03 ;\n\toa:hasSource <ni:///sha-256;zWuuLRvuTz-9bLGjkXw1BflOv548drtgY-Vr6QFyWHQ> ;\n\tprov:wasDerivedFrom <ni:///sha-256;zWuuLRvuTz-9bLGjkXw1BflOv548drtgY-Vr6QFyWHQ> ;\n\tprov:wasGeneratedBy _:6e082f6ed76329f8a9932779b76ac8a5 .\n_:eeae44cf8460baa3681ce88c2c392e03 a oa:FragmentSelector ;\n\tdct:conformsTo <https://www.rfc-editor.org/rfc/rfc6901> ;\n\trdf:value \"\" .\n<ni:///sha-256;zWuuLRvuTz-9bLGjkXw1BflOv548drtgY-Vr6QFyWHQ> cascade:serverBaseUrl \"https://fhir.meridian.example/api/FHIR/R4\" ;\n\tpav:retrievedOn \"2026-09-01T10:00:00Z\"^^xsd:dateTime ;\n\tprov:wasGeneratedBy _:1da448cfc929d9302c6ed3a93d261ede ;\n\tprov:wasAttributedTo _:efba84d41ef991e7303fff71798eb3de ;\n\tcascade:authenticatedPatient \"Patient/eM5vN8qTz2Hc4Rk7Jw0Pb3\" ;\n\tcascade:authenticatedAsProxy false ;\n\tcascade:sourceFormatVersion \"4.0.1\" .\n_:de5b21e1d6a862c8f01f79316b122d8d prov:agent _:efba84d41ef991e7303fff71798eb3de ;\n\tprov:hadRole cascade:AuthorRole .\n_:1da448cfc929d9302c6ed3a93d261ede prov:qualifiedAssociation _:de5b21e1d6a862c8f01f79316b122d8d .\n_:c4034b2b599aa009ff3dd4b6071a97a6 prov:agent _:e51adfea3e850da4380700fd76c7f0ee ;\n\tprov:hadRole cascade:TransmitterRole .\n_:1da448cfc929d9302c6ed3a93d261ede prov:qualifiedAssociation _:c4034b2b599aa009ff3dd4b6071a97a6 .\n_:efba84d41ef991e7303fff71798eb3de <http://www.w3.org/2000/01/rdf-schema#label> \"Meridian Health System\" .\n_:e51adfea3e850da4380700fd76c7f0ee <http://www.w3.org/2000/01/rdf-schema#label> \"Apple Health\" .\n_:6e082f6ed76329f8a9932779b76ac8a5 <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;zWuuLRvuTz-9bLGjkXw1BflOv548drtgY-Vr6QFyWHQ> a prov:Entity .\n_:6e082f6ed76329f8a9932779b76ac8a5 a prov:Activity ;\n\tprov:used <ni:///sha-256;zWuuLRvuTz-9bLGjkXw1BflOv548drtgY-Vr6QFyWHQ> ;\n\tprov:qualifiedAssociation _:80635c781d7eb498a67916bacc37f110 .\n_:80635c781d7eb498a67916bacc37f110 prov:hadPlan _:37010e10c5a0acc0eab65861edaf126b .\n_:37010e10c5a0acc0eab65861edaf126b a prov:Plan ;\n\t<http://www.w3.org/2000/01/rdf-schema#label> \"fhir-r4\" ;\n\tpav:version \"0.1.0\" .\n_:80635c781d7eb498a67916bacc37f110 prov:agent _:6a41beece8f47b53bc61b8a29d7e4841 .\n_:6a41beece8f47b53bc61b8a29d7e4841 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/patient-deceased-date.ttl", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/findings/patient-deceased-date.ttl", "text": "", "empty": true}}