{"name": "allergy-every-mapped-element", "comment": null, "input": {"file": "fixtures/in/allergy-every-mapped-element.json", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/in/allergy-every-mapped-element.json", "text": "{\n  \"resourceType\": \"AllergyIntolerance\",\n  \"id\": \"alg-codeine-2\",\n  \"meta\": {\n    \"versionId\": \"2\",\n    \"lastUpdated\": \"2026-04-08T13:05:00Z\"\n  },\n  \"clinicalStatus\": {\n    \"coding\": [\n      {\n        \"system\": \"http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical\",\n        \"code\": \"active\"\n      }\n    ]\n  },\n  \"verificationStatus\": {\n    \"coding\": [\n      {\n        \"system\": \"http://terminology.hl7.org/CodeSystem/allergyintolerance-verification\",\n        \"code\": \"confirmed\"\n      }\n    ]\n  },\n  \"type\": \"intolerance\",\n  \"category\": [\n    \"medication\"\n  ],\n  \"criticality\": \"low\",\n  \"code\": {\n    \"coding\": [\n      {\n        \"system\": \"http://www.nlm.nih.gov/research/umls/rxnorm\",\n        \"code\": \"2670\",\n        \"display\": \"Codeine\"\n      }\n    ],\n    \"text\": \"Codeine\"\n  },\n  \"patient\": {\n    \"reference\": \"Patient/pat-conformance-1\"\n  },\n  \"onsetDateTime\": \"2019-03-14\",\n  \"reaction\": [\n    {\n      \"manifestation\": [\n        {\n          \"coding\": [\n            {\n              \"system\": \"http://snomed.info/sct\",\n              \"code\": \"422587007\"\n            }\n          ],\n          \"text\": \"Nausea\"\n        }\n      ],\n      \"severity\": \"mild\"\n    }\n  ],\n  \"note\": [\n    {\n      \"text\": \"Nausea within an hour of each dose.\"\n    }\n  ]\n}\n"}, "expectedGraph": {"file": "fixtures/expected/allergy-every-mapped-element.ttl", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/expected/allergy-every-mapped-element.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;mdqpPqRx5MXaUfhDnrEZwXmKseGvYEVWfB808AcIbqA> cascade:allergenName \"Codeine\" ;\n\tcascade:allergenCode <https://ns.cascadeprotocol.org/codes/rxnorm/2670> ;\n\tcascade:clinicalStatus \"active\" ;\n\tcascade:verificationStatus \"confirmed\" ;\n\tcascade:allergyType \"intolerance\" ;\n\tcascade:allergyCriticality \"low\" ;\n\tcascade:allergyCategory \"medication\" ;\n\tcascade:onsetDate \"2019-03-14\"^^xsd:date ;\n\tcascade:reactionManifestationText \"Nausea\" ;\n\tcascade:reactionManifestationCode <http://snomed.info/id/422587007> ;\n\tcascade:allergySeverity \"mild\" ;\n\tcascade:addedNoteText \"Nausea within an hour of each dose.\" .\n<urn:uuid:0ca3ee6b-a53e-8b1d-b8e7-8e38b82a7b59> a cascade:AllergyOrIntolerance ;\n\tcascade:sourceUrl <https://fhir.meridian.example/api/FHIR/R4/AllergyIntolerance/alg-codeine-2> ;\n\tcascade:sourceRecordId \"alg-codeine-2\" .\n<ni:///sha-256;mdqpPqRx5MXaUfhDnrEZwXmKseGvYEVWfB808AcIbqA> prov:specializationOf <urn:uuid:0ca3ee6b-a53e-8b1d-b8e7-8e38b82a7b59> ;\n\tcascade:patient <urn:uuid:7883c5a4-6c61-837c-9bf7-dbe1b37d89ff> .\n_:9eb541b6dabef34badb88f52188b6185 bridge:arrivedAs <ni:///sha-256;mdqpPqRx5MXaUfhDnrEZwXmKseGvYEVWfB808AcIbqA> ;\n\tpav:version \"2\" ;\n\tpav:lastUpdateOn \"2026-04-08T13:05:00Z\"^^xsd:dateTime ;\n\toa:hasSelector _:454a72549a5edc2ff46063406ea1fcf2 ;\n\toa:hasSource <ni:///sha-256;KLly4mX62LlsEmvV_5iguX1Wx9JWKzObJJJXAfAyKpE> ;\n\tprov:wasDerivedFrom <ni:///sha-256;KLly4mX62LlsEmvV_5iguX1Wx9JWKzObJJJXAfAyKpE> ;\n\tprov:wasGeneratedBy _:44f0224a69eb113632708a34624f0f5e .\n_:454a72549a5edc2ff46063406ea1fcf2 a oa:FragmentSelector ;\n\tdct:conformsTo <https://www.rfc-editor.org/rfc/rfc6901> ;\n\trdf:value \"\" .\n<ni:///sha-256;KLly4mX62LlsEmvV_5iguX1Wx9JWKzObJJJXAfAyKpE> cascade:serverBaseUrl \"https://fhir.meridian.example/api/FHIR/R4\" ;\n\tpav:retrievedOn \"2026-09-01T10:00:00Z\"^^xsd:dateTime ;\n\tprov:wasGeneratedBy _:2cf788feb99a9c29d2ec530b8548242d ;\n\tprov:wasAttributedTo _:a8d8e9515b0c62f2c5abfbe008487f24 ;\n\tcascade:authenticatedPatient \"Patient/eM5vN8qTz2Hc4Rk7Jw0Pb3\" ;\n\tcascade:authenticatedAsProxy false ;\n\tcascade:sourceFormatVersion \"4.0.1\" .\n_:5a3d6be1b6a0988bc2da7f836c926a68 prov:agent _:a8d8e9515b0c62f2c5abfbe008487f24 ;\n\tprov:hadRole cascade:AuthorRole .\n_:2cf788feb99a9c29d2ec530b8548242d prov:qualifiedAssociation _:5a3d6be1b6a0988bc2da7f836c926a68 .\n_:95ecac260e0051515454ac07430dd0ab prov:agent _:46077fffa1105ff4611ce20b14f5b0ca ;\n\tprov:hadRole cascade:TransmitterRole .\n_:2cf788feb99a9c29d2ec530b8548242d prov:qualifiedAssociation _:95ecac260e0051515454ac07430dd0ab .\n_:a8d8e9515b0c62f2c5abfbe008487f24 <http://www.w3.org/2000/01/rdf-schema#label> \"Meridian Health System\" .\n_:46077fffa1105ff4611ce20b14f5b0ca <http://www.w3.org/2000/01/rdf-schema#label> \"Apple Health\" .\n_:44f0224a69eb113632708a34624f0f5e <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;KLly4mX62LlsEmvV_5iguX1Wx9JWKzObJJJXAfAyKpE> a prov:Entity .\n_:44f0224a69eb113632708a34624f0f5e a prov:Activity ;\n\tprov:used <ni:///sha-256;KLly4mX62LlsEmvV_5iguX1Wx9JWKzObJJJXAfAyKpE> ;\n\tprov:qualifiedAssociation _:3dcfed1ae6f6a4ec5215a598e3ff4149 .\n_:3dcfed1ae6f6a4ec5215a598e3ff4149 prov:hadPlan _:d9d9b8b4fdd727b483a90fe97e5d2a16 .\n_:d9d9b8b4fdd727b483a90fe97e5d2a16 a prov:Plan ;\n\t<http://www.w3.org/2000/01/rdf-schema#label> \"fhir-r4\" ;\n\tpav:version \"0.1.0\" .\n_:3dcfed1ae6f6a4ec5215a598e3ff4149 prov:agent _:68323457df7382df3ffde320099a6abd .\n_:68323457df7382df3ffde320099a6abd 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-every-mapped-element.ttl", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/findings/allergy-every-mapped-element.ttl", "text": "", "empty": true}}