{"name": "procedure-icd9-cm-procedure-oid", "comment": "A procedure coded in ICD-9-CM procedure codes, OID 2.16.840.1.113883.6.104: a cascade:procedureCode IRI under the ICD-9-CM stem.", "input": {"file": "fixtures/in/procedure-icd9-cm-procedure-oid.xml", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-ccda/blob/0c6ffe52b3c3d2dcd0dfaf3f0b9e00b69bf2ba96/fixtures/in/procedure-icd9-cm-procedure-oid.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-1029-Q\"/>\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=\"20261029090000-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-552012\"/>\n      <patient>\n        <name use=\"L\">\n          <given>Ada</given>\n          <family>Okonjo</family>\n        </name>\n        <administrativeGenderCode code=\"F\" codeSystem=\"2.16.840.1.113883.5.1\"/>\n        <birthTime value=\"19480302\"/>\n      </patient>\n    </patientRole>\n  </recordTarget>\n  <author>\n    <time value=\"20261029090000-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          <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-2011\"/>\n              <code code=\"45.23\" displayName=\"Colonoscopy\" codeSystem=\"2.16.840.1.113883.6.104\" codeSystemName=\"ICD-9-CM-Procedures\"/>\n              <statusCode code=\"completed\"/>\n              <effectiveTime value=\"20240214\"/>\n            </procedure>\n          </entry>\n        </section>\n      </component>\n    </structuredBody>\n  </component>\n</ClinicalDocument>\n"}, "expectedGraph": {"file": "fixtures/expected/procedure-icd9-cm-procedure-oid.ttl", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-ccda/blob/0c6ffe52b3c3d2dcd0dfaf3f0b9e00b69bf2ba96/fixtures/expected/procedure-icd9-cm-procedure-oid.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;yvTs9of10M7vBJ1xdsXwTql21xFLRzMLUprPqY4x7bs> prov:wasGeneratedBy _:ae1c16a30e9806287b71712ca2f80ada ;\n\tprov:wasAttributedTo <urn:uuid:5769da63-d46b-8c66-b381-d00b2f7ccadb> .\n_:ae1c16a30e9806287b71712ca2f80ada prov:qualifiedAssociation _:d471a36cfa51cf5ed103fbc776f8c75d .\n_:d471a36cfa51cf5ed103fbc776f8c75d 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_:fbb226fb8eb7f9cba36249e265b5f893 bridge:arrivedAs <ni:///sha-256;grKi0ms_W2WGoIJBSajj9WqQqFYdSHTIaehKWGv5yRg> ;\n\toa:hasSelector _:daf65ecae45f89dffbe224b022789f7 .\n_:daf65ecae45f89dffbe224b022789f7 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;EVwdxLuG51G60_9c_XpCwjPNK7H2ZQcLTj262S_EZA8> foaf:givenName \"Ada\" ;\n\tfoaf:familyName \"Okonjo\" ;\n\tcascade:dateOfBirth \"1948-03-02\"^^xsd:date ;\n\tcascade:administrativeGender \"female\" .\n<ni:///sha-256;9Vyxr-DAFcF9xxN5lGrswMonjOte8YDsPi62piOIDiY> cascade:procedureName \"Colonoscopy\" ;\n\tcascade:workflowStatus \"completed\" ;\n\tcascade:procedureDate \"2024-02-14\"^^xsd:date ;\n\tcascade:procedureCode <https://ns.cascadeprotocol.org/codes/icd9cm/45.23> .\n<urn:uuid:794d1263-7742-8a95-850e-663e9a08ffe7> a cascade:PatientProfile ;\n\tcascade:sourceUrl <urn:hl7ii:2.16.840.1.113883.19.5.99999.2:MRN-552012> ;\n\tcascade:sourceRecordId \"2.16.840.1.113883.19.5.99999.2:MRN-552012\" .\n<ni:///sha-256;EVwdxLuG51G60_9c_XpCwjPNK7H2ZQcLTj262S_EZA8> prov:specializationOf <urn:uuid:794d1263-7742-8a95-850e-663e9a08ffe7> .\n_:dc5210a2a1e5594ed046d6d4f5ca37a9 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_:45f3f59309e66fdf51bb1be7e4a2c966 bridge:arrivedAs <ni:///sha-256;EVwdxLuG51G60_9c_XpCwjPNK7H2ZQcLTj262S_EZA8> ;\n\toa:hasSelector _:dc5210a2a1e5594ed046d6d4f5ca37a9 .\n<urn:uuid:fc383492-aa4c-886b-b0bb-b81b02cace16> a cascade:MedicalProcedure ;\n\tcascade:sourceUrl <urn:hl7ii:2.16.840.1.113883.19.5.99999.5:PROC-2011> ;\n\tcascade:sourceRecordId \"2.16.840.1.113883.19.5.99999.5:PROC-2011\" .\n<ni:///sha-256;9Vyxr-DAFcF9xxN5lGrswMonjOte8YDsPi62piOIDiY> prov:specializationOf <urn:uuid:fc383492-aa4c-886b-b0bb-b81b02cace16> ;\n\tcascade:patient <urn:uuid:794d1263-7742-8a95-850e-663e9a08ffe7> .\n_:d07df00b6390cd7d6eb3d3679fbf44e 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_:a07cb9a3e367a69dfa51d251f5e98d9d bridge:arrivedAs <ni:///sha-256;9Vyxr-DAFcF9xxN5lGrswMonjOte8YDsPi62piOIDiY> ;\n\toa:hasSelector _:d07df00b6390cd7d6eb3d3679fbf44e .\n_:fbb226fb8eb7f9cba36249e265b5f893 oa:hasSource <ni:///sha-256;yvTs9of10M7vBJ1xdsXwTql21xFLRzMLUprPqY4x7bs> ;\n\tprov:wasDerivedFrom <ni:///sha-256;yvTs9of10M7vBJ1xdsXwTql21xFLRzMLUprPqY4x7bs> ;\n\tprov:wasGeneratedBy _:c2a03f24c0b752bea607d4bef124e8b6 .\n_:45f3f59309e66fdf51bb1be7e4a2c966 oa:hasSource <ni:///sha-256;yvTs9of10M7vBJ1xdsXwTql21xFLRzMLUprPqY4x7bs> ;\n\tprov:wasDerivedFrom <ni:///sha-256;yvTs9of10M7vBJ1xdsXwTql21xFLRzMLUprPqY4x7bs> ;\n\tprov:wasGeneratedBy _:c2a03f24c0b752bea607d4bef124e8b6 .\n_:a07cb9a3e367a69dfa51d251f5e98d9d oa:hasSource <ni:///sha-256;yvTs9of10M7vBJ1xdsXwTql21xFLRzMLUprPqY4x7bs> ;\n\tprov:wasDerivedFrom <ni:///sha-256;yvTs9of10M7vBJ1xdsXwTql21xFLRzMLUprPqY4x7bs> ;\n\tprov:wasGeneratedBy _:c2a03f24c0b752bea607d4bef124e8b6 .\n<ni:///sha-256;yvTs9of10M7vBJ1xdsXwTql21xFLRzMLUprPqY4x7bs> <http://purl.org/pav/retrievedOn> \"2025-07-02T09:00:00Z\"^^xsd:dateTime ;\n\tprov:wasGeneratedBy _:4c034142fc21ce37c33e86c2ae33197 .\n_:3e089c9c7cfbda1564930a90cbb45d4 prov:agent _:89d902bcadff261431d4f363f8a6b9c5 ;\n\tprov:hadRole cascade:TransmitterRole .\n_:4c034142fc21ce37c33e86c2ae33197 prov:qualifiedAssociation _:3e089c9c7cfbda1564930a90cbb45d4 .\n_:89d902bcadff261431d4f363f8a6b9c5 <http://www.w3.org/2000/01/rdf-schema#label> \"Riverside patient portal\" .\n_:c2a03f24c0b752bea607d4bef124e8b6 <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;yvTs9of10M7vBJ1xdsXwTql21xFLRzMLUprPqY4x7bs> a prov:Entity .\n_:c2a03f24c0b752bea607d4bef124e8b6 a prov:Activity ;\n\tprov:used <ni:///sha-256;yvTs9of10M7vBJ1xdsXwTql21xFLRzMLUprPqY4x7bs> ;\n\tprov:qualifiedAssociation _:5266a0218ebbc77fba820ede98b220d4 .\n_:5266a0218ebbc77fba820ede98b220d4 prov:hadPlan _:1257ed50a7ed22ed47fa2418247420b9 .\n_:1257ed50a7ed22ed47fa2418247420b9 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_:5266a0218ebbc77fba820ede98b220d4 prov:agent _:d20aef28e04500b3e4115c5810a70a27 .\n_:d20aef28e04500b3e4115c5810a70a27 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-icd9-cm-procedure-oid.ttl", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-ccda/blob/0c6ffe52b3c3d2dcd0dfaf3f0b9e00b69bf2ba96/fixtures/findings/procedure-icd9-cm-procedure-oid.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_:a238bc92555c5fb01300b1507ae91eb3 a oa:XPathSelector ;\n\trdf:value \"/*[local-name()='ClinicalDocument' and namespace-uri()='urn:hl7-org:v3']\" .\n_:c0b16882185c349859f1c85ee4594a2d a oa:XPathSelector ;\n\trdf:value \"*[local-name()='author' and namespace-uri()='urn:hl7-org:v3'][1]\" .\n_:a238bc92555c5fb01300b1507ae91eb3 oa:refinedBy _:c0b16882185c349859f1c85ee4594a2d .\n_:eb216e0e0b84c1057e0dd78196fedbc1 a oa:Annotation ;\n\toa:hasTarget _:e226d24f7cf7aa9c98852dc37b0003a1 .\n_:e226d24f7cf7aa9c98852dc37b0003a1 oa:hasSource <../in/procedure-icd9-cm-procedure-oid.xml> ;\n\toa:hasSelector _:a238bc92555c5fb01300b1507ae91eb3 .\n_:eb216e0e0b84c1057e0dd78196fedbc1 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_:eb2cfa3f659ebd42be1a5f8d60c14e9b a oa:XPathSelector ;\n\trdf:value \"/*[local-name()='ClinicalDocument' and namespace-uri()='urn:hl7-org:v3']\" .\n_:f68ac6ba9263d83c65568f2ca6c50f7f oa:hasSource <../in/procedure-icd9-cm-procedure-oid.xml> .\n_:eb2cfa3f659ebd42be1a5f8d60c14e9b oa:refinedBy _:ed050752b387aafc0b67b9358ed42347 .\n_:ed050752b387aafc0b67b9358ed42347 a oa:XPathSelector ;\n\trdf:value \"*[local-name()='id' and namespace-uri()='urn:hl7-org:v3'][1]\" .\n_:f68ac6ba9263d83c65568f2ca6c50f7f oa:hasSelector _:eb2cfa3f659ebd42be1a5f8d60c14e9b .\n_:e93127319f4d2c0185d9fb01ea5a44a9 oa:hasTarget _:f68ac6ba9263d83c65568f2ca6c50f7f .\n_:dacda20709dceab3f8e54597f37132a0 a oa:XPathSelector ;\n\trdf:value \"/*[local-name()='ClinicalDocument' and namespace-uri()='urn:hl7-org:v3']\" .\n_:f7463ff5ae4e713a937b255281db306b oa:hasSource <../in/procedure-icd9-cm-procedure-oid.xml> .\n_:dacda20709dceab3f8e54597f37132a0 oa:refinedBy _:d17de2b9aed32681829e74fcbe823bba .\n_:d17de2b9aed32681829e74fcbe823bba a oa:XPathSelector ;\n\trdf:value \"*[local-name()='code' and namespace-uri()='urn:hl7-org:v3'][1]\" .\n_:f7463ff5ae4e713a937b255281db306b oa:hasSelector _:dacda20709dceab3f8e54597f37132a0 .\n_:d821e5d376a81f90bef63f8c2f765737 oa:hasTarget _:f7463ff5ae4e713a937b255281db306b .\n_:d65f6d8bebbb665dad1689c9870007a4 a oa:XPathSelector ;\n\trdf:value \"/*[local-name()='ClinicalDocument' and namespace-uri()='urn:hl7-org:v3']\" .\n_:df9330f9372c264b58c104190b91522b oa:hasSource <../in/procedure-icd9-cm-procedure-oid.xml> .\n_:d65f6d8bebbb665dad1689c9870007a4 oa:refinedBy _:fde37ddad7d0844edadd99a68ec0af01 .\n_:fde37ddad7d0844edadd99a68ec0af01 a oa:XPathSelector ;\n\trdf:value \"*[local-name()='effectiveTime' and namespace-uri()='urn:hl7-org:v3'][1]\" .\n_:df9330f9372c264b58c104190b91522b oa:hasSelector _:d65f6d8bebbb665dad1689c9870007a4 .\n_:d0594f2ceffcb130bfba3129ad708846 oa:hasTarget _:df9330f9372c264b58c104190b91522b .\n_:e93127319f4d2c0185d9fb01ea5a44a9 sh:resultSeverity sh:Info .\n_:d821e5d376a81f90bef63f8c2f765737 sh:resultSeverity sh:Info .\n_:d0594f2ceffcb130bfba3129ad708846 sh:resultSeverity sh:Info .\n_:e93127319f4d2c0185d9fb01ea5a44a9 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-1029-Q\" .\n_:d821e5d376a81f90bef63f8c2f765737 a oa:Annotation ;\n\toa:hasBody ccda:documentType ;\n\toa:motivatedBy oa:classifying ;\n\tsh:value \"34133-9\" .\n_:d0594f2ceffcb130bfba3129ad708846 a oa:Annotation ;\n\toa:hasBody ccda:documentTime ;\n\toa:motivatedBy oa:classifying ;\n\tsh:value \"20261029090000-0500\" .\n", "empty": false}}