{"name": "codes-in-other-systems", "comment": "A drug coded by a formulary's code with an RxNorm translation, a problem coded in ICD-9-CM with a SNOMED CT translation, a procedure coded in HCPCS with CPT and SNOMED CT translations, and a test coded by a lab's local code with a LOINC translation. Each code in a system its kind has a term for, or for a problem and a procedure that the code system table gives an IRI stem (ICD-9-CM, CPT, SNOMED CT), is that term's IRI under the stem; every other is a literal on its kind's cascade:medicationCodeInOtherSystem, conditionCodeInOtherSystem, procedureCodeInOtherSystem or testCodeInOtherSystem, typed by the system's FHIR URI where the code system table lists its OID (HCPCS Level II) and by urn:oid: and the OID where it does not, and none is a finding.", "input": {"file": "fixtures/in/codes-in-other-systems.xml", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-ccda/blob/0c6ffe52b3c3d2dcd0dfaf3f0b9e00b69bf2ba96/fixtures/in/codes-in-other-systems.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-C\"/>\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-552011\"/>\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.1.1\" extension=\"2014-06-09\"/>\n          <code code=\"10160-0\" displayName=\"History of Medication use Narrative\" codeSystem=\"2.16.840.1.113883.6.1\" codeSystemName=\"LOINC\"/>\n          <title>Medications</title>\n          <entry typeCode=\"DRIV\">\n            <substanceAdministration classCode=\"SBADM\" moodCode=\"EVN\">\n              <templateId root=\"2.16.840.1.113883.10.20.22.4.16\" extension=\"2014-06-09\"/>\n              <id root=\"2.16.840.1.113883.19.5.99999.5\" extension=\"MED-3411\"/>\n              <statusCode code=\"active\"/>\n              <effectiveTime xsi:type=\"IVL_TS\">\n                <low value=\"20240301\"/>\n              </effectiveTime>\n              <consumable>\n                <manufacturedProduct classCode=\"MANU\">\n                  <templateId root=\"2.16.840.1.113883.10.20.22.4.23\" extension=\"2014-06-09\"/>\n                  <manufacturedMaterial>\n                    <code code=\"FRM-4471\" displayName=\"lisinopril 10 mg tablet\" codeSystem=\"2.16.840.1.113883.19.5.99999.77\">\n                      <translation code=\"314076\" displayName=\"lisinopril 10 MG Oral Tablet\" codeSystem=\"2.16.840.1.113883.6.88\" codeSystemName=\"RxNorm\"/>\n                    </code>\n                  </manufacturedMaterial>\n                </manufacturedProduct>\n              </consumable>\n            </substanceAdministration>\n          </entry>\n        </section>\n      </component>\n      <component>\n        <section>\n          <templateId root=\"2.16.840.1.113883.10.20.22.2.5.1\" extension=\"2015-08-01\"/>\n          <code code=\"11450-4\" displayName=\"Problem List\" codeSystem=\"2.16.840.1.113883.6.1\" codeSystemName=\"LOINC\"/>\n          <title>Problems</title>\n          <entry typeCode=\"DRIV\">\n            <act classCode=\"ACT\" moodCode=\"EVN\">\n              <templateId root=\"2.16.840.1.113883.10.20.22.4.3\" extension=\"2015-08-01\"/>\n              <id root=\"2.16.840.1.113883.19.5.99999.4\" extension=\"CONCERN-7711\"/>\n              <code code=\"CONC\" codeSystem=\"2.16.840.1.113883.5.6\"/>\n              <statusCode code=\"active\"/>\n              <entryRelationship typeCode=\"SUBJ\">\n                <observation classCode=\"OBS\" moodCode=\"EVN\">\n                  <templateId root=\"2.16.840.1.113883.10.20.22.4.4\" extension=\"2015-08-01\"/>\n                  <id root=\"2.16.840.1.113883.19.5.99999.4\" extension=\"PROBLEM-7711\"/>\n                  <code code=\"55607006\" displayName=\"Problem\" codeSystem=\"2.16.840.1.113883.6.96\"/>\n                  <statusCode code=\"completed\"/>\n                  <effectiveTime value=\"20250327\"/>\n                  <value xsi:type=\"CD\" code=\"493.90\" displayName=\"Asthma, unspecified type, unspecified\" codeSystem=\"2.16.840.1.113883.6.103\" codeSystemName=\"ICD-9-CM\">\n                    <translation code=\"195967001\" displayName=\"Asthma\" codeSystem=\"2.16.840.1.113883.6.96\" codeSystemName=\"SNOMED CT\"/>\n                  </value>\n                </observation>\n              </entryRelationship>\n            </act>\n          </entry>\n        </section>\n      </component>\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-1011\"/>\n              <code code=\"G0121\" displayName=\"Colorectal cancer screening; colonoscopy on individual not meeting criteria for high risk\" codeSystem=\"2.16.840.1.113883.6.285\" codeSystemName=\"HCPCS\">\n                <translation code=\"45378\" codeSystem=\"2.16.840.1.113883.6.12\" codeSystemName=\"CPT\"/>\n                <translation code=\"73761001\" displayName=\"Colonoscopy\" codeSystem=\"2.16.840.1.113883.6.96\" codeSystemName=\"SNOMED CT\"/>\n              </code>\n              <statusCode code=\"completed\"/>\n              <effectiveTime value=\"20240214\"/>\n            </procedure>\n          </entry>\n        </section>\n      </component>\n      <component>\n        <section>\n          <templateId root=\"2.16.840.1.113883.10.20.22.2.3.1\" extension=\"2015-08-01\"/>\n          <code code=\"30954-2\" displayName=\"Relevant diagnostic tests/laboratory data Narrative\" codeSystem=\"2.16.840.1.113883.6.1\" codeSystemName=\"LOINC\"/>\n          <title>Results</title>\n          <entry typeCode=\"DRIV\">\n            <organizer classCode=\"BATTERY\" moodCode=\"EVN\">\n              <templateId root=\"2.16.840.1.113883.10.20.22.4.1\" extension=\"2015-08-01\"/>\n              <id root=\"2.16.840.1.113883.19.5.99999.6\" extension=\"LABP-9510\"/>\n              <code code=\"2132-9\" displayName=\"Cobalamin (Vitamin B12) [Mass/volume] in Serum or Plasma\" codeSystem=\"2.16.840.1.113883.6.1\" codeSystemName=\"LOINC\"/>\n              <statusCode code=\"completed\"/>\n              <effectiveTime value=\"20250901083000-0500\"/>\n              <component>\n                <observation classCode=\"OBS\" moodCode=\"EVN\">\n                  <templateId root=\"2.16.840.1.113883.10.20.22.4.2\" extension=\"2015-08-01\"/>\n                  <id root=\"2.16.840.1.113883.19.5.99999.6\" extension=\"LAB-9511\"/>\n                  <code code=\"B12-SER\" displayName=\"Vitamin B12, serum\" codeSystem=\"2.16.840.1.113883.19.5.99999.88\">\n                    <translation code=\"2132-9\" displayName=\"Cobalamin (Vitamin B12) [Mass/volume] in Serum or Plasma\" codeSystem=\"2.16.840.1.113883.6.1\" codeSystemName=\"LOINC\"/>\n                  </code>\n                  <statusCode code=\"completed\"/>\n                  <effectiveTime value=\"20250901083000-0500\"/>\n                  <value xsi:type=\"PQ\" value=\"412\" unit=\"pg/mL\"/>\n                </observation>\n              </component>\n            </organizer>\n          </entry>\n        </section>\n      </component>\n    </structuredBody>\n  </component>\n</ClinicalDocument>\n"}, "expectedGraph": {"file": "fixtures/expected/codes-in-other-systems.ttl", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-ccda/blob/0c6ffe52b3c3d2dcd0dfaf3f0b9e00b69bf2ba96/fixtures/expected/codes-in-other-systems.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 obo: <http://purl.obolibrary.org/obo/> .\n@prefix foaf: <http://xmlns.com/foaf/0.1/> .\n@prefix prov: <http://www.w3.org/ns/prov#> .\n@prefix dct: <http://purl.org/dc/terms/> .\n@prefix org: <http://www.w3.org/ns/org#> .\n@prefix oa: <http://www.w3.org/ns/oa#> .\n<ni:///sha-256;0EwMWVgpUer3C6yYwEtysTVjDruOsEPlfuJW8fNu770> cascade:conditionName \"Asthma, unspecified type, unspecified\" ;\n\tcascade:clinicalStatus \"active\" ;\n\tcascade:onsetDate \"2025-03-27\"^^xsd:date ;\n\tcascade:conditionCategory \"problem-list-item\" ;\n\tcascade:conditionCode <https://ns.cascadeprotocol.org/codes/icd9cm/493.90> , <http://snomed.info/id/195967001> .\n<urn:uuid:5769da63-d46b-8c66-b381-d00b2f7ccadb> a cascade:Organization .\n<ni:///sha-256;cLDsBOGY-ZdkFDQ6w5K4IvEYi5KLjXWjI_Fk9fQ5UpM> prov:wasGeneratedBy _:dba18d506466a4a56f24d6dba43f31ac ;\n\tprov:wasAttributedTo <urn:uuid:5769da63-d46b-8c66-b381-d00b2f7ccadb> .\n_:dba18d506466a4a56f24d6dba43f31ac prov:qualifiedAssociation _:e12418076b30e7b3509bfdd305b193d3 .\n_:e12418076b30e7b3509bfdd305b193d3 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_:1e530452fdf8bb2aa5283f82c9a61fa1 bridge:arrivedAs <ni:///sha-256;grKi0ms_W2WGoIJBSajj9WqQqFYdSHTIaehKWGv5yRg> ;\n\toa:hasSelector _:e3819ec6256b918a7164c65c76bc637e .\n_:e3819ec6256b918a7164c65c76bc637e 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;PFw6zMBz2dVCbtK6jLAzQ6dFq7p3MugeS4t6ic9os_M> cascade:prescribedOrReported \"reportedUse\" ;\n\tcascade:medicationUseStartDate \"2024-03-01\"^^xsd:date ;\n\tcascade:workflowStatus \"active\" ;\n\tcascade:drugName \"lisinopril 10 mg tablet\" ;\n\tcascade:rxNormCode <https://ns.cascadeprotocol.org/codes/rxnorm/314076> ;\n\tcascade:medicationCodeInOtherSystem \"FRM-4471\"^^<urn:oid:2.16.840.1.113883.19.5.99999.77> .\n<ni:///sha-256;DxHc2hk8Rj645ygI65Vvwu7ihmfLppYsr0w39Xnl4Ro> foaf:givenName \"Ada\" ;\n\tfoaf:familyName \"Okonjo\" ;\n\tcascade:dateOfBirth \"1948-03-02\"^^xsd:date ;\n\tcascade:administrativeGender \"female\" .\n<ni:///sha-256;cPYMx2pR4q6ieXcF5gmUIAPkpg3VKMzu4JhxAIo6ujc> cascade:workflowStatus \"completed\" ;\n\tcascade:procedureDate \"2024-02-14\"^^xsd:date ;\n\tcascade:procedureName \"Colorectal cancer screening; colonoscopy on individual not meeting criteria for high risk\" ;\n\tcascade:procedureCodeInOtherSystem \"G0121\"^^<http://www.cms.gov/Medicare/Coding/HCPCSReleaseCodeSets> ;\n\tcascade:procedureCode <http://snomed.info/id/73761001> , <https://ns.cascadeprotocol.org/codes/cpt/45378> .\n<urn:uuid:e5887c91-bdfc-81fd-a315-64f5ec4761b9> a cascade:PatientProfile ;\n\tcascade:sourceUrl <urn:hl7ii:2.16.840.1.113883.19.5.99999.2:MRN-552011> ;\n\tcascade:sourceRecordId \"2.16.840.1.113883.19.5.99999.2:MRN-552011\" .\n<ni:///sha-256;DxHc2hk8Rj645ygI65Vvwu7ihmfLppYsr0w39Xnl4Ro> prov:specializationOf <urn:uuid:e5887c91-bdfc-81fd-a315-64f5ec4761b9> .\n_:a34c55af529da91259e40cca2789c03c 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_:8623e69a4424070e08574ef3c0a77946 bridge:arrivedAs <ni:///sha-256;DxHc2hk8Rj645ygI65Vvwu7ihmfLppYsr0w39Xnl4Ro> ;\n\toa:hasSelector _:a34c55af529da91259e40cca2789c03c .\n<urn:uuid:fac3024f-6c76-8853-921b-dbc2a123db55> a cascade:ProblemOrDiagnosis ;\n\tcascade:sourceUrl <urn:hl7ii:2.16.840.1.113883.19.5.99999.4:PROBLEM-7711> ;\n\tcascade:sourceRecordId \"2.16.840.1.113883.19.5.99999.4:PROBLEM-7711\" .\n<ni:///sha-256;0EwMWVgpUer3C6yYwEtysTVjDruOsEPlfuJW8fNu770> prov:specializationOf <urn:uuid:fac3024f-6c76-8853-921b-dbc2a123db55> ;\n\tcascade:patient <urn:uuid:e5887c91-bdfc-81fd-a315-64f5ec4761b9> .\n_:aaf2cfb6adbb02a2f96e42a8b4710f60 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'][2]/*[local-name()='section' and namespace-uri()='urn:hl7-org:v3'][1]/*[local-name()='entry' and namespace-uri()='urn:hl7-org:v3'][1]/*[local-name()='act' and namespace-uri()='urn:hl7-org:v3'][1]/*[local-name()='entryRelationship' and namespace-uri()='urn:hl7-org:v3'][1]/*[local-name()='observation' and namespace-uri()='urn:hl7-org:v3'][1]\" .\n_:c01ee1d71215a33288051a8b05fac00d bridge:arrivedAs <ni:///sha-256;0EwMWVgpUer3C6yYwEtysTVjDruOsEPlfuJW8fNu770> ;\n\toa:hasSelector _:aaf2cfb6adbb02a2f96e42a8b4710f60 .\n<urn:uuid:12dade49-91dc-83ff-9635-30063e924751> a cascade:MedicalProcedure ;\n\tcascade:sourceUrl <urn:hl7ii:2.16.840.1.113883.19.5.99999.5:PROC-1011> ;\n\tcascade:sourceRecordId \"2.16.840.1.113883.19.5.99999.5:PROC-1011\" .\n<ni:///sha-256;cPYMx2pR4q6ieXcF5gmUIAPkpg3VKMzu4JhxAIo6ujc> prov:specializationOf <urn:uuid:12dade49-91dc-83ff-9635-30063e924751> ;\n\tcascade:patient <urn:uuid:e5887c91-bdfc-81fd-a315-64f5ec4761b9> .\n_:aae96a5e8921d454bced40d8ed07fd5a 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'][3]/*[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_:76049b766076acc9175c87d07d89a828 bridge:arrivedAs <ni:///sha-256;cPYMx2pR4q6ieXcF5gmUIAPkpg3VKMzu4JhxAIo6ujc> ;\n\toa:hasSelector _:aae96a5e8921d454bced40d8ed07fd5a .\n<urn:uuid:834267c8-195a-8cbd-9a6a-aba8056770be> a cascade:PrescribedOrReportedMedication ;\n\tcascade:sourceUrl <urn:hl7ii:2.16.840.1.113883.19.5.99999.5:MED-3411> ;\n\tcascade:sourceRecordId \"2.16.840.1.113883.19.5.99999.5:MED-3411\" .\n<ni:///sha-256;PFw6zMBz2dVCbtK6jLAzQ6dFq7p3MugeS4t6ic9os_M> prov:specializationOf <urn:uuid:834267c8-195a-8cbd-9a6a-aba8056770be> ;\n\tcascade:patient <urn:uuid:e5887c91-bdfc-81fd-a315-64f5ec4761b9> .\n_:a46ecabded95b6a37d83fba196bba0dd 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()='substanceAdministration' and namespace-uri()='urn:hl7-org:v3'][1]\" .\n_:736e34c9af37510c54921653b9602a46 bridge:arrivedAs <ni:///sha-256;PFw6zMBz2dVCbtK6jLAzQ6dFq7p3MugeS4t6ic9os_M> ;\n\toa:hasSelector _:a46ecabded95b6a37d83fba196bba0dd .\n<urn:uuid:2eb6ea77-af3a-8cf4-b003-193b44b3d232> a cascade:LaboratoryTestResult ;\n\tcascade:sourceUrl <urn:hl7ii:2.16.840.1.113883.19.5.99999.6:LAB-9511> ;\n\tcascade:sourceRecordId \"2.16.840.1.113883.19.5.99999.6:LAB-9511\" .\n<ni:///sha-256;12YbW9TQyP-sTvRbTsuOV9LS7Y4D1w4tU-uBCSjyzmc> prov:specializationOf <urn:uuid:2eb6ea77-af3a-8cf4-b003-193b44b3d232> ;\n\tcascade:patient <urn:uuid:e5887c91-bdfc-81fd-a315-64f5ec4761b9> .\n<ni:///sha-256;yZa04knxtw_UKOSTYhsI8idnvlw2l0PpAj8AfbfXGkA> obo:RO_0002351 <urn:uuid:2eb6ea77-af3a-8cf4-b003-193b44b3d232> .\n_:aaee2cdd55149b8d58dabcf4ac74080b 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'][4]/*[local-name()='section' and namespace-uri()='urn:hl7-org:v3'][1]/*[local-name()='entry' and namespace-uri()='urn:hl7-org:v3'][1]/*[local-name()='organizer' and namespace-uri()='urn:hl7-org:v3'][1]/*[local-name()='component' and namespace-uri()='urn:hl7-org:v3'][1]/*[local-name()='observation' and namespace-uri()='urn:hl7-org:v3'][1]\" .\n_:f22240349bdbfdfaad2333b8b237b0ac bridge:arrivedAs <ni:///sha-256;12YbW9TQyP-sTvRbTsuOV9LS7Y4D1w4tU-uBCSjyzmc> ;\n\toa:hasSelector _:aaee2cdd55149b8d58dabcf4ac74080b .\n<urn:uuid:7ce829f6-2d3e-85bb-85c2-27d8575eb366> a cascade:DiagnosticReport ;\n\tcascade:sourceUrl <urn:hl7ii:2.16.840.1.113883.19.5.99999.6:LABP-9510> ;\n\tcascade:sourceRecordId \"2.16.840.1.113883.19.5.99999.6:LABP-9510\" .\n<ni:///sha-256;yZa04knxtw_UKOSTYhsI8idnvlw2l0PpAj8AfbfXGkA> prov:specializationOf <urn:uuid:7ce829f6-2d3e-85bb-85c2-27d8575eb366> ;\n\tcascade:patient <urn:uuid:e5887c91-bdfc-81fd-a315-64f5ec4761b9> .\n_:a70079a459ee66a65da8db76c829176e 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'][4]/*[local-name()='section' and namespace-uri()='urn:hl7-org:v3'][1]/*[local-name()='entry' and namespace-uri()='urn:hl7-org:v3'][1]/*[local-name()='organizer' and namespace-uri()='urn:hl7-org:v3'][1]\" .\n_:79e39aef47607a71763975c80bffa74c bridge:arrivedAs <ni:///sha-256;yZa04knxtw_UKOSTYhsI8idnvlw2l0PpAj8AfbfXGkA> ;\n\toa:hasSelector _:a70079a459ee66a65da8db76c829176e .\n<ni:///sha-256;yZa04knxtw_UKOSTYhsI8idnvlw2l0PpAj8AfbfXGkA> cascade:reportName \"Cobalamin (Vitamin B12) [Mass/volume] in Serum or Plasma\" ;\n\tcascade:workflowStatus \"final\" ;\n\tcascade:reportEffectiveTime \"2025-09-01T08:30:00-05:00\"^^xsd:dateTime ;\n\tcascade:reportCode <http://loinc.org/rdf/2132-9> .\n<ni:///sha-256;12YbW9TQyP-sTvRbTsuOV9LS7Y4D1w4tU-uBCSjyzmc> dct:identifier \"LAB-9511\"^^<urn:oid:2.16.840.1.113883.19.5.99999.6> ;\n\tcascade:resultQuantity <ni:///sha-256;12YbW9TQyP-sTvRbTsuOV9LS7Y4D1w4tU-uBCSjyzmc#value> .\n<ni:///sha-256;12YbW9TQyP-sTvRbTsuOV9LS7Y4D1w4tU-uBCSjyzmc#value> cascade:decimalValue \"412\"^^xsd:decimal ;\n\tcascade:writtenValue \"412\" ;\n\tcascade:ucumUnit \"pg/mL\" .\n<ni:///sha-256;12YbW9TQyP-sTvRbTsuOV9LS7Y4D1w4tU-uBCSjyzmc> cascade:testName \"Vitamin B12, serum\" ;\n\tcascade:resultClinicallyRelevantTime \"2025-09-01T08:30:00-05:00\"^^xsd:dateTime ;\n\tcascade:workflowStatus \"final\" ;\n\tcascade:testCode <http://loinc.org/rdf/2132-9> ;\n\tcascade:testCodeInOtherSystem \"B12-SER\"^^<urn:oid:2.16.840.1.113883.19.5.99999.88> ;\n\tcascade:resultValueKind cascade:QuantityResultValue .\n_:76049b766076acc9175c87d07d89a828 oa:hasSource <ni:///sha-256;cLDsBOGY-ZdkFDQ6w5K4IvEYi5KLjXWjI_Fk9fQ5UpM> ;\n\tprov:wasDerivedFrom <ni:///sha-256;cLDsBOGY-ZdkFDQ6w5K4IvEYi5KLjXWjI_Fk9fQ5UpM> ;\n\tprov:wasGeneratedBy _:c5e55dadfc5bb5d811d4541cd8ab2138 .\n_:f22240349bdbfdfaad2333b8b237b0ac oa:hasSource <ni:///sha-256;cLDsBOGY-ZdkFDQ6w5K4IvEYi5KLjXWjI_Fk9fQ5UpM> ;\n\tprov:wasDerivedFrom <ni:///sha-256;cLDsBOGY-ZdkFDQ6w5K4IvEYi5KLjXWjI_Fk9fQ5UpM> ;\n\tprov:wasGeneratedBy _:c5e55dadfc5bb5d811d4541cd8ab2138 .\n_:1e530452fdf8bb2aa5283f82c9a61fa1 oa:hasSource <ni:///sha-256;cLDsBOGY-ZdkFDQ6w5K4IvEYi5KLjXWjI_Fk9fQ5UpM> ;\n\tprov:wasDerivedFrom <ni:///sha-256;cLDsBOGY-ZdkFDQ6w5K4IvEYi5KLjXWjI_Fk9fQ5UpM> ;\n\tprov:wasGeneratedBy _:c5e55dadfc5bb5d811d4541cd8ab2138 .\n_:79e39aef47607a71763975c80bffa74c oa:hasSource <ni:///sha-256;cLDsBOGY-ZdkFDQ6w5K4IvEYi5KLjXWjI_Fk9fQ5UpM> ;\n\tprov:wasDerivedFrom <ni:///sha-256;cLDsBOGY-ZdkFDQ6w5K4IvEYi5KLjXWjI_Fk9fQ5UpM> ;\n\tprov:wasGeneratedBy _:c5e55dadfc5bb5d811d4541cd8ab2138 .\n_:736e34c9af37510c54921653b9602a46 oa:hasSource <ni:///sha-256;cLDsBOGY-ZdkFDQ6w5K4IvEYi5KLjXWjI_Fk9fQ5UpM> ;\n\tprov:wasDerivedFrom <ni:///sha-256;cLDsBOGY-ZdkFDQ6w5K4IvEYi5KLjXWjI_Fk9fQ5UpM> ;\n\tprov:wasGeneratedBy _:c5e55dadfc5bb5d811d4541cd8ab2138 .\n_:8623e69a4424070e08574ef3c0a77946 oa:hasSource <ni:///sha-256;cLDsBOGY-ZdkFDQ6w5K4IvEYi5KLjXWjI_Fk9fQ5UpM> ;\n\tprov:wasDerivedFrom <ni:///sha-256;cLDsBOGY-ZdkFDQ6w5K4IvEYi5KLjXWjI_Fk9fQ5UpM> ;\n\tprov:wasGeneratedBy _:c5e55dadfc5bb5d811d4541cd8ab2138 .\n_:c01ee1d71215a33288051a8b05fac00d oa:hasSource <ni:///sha-256;cLDsBOGY-ZdkFDQ6w5K4IvEYi5KLjXWjI_Fk9fQ5UpM> ;\n\tprov:wasDerivedFrom <ni:///sha-256;cLDsBOGY-ZdkFDQ6w5K4IvEYi5KLjXWjI_Fk9fQ5UpM> ;\n\tprov:wasGeneratedBy _:c5e55dadfc5bb5d811d4541cd8ab2138 .\n<ni:///sha-256;cLDsBOGY-ZdkFDQ6w5K4IvEYi5KLjXWjI_Fk9fQ5UpM> <http://purl.org/pav/retrievedOn> \"2025-07-02T09:00:00Z\"^^xsd:dateTime ;\n\tprov:wasGeneratedBy _:8af1892ce11659b0cdc0051126df77a4 .\n_:99db210595de0bbfb9d9bf5030b977ed prov:agent _:396bee69263d114445477916d49c09e3 ;\n\tprov:hadRole cascade:TransmitterRole .\n_:8af1892ce11659b0cdc0051126df77a4 prov:qualifiedAssociation _:99db210595de0bbfb9d9bf5030b977ed .\n_:396bee69263d114445477916d49c09e3 <http://www.w3.org/2000/01/rdf-schema#label> \"Riverside patient portal\" .\n_:c5e55dadfc5bb5d811d4541cd8ab2138 <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;cLDsBOGY-ZdkFDQ6w5K4IvEYi5KLjXWjI_Fk9fQ5UpM> a prov:Entity .\n_:c5e55dadfc5bb5d811d4541cd8ab2138 a prov:Activity ;\n\tprov:used <ni:///sha-256;cLDsBOGY-ZdkFDQ6w5K4IvEYi5KLjXWjI_Fk9fQ5UpM> ;\n\tprov:qualifiedAssociation _:bd6696c181abd5d314bcc8a6d99a64de .\n_:bd6696c181abd5d314bcc8a6d99a64de prov:hadPlan _:dab870e32ad572be9d49576b7defb220 .\n_:dab870e32ad572be9d49576b7defb220 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_:bd6696c181abd5d314bcc8a6d99a64de prov:agent _:f5f83c6c27e407a08d3d41b4e35fe78b .\n_:f5f83c6c27e407a08d3d41b4e35fe78b 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/codes-in-other-systems.ttl", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-ccda/blob/0c6ffe52b3c3d2dcd0dfaf3f0b9e00b69bf2ba96/fixtures/findings/codes-in-other-systems.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_:a8193da49d06f8af166423a6e680d338 a oa:XPathSelector ;\n\trdf:value \"/*[local-name()='ClinicalDocument' and namespace-uri()='urn:hl7-org:v3']\" .\n_:d07d718854ca9a758ed7bcd7fa3c6e69 a oa:XPathSelector ;\n\trdf:value \"*[local-name()='author' and namespace-uri()='urn:hl7-org:v3'][1]\" .\n_:a8193da49d06f8af166423a6e680d338 oa:refinedBy _:d07d718854ca9a758ed7bcd7fa3c6e69 .\n_:e58dd9b8dd00b8e2e07b35a1b639d6d4 a oa:Annotation ;\n\toa:hasTarget _:e58292ef62d1e6320561124d6f41d56 .\n_:e58292ef62d1e6320561124d6f41d56 oa:hasSource <../in/codes-in-other-systems.xml> ;\n\toa:hasSelector _:a8193da49d06f8af166423a6e680d338 .\n_:e58dd9b8dd00b8e2e07b35a1b639d6d4 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_:b6119a9fefd4fc690bf5733f5a0d1cf a oa:XPathSelector ;\n\trdf:value \"/*[local-name()='ClinicalDocument' and namespace-uri()='urn:hl7-org:v3']\" .\n_:a930d1fcf55f8aba4343fad65e360a0e a oa:XPathSelector ;\n\trdf:value \"*[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'][2]/*[local-name()='section' and namespace-uri()='urn:hl7-org:v3'][1]/*[local-name()='entry' and namespace-uri()='urn:hl7-org:v3'][1]/*[local-name()='act' and namespace-uri()='urn:hl7-org:v3'][1]/*[local-name()='entryRelationship' and namespace-uri()='urn:hl7-org:v3'][1]/*[local-name()='observation' and namespace-uri()='urn:hl7-org:v3'][1]/*[local-name()='code' and namespace-uri()='urn:hl7-org:v3'][1]\" .\n_:b6119a9fefd4fc690bf5733f5a0d1cf oa:refinedBy _:a930d1fcf55f8aba4343fad65e360a0e .\n_:e76c8b3239fb6aaff5cbe0711c54d2ac a oa:Annotation ;\n\toa:hasTarget _:b2be94dc0284216cba885dcdde41c5eb .\n_:b2be94dc0284216cba885dcdde41c5eb oa:hasSource <../in/codes-in-other-systems.xml> ;\n\toa:hasSelector _:b6119a9fefd4fc690bf5733f5a0d1cf .\n_:e76c8b3239fb6aaff5cbe0711c54d2ac oa:hasBody ccda:statementCode ;\n\toa:motivatedBy oa:classifying ;\n\tsh:value \"/*[local-name()='ClinicalDocument' and namespace-uri()='urn:hl7-org:v3']/*[local-name()='component' and namespace-uri()='urn:hl7-org:v3']/*[local-name()='structuredBody' and namespace-uri()='urn:hl7-org:v3']/*[local-name()='component' and namespace-uri()='urn:hl7-org:v3']/*[local-name()='section' and namespace-uri()='urn:hl7-org:v3']/*[local-name()='entry' and namespace-uri()='urn:hl7-org:v3']/*[local-name()='act' and namespace-uri()='urn:hl7-org:v3']/*[local-name()='entryRelationship' and namespace-uri()='urn:hl7-org:v3']/*[local-name()='observation' and namespace-uri()='urn:hl7-org:v3']/*[local-name()='code' and namespace-uri()='urn:hl7-org:v3']/@code\" ;\n\tsh:resultSeverity sh:Info .\n_:fd456fc47333d3b0b31f367f0fbdd8a8 a oa:XPathSelector ;\n\trdf:value \"/*[local-name()='ClinicalDocument' and namespace-uri()='urn:hl7-org:v3']\" .\n_:ba79010072d2bf5f9193a348c88b436 oa:hasSource <../in/codes-in-other-systems.xml> .\n_:fd456fc47333d3b0b31f367f0fbdd8a8 oa:refinedBy _:b3fc0e191b9becf4b0be348b4fd4a66f .\n_:b3fc0e191b9becf4b0be348b4fd4a66f a oa:XPathSelector ;\n\trdf:value \"*[local-name()='id' and namespace-uri()='urn:hl7-org:v3'][1]\" .\n_:ba79010072d2bf5f9193a348c88b436 oa:hasSelector _:fd456fc47333d3b0b31f367f0fbdd8a8 .\n_:fd3a8204fabf00e5d3b20f08dd88a49a oa:hasTarget _:ba79010072d2bf5f9193a348c88b436 .\n_:daa9bc1cfd0aca62ea803ac37d4f302b a oa:XPathSelector ;\n\trdf:value \"/*[local-name()='ClinicalDocument' and namespace-uri()='urn:hl7-org:v3']\" .\n_:ff84384413acb489043fcc10b054bc04 oa:hasSource <../in/codes-in-other-systems.xml> .\n_:daa9bc1cfd0aca62ea803ac37d4f302b oa:refinedBy _:dca2c64361f7bab0d4fe1754f00879cf .\n_:dca2c64361f7bab0d4fe1754f00879cf a oa:XPathSelector ;\n\trdf:value \"*[local-name()='code' and namespace-uri()='urn:hl7-org:v3'][1]\" .\n_:ff84384413acb489043fcc10b054bc04 oa:hasSelector _:daa9bc1cfd0aca62ea803ac37d4f302b .\n_:db665b21b6b62eed372271a97f96b76d oa:hasTarget _:ff84384413acb489043fcc10b054bc04 .\n_:b6987bbb9fa9188b80b9692698ef0f8e a oa:XPathSelector ;\n\trdf:value \"/*[local-name()='ClinicalDocument' and namespace-uri()='urn:hl7-org:v3']\" .\n_:e4c197cfea85d8e0fe9028f2c54457ab oa:hasSource <../in/codes-in-other-systems.xml> .\n_:b6987bbb9fa9188b80b9692698ef0f8e oa:refinedBy _:e8630d841ffede9b650ac1d4f886af1 .\n_:e8630d841ffede9b650ac1d4f886af1 a oa:XPathSelector ;\n\trdf:value \"*[local-name()='effectiveTime' and namespace-uri()='urn:hl7-org:v3'][1]\" .\n_:e4c197cfea85d8e0fe9028f2c54457ab oa:hasSelector _:b6987bbb9fa9188b80b9692698ef0f8e .\n_:d128714c4dde88f80f26659662799144 oa:hasTarget _:e4c197cfea85d8e0fe9028f2c54457ab .\n_:fd3a8204fabf00e5d3b20f08dd88a49a sh:resultSeverity sh:Info .\n_:db665b21b6b62eed372271a97f96b76d sh:resultSeverity sh:Info .\n_:d128714c4dde88f80f26659662799144 sh:resultSeverity sh:Info .\n_:fd3a8204fabf00e5d3b20f08dd88a49a 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-C\" .\n_:db665b21b6b62eed372271a97f96b76d a oa:Annotation ;\n\toa:hasBody ccda:documentType ;\n\toa:motivatedBy oa:classifying ;\n\tsh:value \"34133-9\" .\n_:d128714c4dde88f80f26659662799144 a oa:Annotation ;\n\toa:hasBody ccda:documentTime ;\n\toa:motivatedBy oa:classifying ;\n\tsh:value \"20261029090000-0500\" .\n", "empty": false}}