{"name": "medication-request-us-core-supply-only", "comment": "A US Core MedicationRequest stating only authoredOn and its dispense: its expected supply duration is a quantity node in days and its number of repeats allowed an integer.", "input": {"file": "fixtures/in/medication-request-us-core-supply-only.json", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/in/medication-request-us-core-supply-only.json", "text": "{\n  \"resourceType\": \"MedicationRequest\",\n  \"id\": \"medrx-atorvastatin-3\",\n  \"status\": \"active\",\n  \"intent\": \"order\",\n  \"medicationCodeableConcept\": {\n    \"coding\": [\n      {\n        \"system\": \"http://www.nlm.nih.gov/research/umls/rxnorm\",\n        \"code\": \"617312\",\n        \"display\": \"atorvastatin calcium 10 MG Oral Tablet\"\n      }\n    ],\n    \"text\": \"Atorvastatin 10 mg tablet\"\n  },\n  \"subject\": {\n    \"reference\": \"Patient/pat-conformance-1\"\n  },\n  \"authoredOn\": \"2026-03-02\",\n  \"dispenseRequest\": {\n    \"numberOfRepeatsAllowed\": 3,\n    \"expectedSupplyDuration\": {\n      \"value\": 90,\n      \"unit\": \"days\",\n      \"system\": \"http://unitsofmeasure.org\",\n      \"code\": \"d\"\n    }\n  }\n}\n"}, "expectedGraph": {"file": "fixtures/expected/medication-request-us-core-supply-only.ttl", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/expected/medication-request-us-core-supply-only.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;jeg0VTEqKRT27HCjEK6-flgCT63dRpnRNCMGglSbo04> cascade:numberOfRepeatsAllowed 3 ;\n\tcascade:expectedSupplyDuration <ni:///sha-256;jeg0VTEqKRT27HCjEK6-flgCT63dRpnRNCMGglSbo04#expected-supply-duration> .\n<ni:///sha-256;jeg0VTEqKRT27HCjEK6-flgCT63dRpnRNCMGglSbo04#expected-supply-duration> cascade:decimalValue \"90\"^^xsd:decimal ;\n\tcascade:writtenValue \"90\" ;\n\tcascade:ucumUnit \"d\" ;\n\tcascade:unitText \"days\" .\n<ni:///sha-256;jeg0VTEqKRT27HCjEK6-flgCT63dRpnRNCMGglSbo04> cascade:prescribedOrReported \"prescribed\" ;\n\tcascade:drugName \"Atorvastatin 10 mg tablet\" ;\n\tcascade:rxNormCode <https://ns.cascadeprotocol.org/codes/rxnorm/617312> ;\n\tcascade:workflowStatus \"active\" ;\n\tcascade:medicationRequestIntent \"order\" ;\n\tcascade:prescriptionWrittenDate \"2026-03-02\"^^xsd:date .\n<urn:uuid:b35f3872-b32f-8acb-a998-d5652d8ef93d> a cascade:PrescribedOrReportedMedication ;\n\tcascade:sourceUrl <https://fhir.meridian.example/api/FHIR/R4/MedicationRequest/medrx-atorvastatin-3> ;\n\tcascade:sourceRecordId \"medrx-atorvastatin-3\" .\n<ni:///sha-256;jeg0VTEqKRT27HCjEK6-flgCT63dRpnRNCMGglSbo04> prov:specializationOf <urn:uuid:b35f3872-b32f-8acb-a998-d5652d8ef93d> ;\n\tcascade:patient <urn:uuid:7883c5a4-6c61-837c-9bf7-dbe1b37d89ff> .\n_:a93fe35df90b58e4fd4ebf5fc9543625 bridge:arrivedAs <ni:///sha-256;jeg0VTEqKRT27HCjEK6-flgCT63dRpnRNCMGglSbo04> ;\n\toa:hasSelector _:c2cf6c7329e7803b0bbade29c55c9602 ;\n\toa:hasSource <ni:///sha-256;xcylNlColdOZ9cB1Hm0cJFXsymEX796I3EwIH5P7ojQ> ;\n\tprov:wasDerivedFrom <ni:///sha-256;xcylNlColdOZ9cB1Hm0cJFXsymEX796I3EwIH5P7ojQ> ;\n\tprov:wasGeneratedBy _:d48fbdbbfba29ba909ab90a9fb51ecd2 .\n_:c2cf6c7329e7803b0bbade29c55c9602 a oa:FragmentSelector ;\n\tdct:conformsTo <https://www.rfc-editor.org/rfc/rfc6901> ;\n\trdf:value \"\" .\n<ni:///sha-256;xcylNlColdOZ9cB1Hm0cJFXsymEX796I3EwIH5P7ojQ> cascade:serverBaseUrl \"https://fhir.meridian.example/api/FHIR/R4\" ;\n\tpav:retrievedOn \"2026-09-01T10:00:00Z\"^^xsd:dateTime ;\n\tprov:wasGeneratedBy _:357f2bf5aa1922a264420afc8c64078a ;\n\tprov:wasAttributedTo _:b0a2d2793f89f55d3cb2c5d4e65dbe8f ;\n\tcascade:authenticatedPatient \"Patient/eM5vN8qTz2Hc4Rk7Jw0Pb3\" ;\n\tcascade:authenticatedAsProxy false ;\n\tcascade:sourceFormatVersion \"4.0.1\" .\n_:28c2c47ccc134ebb8ddf426ac2d1913f prov:agent _:b0a2d2793f89f55d3cb2c5d4e65dbe8f ;\n\tprov:hadRole cascade:AuthorRole .\n_:357f2bf5aa1922a264420afc8c64078a prov:qualifiedAssociation _:28c2c47ccc134ebb8ddf426ac2d1913f .\n_:bd4e738dab6be41f5c7ad1680429f234 prov:agent _:12a7669a43ac340b7d3da9856166bbf2 ;\n\tprov:hadRole cascade:TransmitterRole .\n_:357f2bf5aa1922a264420afc8c64078a prov:qualifiedAssociation _:bd4e738dab6be41f5c7ad1680429f234 .\n_:b0a2d2793f89f55d3cb2c5d4e65dbe8f <http://www.w3.org/2000/01/rdf-schema#label> \"Meridian Health System\" .\n_:12a7669a43ac340b7d3da9856166bbf2 <http://www.w3.org/2000/01/rdf-schema#label> \"Apple Health\" .\n_:d48fbdbbfba29ba909ab90a9fb51ecd2 <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;xcylNlColdOZ9cB1Hm0cJFXsymEX796I3EwIH5P7ojQ> a prov:Entity .\n_:d48fbdbbfba29ba909ab90a9fb51ecd2 a prov:Activity ;\n\tprov:used <ni:///sha-256;xcylNlColdOZ9cB1Hm0cJFXsymEX796I3EwIH5P7ojQ> ;\n\tprov:qualifiedAssociation _:fe1e59d2b1596521fcd21d8b5e0ba4e .\n_:fe1e59d2b1596521fcd21d8b5e0ba4e prov:hadPlan _:e1c28606851ea94fa10916c8a4ac76e .\n_:e1c28606851ea94fa10916c8a4ac76e a prov:Plan ;\n\t<http://www.w3.org/2000/01/rdf-schema#label> \"fhir-r4\" ;\n\tpav:version \"0.1.0\" .\n_:fe1e59d2b1596521fcd21d8b5e0ba4e prov:agent _:2f1fb2353589b22f3eed514993c1fc5e .\n_:2f1fb2353589b22f3eed514993c1fc5e 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-us-core-supply-only.ttl", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/findings/medication-request-us-core-supply-only.ttl", "text": "", "empty": true}}