{"name": "bundle-document-without-custodian", "comment": null, "input": {"file": "fixtures/in/bundle-document-without-custodian.json", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/in/bundle-document-without-custodian.json", "text": "{\n  \"resourceType\": \"Bundle\",\n  \"type\": \"document\",\n  \"entry\": [\n    {\n      \"fullUrl\": \"urn:uuid:9f8e7d6c-5b4a-4c3d-8e2f-1a0b9c8d7e6f\",\n      \"resource\": {\n        \"resourceType\": \"Composition\",\n        \"status\": \"final\",\n        \"type\": {\n          \"coding\": [\n            {\n              \"system\": \"http://loinc.org\",\n              \"code\": \"60591-5\"\n            }\n          ]\n        },\n        \"subject\": {\n          \"reference\": \"urn:uuid:7d1f0c2a-4b6e-4f3a-9c8d-1e2f3a4b5c6d\"\n        },\n        \"date\": \"2026-09-01\",\n        \"author\": [\n          {\n            \"reference\": \"urn:uuid:3a9b8c7d-6e5f-4a1b-9c2d-8e7f6a5b4c3d\"\n          }\n        ],\n        \"title\": \"Patient summary\"\n      }\n    },\n    {\n      \"fullUrl\": \"urn:uuid:7d1f0c2a-4b6e-4f3a-9c8d-1e2f3a4b5c6d\",\n      \"resource\": {\n        \"resourceType\": \"Patient\",\n        \"name\": [\n          {\n            \"family\": \"Okonkwo\",\n            \"given\": [\n              \"Ada\"\n            ]\n          }\n        ],\n        \"gender\": \"female\",\n        \"birthDate\": \"1979-06-02\"\n      }\n    },\n    {\n      \"fullUrl\": \"urn:uuid:4c5d6e7f-8a9b-4c0d-9e1f-2a3b4c5d6e7f\",\n      \"resource\": {\n        \"resourceType\": \"Organization\",\n        \"identifier\": [\n          {\n            \"system\": \"https://kestrel.example/organization-ids\",\n            \"value\": \"KH\"\n          },\n          {\n            \"system\": \"http://hl7.org/fhir/sid/us-npi\",\n            \"value\": \"1234567893\"\n          }\n        ],\n        \"name\": \"Kestrel Harbor Hospital\",\n        \"address\": [\n          {\n            \"line\": [\n              \"1200 Harbor Way\",\n              \"Building C\"\n            ],\n            \"city\": \"Kestrel Harbor\",\n            \"state\": \"WA\",\n            \"postalCode\": \"98000\",\n            \"country\": \"US\"\n          }\n        ]\n      }\n    },\n    {\n      \"fullUrl\": \"urn:uuid:3a9b8c7d-6e5f-4a1b-9c2d-8e7f6a5b4c3d\",\n      \"resource\": {\n        \"resourceType\": \"Practitioner\",\n        \"name\": [\n          {\n            \"family\": \"Lindqvist\",\n            \"given\": [\n              \"Maya\"\n            ]\n          }\n        ]\n      }\n    },\n    {\n      \"fullUrl\": \"urn:uuid:0e4c8b6a-2d1f-4a3b-8c5d-6e7f8a9b0c1d\",\n      \"resource\": {\n        \"resourceType\": \"Condition\",\n        \"code\": {\n          \"coding\": [\n            {\n              \"system\": \"http://snomed.info/sct\",\n              \"code\": \"38341003\",\n              \"display\": \"Hypertensive disorder\"\n            }\n          ],\n          \"text\": \"Hypertension\"\n        },\n        \"subject\": {\n          \"reference\": \"urn:uuid:7d1f0c2a-4b6e-4f3a-9c8d-1e2f3a4b5c6d\"\n        }\n      }\n    }\n  ]\n}\n"}, "expectedGraph": {"file": "fixtures/expected/bundle-document-without-custodian.ttl", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/expected/bundle-document-without-custodian.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;fAocsOJMNZekGHplOtGg5sn1tiMDDo8M_chKu2mKwSY> foaf:familyName \"Okonkwo\" ;\n\tfoaf:givenName \"Ada\" ;\n\tcascade:dateOfBirth \"1979-06-02\"^^xsd:date ;\n\tcascade:administrativeGender \"female\" .\n<urn:uuid:4036d3b7-5999-8d97-986a-7d2ff9556dec> a cascade:PatientProfile .\n<ni:///sha-256;fAocsOJMNZekGHplOtGg5sn1tiMDDo8M_chKu2mKwSY> prov:specializationOf <urn:uuid:4036d3b7-5999-8d97-986a-7d2ff9556dec> .\n_:bc5b959650aad0369df634bcd096fe9b bridge:arrivedAs <ni:///sha-256;fAocsOJMNZekGHplOtGg5sn1tiMDDo8M_chKu2mKwSY> ;\n\toa:hasSelector _:f83781d74bb11e0c0b509c2a44ad1cdc ;\n\toa:hasSource <ni:///sha-256;XOOp1dJtBhOdoCk02M6ORdIy3vAFWqcR44AhzvPYays> ;\n\tprov:wasDerivedFrom <ni:///sha-256;XOOp1dJtBhOdoCk02M6ORdIy3vAFWqcR44AhzvPYays> ;\n\tprov:wasGeneratedBy _:b42ee44ab85a6299ff21586aecb6c029 .\n_:f83781d74bb11e0c0b509c2a44ad1cdc a oa:FragmentSelector ;\n\tdct:conformsTo <https://www.rfc-editor.org/rfc/rfc6901> ;\n\trdf:value \"/entry/1\" .\n<ni:///sha-256;PjSSk41ahOtD9aSCwmlGvDqsPWe7FRQOcCgCKQMy3dY> cascade:conditionName \"Hypertension\" ;\n\tcascade:conditionCode <http://snomed.info/id/38341003> .\n<urn:uuid:bed4a225-6c03-8ef0-a5c0-b4abd8d640f7> a cascade:ProblemOrDiagnosis .\n<ni:///sha-256;PjSSk41ahOtD9aSCwmlGvDqsPWe7FRQOcCgCKQMy3dY> prov:specializationOf <urn:uuid:bed4a225-6c03-8ef0-a5c0-b4abd8d640f7> ;\n\tcascade:patient <urn:uuid:4036d3b7-5999-8d97-986a-7d2ff9556dec> .\n_:d84d25cf9006103c8e41d5548f079d2c bridge:arrivedAs <ni:///sha-256;PjSSk41ahOtD9aSCwmlGvDqsPWe7FRQOcCgCKQMy3dY> ;\n\toa:hasSelector _:a68a8f006e1d1f97a3609ab7e54fa7b9 ;\n\toa:hasSource <ni:///sha-256;XOOp1dJtBhOdoCk02M6ORdIy3vAFWqcR44AhzvPYays> ;\n\tprov:wasDerivedFrom <ni:///sha-256;XOOp1dJtBhOdoCk02M6ORdIy3vAFWqcR44AhzvPYays> ;\n\tprov:wasGeneratedBy _:b42ee44ab85a6299ff21586aecb6c029 .\n_:a68a8f006e1d1f97a3609ab7e54fa7b9 a oa:FragmentSelector ;\n\tdct:conformsTo <https://www.rfc-editor.org/rfc/rfc6901> ;\n\trdf:value \"/entry/4\" .\n<ni:///sha-256;XOOp1dJtBhOdoCk02M6ORdIy3vAFWqcR44AhzvPYays> pav:retrievedOn \"2026-09-01T10:00:00Z\"^^xsd:dateTime ;\n\tprov:wasGeneratedBy _:8748902444e33fb895a3907f11284fd ;\n\tprov:wasAttributedTo _:a2f2a098a007c3eb1c64b09d0405fd72 ;\n\tcascade:authenticatedPatient \"Patient/eM5vN8qTz2Hc4Rk7Jw0Pb3\" ;\n\tcascade:authenticatedAsProxy false ;\n\tcascade:sourceFormatVersion \"4.0.1\" .\n_:1ea41203a38cdfc784edae0816466607 prov:agent _:a2f2a098a007c3eb1c64b09d0405fd72 ;\n\tprov:hadRole cascade:AuthorRole .\n_:8748902444e33fb895a3907f11284fd prov:qualifiedAssociation _:1ea41203a38cdfc784edae0816466607 .\n_:5b653e0657531c68d737935e61c72238 prov:agent _:c97d021625e318237aeb42f8e5d11b3a ;\n\tprov:hadRole cascade:TransmitterRole .\n_:8748902444e33fb895a3907f11284fd prov:qualifiedAssociation _:5b653e0657531c68d737935e61c72238 .\n_:a2f2a098a007c3eb1c64b09d0405fd72 <http://www.w3.org/2000/01/rdf-schema#label> \"Meridian Health System\" .\n_:c97d021625e318237aeb42f8e5d11b3a <http://www.w3.org/2000/01/rdf-schema#label> \"Apple Health\" .\n_:b42ee44ab85a6299ff21586aecb6c029 <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;XOOp1dJtBhOdoCk02M6ORdIy3vAFWqcR44AhzvPYays> a prov:Entity .\n_:b42ee44ab85a6299ff21586aecb6c029 a prov:Activity ;\n\tprov:used <ni:///sha-256;XOOp1dJtBhOdoCk02M6ORdIy3vAFWqcR44AhzvPYays> ;\n\tprov:qualifiedAssociation _:f5e34d44de611411fcf01c2cac0bb8e0 .\n_:f5e34d44de611411fcf01c2cac0bb8e0 prov:hadPlan _:e4b630bf2c0d8c95fa3fad0748e570de .\n_:e4b630bf2c0d8c95fa3fad0748e570de a prov:Plan ;\n\t<http://www.w3.org/2000/01/rdf-schema#label> \"fhir-r4\" ;\n\tpav:version \"0.1.0\" .\n_:f5e34d44de611411fcf01c2cac0bb8e0 prov:agent _:d83db4c8f6452a12c9e4567bbbc894fa .\n_:d83db4c8f6452a12c9e4567bbbc894fa 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/bundle-document-without-custodian.ttl", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/findings/bundle-document-without-custodian.ttl", "text": "@prefix fhirr4: <https://ns.cascadeprotocol.org/adapter/fhir-r4/v1-draft#> .\n@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .\n@prefix sh: <http://www.w3.org/ns/shacl#> .\n@prefix oa: <http://www.w3.org/ns/oa#> .\n_:a20333417f4ded20e2562456fd9284c2 a oa:FragmentSelector ;\n\t<http://purl.org/dc/terms/conformsTo> <https://www.rfc-editor.org/rfc/rfc6901> ;\n\trdf:value \"/entry/0\" .\n_:f25f9f681cb8c446a6df3b94c267edde oa:hasSource <../in/bundle-document-without-custodian.json> .\n_:a20333417f4ded20e2562456fd9284c2 oa:refinedBy _:ede67a17b8be732320c100f64542b849 .\n_:ede67a17b8be732320c100f64542b849 a oa:FragmentSelector ;\n\t<http://purl.org/dc/terms/conformsTo> <https://www.rfc-editor.org/rfc/rfc6901> ;\n\trdf:value \"/resource/resourceType\" .\n_:f25f9f681cb8c446a6df3b94c267edde oa:hasSelector _:a20333417f4ded20e2562456fd9284c2 .\n_:e6cc405ae872d36ad344e61059d780de oa:hasTarget _:f25f9f681cb8c446a6df3b94c267edde ;\n\tsh:resultSeverity sh:Warning ;\n\ta oa:Annotation ;\n\toa:hasBody fhirr4:resourceTypeNotMapped ;\n\toa:motivatedBy oa:classifying ;\n\tsh:value \"Composition\" .\n_:dded3d8de6a72ed3696dd363cc451e92 a oa:FragmentSelector ;\n\t<http://purl.org/dc/terms/conformsTo> <https://www.rfc-editor.org/rfc/rfc6901> ;\n\trdf:value \"/entry/2\" .\n_:f16609850dc6676b212d7ac47f76d1a7 oa:hasSource <../in/bundle-document-without-custodian.json> .\n_:dded3d8de6a72ed3696dd363cc451e92 oa:refinedBy _:f97ddaf541d3222fd4b9433fb8b18510 .\n_:f97ddaf541d3222fd4b9433fb8b18510 a oa:FragmentSelector ;\n\t<http://purl.org/dc/terms/conformsTo> <https://www.rfc-editor.org/rfc/rfc6901> ;\n\trdf:value \"/resource/resourceType\" .\n_:f16609850dc6676b212d7ac47f76d1a7 oa:hasSelector _:dded3d8de6a72ed3696dd363cc451e92 .\n_:ac169b96146ce82c69d71d40b57f2647 oa:hasTarget _:f16609850dc6676b212d7ac47f76d1a7 ;\n\tsh:resultSeverity sh:Warning ;\n\ta oa:Annotation ;\n\toa:hasBody fhirr4:resourceTypeNotMapped ;\n\toa:motivatedBy oa:classifying ;\n\tsh:value \"Organization\" .\n_:fed008bbaf6fdc97e4ef9e9f0f319664 a oa:FragmentSelector ;\n\t<http://purl.org/dc/terms/conformsTo> <https://www.rfc-editor.org/rfc/rfc6901> ;\n\trdf:value \"/entry/3\" .\n_:df6065890483e4cb76527e92bf85e899 oa:hasSource <../in/bundle-document-without-custodian.json> .\n_:fed008bbaf6fdc97e4ef9e9f0f319664 oa:refinedBy _:e361af53c2ba35d3cdfc9cb045cc8361 .\n_:e361af53c2ba35d3cdfc9cb045cc8361 a oa:FragmentSelector ;\n\t<http://purl.org/dc/terms/conformsTo> <https://www.rfc-editor.org/rfc/rfc6901> ;\n\trdf:value \"/resource/resourceType\" .\n_:df6065890483e4cb76527e92bf85e899 oa:hasSelector _:fed008bbaf6fdc97e4ef9e9f0f319664 .\n_:a49187cb23a545d41dba1651deace522 oa:hasTarget _:df6065890483e4cb76527e92bf85e899 ;\n\tsh:resultSeverity sh:Warning ;\n\ta oa:Annotation ;\n\toa:hasBody fhirr4:resourceTypeNotMapped ;\n\toa:motivatedBy oa:classifying ;\n\tsh:value \"Practitioner\" .\n", "empty": false}}