{"name": "procedure-performed-period-end-only", "comment": "A Procedure performed over a period with only an end: it has no date, since the date is the period's start, and the end is reported.", "input": {"file": "fixtures/in/procedure-performed-period-end-only.json", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/in/procedure-performed-period-end-only.json", "text": "{\n  \"resourceType\": \"Procedure\",\n  \"id\": \"proc-period-3\",\n  \"status\": \"completed\",\n  \"code\": {\n    \"coding\": [\n      {\n        \"system\": \"http://snomed.info/sct\",\n        \"code\": \"73761001\",\n        \"display\": \"Colonoscopy\"\n      }\n    ],\n    \"text\": \"Colonoscopy\"\n  },\n  \"subject\": {\n    \"reference\": \"Patient/pat-conformance-1\"\n  },\n  \"performedPeriod\": {\n    \"end\": \"2026-04-09T11:00:00-04:00\"\n  }\n}\n"}, "expectedGraph": {"file": "fixtures/expected/procedure-performed-period-end-only.ttl", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/expected/procedure-performed-period-end-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;gtVYiORCqw4Z_pqeakvDjnEcSSkJqvY7lrKo2d-lBPA> cascade:procedureName \"Colonoscopy\" ;\n\tcascade:procedureCode <http://snomed.info/id/73761001> ;\n\tcascade:workflowStatus \"completed\" .\n<urn:uuid:80d96770-0943-83e9-9e54-0ee8749bebfa> a cascade:MedicalProcedure ;\n\tcascade:sourceUrl <https://fhir.meridian.example/api/FHIR/R4/Procedure/proc-period-3> ;\n\tcascade:sourceRecordId \"proc-period-3\" .\n<ni:///sha-256;gtVYiORCqw4Z_pqeakvDjnEcSSkJqvY7lrKo2d-lBPA> prov:specializationOf <urn:uuid:80d96770-0943-83e9-9e54-0ee8749bebfa> ;\n\tcascade:patient <urn:uuid:7883c5a4-6c61-837c-9bf7-dbe1b37d89ff> .\n_:d77f709dc1ff4af72d0684ab146b7459 bridge:arrivedAs <ni:///sha-256;gtVYiORCqw4Z_pqeakvDjnEcSSkJqvY7lrKo2d-lBPA> ;\n\toa:hasSelector _:ecd0d8294e0cddb8c6795edac3ca848e ;\n\toa:hasSource <ni:///sha-256;E37LD_jnz3POgCC2nGaIIK26uGg9nCKYjPBvbip685M> ;\n\tprov:wasDerivedFrom <ni:///sha-256;E37LD_jnz3POgCC2nGaIIK26uGg9nCKYjPBvbip685M> ;\n\tprov:wasGeneratedBy _:bc6ab7c0bb6b239b9f5627872f97ea6e .\n_:ecd0d8294e0cddb8c6795edac3ca848e a oa:FragmentSelector ;\n\tdct:conformsTo <https://www.rfc-editor.org/rfc/rfc6901> ;\n\trdf:value \"\" .\n<ni:///sha-256;E37LD_jnz3POgCC2nGaIIK26uGg9nCKYjPBvbip685M> cascade:serverBaseUrl \"https://fhir.meridian.example/api/FHIR/R4\" ;\n\tpav:retrievedOn \"2026-09-01T10:00:00Z\"^^xsd:dateTime ;\n\tprov:wasGeneratedBy _:bb0412af0f3532014ae36705b147497c ;\n\tprov:wasAttributedTo _:28c70276374ddf3b2eb9a0bc7f3d7af9 ;\n\tcascade:authenticatedPatient \"Patient/eM5vN8qTz2Hc4Rk7Jw0Pb3\" ;\n\tcascade:authenticatedAsProxy false ;\n\tcascade:sourceFormatVersion \"4.0.1\" .\n_:2e123df3bbf96055e8339e250aff0a72 prov:agent _:28c70276374ddf3b2eb9a0bc7f3d7af9 ;\n\tprov:hadRole cascade:AuthorRole .\n_:bb0412af0f3532014ae36705b147497c prov:qualifiedAssociation _:2e123df3bbf96055e8339e250aff0a72 .\n_:b988a42893a419c3e219c3d2cec3ce80 prov:agent _:d987b434ec5f592acd36466e31a7677e ;\n\tprov:hadRole cascade:TransmitterRole .\n_:bb0412af0f3532014ae36705b147497c prov:qualifiedAssociation _:b988a42893a419c3e219c3d2cec3ce80 .\n_:28c70276374ddf3b2eb9a0bc7f3d7af9 <http://www.w3.org/2000/01/rdf-schema#label> \"Meridian Health System\" .\n_:d987b434ec5f592acd36466e31a7677e <http://www.w3.org/2000/01/rdf-schema#label> \"Apple Health\" .\n_:bc6ab7c0bb6b239b9f5627872f97ea6e <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;E37LD_jnz3POgCC2nGaIIK26uGg9nCKYjPBvbip685M> a prov:Entity .\n_:bc6ab7c0bb6b239b9f5627872f97ea6e a prov:Activity ;\n\tprov:used <ni:///sha-256;E37LD_jnz3POgCC2nGaIIK26uGg9nCKYjPBvbip685M> ;\n\tprov:qualifiedAssociation _:7dcf38a3c4dd9bb1a22eb2e07ceab0b4 .\n_:7dcf38a3c4dd9bb1a22eb2e07ceab0b4 prov:hadPlan _:4cb18e47a12e34c3aec4a5e92106bab7 .\n_:4cb18e47a12e34c3aec4a5e92106bab7 a prov:Plan ;\n\t<http://www.w3.org/2000/01/rdf-schema#label> \"fhir-r4\" ;\n\tpav:version \"0.1.0\" .\n_:7dcf38a3c4dd9bb1a22eb2e07ceab0b4 prov:agent _:6147020e61965f83ebf071460d867806 .\n_:6147020e61965f83ebf071460d867806 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/procedure-performed-period-end-only.ttl", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/findings/procedure-performed-period-end-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_:c4fb4abdf3a066a3b90f88abe67ff71c a oa:FragmentSelector ;\n\t<http://purl.org/dc/terms/conformsTo> <https://www.rfc-editor.org/rfc/rfc6901> ;\n\trdf:value \"\" .\n_:fd30cc8203a42a0197d02134a16a5e63 a oa:FragmentSelector ;\n\t<http://purl.org/dc/terms/conformsTo> <https://www.rfc-editor.org/rfc/rfc6901> ;\n\trdf:value \"/performedPeriod/end\" .\n_:c4fb4abdf3a066a3b90f88abe67ff71c oa:refinedBy _:fd30cc8203a42a0197d02134a16a5e63 .\n_:ec4f9da402f824192cef513f3ac57627 a oa:Annotation ;\n\toa:hasTarget _:ca616d780f25433904399cc00be4e65a .\n_:ca616d780f25433904399cc00be4e65a oa:hasSource <../in/procedure-performed-period-end-only.json> ;\n\toa:hasSelector _:c4fb4abdf3a066a3b90f88abe67ff71c .\n_:ec4f9da402f824192cef513f3ac57627 oa:hasBody fhirr4:procedurePeriodEnd ;\n\toa:motivatedBy oa:classifying ;\n\tsh:value \"/performedPeriod/end\" ;\n\tsh:resultSeverity sh:Info .\n", "empty": false}}