{"name": "medication-with-id", "comment": "A MedicationStatement: one medication, an entry on a list of what the person takes.", "input": {"file": "fixtures/in/medication-with-id.json", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/in/medication-with-id.json", "text": "{\n  \"resourceType\": \"MedicationStatement\",\n  \"status\": \"active\",\n  \"medicationCodeableConcept\": {\n    \"coding\": [\n      {\n        \"system\": \"http://www.nlm.nih.gov/research/umls/rxnorm\",\n        \"code\": \"29046\",\n        \"display\": \"Lisinopril\"\n      }\n    ],\n    \"text\": \"Lisinopril 10 mg\"\n  },\n  \"subject\": {\n    \"reference\": \"Patient/pat-conformance-1\"\n  },\n  \"effectiveDateTime\": \"2020-04-01\",\n  \"id\": \"med-lisinopril-1\"\n}\n"}, "expectedGraph": {"file": "fixtures/expected/medication-with-id.ttl", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/expected/medication-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;HeM6AdtVQQq4RLJYASMxIhn6XwVyd-x7g1JOawxOSqI> cascade:prescribedOrReported \"reportedUse\" ;\n\tcascade:drugName \"Lisinopril 10 mg\" ;\n\tcascade:rxNormCode <https://ns.cascadeprotocol.org/codes/rxnorm/29046> ;\n\tcascade:workflowStatus \"active\" ;\n\tcascade:medicationUseStartDate \"2020-04-01\"^^xsd:date .\n<urn:uuid:35ba4d80-bac5-82e2-a5ba-70f54a413e9d> a cascade:PrescribedOrReportedMedication ;\n\tcascade:sourceUrl <https://fhir.meridian.example/api/FHIR/R4/MedicationStatement/med-lisinopril-1> ;\n\tcascade:sourceRecordId \"med-lisinopril-1\" .\n<ni:///sha-256;HeM6AdtVQQq4RLJYASMxIhn6XwVyd-x7g1JOawxOSqI> prov:specializationOf <urn:uuid:35ba4d80-bac5-82e2-a5ba-70f54a413e9d> ;\n\tcascade:patient <urn:uuid:7883c5a4-6c61-837c-9bf7-dbe1b37d89ff> .\n_:b85dd8f420c60602783cf17c65c4c74b bridge:arrivedAs <ni:///sha-256;HeM6AdtVQQq4RLJYASMxIhn6XwVyd-x7g1JOawxOSqI> ;\n\toa:hasSelector _:e141db3fc21af553792e80e00d7dd982 ;\n\toa:hasSource <ni:///sha-256;jYnHUfdXCN-y9moqdi2F5TNNDzA07Mz9QPDIL_-7h8k> ;\n\tprov:wasDerivedFrom <ni:///sha-256;jYnHUfdXCN-y9moqdi2F5TNNDzA07Mz9QPDIL_-7h8k> ;\n\tprov:wasGeneratedBy _:f4221c1c0f43d8d00ab4011b365ba18c .\n_:e141db3fc21af553792e80e00d7dd982 a oa:FragmentSelector ;\n\tdct:conformsTo <https://www.rfc-editor.org/rfc/rfc6901> ;\n\trdf:value \"\" .\n<ni:///sha-256;jYnHUfdXCN-y9moqdi2F5TNNDzA07Mz9QPDIL_-7h8k> cascade:serverBaseUrl \"https://fhir.meridian.example/api/FHIR/R4\" ;\n\tpav:retrievedFrom <https://FHIR.Meridian.example/api/FHIR/R4/MedicationStatement/med-lisinopril-1> ;\n\tpav:retrievedOn \"2026-09-01T10:00:00Z\"^^xsd:dateTime ;\n\tprov:wasGeneratedBy _:a6b8124eabf6002f0e5ccc4d0972818f ;\n\tprov:wasAttributedTo _:69eba7764e06bb7001d0d1ffee98f08a ;\n\tcascade:authenticatedPatient \"Patient/eM5vN8qTz2Hc4Rk7Jw0Pb3\" ;\n\tcascade:authenticatedAsProxy false ;\n\tcascade:sourceFormatVersion \"4.0.1\" .\n_:98d3269331fada550d78b4f44f72a71b prov:agent _:69eba7764e06bb7001d0d1ffee98f08a ;\n\tprov:hadRole cascade:AuthorRole .\n_:a6b8124eabf6002f0e5ccc4d0972818f prov:qualifiedAssociation _:98d3269331fada550d78b4f44f72a71b .\n_:634c3d3fe5637da226bedfcbe3d3e66f prov:agent _:c69fd5ea6fd55d33cecd28142d87c05d ;\n\tprov:hadRole cascade:TransmitterRole .\n_:a6b8124eabf6002f0e5ccc4d0972818f prov:qualifiedAssociation _:634c3d3fe5637da226bedfcbe3d3e66f .\n_:69eba7764e06bb7001d0d1ffee98f08a <http://www.w3.org/2000/01/rdf-schema#label> \"Meridian Health System\" .\n_:c69fd5ea6fd55d33cecd28142d87c05d <http://www.w3.org/2000/01/rdf-schema#label> \"Apple Health\" .\n_:f4221c1c0f43d8d00ab4011b365ba18c <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;jYnHUfdXCN-y9moqdi2F5TNNDzA07Mz9QPDIL_-7h8k> a prov:Entity .\n_:f4221c1c0f43d8d00ab4011b365ba18c a prov:Activity ;\n\tprov:used <ni:///sha-256;jYnHUfdXCN-y9moqdi2F5TNNDzA07Mz9QPDIL_-7h8k> ;\n\tprov:qualifiedAssociation _:56427de48f47a9d3d16a0a1fc6b059f2 .\n_:56427de48f47a9d3d16a0a1fc6b059f2 prov:hadPlan _:d8bdcf7fdcab310a8ce0c725f91b8b39 .\n_:d8bdcf7fdcab310a8ce0c725f91b8b39 a prov:Plan ;\n\t<http://www.w3.org/2000/01/rdf-schema#label> \"fhir-r4\" ;\n\tpav:version \"0.1.0\" .\n_:56427de48f47a9d3d16a0a1fc6b059f2 prov:agent _:87d1565acaf8f7ddcbdf84b1c8707a82 .\n_:87d1565acaf8f7ddcbdf84b1c8707a82 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/medication-with-id.ttl", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/findings/medication-with-id.ttl", "text": "", "empty": true}}