{"name": "medication-no-id-note-only", "comment": "A MedicationStatement stating only a note: one medication stating only whether it was prescribed or reported, and the note a finding.", "input": {"file": "fixtures/in/medication-no-id-note-only.json", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/in/medication-no-id-note-only.json", "text": "{\n  \"resourceType\": \"MedicationStatement\",\n  \"note\": [\n    {\n      \"text\": \"Patient reports taking an over-the-counter antihistamine most evenings.\"\n    }\n  ]\n}\n"}, "expectedGraph": {"file": "fixtures/expected/medication-no-id-note-only.ttl", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/expected/medication-no-id-note-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;MlEN-Pk0Cr9wAmzzqC-igJGF8FEwTh4WLKyjf1kfaqU> cascade:prescribedOrReported \"reportedUse\" .\n<urn:uuid:faac60a9-0dba-8387-8790-7a313f3dbe77> a cascade:PrescribedOrReportedMedication .\n<ni:///sha-256;MlEN-Pk0Cr9wAmzzqC-igJGF8FEwTh4WLKyjf1kfaqU> prov:specializationOf <urn:uuid:faac60a9-0dba-8387-8790-7a313f3dbe77> .\n_:5dc0aef759fec1b5bdbe196eca425814 bridge:arrivedAs <ni:///sha-256;MlEN-Pk0Cr9wAmzzqC-igJGF8FEwTh4WLKyjf1kfaqU> ;\n\toa:hasSelector _:5ba882c8a98f8b3b6ab242e9691601f4 ;\n\toa:hasSource <ni:///sha-256;WFoY3cQXT4teJhsKrRo1bW0jts2g3CgGeag-GSVzuAM> ;\n\tprov:wasDerivedFrom <ni:///sha-256;WFoY3cQXT4teJhsKrRo1bW0jts2g3CgGeag-GSVzuAM> ;\n\tprov:wasGeneratedBy _:ab59ad614fc2185abb6d7a1303e20c14 .\n_:5ba882c8a98f8b3b6ab242e9691601f4 a oa:FragmentSelector ;\n\tdct:conformsTo <https://www.rfc-editor.org/rfc/rfc6901> ;\n\trdf:value \"\" .\n<ni:///sha-256;WFoY3cQXT4teJhsKrRo1bW0jts2g3CgGeag-GSVzuAM> cascade:serverBaseUrl \"https://fhir.meridian.example/api/FHIR/R4\" ;\n\tpav:retrievedOn \"2026-09-01T10:00:00Z\"^^xsd:dateTime ;\n\tprov:wasGeneratedBy _:c70e65d7041a19d6fedfcd38f0184580 ;\n\tprov:wasAttributedTo _:7e956d4d8c93fbdf602abe7743bcb985 ;\n\tcascade:authenticatedPatient \"Patient/eM5vN8qTz2Hc4Rk7Jw0Pb3\" ;\n\tcascade:authenticatedAsProxy false ;\n\tcascade:sourceFormatVersion \"4.0.1\" .\n_:21ea0dccb177b140b7b5187d7e8b301e prov:agent _:7e956d4d8c93fbdf602abe7743bcb985 ;\n\tprov:hadRole cascade:AuthorRole .\n_:c70e65d7041a19d6fedfcd38f0184580 prov:qualifiedAssociation _:21ea0dccb177b140b7b5187d7e8b301e .\n_:d7f8e5b94964ae53c624d55033d34fc prov:agent _:8f8382e73826049486bc93c835198a37 ;\n\tprov:hadRole cascade:TransmitterRole .\n_:c70e65d7041a19d6fedfcd38f0184580 prov:qualifiedAssociation _:d7f8e5b94964ae53c624d55033d34fc .\n_:7e956d4d8c93fbdf602abe7743bcb985 <http://www.w3.org/2000/01/rdf-schema#label> \"Meridian Health System\" .\n_:8f8382e73826049486bc93c835198a37 <http://www.w3.org/2000/01/rdf-schema#label> \"Apple Health\" .\n_:ab59ad614fc2185abb6d7a1303e20c14 <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;WFoY3cQXT4teJhsKrRo1bW0jts2g3CgGeag-GSVzuAM> a prov:Entity .\n_:ab59ad614fc2185abb6d7a1303e20c14 a prov:Activity ;\n\tprov:used <ni:///sha-256;WFoY3cQXT4teJhsKrRo1bW0jts2g3CgGeag-GSVzuAM> ;\n\tprov:qualifiedAssociation _:a436f1d734571e79b3049125a636372d .\n_:a436f1d734571e79b3049125a636372d prov:hadPlan _:80a264b18aa7601ce3ac09136f673394 .\n_:80a264b18aa7601ce3ac09136f673394 a prov:Plan ;\n\t<http://www.w3.org/2000/01/rdf-schema#label> \"fhir-r4\" ;\n\tpav:version \"0.1.0\" .\n_:a436f1d734571e79b3049125a636372d prov:agent _:8394a8a43f0b587289592573b03a4128 .\n_:8394a8a43f0b587289592573b03a4128 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-no-id-note-only.ttl", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/findings/medication-no-id-note-only.ttl", "text": "@prefix fhirr4: <https://ns.cascadeprotocol.org/adapter/fhir-r4/v1-draft#> .\n@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .\n@prefix sh: <http://www.w3.org/ns/shacl#> .\n@prefix oa: <http://www.w3.org/ns/oa#> .\n_:d5b48be1578f517e3937af2fb3a4ace7 a oa:FragmentSelector ;\n\t<http://purl.org/dc/terms/conformsTo> <https://www.rfc-editor.org/rfc/rfc6901> ;\n\trdf:value \"\" .\n_:ee1adc00ed90c6f56ce826045b75994b a oa:Annotation ;\n\toa:hasTarget _:d355ee26b088f90a76d2cd6030777785 .\n_:d355ee26b088f90a76d2cd6030777785 oa:hasSource <../in/medication-no-id-note-only.json> ;\n\toa:hasSelector _:d5b48be1578f517e3937af2fb3a4ace7 .\n_:ee1adc00ed90c6f56ce826045b75994b oa:hasBody <https://datatracker.ietf.org/doc/html/draft-wright-json-schema-validation-01#section-6.28> ;\n\toa:motivatedBy oa:classifying ;\n\tsh:resultSeverity sh:Violation .\n_:f74d3e294c8665345ecccbcaf7c19077 a oa:FragmentSelector ;\n\t<http://purl.org/dc/terms/conformsTo> <https://www.rfc-editor.org/rfc/rfc6901> ;\n\trdf:value \"\" .\n_:c0103058094818d132e3680e3a1df32a oa:hasSource <../in/medication-no-id-note-only.json> .\n_:f74d3e294c8665345ecccbcaf7c19077 oa:refinedBy _:d64afe5db0f2577464f21149d41028f9 .\n_:d64afe5db0f2577464f21149d41028f9 a oa:FragmentSelector ;\n\t<http://purl.org/dc/terms/conformsTo> <https://www.rfc-editor.org/rfc/rfc6901> ;\n\trdf:value \"/note/0/text\" .\n_:c0103058094818d132e3680e3a1df32a oa:hasSelector _:f74d3e294c8665345ecccbcaf7c19077 .\n_:bd3233d906f4f552047150cffd48a110 oa:hasTarget _:c0103058094818d132e3680e3a1df32a ;\n\tsh:resultSeverity sh:Info ;\n\ta oa:Annotation ;\n\toa:hasBody fhirr4:medicationNote ;\n\toa:motivatedBy oa:classifying ;\n\tsh:value \"Patient reports taking an over-the-counter antihistamine most evenings.\" .\n", "empty": false}}