{"name": "patient-gender-absent-for-reason", "comment": "A Patient with no gender whose _gender carries the data-absent-reason extension asked-declined: the version states no gender and a cascade:ValueAbsentForReason node naming cascade:administrativeGender with that reason.", "input": {"file": "fixtures/in/patient-gender-absent-for-reason.json", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/in/patient-gender-absent-for-reason.json", "text": "{\n  \"resourceType\": \"Patient\",\n  \"name\": [\n    {\n      \"family\": \"Quill\",\n      \"given\": [\n        \"Sasha\"\n      ]\n    }\n  ],\n  \"_gender\": {\n    \"extension\": [\n      {\n        \"url\": \"http://hl7.org/fhir/StructureDefinition/data-absent-reason\",\n        \"valueCode\": \"asked-declined\"\n      }\n    ]\n  },\n  \"birthDate\": \"1990-06-30\"\n}\n"}, "expectedGraph": {"file": "fixtures/expected/patient-gender-absent-for-reason.ttl", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/expected/patient-gender-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 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;Rf6TtIj9CXvpspdpH9w3g4gyBb59kR4yDNyB8mBAgYQ> cascade:valueAbsentForReason <ni:///sha-256;Rf6TtIj9CXvpspdpH9w3g4gyBb59kR4yDNyB8mBAgYQ#absent-administrativeGender> .\n<ni:///sha-256;Rf6TtIj9CXvpspdpH9w3g4gyBb59kR4yDNyB8mBAgYQ#absent-administrativeGender> cascade:absentValueProperty cascade:administrativeGender ;\n\tcascade:absentReasonCode <https://ns.cascadeprotocol.org/codes/data-absent-reason/asked-declined> .\n<ni:///sha-256;Rf6TtIj9CXvpspdpH9w3g4gyBb59kR4yDNyB8mBAgYQ> foaf:familyName \"Quill\" ;\n\tfoaf:givenName \"Sasha\" ;\n\tcascade:dateOfBirth \"1990-06-30\"^^xsd:date .\n<urn:uuid:922d554e-1f5f-88d4-a5db-64dcbda024e4> a cascade:PatientProfile .\n<ni:///sha-256;Rf6TtIj9CXvpspdpH9w3g4gyBb59kR4yDNyB8mBAgYQ> prov:specializationOf <urn:uuid:922d554e-1f5f-88d4-a5db-64dcbda024e4> .\n_:7c8304f7dc8f922c20316a1d45ae5c6e bridge:arrivedAs <ni:///sha-256;Rf6TtIj9CXvpspdpH9w3g4gyBb59kR4yDNyB8mBAgYQ> ;\n\toa:hasSelector _:1b14a6d2a7626efaaa30377128c7e9d1 ;\n\toa:hasSource <ni:///sha-256;R4bYdrcLugpcxymI8wm108BNKYrCBs--LDH3YMOBZ3E> ;\n\tprov:wasDerivedFrom <ni:///sha-256;R4bYdrcLugpcxymI8wm108BNKYrCBs--LDH3YMOBZ3E> ;\n\tprov:wasGeneratedBy _:6d427bea4335865bd1fb71a6829919a2 .\n_:1b14a6d2a7626efaaa30377128c7e9d1 a oa:FragmentSelector ;\n\tdct:conformsTo <https://www.rfc-editor.org/rfc/rfc6901> ;\n\trdf:value \"\" .\n<ni:///sha-256;R4bYdrcLugpcxymI8wm108BNKYrCBs--LDH3YMOBZ3E> cascade:serverBaseUrl \"https://fhir.meridian.example/api/FHIR/R4\" ;\n\tpav:retrievedOn \"2026-09-01T10:00:00Z\"^^xsd:dateTime ;\n\tprov:wasGeneratedBy _:100e8a8bcadce2db3ae821e4cfac566e ;\n\tprov:wasAttributedTo _:fcd73ca18acdaf8c50b1e8ec81e31155 ;\n\tcascade:authenticatedPatient \"Patient/eM5vN8qTz2Hc4Rk7Jw0Pb3\" ;\n\tcascade:authenticatedAsProxy false ;\n\tcascade:sourceFormatVersion \"4.0.1\" .\n_:40345afd6cad7e6a59035e82e9f78ca2 prov:agent _:fcd73ca18acdaf8c50b1e8ec81e31155 ;\n\tprov:hadRole cascade:AuthorRole .\n_:100e8a8bcadce2db3ae821e4cfac566e prov:qualifiedAssociation _:40345afd6cad7e6a59035e82e9f78ca2 .\n_:772306673095cf603c25c6777e04bc0b prov:agent _:4dfeaeaa3fdf48be010b742e935eb928 ;\n\tprov:hadRole cascade:TransmitterRole .\n_:100e8a8bcadce2db3ae821e4cfac566e prov:qualifiedAssociation _:772306673095cf603c25c6777e04bc0b .\n_:fcd73ca18acdaf8c50b1e8ec81e31155 <http://www.w3.org/2000/01/rdf-schema#label> \"Meridian Health System\" .\n_:4dfeaeaa3fdf48be010b742e935eb928 <http://www.w3.org/2000/01/rdf-schema#label> \"Apple Health\" .\n_:6d427bea4335865bd1fb71a6829919a2 <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;R4bYdrcLugpcxymI8wm108BNKYrCBs--LDH3YMOBZ3E> a prov:Entity .\n_:6d427bea4335865bd1fb71a6829919a2 a prov:Activity ;\n\tprov:used <ni:///sha-256;R4bYdrcLugpcxymI8wm108BNKYrCBs--LDH3YMOBZ3E> ;\n\tprov:qualifiedAssociation _:278c6de90fd80350dec1370ced2b177c .\n_:278c6de90fd80350dec1370ced2b177c prov:hadPlan _:cd497eda44f459624041ecf43cec1a40 .\n_:cd497eda44f459624041ecf43cec1a40 a prov:Plan ;\n\t<http://www.w3.org/2000/01/rdf-schema#label> \"fhir-r4\" ;\n\tpav:version \"0.1.0\" .\n_:278c6de90fd80350dec1370ced2b177c prov:agent _:e56566092715a9781de5b843cb8b348f .\n_:e56566092715a9781de5b843cb8b348f 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-gender-absent-for-reason.ttl", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/findings/patient-gender-absent-for-reason.ttl", "text": "", "empty": true}}