{"name": "allergy-with-id", "comment": null, "input": {"file": "fixtures/in/allergy-with-id.json", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/in/allergy-with-id.json", "text": "{\n  \"resourceType\": \"AllergyIntolerance\",\n  \"code\": {\n    \"coding\": [\n      {\n        \"system\": \"http://www.nlm.nih.gov/research/umls/rxnorm\",\n        \"code\": \"7980\",\n        \"display\": \"Penicillin G\"\n      }\n    ],\n    \"text\": \"Penicillin G\"\n  },\n  \"patient\": {\n    \"reference\": \"Patient/pat-conformance-1\"\n  },\n  \"criticality\": \"high\",\n  \"id\": \"alg-pcn-1\"\n}\n"}, "expectedGraph": {"file": "fixtures/expected/allergy-with-id.ttl", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/expected/allergy-with-id.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;wC0ODT_Xs4voWgs_Lt66OhNF0jzZDXhAjmd2T1mx2EM> cascade:allergenName \"Penicillin G\" ;\n\tcascade:allergenCode <https://ns.cascadeprotocol.org/codes/rxnorm/7980> ;\n\tcascade:allergyCriticality \"high\" .\n<urn:uuid:69961a65-6383-84b7-96f1-0a88fb755c9c> a cascade:AllergyOrIntolerance ;\n\tcascade:sourceUrl <https://fhir.meridian.example/api/FHIR/R4/AllergyIntolerance/alg-pcn-1> ;\n\tcascade:sourceRecordId \"alg-pcn-1\" .\n<ni:///sha-256;wC0ODT_Xs4voWgs_Lt66OhNF0jzZDXhAjmd2T1mx2EM> prov:specializationOf <urn:uuid:69961a65-6383-84b7-96f1-0a88fb755c9c> ;\n\tcascade:patient <urn:uuid:7883c5a4-6c61-837c-9bf7-dbe1b37d89ff> .\n_:c033039ce8895f0ad7dd6640260323c5 bridge:arrivedAs <ni:///sha-256;wC0ODT_Xs4voWgs_Lt66OhNF0jzZDXhAjmd2T1mx2EM> ;\n\toa:hasSelector _:d8dba88c0538e40ce74996fa1d1aa422 ;\n\toa:hasSource <ni:///sha-256;0re2flaEf5oTKzdsN9gHZwLdHi3wsjfjpSumJxM4VWk> ;\n\tprov:wasDerivedFrom <ni:///sha-256;0re2flaEf5oTKzdsN9gHZwLdHi3wsjfjpSumJxM4VWk> ;\n\tprov:wasGeneratedBy _:474903082410a5d6ffa58af04088eb38 .\n_:d8dba88c0538e40ce74996fa1d1aa422 a oa:FragmentSelector ;\n\tdct:conformsTo <https://www.rfc-editor.org/rfc/rfc6901> ;\n\trdf:value \"\" .\n<ni:///sha-256;0re2flaEf5oTKzdsN9gHZwLdHi3wsjfjpSumJxM4VWk> cascade:serverBaseUrl \"https://fhir.meridian.example/api/FHIR/R4\" ;\n\tpav:retrievedFrom <https://FHIR.Meridian.example/api/FHIR/R4/AllergyIntolerance/alg-pcn-1> ;\n\tpav:retrievedOn \"2026-09-01T10:00:00Z\"^^xsd:dateTime ;\n\tprov:wasGeneratedBy _:dc42eba364a6d3d3c2fa05c17122ca47 ;\n\tprov:wasAttributedTo _:b8e8f29a67e5e8cfc5ba1a79888d1edd ;\n\tcascade:authenticatedPatient \"Patient/eM5vN8qTz2Hc4Rk7Jw0Pb3\" ;\n\tcascade:authenticatedAsProxy false ;\n\tcascade:sourceFormatVersion \"4.0.1\" .\n_:e61a00138c7443a086522aee7aa3eaab prov:agent _:b8e8f29a67e5e8cfc5ba1a79888d1edd ;\n\tprov:hadRole cascade:AuthorRole .\n_:dc42eba364a6d3d3c2fa05c17122ca47 prov:qualifiedAssociation _:e61a00138c7443a086522aee7aa3eaab .\n_:e03c2a7dfe06215ed865e3ecf07b787a prov:agent _:12e351703337be328ad9cd571616019e ;\n\tprov:hadRole cascade:TransmitterRole .\n_:dc42eba364a6d3d3c2fa05c17122ca47 prov:qualifiedAssociation _:e03c2a7dfe06215ed865e3ecf07b787a .\n_:b8e8f29a67e5e8cfc5ba1a79888d1edd <http://www.w3.org/2000/01/rdf-schema#label> \"Meridian Health System\" .\n_:12e351703337be328ad9cd571616019e <http://www.w3.org/2000/01/rdf-schema#label> \"Apple Health\" .\n_:474903082410a5d6ffa58af04088eb38 <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;0re2flaEf5oTKzdsN9gHZwLdHi3wsjfjpSumJxM4VWk> a prov:Entity .\n_:474903082410a5d6ffa58af04088eb38 a prov:Activity ;\n\tprov:used <ni:///sha-256;0re2flaEf5oTKzdsN9gHZwLdHi3wsjfjpSumJxM4VWk> ;\n\tprov:qualifiedAssociation _:88292d6bcb824e2c40868fd0f4d55f7b .\n_:88292d6bcb824e2c40868fd0f4d55f7b prov:hadPlan _:bdb0cf46e31a27d9406dfac95cb6333c .\n_:bdb0cf46e31a27d9406dfac95cb6333c a prov:Plan ;\n\t<http://www.w3.org/2000/01/rdf-schema#label> \"fhir-r4\" ;\n\tpav:version \"0.1.0\" .\n_:88292d6bcb824e2c40868fd0f4d55f7b prov:agent _:ea81a247c54c762ba3292fea0739fd89 .\n_:ea81a247c54c762ba3292fea0739fd89 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/allergy-with-id.ttl", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/findings/allergy-with-id.ttl", "text": "", "empty": true}}