{"name": "bundle-pull-organization", "comment": "An Organization a pull holds is an organization record named by its server and id, stating its source address and id, whose version carries its name, its identifiers, the NPI's OID as the NPI's URI, and its address, and whose arrival carries its version and change time.", "input": {"file": "fixtures/in/bundle-pull-organization.json", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/in/bundle-pull-organization.json", "text": "{\n  \"resourceType\": \"Bundle\",\n  \"type\": \"collection\",\n  \"entry\": [\n    {\n      \"fullUrl\": \"https://fhir.example.org/r4/Organization/org-lab-1\",\n      \"resource\": {\n        \"resourceType\": \"Organization\",\n        \"id\": \"org-lab-1\",\n        \"meta\": {\n          \"versionId\": \"3\",\n          \"lastUpdated\": \"2026-09-30T08:00:00Z\"\n        },\n        \"identifier\": [\n          {\n            \"system\": \"urn:oid:2.16.840.1.113883.4.6\",\n            \"value\": \"1234567893\"\n          },\n          {\n            \"system\": \"https://fhir.example.org/r4/organization-codes\",\n            \"value\": \"LAB-1\"\n          }\n        ],\n        \"name\": \"Example Reference Laboratory\",\n        \"address\": [\n          {\n            \"line\": [\n              \"12 Harbour Road\",\n              \"Suite 4\"\n            ],\n            \"city\": \"Bellingham\",\n            \"state\": \"WA\",\n            \"postalCode\": \"98225\"\n          }\n        ]\n      }\n    }\n  ]\n}\n"}, "expectedGraph": {"file": "fixtures/expected/bundle-pull-organization.ttl", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/expected/bundle-pull-organization.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 org: <http://www.w3.org/ns/org#> .\n@prefix oa: <http://www.w3.org/ns/oa#> .\n@prefix pav: <http://purl.org/pav/> .\n<urn:uuid:240bcd6f-8199-80f4-82c3-97fc9e9d87be> a cascade:Organization ;\n\tcascade:sourceUrl <https://fhir.example.org/r4/Organization/org-lab-1> ;\n\tcascade:sourceRecordId \"org-lab-1\" .\n<ni:///sha-256;GVyeO5I3ekVh92eGsUFM_Tb0mxWLWasq0vB2-MNC_54> prov:specializationOf <urn:uuid:240bcd6f-8199-80f4-82c3-97fc9e9d87be> .\n_:d31f33d9955ab40868fb1520bd7c03a2 bridge:arrivedAs <ni:///sha-256;GVyeO5I3ekVh92eGsUFM_Tb0mxWLWasq0vB2-MNC_54> ;\n\tpav:version \"3\" ;\n\tpav:lastUpdateOn \"2026-09-30T08:00:00Z\"^^xsd:dateTime .\n<ni:///sha-256;GVyeO5I3ekVh92eGsUFM_Tb0mxWLWasq0vB2-MNC_54> foaf:name \"Example Reference Laboratory\" ;\n\torg:identifier \"LAB-1\"^^<https://fhir.example.org/r4/organization-codes> , \"1234567893\"^^<http://hl7.org/fhir/sid/us-npi> ;\n\tcascade:organizationAddress \"12 Harbour Road\\nSuite 4\\nBellingham\\nWA\\n98225\" .\n_:d31f33d9955ab40868fb1520bd7c03a2 oa:hasSelector _:8792dd8fb441f9b0aeaff398bd3e4759 ;\n\toa:hasSource <ni:///sha-256;vD5lDzMXWqXuSdhQH4iWI9r7f5fU2QyLZkUU4qHXXEI> ;\n\tprov:wasDerivedFrom <ni:///sha-256;vD5lDzMXWqXuSdhQH4iWI9r7f5fU2QyLZkUU4qHXXEI> ;\n\tprov:wasGeneratedBy _:5bebb7555dd43d068e40377b45b2b9ef .\n_:8792dd8fb441f9b0aeaff398bd3e4759 a oa:FragmentSelector ;\n\tdct:conformsTo <https://www.rfc-editor.org/rfc/rfc6901> ;\n\trdf:value \"/entry/0\" .\n<ni:///sha-256;vD5lDzMXWqXuSdhQH4iWI9r7f5fU2QyLZkUU4qHXXEI> cascade:serverBaseUrl \"https://fhir.example.org/r4\" ;\n\tpav:retrievedOn \"2026-10-16T09:00:00Z\"^^xsd:dateTime ;\n\tcascade:sourceFormatVersion \"4.0.1\" .\n_:5bebb7555dd43d068e40377b45b2b9ef <http://www.w3.org/2000/01/rdf-schema#label> \"Example hospital pull\" ;\n\tprov:startedAtTime \"2026-10-16T09:00:04Z\"^^xsd:dateTime .\n<ni:///sha-256;vD5lDzMXWqXuSdhQH4iWI9r7f5fU2QyLZkUU4qHXXEI> a prov:Entity .\n_:5bebb7555dd43d068e40377b45b2b9ef a prov:Activity ;\n\tprov:used <ni:///sha-256;vD5lDzMXWqXuSdhQH4iWI9r7f5fU2QyLZkUU4qHXXEI> ;\n\tprov:qualifiedAssociation _:8f998fdae6c1a1852a78650cae8a361 .\n_:8f998fdae6c1a1852a78650cae8a361 prov:hadPlan _:54d55d9328e1b9500d5b469fd7818037 .\n_:54d55d9328e1b9500d5b469fd7818037 a prov:Plan ;\n\t<http://www.w3.org/2000/01/rdf-schema#label> \"fhir-r4\" ;\n\tpav:version \"0.1.0\" .\n_:8f998fdae6c1a1852a78650cae8a361 prov:agent _:18938cfe23c4340daed5f057efed912f .\n_:18938cfe23c4340daed5f057efed912f 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-pull-organization.ttl", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/findings/bundle-pull-organization.ttl", "text": "", "empty": true}}