{"name": "medication-request-reported-and-proposal", "comment": "A Bundle of three MedicationRequests: one with reportedBoolean true and intent plan, one with a reportedReference and intent order, each reported use stating no intent; and one with reportedBoolean false and intent proposal, prescribed, stating its intent.", "input": {"file": "fixtures/in/medication-request-reported-and-proposal.json", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/in/medication-request-reported-and-proposal.json", "text": "{\n  \"resourceType\": \"Bundle\",\n  \"type\": \"collection\",\n  \"entry\": [\n    {\n      \"fullUrl\": \"https://fhir.meridian.example/api/FHIR/R4/MedicationRequest/medrx-reported-boolean-1\",\n      \"resource\": {\n        \"resourceType\": \"MedicationRequest\",\n        \"id\": \"medrx-reported-boolean-1\",\n        \"status\": \"active\",\n        \"intent\": \"plan\",\n        \"reportedBoolean\": true,\n        \"medicationCodeableConcept\": {\n          \"text\": \"Simvastatin 40 mg tablet\"\n        },\n        \"subject\": {\n          \"reference\": \"Patient/pat-conformance-1\"\n        },\n        \"authoredOn\": \"2025-11-04\"\n      }\n    },\n    {\n      \"fullUrl\": \"https://fhir.meridian.example/api/FHIR/R4/MedicationRequest/medrx-reported-reference-1\",\n      \"resource\": {\n        \"resourceType\": \"MedicationRequest\",\n        \"id\": \"medrx-reported-reference-1\",\n        \"status\": \"active\",\n        \"intent\": \"order\",\n        \"reportedReference\": {\n          \"reference\": \"Patient/pat-conformance-1\"\n        },\n        \"medicationCodeableConcept\": {\n          \"text\": \"Vitamin D3 1000 unit capsule\"\n        },\n        \"subject\": {\n          \"reference\": \"Patient/pat-conformance-1\"\n        },\n        \"authoredOn\": \"2025-11-04\"\n      }\n    },\n    {\n      \"fullUrl\": \"https://fhir.meridian.example/api/FHIR/R4/MedicationRequest/medrx-proposal-1\",\n      \"resource\": {\n        \"resourceType\": \"MedicationRequest\",\n        \"id\": \"medrx-proposal-1\",\n        \"status\": \"draft\",\n        \"intent\": \"proposal\",\n        \"reportedBoolean\": false,\n        \"medicationCodeableConcept\": {\n          \"text\": \"Metformin 500 mg tablet\"\n        },\n        \"subject\": {\n          \"reference\": \"Patient/pat-conformance-1\"\n        },\n        \"authoredOn\": \"2025-11-04\"\n      }\n    }\n  ]\n}\n"}, "expectedGraph": {"file": "fixtures/expected/medication-request-reported-and-proposal.ttl", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/expected/medication-request-reported-and-proposal.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;BcUAeuyptGrDTn97nge1AA2BaIyndJWN5-HrW2FbqIU> cascade:prescribedOrReported \"reportedUse\" ;\n\tcascade:drugName \"Simvastatin 40 mg tablet\" ;\n\tcascade:workflowStatus \"active\" ;\n\tcascade:prescriptionWrittenDate \"2025-11-04\"^^xsd:date .\n<urn:uuid:f5a7d0d7-197e-8873-9835-c93d081373c5> a cascade:PrescribedOrReportedMedication ;\n\tcascade:sourceUrl <https://fhir.meridian.example/api/FHIR/R4/MedicationRequest/medrx-reported-boolean-1> ;\n\tcascade:sourceRecordId \"medrx-reported-boolean-1\" .\n<ni:///sha-256;BcUAeuyptGrDTn97nge1AA2BaIyndJWN5-HrW2FbqIU> prov:specializationOf <urn:uuid:f5a7d0d7-197e-8873-9835-c93d081373c5> ;\n\tcascade:patient <urn:uuid:7883c5a4-6c61-837c-9bf7-dbe1b37d89ff> .\n_:b20a19529191c963aa1723b7b05a5b29 bridge:arrivedAs <ni:///sha-256;BcUAeuyptGrDTn97nge1AA2BaIyndJWN5-HrW2FbqIU> ;\n\toa:hasSelector _:b3b04f3ddc6567ba540966b4c2e87a08 ;\n\toa:hasSource <ni:///sha-256;BkY-dKuJQ1-f7XBiu7JmXMZhKcnax_lCX2hHYmejamQ> ;\n\tprov:wasDerivedFrom <ni:///sha-256;BkY-dKuJQ1-f7XBiu7JmXMZhKcnax_lCX2hHYmejamQ> ;\n\tprov:wasGeneratedBy _:264fd86a04883bbee726b4324f05680a .\n_:b3b04f3ddc6567ba540966b4c2e87a08 a oa:FragmentSelector ;\n\tdct:conformsTo <https://www.rfc-editor.org/rfc/rfc6901> ;\n\trdf:value \"/entry/0\" .\n<ni:///sha-256;a79pGxl3GRL4c3w-fevcDjaf3LVo9MFvObFOziEsnlg> cascade:prescribedOrReported \"reportedUse\" ;\n\tcascade:drugName \"Vitamin D3 1000 unit capsule\" ;\n\tcascade:workflowStatus \"active\" ;\n\tcascade:prescriptionWrittenDate \"2025-11-04\"^^xsd:date .\n<urn:uuid:a2493aa8-9284-842b-91af-56ede7eaeacb> a cascade:PrescribedOrReportedMedication ;\n\tcascade:sourceUrl <https://fhir.meridian.example/api/FHIR/R4/MedicationRequest/medrx-reported-reference-1> ;\n\tcascade:sourceRecordId \"medrx-reported-reference-1\" .\n<ni:///sha-256;a79pGxl3GRL4c3w-fevcDjaf3LVo9MFvObFOziEsnlg> prov:specializationOf <urn:uuid:a2493aa8-9284-842b-91af-56ede7eaeacb> ;\n\tcascade:patient <urn:uuid:7883c5a4-6c61-837c-9bf7-dbe1b37d89ff> .\n_:4310d99e8e5688bdd7c0bee40ae52cfa bridge:arrivedAs <ni:///sha-256;a79pGxl3GRL4c3w-fevcDjaf3LVo9MFvObFOziEsnlg> ;\n\toa:hasSelector _:35d60202c1fbf55a13b8eab6e792d348 ;\n\toa:hasSource <ni:///sha-256;BkY-dKuJQ1-f7XBiu7JmXMZhKcnax_lCX2hHYmejamQ> ;\n\tprov:wasDerivedFrom <ni:///sha-256;BkY-dKuJQ1-f7XBiu7JmXMZhKcnax_lCX2hHYmejamQ> ;\n\tprov:wasGeneratedBy _:264fd86a04883bbee726b4324f05680a .\n_:35d60202c1fbf55a13b8eab6e792d348 a oa:FragmentSelector ;\n\tdct:conformsTo <https://www.rfc-editor.org/rfc/rfc6901> ;\n\trdf:value \"/entry/1\" .\n<ni:///sha-256;3i1rQxfPpTN4gPulsifAm_F1jwo60Oahuws7TcwWFk0> cascade:prescribedOrReported \"prescribed\" ;\n\tcascade:drugName \"Metformin 500 mg tablet\" ;\n\tcascade:workflowStatus \"draft\" ;\n\tcascade:medicationRequestIntent \"proposal\" ;\n\tcascade:prescriptionWrittenDate \"2025-11-04\"^^xsd:date .\n<urn:uuid:adf79a4e-cb1d-813d-b49f-df063f11ee3c> a cascade:PrescribedOrReportedMedication ;\n\tcascade:sourceUrl <https://fhir.meridian.example/api/FHIR/R4/MedicationRequest/medrx-proposal-1> ;\n\tcascade:sourceRecordId \"medrx-proposal-1\" .\n<ni:///sha-256;3i1rQxfPpTN4gPulsifAm_F1jwo60Oahuws7TcwWFk0> prov:specializationOf <urn:uuid:adf79a4e-cb1d-813d-b49f-df063f11ee3c> ;\n\tcascade:patient <urn:uuid:7883c5a4-6c61-837c-9bf7-dbe1b37d89ff> .\n_:a70d820141e522ebe8e18abbd5b5dc14 bridge:arrivedAs <ni:///sha-256;3i1rQxfPpTN4gPulsifAm_F1jwo60Oahuws7TcwWFk0> ;\n\toa:hasSelector _:f1c79376b03267ad721382c2f70acc5e ;\n\toa:hasSource <ni:///sha-256;BkY-dKuJQ1-f7XBiu7JmXMZhKcnax_lCX2hHYmejamQ> ;\n\tprov:wasDerivedFrom <ni:///sha-256;BkY-dKuJQ1-f7XBiu7JmXMZhKcnax_lCX2hHYmejamQ> ;\n\tprov:wasGeneratedBy _:264fd86a04883bbee726b4324f05680a .\n_:f1c79376b03267ad721382c2f70acc5e a oa:FragmentSelector ;\n\tdct:conformsTo <https://www.rfc-editor.org/rfc/rfc6901> ;\n\trdf:value \"/entry/2\" .\n<ni:///sha-256;BkY-dKuJQ1-f7XBiu7JmXMZhKcnax_lCX2hHYmejamQ> cascade:serverBaseUrl \"https://fhir.meridian.example/api/FHIR/R4\" ;\n\tpav:retrievedOn \"2026-09-01T10:00:00Z\"^^xsd:dateTime ;\n\tprov:wasGeneratedBy _:3b6b8ef5f75280c8ac7d8f1160ababcd ;\n\tprov:wasAttributedTo _:7138dff43c05e36cb0472d88230cbf8a ;\n\tcascade:authenticatedPatient \"Patient/eM5vN8qTz2Hc4Rk7Jw0Pb3\" ;\n\tcascade:authenticatedAsProxy false ;\n\tcascade:sourceFormatVersion \"4.0.1\" .\n_:973aff23c9703c26de5df495b9639f3f prov:agent _:7138dff43c05e36cb0472d88230cbf8a ;\n\tprov:hadRole cascade:AuthorRole .\n_:3b6b8ef5f75280c8ac7d8f1160ababcd prov:qualifiedAssociation _:973aff23c9703c26de5df495b9639f3f .\n_:2d648c904a16c1752f8a1e2dbcc8ae72 prov:agent _:d59a7213760eb470cec1d38c48b4e4c9 ;\n\tprov:hadRole cascade:TransmitterRole .\n_:3b6b8ef5f75280c8ac7d8f1160ababcd prov:qualifiedAssociation _:2d648c904a16c1752f8a1e2dbcc8ae72 .\n_:7138dff43c05e36cb0472d88230cbf8a <http://www.w3.org/2000/01/rdf-schema#label> \"Meridian Health System\" .\n_:d59a7213760eb470cec1d38c48b4e4c9 <http://www.w3.org/2000/01/rdf-schema#label> \"Apple Health\" .\n_:264fd86a04883bbee726b4324f05680a <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;BkY-dKuJQ1-f7XBiu7JmXMZhKcnax_lCX2hHYmejamQ> a prov:Entity .\n_:264fd86a04883bbee726b4324f05680a a prov:Activity ;\n\tprov:used <ni:///sha-256;BkY-dKuJQ1-f7XBiu7JmXMZhKcnax_lCX2hHYmejamQ> ;\n\tprov:qualifiedAssociation _:c69454884130b3b080cf55b56fda9460 .\n_:c69454884130b3b080cf55b56fda9460 prov:hadPlan _:b3fe72f4f6bc8970c4ea6733840e5673 .\n_:b3fe72f4f6bc8970c4ea6733840e5673 a prov:Plan ;\n\t<http://www.w3.org/2000/01/rdf-schema#label> \"fhir-r4\" ;\n\tpav:version \"0.1.0\" .\n_:c69454884130b3b080cf55b56fda9460 prov:agent _:54c5273a4f18f85126412ec1eb222691 .\n_:54c5273a4f18f85126412ec1eb222691 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-request-reported-and-proposal.ttl", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/findings/medication-request-reported-and-proposal.ttl", "text": "", "empty": true}}