{"name": "lab-performed-by-an-organization", "comment": "A lab result from a server whose performers are a Practitioner and Organization/org-lab-1 is attributed to that Organization's record on the server, which the document does not hold; the Practitioner is not read.", "input": {"file": "fixtures/in/lab-performed-by-an-organization.json", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/in/lab-performed-by-an-organization.json", "text": "{\n  \"resourceType\": \"Observation\",\n  \"id\": \"obs-potassium-1\",\n  \"status\": \"final\",\n  \"category\": [\n    {\n      \"coding\": [\n        {\n          \"system\": \"http://terminology.hl7.org/CodeSystem/observation-category\",\n          \"code\": \"laboratory\"\n        }\n      ]\n    }\n  ],\n  \"code\": {\n    \"coding\": [\n      {\n        \"system\": \"http://loinc.org\",\n        \"code\": \"2823-3\",\n        \"display\": \"Potassium [Moles/volume] in Serum or Plasma\"\n      }\n    ],\n    \"text\": \"Potassium\"\n  },\n  \"subject\": {\n    \"reference\": \"Patient/pat-1\"\n  },\n  \"effectiveDateTime\": \"2026-09-29T07:30:00Z\",\n  \"performer\": [\n    {\n      \"reference\": \"Practitioner/pr-1\"\n    },\n    {\n      \"reference\": \"Organization/org-lab-1\"\n    }\n  ],\n  \"valueQuantity\": {\n    \"value\": 4.1,\n    \"unit\": \"mmol/L\",\n    \"system\": \"http://unitsofmeasure.org\",\n    \"code\": \"mmol/L\"\n  }\n}\n"}, "expectedGraph": {"file": "fixtures/expected/lab-performed-by-an-organization.ttl", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/expected/lab-performed-by-an-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 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;BAG2ud7ffEPFHJfmEtBZnnagwniZd4onvMTCbJUMGDk> prov:wasAttributedTo <urn:uuid:240bcd6f-8199-80f4-82c3-97fc9e9d87be> ;\n\tcascade:resultQuantity <ni:///sha-256;BAG2ud7ffEPFHJfmEtBZnnagwniZd4onvMTCbJUMGDk#value> .\n<ni:///sha-256;BAG2ud7ffEPFHJfmEtBZnnagwniZd4onvMTCbJUMGDk#value> cascade:decimalValue 4.1 ;\n\tcascade:writtenValue \"4.1\" ;\n\tcascade:ucumUnit \"mmol/L\" ;\n\tcascade:unitText \"mmol/L\" .\n<ni:///sha-256;BAG2ud7ffEPFHJfmEtBZnnagwniZd4onvMTCbJUMGDk> cascade:testName \"Potassium\" ;\n\tcascade:testCode <http://loinc.org/rdf/2823-3> ;\n\tcascade:resultValueKind cascade:QuantityResultValue ;\n\tcascade:resultClinicallyRelevantTime \"2026-09-29T07:30:00Z\"^^xsd:dateTime ;\n\tcascade:workflowStatus \"final\" .\n<urn:uuid:2014ece3-7af8-858f-b3df-9385fdafbe69> a cascade:LaboratoryTestResult ;\n\tcascade:sourceUrl <https://fhir.example.org/r4/Observation/obs-potassium-1> ;\n\tcascade:sourceRecordId \"obs-potassium-1\" .\n<ni:///sha-256;BAG2ud7ffEPFHJfmEtBZnnagwniZd4onvMTCbJUMGDk> prov:specializationOf <urn:uuid:2014ece3-7af8-858f-b3df-9385fdafbe69> ;\n\tcascade:patient <urn:uuid:dccb6776-d640-88e5-a7b3-7e2e1b860abe> .\n_:ad5036284078c80e7f66126b4a262b8c bridge:arrivedAs <ni:///sha-256;BAG2ud7ffEPFHJfmEtBZnnagwniZd4onvMTCbJUMGDk> ;\n\toa:hasSelector _:a2379cc15e13e8b29625053942756415 ;\n\toa:hasSource <ni:///sha-256;gjSUCU7iRHdOQK5T8xm12bvzY_vjDVAhPzroRTjT0vA> ;\n\tprov:wasDerivedFrom <ni:///sha-256;gjSUCU7iRHdOQK5T8xm12bvzY_vjDVAhPzroRTjT0vA> ;\n\tprov:wasGeneratedBy _:fcf5146fa86a1a78b3bd3301d5e98a65 .\n_:a2379cc15e13e8b29625053942756415 a oa:FragmentSelector ;\n\tdct:conformsTo <https://www.rfc-editor.org/rfc/rfc6901> ;\n\trdf:value \"\" .\n<ni:///sha-256;gjSUCU7iRHdOQK5T8xm12bvzY_vjDVAhPzroRTjT0vA> cascade:serverBaseUrl \"https://fhir.example.org/r4\" ;\n\tpav:retrievedOn \"2026-10-16T09:00:00Z\"^^xsd:dateTime ;\n\tcascade:sourceFormatVersion \"4.0.1\" .\n_:fcf5146fa86a1a78b3bd3301d5e98a65 <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;gjSUCU7iRHdOQK5T8xm12bvzY_vjDVAhPzroRTjT0vA> a prov:Entity .\n_:fcf5146fa86a1a78b3bd3301d5e98a65 a prov:Activity ;\n\tprov:used <ni:///sha-256;gjSUCU7iRHdOQK5T8xm12bvzY_vjDVAhPzroRTjT0vA> ;\n\tprov:qualifiedAssociation _:ee592687fd6d8d89273cc37d45c75e02 .\n_:ee592687fd6d8d89273cc37d45c75e02 prov:hadPlan _:eda54cd0f3ef8efa6252cadd967b96f .\n_:eda54cd0f3ef8efa6252cadd967b96f a prov:Plan ;\n\t<http://www.w3.org/2000/01/rdf-schema#label> \"fhir-r4\" ;\n\tpav:version \"0.1.0\" .\n_:ee592687fd6d8d89273cc37d45c75e02 prov:agent _:59ba900a969197137f37b981ad3a80ed .\n_:59ba900a969197137f37b981ad3a80ed 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/lab-performed-by-an-organization.ttl", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/findings/lab-performed-by-an-organization.ttl", "text": "", "empty": true}}