{"name": "procedure-performed-date-beside-an-unreadable-period-start", "comment": "A Procedure with a readable performedDateTime and a performedPeriod whose start is a day the calendar lacks: the date is the performedDateTime, and the unused start is not reported as a date no mapping can type.", "input": {"file": "fixtures/in/procedure-performed-date-beside-an-unreadable-period-start.json", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/in/procedure-performed-date-beside-an-unreadable-period-start.json", "text": "{\n  \"resourceType\": \"Procedure\",\n  \"id\": \"proc-both-2\",\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  \"performedDateTime\": \"2026-03-05T09:00:00-05:00\",\n  \"performedPeriod\": {\n    \"start\": \"2026-02-30T08:00:00-05:00\",\n    \"end\": \"2026-03-05T09:30:00-05:00\"\n  }\n}\n"}, "expectedGraph": {"file": "fixtures/expected/procedure-performed-date-beside-an-unreadable-period-start.ttl", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/expected/procedure-performed-date-beside-an-unreadable-period-start.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;Z4wI6lAub4eS2TLm3Hlx2CYHxzRhYJfc0FWfKwQrzy4> cascade:procedureName \"Colonoscopy\" ;\n\tcascade:procedureCode <http://snomed.info/id/73761001> ;\n\tcascade:procedureDate \"2026-03-05T09:00:00-05:00\"^^xsd:dateTime ;\n\tcascade:workflowStatus \"completed\" .\n<urn:uuid:1bd3d5a7-2be3-860f-8ae3-f62224141a9f> a cascade:MedicalProcedure ;\n\tcascade:sourceUrl <https://fhir.meridian.example/api/FHIR/R4/Procedure/proc-both-2> ;\n\tcascade:sourceRecordId \"proc-both-2\" .\n<ni:///sha-256;Z4wI6lAub4eS2TLm3Hlx2CYHxzRhYJfc0FWfKwQrzy4> prov:specializationOf <urn:uuid:1bd3d5a7-2be3-860f-8ae3-f62224141a9f> ;\n\tcascade:patient <urn:uuid:7883c5a4-6c61-837c-9bf7-dbe1b37d89ff> .\n_:3d44fcbad91256b7449cc088a1b705b bridge:arrivedAs <ni:///sha-256;Z4wI6lAub4eS2TLm3Hlx2CYHxzRhYJfc0FWfKwQrzy4> ;\n\toa:hasSelector _:b93a6e4dc4aa48e496d3f0200bb52d7d ;\n\toa:hasSource <ni:///sha-256;goyFpMVN-MxdlEQUvvlrhcc_LBbdzNWv8an1CoHJtbQ> ;\n\tprov:wasDerivedFrom <ni:///sha-256;goyFpMVN-MxdlEQUvvlrhcc_LBbdzNWv8an1CoHJtbQ> ;\n\tprov:wasGeneratedBy _:2fd085ba9251f4f731fcd9faab63f4e2 .\n_:b93a6e4dc4aa48e496d3f0200bb52d7d a oa:FragmentSelector ;\n\tdct:conformsTo <https://www.rfc-editor.org/rfc/rfc6901> ;\n\trdf:value \"\" .\n<ni:///sha-256;goyFpMVN-MxdlEQUvvlrhcc_LBbdzNWv8an1CoHJtbQ> cascade:serverBaseUrl \"https://fhir.meridian.example/api/FHIR/R4\" ;\n\tpav:retrievedOn \"2026-09-01T10:00:00Z\"^^xsd:dateTime ;\n\tprov:wasGeneratedBy _:f576bf640f5c71b22c29238077e4af1d ;\n\tprov:wasAttributedTo _:93c1f9b3f423dd6df450188678c7c5fc ;\n\tcascade:authenticatedPatient \"Patient/eM5vN8qTz2Hc4Rk7Jw0Pb3\" ;\n\tcascade:authenticatedAsProxy false ;\n\tcascade:sourceFormatVersion \"4.0.1\" .\n_:4f058b5efab15d35c4a981ea2e2b1bf5 prov:agent _:93c1f9b3f423dd6df450188678c7c5fc ;\n\tprov:hadRole cascade:AuthorRole .\n_:f576bf640f5c71b22c29238077e4af1d prov:qualifiedAssociation _:4f058b5efab15d35c4a981ea2e2b1bf5 .\n_:732ce72bf513a26d95a402c2a0d4cc8c prov:agent _:2f38003a32280a51f0e80832935a2caf ;\n\tprov:hadRole cascade:TransmitterRole .\n_:f576bf640f5c71b22c29238077e4af1d prov:qualifiedAssociation _:732ce72bf513a26d95a402c2a0d4cc8c .\n_:93c1f9b3f423dd6df450188678c7c5fc <http://www.w3.org/2000/01/rdf-schema#label> \"Meridian Health System\" .\n_:2f38003a32280a51f0e80832935a2caf <http://www.w3.org/2000/01/rdf-schema#label> \"Apple Health\" .\n_:2fd085ba9251f4f731fcd9faab63f4e2 <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;goyFpMVN-MxdlEQUvvlrhcc_LBbdzNWv8an1CoHJtbQ> a prov:Entity .\n_:2fd085ba9251f4f731fcd9faab63f4e2 a prov:Activity ;\n\tprov:used <ni:///sha-256;goyFpMVN-MxdlEQUvvlrhcc_LBbdzNWv8an1CoHJtbQ> ;\n\tprov:qualifiedAssociation _:17a73dc90d196287f6204b02c27250eb .\n_:17a73dc90d196287f6204b02c27250eb prov:hadPlan _:dbd7d3e61d3af79aa051b6e8d6549133 .\n_:dbd7d3e61d3af79aa051b6e8d6549133 a prov:Plan ;\n\t<http://www.w3.org/2000/01/rdf-schema#label> \"fhir-r4\" ;\n\tpav:version \"0.1.0\" .\n_:17a73dc90d196287f6204b02c27250eb prov:agent _:d2df3d4e2269dc8f176b2e2dead84a3e .\n_:d2df3d4e2269dc8f176b2e2dead84a3e 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-date-beside-an-unreadable-period-start.ttl", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/findings/procedure-performed-date-beside-an-unreadable-period-start.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_:e5fa44d38c0d69c7c4627c67b8ad427f a oa:FragmentSelector ;\n\t<http://purl.org/dc/terms/conformsTo> <https://www.rfc-editor.org/rfc/rfc6901> ;\n\trdf:value \"\" .\n_:c82f569b4c9a401963a737e72610ff42 a oa:FragmentSelector ;\n\t<http://purl.org/dc/terms/conformsTo> <https://www.rfc-editor.org/rfc/rfc6901> ;\n\trdf:value \"/performedPeriod/end\" .\n_:e5fa44d38c0d69c7c4627c67b8ad427f oa:refinedBy _:c82f569b4c9a401963a737e72610ff42 .\n_:da018ce604f185896fee33547d5cd28a a oa:Annotation ;\n\toa:hasTarget _:a0dd91c0fd5c50c757145916139a5bed .\n_:a0dd91c0fd5c50c757145916139a5bed oa:hasSource <../in/procedure-performed-date-beside-an-unreadable-period-start.json> ;\n\toa:hasSelector _:e5fa44d38c0d69c7c4627c67b8ad427f .\n_:da018ce604f185896fee33547d5cd28a oa:hasBody fhirr4:procedurePeriodEnd ;\n\toa:motivatedBy oa:classifying ;\n\tsh:value \"/performedPeriod/end\" ;\n\tsh:resultSeverity sh:Info .\n", "empty": false}}