{"name": "procedure-time-low-only", "comment": "A procedure whose effectiveTime states only its low, no value: the low is the procedure's date and no source path is left unaccounted.", "input": {"file": "fixtures/in/procedure-time-low-only.xml", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-ccda/blob/0c6ffe52b3c3d2dcd0dfaf3f0b9e00b69bf2ba96/fixtures/in/procedure-time-low-only.xml", "text": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<ClinicalDocument xmlns=\"urn:hl7-org:v3\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\n  <realmCode code=\"US\"/>\n  <typeId root=\"2.16.840.1.113883.1.3\" extension=\"POCD_HD000040\"/>\n  <templateId root=\"2.16.840.1.113883.10.20.22.1.1\" extension=\"2015-08-01\"/>\n  <templateId root=\"2.16.840.1.113883.10.20.22.1.2\" extension=\"2015-08-01\"/>\n  <id root=\"2.16.840.1.113883.19.5.99999.1\" extension=\"CCD-2026-1104-B\"/>\n  <code code=\"34133-9\" displayName=\"Summarization of Episode Note\" codeSystem=\"2.16.840.1.113883.6.1\" codeSystemName=\"LOINC\"/>\n  <title>Continuity of Care Document</title>\n  <effectiveTime value=\"20261104090000-0500\"/>\n  <confidentialityCode code=\"N\" codeSystem=\"2.16.840.1.113883.5.25\"/>\n  <languageCode code=\"en-US\"/>\n  <recordTarget>\n    <patientRole>\n      <id root=\"2.16.840.1.113883.19.5.99999.2\" extension=\"MRN-448120\"/>\n      <patient>\n        <name use=\"L\">\n          <given>Robin</given>\n          <family>Ahmadi</family>\n        </name>\n        <administrativeGenderCode code=\"F\" codeSystem=\"2.16.840.1.113883.5.1\"/>\n        <birthTime value=\"19780214\"/>\n      </patient>\n    </patientRole>\n  </recordTarget>\n  <author>\n    <time value=\"20261104090000-0500\"/>\n    <assignedAuthor>\n      <id root=\"2.16.840.1.113883.19.5.99999.3\"/>\n      <representedOrganization>\n        <name>Riverside Community Hospital</name>\n      </representedOrganization>\n    </assignedAuthor>\n  </author>\n  <custodian>\n    <assignedCustodian>\n      <representedCustodianOrganization>\n        <id root=\"2.16.840.1.113883.19.5.99999.3\"/>\n        <name>Riverside Community Hospital</name>\n      </representedCustodianOrganization>\n    </assignedCustodian>\n  </custodian>\n  <component>\n    <structuredBody>\n      <component>\n        <section>\n          <templateId root=\"2.16.840.1.113883.10.20.22.2.7.1\" extension=\"2015-08-01\"/>\n          <code code=\"47519-4\" displayName=\"History of Procedures Document\" codeSystem=\"2.16.840.1.113883.6.1\" codeSystemName=\"LOINC\"/>\n          <title>Procedures</title>\n          <text>Colonoscopy, begun 2024-02-14.</text>\n          <entry typeCode=\"DRIV\">\n            <procedure classCode=\"PROC\" moodCode=\"EVN\">\n              <templateId root=\"2.16.840.1.113883.10.20.22.4.14\" extension=\"2014-06-09\"/>\n              <id root=\"2.16.840.1.113883.19.5.99999.5\" extension=\"PROC-2001\"/>\n              <code code=\"73761001\" displayName=\"Colonoscopy\" codeSystem=\"2.16.840.1.113883.6.96\" codeSystemName=\"SNOMED CT\"/>\n              <statusCode code=\"completed\"/>\n              <effectiveTime>\n                <low value=\"20240214\"/>\n              </effectiveTime>\n            </procedure>\n          </entry>\n        </section>\n      </component>\n    </structuredBody>\n  </component>\n</ClinicalDocument>\n"}, "expectedGraph": {"file": "fixtures/expected/procedure-time-low-only.ttl", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-ccda/blob/0c6ffe52b3c3d2dcd0dfaf3f0b9e00b69bf2ba96/fixtures/expected/procedure-time-low-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 foaf: <http://xmlns.com/foaf/0.1/> .\n@prefix prov: <http://www.w3.org/ns/prov#> .\n@prefix org: <http://www.w3.org/ns/org#> .\n@prefix oa: <http://www.w3.org/ns/oa#> .\n<urn:uuid:5769da63-d46b-8c66-b381-d00b2f7ccadb> a cascade:Organization .\n<ni:///sha-256;DfDsW3B4Q5sVOZW1W2HQ5-B-atfpOj5zi1FGu2KAvrc> prov:wasGeneratedBy _:c0e9db1d111fc73c133649f67f9fec ;\n\tprov:wasAttributedTo <urn:uuid:5769da63-d46b-8c66-b381-d00b2f7ccadb> .\n_:c0e9db1d111fc73c133649f67f9fec prov:qualifiedAssociation _:fd05e2483adb129771018df2e9a859df .\n_:fd05e2483adb129771018df2e9a859df prov:agent <urn:uuid:5769da63-d46b-8c66-b381-d00b2f7ccadb> ;\n\tprov:hadRole cascade:CustodianRole .\n<ni:///sha-256;grKi0ms_W2WGoIJBSajj9WqQqFYdSHTIaehKWGv5yRg> prov:specializationOf <urn:uuid:5769da63-d46b-8c66-b381-d00b2f7ccadb> .\n_:f2b070777dbffa94694a5d90f3cb6dcd bridge:arrivedAs <ni:///sha-256;grKi0ms_W2WGoIJBSajj9WqQqFYdSHTIaehKWGv5yRg> ;\n\toa:hasSelector _:d46247f621475d146cda8345205c1d6f .\n_:d46247f621475d146cda8345205c1d6f a oa:XPathSelector ;\n\trdf:value \"/*[local-name()='ClinicalDocument' and namespace-uri()='urn:hl7-org:v3']/*[local-name()='custodian' and namespace-uri()='urn:hl7-org:v3'][1]/*[local-name()='assignedCustodian' and namespace-uri()='urn:hl7-org:v3'][1]/*[local-name()='representedCustodianOrganization' and namespace-uri()='urn:hl7-org:v3'][1]\" .\n<ni:///sha-256;grKi0ms_W2WGoIJBSajj9WqQqFYdSHTIaehKWGv5yRg> foaf:name \"Riverside Community Hospital\" ;\n\torg:identifier \"urn:oid:2.16.840.1.113883.19.5.99999.3\"^^<urn:ietf:rfc:3986> .\n<ni:///sha-256;HU34qYFrNKakQ50s66wCt_xuOGj34u0QgkSBlDVkmsw> cascade:noteOrDocumentDate \"2026-11-04T09:00:00-05:00\"^^xsd:dateTime ;\n\tcascade:noteOrDocumentTitle \"Procedures\" ;\n\tcascade:workflowStatus \"current\" ;\n\tcascade:noteOrDocumentTypeName \"History of Procedures Document\" ;\n\tcascade:noteOrDocumentTypeCode <http://loinc.org/rdf/47519-4> ;\n\tcascade:narrativeText \"Colonoscopy, begun 2024-02-14.\" .\n<ni:///sha-256;8OhFhApPXbNaEpnniPsDDmUOh7GZ3tQ3brvo1CVgP0c> foaf:givenName \"Robin\" ;\n\tfoaf:familyName \"Ahmadi\" ;\n\tcascade:dateOfBirth \"1978-02-14\"^^xsd:date ;\n\tcascade:administrativeGender \"female\" .\n<ni:///sha-256;OYgilrj0LJ4WzMAvSxLlID45yy021GjUJ1RBgj_KGCw> cascade:procedureName \"Colonoscopy\" ;\n\tcascade:procedureDate \"2024-02-14\"^^xsd:date ;\n\tcascade:workflowStatus \"completed\" ;\n\tcascade:procedureCode <http://snomed.info/id/73761001> .\n<urn:uuid:ed62f5a3-7994-8c3c-9b4a-9f1f41a1aba4> a cascade:PatientProfile ;\n\tcascade:sourceUrl <urn:hl7ii:2.16.840.1.113883.19.5.99999.2:MRN-448120> ;\n\tcascade:sourceRecordId \"2.16.840.1.113883.19.5.99999.2:MRN-448120\" .\n<ni:///sha-256;8OhFhApPXbNaEpnniPsDDmUOh7GZ3tQ3brvo1CVgP0c> prov:specializationOf <urn:uuid:ed62f5a3-7994-8c3c-9b4a-9f1f41a1aba4> .\n_:b5f3f7eee73d8d099076e619a6e7ac27 a oa:XPathSelector ;\n\trdf:value \"/*[local-name()='ClinicalDocument' and namespace-uri()='urn:hl7-org:v3']/*[local-name()='recordTarget' and namespace-uri()='urn:hl7-org:v3'][1]/*[local-name()='patientRole' and namespace-uri()='urn:hl7-org:v3'][1]\" .\n_:70280532b2548f4bb6084fe596e38dcb bridge:arrivedAs <ni:///sha-256;8OhFhApPXbNaEpnniPsDDmUOh7GZ3tQ3brvo1CVgP0c> ;\n\toa:hasSelector _:b5f3f7eee73d8d099076e619a6e7ac27 .\n<urn:uuid:c9396256-e5ea-8c09-b88f-f5f98a1178a8> a cascade:MedicalProcedure ;\n\tcascade:sourceUrl <urn:hl7ii:2.16.840.1.113883.19.5.99999.5:PROC-2001> ;\n\tcascade:sourceRecordId \"2.16.840.1.113883.19.5.99999.5:PROC-2001\" .\n<ni:///sha-256;OYgilrj0LJ4WzMAvSxLlID45yy021GjUJ1RBgj_KGCw> prov:specializationOf <urn:uuid:c9396256-e5ea-8c09-b88f-f5f98a1178a8> ;\n\tcascade:patient <urn:uuid:ed62f5a3-7994-8c3c-9b4a-9f1f41a1aba4> .\n_:ba248ad6a0bba74a655c1bcd52c1b8a0 a oa:XPathSelector ;\n\trdf:value \"/*[local-name()='ClinicalDocument' and namespace-uri()='urn:hl7-org:v3']/*[local-name()='component' and namespace-uri()='urn:hl7-org:v3'][1]/*[local-name()='structuredBody' and namespace-uri()='urn:hl7-org:v3'][1]/*[local-name()='component' and namespace-uri()='urn:hl7-org:v3'][1]/*[local-name()='section' and namespace-uri()='urn:hl7-org:v3'][1]/*[local-name()='entry' and namespace-uri()='urn:hl7-org:v3'][1]/*[local-name()='procedure' and namespace-uri()='urn:hl7-org:v3'][1]\" .\n_:aafa060a34c9bb6575f2b685a1dbfefd bridge:arrivedAs <ni:///sha-256;OYgilrj0LJ4WzMAvSxLlID45yy021GjUJ1RBgj_KGCw> ;\n\toa:hasSelector _:ba248ad6a0bba74a655c1bcd52c1b8a0 .\n<urn:uuid:7b59de8f-06ac-8fd7-896d-436bb23563fc> a cascade:ClinicalNoteOrDocument .\n<ni:///sha-256;HU34qYFrNKakQ50s66wCt_xuOGj34u0QgkSBlDVkmsw> prov:specializationOf <urn:uuid:7b59de8f-06ac-8fd7-896d-436bb23563fc> ;\n\tcascade:patient <urn:uuid:ed62f5a3-7994-8c3c-9b4a-9f1f41a1aba4> .\n_:c188be78b8e934c31a08bc94659363a5 a oa:XPathSelector ;\n\trdf:value \"/*[local-name()='ClinicalDocument' and namespace-uri()='urn:hl7-org:v3']/*[local-name()='component' and namespace-uri()='urn:hl7-org:v3'][1]/*[local-name()='structuredBody' and namespace-uri()='urn:hl7-org:v3'][1]/*[local-name()='component' and namespace-uri()='urn:hl7-org:v3'][1]/*[local-name()='section' and namespace-uri()='urn:hl7-org:v3'][1]\" .\n_:4b8f3fd783fa867572d7a9205e4b3e0 bridge:arrivedAs <ni:///sha-256;HU34qYFrNKakQ50s66wCt_xuOGj34u0QgkSBlDVkmsw> ;\n\toa:hasSelector _:c188be78b8e934c31a08bc94659363a5 .\n_:f2b070777dbffa94694a5d90f3cb6dcd oa:hasSource <ni:///sha-256;DfDsW3B4Q5sVOZW1W2HQ5-B-atfpOj5zi1FGu2KAvrc> ;\n\tprov:wasDerivedFrom <ni:///sha-256;DfDsW3B4Q5sVOZW1W2HQ5-B-atfpOj5zi1FGu2KAvrc> ;\n\tprov:wasGeneratedBy _:9deb064ebdf402b6515640b6a45de1d7 .\n_:4b8f3fd783fa867572d7a9205e4b3e0 oa:hasSource <ni:///sha-256;DfDsW3B4Q5sVOZW1W2HQ5-B-atfpOj5zi1FGu2KAvrc> ;\n\tprov:wasDerivedFrom <ni:///sha-256;DfDsW3B4Q5sVOZW1W2HQ5-B-atfpOj5zi1FGu2KAvrc> ;\n\tprov:wasGeneratedBy _:9deb064ebdf402b6515640b6a45de1d7 .\n_:aafa060a34c9bb6575f2b685a1dbfefd oa:hasSource <ni:///sha-256;DfDsW3B4Q5sVOZW1W2HQ5-B-atfpOj5zi1FGu2KAvrc> ;\n\tprov:wasDerivedFrom <ni:///sha-256;DfDsW3B4Q5sVOZW1W2HQ5-B-atfpOj5zi1FGu2KAvrc> ;\n\tprov:wasGeneratedBy _:9deb064ebdf402b6515640b6a45de1d7 .\n_:70280532b2548f4bb6084fe596e38dcb oa:hasSource <ni:///sha-256;DfDsW3B4Q5sVOZW1W2HQ5-B-atfpOj5zi1FGu2KAvrc> ;\n\tprov:wasDerivedFrom <ni:///sha-256;DfDsW3B4Q5sVOZW1W2HQ5-B-atfpOj5zi1FGu2KAvrc> ;\n\tprov:wasGeneratedBy _:9deb064ebdf402b6515640b6a45de1d7 .\n<ni:///sha-256;DfDsW3B4Q5sVOZW1W2HQ5-B-atfpOj5zi1FGu2KAvrc> <http://purl.org/pav/retrievedOn> \"2025-07-02T09:00:00Z\"^^xsd:dateTime ;\n\tprov:wasGeneratedBy _:fe9ce269421d9b5505804a5348c79e24 .\n_:c06b0f1f67efac3398a598e7ba26cc71 prov:agent _:35842fdd99ff19d20bffa7de5c6a71b8 ;\n\tprov:hadRole cascade:TransmitterRole .\n_:fe9ce269421d9b5505804a5348c79e24 prov:qualifiedAssociation _:c06b0f1f67efac3398a598e7ba26cc71 .\n_:35842fdd99ff19d20bffa7de5c6a71b8 <http://www.w3.org/2000/01/rdf-schema#label> \"Riverside patient portal\" .\n_:9deb064ebdf402b6515640b6a45de1d7 <http://www.w3.org/2000/01/rdf-schema#label> \"C-CDA download\" ;\n\tprov:startedAtTime \"2025-07-02T09:00:04Z\"^^xsd:dateTime .\n<ni:///sha-256;DfDsW3B4Q5sVOZW1W2HQ5-B-atfpOj5zi1FGu2KAvrc> a prov:Entity .\n_:9deb064ebdf402b6515640b6a45de1d7 a prov:Activity ;\n\tprov:used <ni:///sha-256;DfDsW3B4Q5sVOZW1W2HQ5-B-atfpOj5zi1FGu2KAvrc> ;\n\tprov:qualifiedAssociation _:7fdb8a830ff276bcbf7b79aa6b3ea071 .\n_:7fdb8a830ff276bcbf7b79aa6b3ea071 prov:hadPlan _:6c46e971ce4ae7a27c40511695f3e4e4 .\n_:6c46e971ce4ae7a27c40511695f3e4e4 a prov:Plan ;\n\t<http://www.w3.org/2000/01/rdf-schema#label> \"ccda\" ;\n\t<http://purl.org/pav/version> \"0.1.0\" .\n_:7fdb8a830ff276bcbf7b79aa6b3ea071 prov:agent _:59e256caead4f64e290730b63aab6100 .\n_:59e256caead4f64e290730b63aab6100 a prov:SoftwareAgent ;\n\t<http://www.w3.org/2000/01/rdf-schema#label> \"Cascade Bridge for Rust\" ;\n\t<http://purl.org/pav/version> \"0.1.0\" .\n"}, "expectedFindings": {"file": "fixtures/findings/procedure-time-low-only.ttl", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-ccda/blob/0c6ffe52b3c3d2dcd0dfaf3f0b9e00b69bf2ba96/fixtures/findings/procedure-time-low-only.ttl", "text": "@prefix ccda: <https://ns.cascadeprotocol.org/adapter/ccda/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_:f56a4c1bcbe9b70612d3eb00a40957e9 a oa:XPathSelector ;\n\trdf:value \"/*[local-name()='ClinicalDocument' and namespace-uri()='urn:hl7-org:v3']\" .\n_:c5b079b8ca7e5e324790c7ef5c40090b a oa:XPathSelector ;\n\trdf:value \"*[local-name()='author' and namespace-uri()='urn:hl7-org:v3'][1]\" .\n_:f56a4c1bcbe9b70612d3eb00a40957e9 oa:refinedBy _:c5b079b8ca7e5e324790c7ef5c40090b .\n_:a9073cba087d3cbfb2dbef347668a74d a oa:Annotation ;\n\toa:hasTarget _:e8584b011aeb0487145f1be03323db5a .\n_:e8584b011aeb0487145f1be03323db5a oa:hasSource <../in/procedure-time-low-only.xml> ;\n\toa:hasSelector _:f56a4c1bcbe9b70612d3eb00a40957e9 .\n_:a9073cba087d3cbfb2dbef347668a74d oa:hasBody ccda:documentAuthor ;\n\toa:motivatedBy oa:classifying ;\n\tsh:value \"/*[local-name()='ClinicalDocument' and namespace-uri()='urn:hl7-org:v3']/*[local-name()='author' and namespace-uri()='urn:hl7-org:v3']\" ;\n\tsh:resultSeverity sh:Info .\n_:ea266373a1ce7a1b17820023236c17a4 a oa:XPathSelector ;\n\trdf:value \"/*[local-name()='ClinicalDocument' and namespace-uri()='urn:hl7-org:v3']\" .\n_:d20d67ef91927c813b98c4dc1fa9c3f4 oa:hasSource <../in/procedure-time-low-only.xml> .\n_:ea266373a1ce7a1b17820023236c17a4 oa:refinedBy _:eb759d9e1316763f94515e3f0310eec6 .\n_:eb759d9e1316763f94515e3f0310eec6 a oa:XPathSelector ;\n\trdf:value \"*[local-name()='id' and namespace-uri()='urn:hl7-org:v3'][1]\" .\n_:d20d67ef91927c813b98c4dc1fa9c3f4 oa:hasSelector _:ea266373a1ce7a1b17820023236c17a4 .\n_:c6509fc7e47bc9de75ce6262004a52f5 oa:hasTarget _:d20d67ef91927c813b98c4dc1fa9c3f4 .\n_:efef2ee422c9d8e292f5fe038212fab5 a oa:XPathSelector ;\n\trdf:value \"/*[local-name()='ClinicalDocument' and namespace-uri()='urn:hl7-org:v3']\" .\n_:abd68ec5e153d41476bd341172da991e oa:hasSource <../in/procedure-time-low-only.xml> .\n_:efef2ee422c9d8e292f5fe038212fab5 oa:refinedBy _:b531a0f82eed10772d0d1255752983f9 .\n_:b531a0f82eed10772d0d1255752983f9 a oa:XPathSelector ;\n\trdf:value \"*[local-name()='code' and namespace-uri()='urn:hl7-org:v3'][1]\" .\n_:abd68ec5e153d41476bd341172da991e oa:hasSelector _:efef2ee422c9d8e292f5fe038212fab5 .\n_:b395f414a6ee0cb2b210ec438faef9c oa:hasTarget _:abd68ec5e153d41476bd341172da991e .\n_:c6509fc7e47bc9de75ce6262004a52f5 sh:resultSeverity sh:Info .\n_:b395f414a6ee0cb2b210ec438faef9c sh:resultSeverity sh:Info .\n_:c6509fc7e47bc9de75ce6262004a52f5 a oa:Annotation ;\n\toa:hasBody ccda:documentId ;\n\toa:motivatedBy oa:classifying ;\n\tsh:value \"2.16.840.1.113883.19.5.99999.1|CCD-2026-1104-B\" .\n_:b395f414a6ee0cb2b210ec438faef9c a oa:Annotation ;\n\toa:hasBody ccda:documentType ;\n\toa:motivatedBy oa:classifying ;\n\tsh:value \"34133-9\" .\n", "empty": false}}