{"name": "medication-dispense-partial-times", "comment": "A MedicationDispense whose time prepared is written to the month and whose time handed over is written to the minute: the month is an xsd:gYearMonth, and the minute is padded to the second with a cascade:PaddedDateTime node holding what was written.", "input": {"file": "fixtures/in/medication-dispense-partial-times.json", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/in/medication-dispense-partial-times.json", "text": "{\n  \"resourceType\": \"MedicationDispense\",\n  \"id\": \"meddisp-atorvastatin-1\",\n  \"status\": \"completed\",\n  \"medicationCodeableConcept\": {\n    \"text\": \"Atorvastatin 10 mg tablet\"\n  },\n  \"subject\": {\n    \"reference\": \"Patient/pat-conformance-1\"\n  },\n  \"whenPrepared\": \"2026-01\",\n  \"whenHandedOver\": \"2026-01-12T09:30-05:00\"\n}\n"}, "expectedGraph": {"file": "fixtures/expected/medication-dispense-partial-times.ttl", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/expected/medication-dispense-partial-times.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;rUWD9JPZx4zPUruV9xUO-LOOHKXjAEezoeAWU7srZ9o> cascade:dispenseHandedOverTime \"2026-01-12T09:30:00-05:00\"^^xsd:dateTime ;\n\tcascade:paddedDateTime <ni:///sha-256;rUWD9JPZx4zPUruV9xUO-LOOHKXjAEezoeAWU7srZ9o#padded-dispenseHandedOverTime> .\n<ni:///sha-256;rUWD9JPZx4zPUruV9xUO-LOOHKXjAEezoeAWU7srZ9o#padded-dispenseHandedOverTime> cascade:paddedDateTimeProperty cascade:dispenseHandedOverTime ;\n\tcascade:timeAsWritten \"2026-01-12T09:30-05:00\" .\n<ni:///sha-256;rUWD9JPZx4zPUruV9xUO-LOOHKXjAEezoeAWU7srZ9o> cascade:dispensePreparedTime \"2026-01\"^^xsd:gYearMonth ;\n\tcascade:drugName \"Atorvastatin 10 mg tablet\" ;\n\tcascade:workflowStatus \"completed\" .\n<urn:uuid:1626334c-3412-8bd0-a987-e96614b99c7b> a cascade:MedicationDispense ;\n\tcascade:sourceUrl <https://fhir.meridian.example/api/FHIR/R4/MedicationDispense/meddisp-atorvastatin-1> ;\n\tcascade:sourceRecordId \"meddisp-atorvastatin-1\" .\n<ni:///sha-256;rUWD9JPZx4zPUruV9xUO-LOOHKXjAEezoeAWU7srZ9o> prov:specializationOf <urn:uuid:1626334c-3412-8bd0-a987-e96614b99c7b> ;\n\tcascade:patient <urn:uuid:7883c5a4-6c61-837c-9bf7-dbe1b37d89ff> .\n_:69e1bc6419133c373d4910570863c8c3 bridge:arrivedAs <ni:///sha-256;rUWD9JPZx4zPUruV9xUO-LOOHKXjAEezoeAWU7srZ9o> ;\n\toa:hasSelector _:29a249b1d2361e0c1e77ae623b28774 ;\n\toa:hasSource <ni:///sha-256;8LSQO6EavAFG9qthdMbkkIFt5RQ_ycChpEMA0dq8i3U> ;\n\tprov:wasDerivedFrom <ni:///sha-256;8LSQO6EavAFG9qthdMbkkIFt5RQ_ycChpEMA0dq8i3U> ;\n\tprov:wasGeneratedBy _:9c2cd866d70a5faab8347b392ca2f8b7 .\n_:29a249b1d2361e0c1e77ae623b28774 a oa:FragmentSelector ;\n\tdct:conformsTo <https://www.rfc-editor.org/rfc/rfc6901> ;\n\trdf:value \"\" .\n<ni:///sha-256;8LSQO6EavAFG9qthdMbkkIFt5RQ_ycChpEMA0dq8i3U> cascade:serverBaseUrl \"https://fhir.meridian.example/api/FHIR/R4\" ;\n\tpav:retrievedOn \"2026-09-01T10:00:00Z\"^^xsd:dateTime ;\n\tprov:wasGeneratedBy _:f9425d101c32b30c257b47676aff05ad ;\n\tprov:wasAttributedTo _:cee0e82530cba58db3bf2f64e7ac75ba ;\n\tcascade:authenticatedPatient \"Patient/eM5vN8qTz2Hc4Rk7Jw0Pb3\" ;\n\tcascade:authenticatedAsProxy false ;\n\tcascade:sourceFormatVersion \"4.0.1\" .\n_:4629e9b8115387fdb2abbe9cb11b39d3 prov:agent _:cee0e82530cba58db3bf2f64e7ac75ba ;\n\tprov:hadRole cascade:AuthorRole .\n_:f9425d101c32b30c257b47676aff05ad prov:qualifiedAssociation _:4629e9b8115387fdb2abbe9cb11b39d3 .\n_:c7fb67df50c002241fa13f3ab4c48052 prov:agent _:bcbb064a6c2a751d5de06656f18bf96b ;\n\tprov:hadRole cascade:TransmitterRole .\n_:f9425d101c32b30c257b47676aff05ad prov:qualifiedAssociation _:c7fb67df50c002241fa13f3ab4c48052 .\n_:cee0e82530cba58db3bf2f64e7ac75ba <http://www.w3.org/2000/01/rdf-schema#label> \"Meridian Health System\" .\n_:bcbb064a6c2a751d5de06656f18bf96b <http://www.w3.org/2000/01/rdf-schema#label> \"Apple Health\" .\n_:9c2cd866d70a5faab8347b392ca2f8b7 <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;8LSQO6EavAFG9qthdMbkkIFt5RQ_ycChpEMA0dq8i3U> a prov:Entity .\n_:9c2cd866d70a5faab8347b392ca2f8b7 a prov:Activity ;\n\tprov:used <ni:///sha-256;8LSQO6EavAFG9qthdMbkkIFt5RQ_ycChpEMA0dq8i3U> ;\n\tprov:qualifiedAssociation _:58b4ad45a4da7fe705630ee22abd1bb2 .\n_:58b4ad45a4da7fe705630ee22abd1bb2 prov:hadPlan _:c8959c2c3bd6ee4df9c89168995a214f .\n_:c8959c2c3bd6ee4df9c89168995a214f a prov:Plan ;\n\t<http://www.w3.org/2000/01/rdf-schema#label> \"fhir-r4\" ;\n\tpav:version \"0.1.0\" .\n_:58b4ad45a4da7fe705630ee22abd1bb2 prov:agent _:fa6a7b2c076399430e830841443e4de .\n_:fa6a7b2c076399430e830841443e4de 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-dispense-partial-times.ttl", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/findings/medication-dispense-partial-times.ttl", "text": "@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_:f3d06a606a472b293397b704b31a55a8 a oa:FragmentSelector ;\n\t<http://purl.org/dc/terms/conformsTo> <https://www.rfc-editor.org/rfc/rfc6901> ;\n\trdf:value \"\" .\n_:ed779b0fe0661b972fab54a689e7c7ed a oa:Annotation ;\n\toa:hasTarget _:a1f6c622f8ef8c4e3dba03ce21593b3a .\n_:a1f6c622f8ef8c4e3dba03ce21593b3a oa:hasSource <../in/medication-dispense-partial-times.json> ;\n\toa:hasSelector _:f3d06a606a472b293397b704b31a55a8 .\n_:ed779b0fe0661b972fab54a689e7c7ed 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", "empty": false}}