{"name": "results-identifiers", "comment": "A result's ids as business identifiers, as HL7's CDA-to-FHIR identifier mapping makes them: a root and extension as the extension typed by urn:oid: and the root, a root alone as its urn:oid: IRI typed urn:ietf:rfc:3986, a UUID root as its urn:uuid: IRI in lower case; an id with a null flavour and one whose root is neither an OID nor a UUID give none.", "input": {"file": "fixtures/in/results-identifiers.xml", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-ccda/blob/0c6ffe52b3c3d2dcd0dfaf3f0b9e00b69bf2ba96/fixtures/in/results-identifiers.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-1024-ID\"/>\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=\"20260804120000-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=\"20260804120000-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.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          <text>\n            <paragraph>Potassium 4.1 mmol/L. Sodium 139 mmol/L.</paragraph>\n          </text>\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-9700\"/>\n              <code code=\"26436-6\" displayName=\"Laboratory studies (set)\" codeSystem=\"2.16.840.1.113883.6.1\" codeSystemName=\"LOINC\"/>\n              <statusCode code=\"completed\"/>\n              <effectiveTime value=\"20260804081500-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.8\" extension=\"K-20260804-1\"/>\n                  <id root=\"2.16.840.1.113883.19.5.99999.7\"/>\n                  <id nullFlavor=\"NI\"/>\n                  <id root=\"not-an-oid\" extension=\"X-1\"/>\n                  <code code=\"2823-3\" displayName=\"Potassium [Moles/volume] in Serum or Plasma\" codeSystem=\"2.16.840.1.113883.6.1\" codeSystemName=\"LOINC\"/>\n                  <statusCode code=\"completed\"/>\n                  <effectiveTime value=\"20260804081500-0500\"/>\n                  <value xsi:type=\"PQ\" value=\"4.1\" unit=\"mmol/L\"/>\n                </observation>\n              </component>\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=\"0F8FAD5B-D9CB-469F-A165-70867728950E\"/>\n                  <code code=\"2951-2\" displayName=\"Sodium [Moles/volume] in Serum or Plasma\" codeSystem=\"2.16.840.1.113883.6.1\" codeSystemName=\"LOINC\"/>\n                  <statusCode code=\"completed\"/>\n                  <effectiveTime value=\"20260804081500-0500\"/>\n                  <value xsi:type=\"PQ\" value=\"139\" unit=\"mmol/L\"/>\n                </observation>\n              </component>\n            </organizer>\n          </entry>\n        </section>\n      </component>\n    </structuredBody>\n  </component>\n</ClinicalDocument>\n"}, "expectedGraph": {"file": "fixtures/expected/results-identifiers.ttl", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-ccda/blob/0c6ffe52b3c3d2dcd0dfaf3f0b9e00b69bf2ba96/fixtures/expected/results-identifiers.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<urn:uuid:5769da63-d46b-8c66-b381-d00b2f7ccadb> a cascade:Organization .\n<ni:///sha-256;40dy-Mrgxa61kC199K9eU9Oso6alHxt3aSabSFA4-u4> prov:wasGeneratedBy _:d531811f9b5cee9d371587de9482ffe9 ;\n\tprov:wasAttributedTo <urn:uuid:5769da63-d46b-8c66-b381-d00b2f7ccadb> .\n_:d531811f9b5cee9d371587de9482ffe9 prov:qualifiedAssociation _:c8415b88ac495c5ebbc4b88a6f7f4007 .\n_:c8415b88ac495c5ebbc4b88a6f7f4007 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_:76d3a83c65406fabb99a91c8dd8fcf75 bridge:arrivedAs <ni:///sha-256;grKi0ms_W2WGoIJBSajj9WqQqFYdSHTIaehKWGv5yRg> ;\n\toa:hasSelector _:ae1390b32891cb110d9bbfd75cf72f18 .\n_:ae1390b32891cb110d9bbfd75cf72f18 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;DrBc5JTOWn4INpPRHafVyTIwq8zDiQYG_ZPjWQrLTYQ> cascade:noteOrDocumentDate \"2026-08-04T12:00:00-05:00\"^^xsd:dateTime ;\n\tcascade:noteOrDocumentTypeName \"Relevant diagnostic tests/laboratory data Narrative\" ;\n\tcascade:noteOrDocumentTitle \"Results\" ;\n\tcascade:workflowStatus \"current\" ;\n\tcascade:noteOrDocumentTypeCode <http://loinc.org/rdf/30954-2> ;\n\tcascade:narrativeText \"Potassium 4.1 mmol/L. Sodium 139 mmol/L.\" .\n<ni:///sha-256;8OhFhApPXbNaEpnniPsDDmUOh7GZ3tQ3brvo1CVgP0c> foaf:familyName \"Ahmadi\" ;\n\tfoaf:givenName \"Robin\" ;\n\tcascade:dateOfBirth \"1978-02-14\"^^xsd:date ;\n\tcascade:administrativeGender \"female\" .\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_:f14dd27f17b8e722580fcd3d85733ca1 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_:6018532f2c7b36e0a0fe8fc546850475 bridge:arrivedAs <ni:///sha-256;8OhFhApPXbNaEpnniPsDDmUOh7GZ3tQ3brvo1CVgP0c> ;\n\toa:hasSelector _:f14dd27f17b8e722580fcd3d85733ca1 .\n<urn:uuid:8c6c8328-d043-853e-a0ba-24f412e6ffbf> a cascade:LaboratoryTestResult ;\n\tcascade:sourceUrl <urn:uuid:0f8fad5b-d9cb-469f-a165-70867728950e> ;\n\tcascade:sourceRecordId \"0F8FAD5B-D9CB-469F-A165-70867728950E\" .\n<ni:///sha-256;nK3AFGUxwyPW549EYgewopjbUSjtogEsY8Nfz2ig8Lo> prov:specializationOf <urn:uuid:8c6c8328-d043-853e-a0ba-24f412e6ffbf> ;\n\tcascade:patient <urn:uuid:ed62f5a3-7994-8c3c-9b4a-9f1f41a1aba4> .\n<ni:///sha-256;IGSL1VtKjol6R3JeW6gXUdjHyp7dYuLMxU46rqWFc5I> obo:RO_0002351 <urn:uuid:8c6c8328-d043-853e-a0ba-24f412e6ffbf> .\n_:b7a16b911c23368a3aa4aa949e773360 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()='organizer' and namespace-uri()='urn:hl7-org:v3'][1]/*[local-name()='component' and namespace-uri()='urn:hl7-org:v3'][2]/*[local-name()='observation' and namespace-uri()='urn:hl7-org:v3'][1]\" .\n_:3149af5058c80960355291334f7e2da3 bridge:arrivedAs <ni:///sha-256;nK3AFGUxwyPW549EYgewopjbUSjtogEsY8Nfz2ig8Lo> ;\n\toa:hasSelector _:b7a16b911c23368a3aa4aa949e773360 .\n<urn:uuid:422562ed-9c0a-8231-ac5e-b39f54b284f8> a cascade:LaboratoryTestResult ;\n\tcascade:sourceUrl <urn:hl7ii:2.16.840.1.113883.19.5.99999.8:K-20260804-1> ;\n\tcascade:sourceRecordId \"2.16.840.1.113883.19.5.99999.8:K-20260804-1\" .\n<ni:///sha-256;hxBVtdpfr7OBcYBshRkznbAwFsETmeuts1T0AjgpVis> prov:specializationOf <urn:uuid:422562ed-9c0a-8231-ac5e-b39f54b284f8> ;\n\tcascade:patient <urn:uuid:ed62f5a3-7994-8c3c-9b4a-9f1f41a1aba4> .\n<ni:///sha-256;IGSL1VtKjol6R3JeW6gXUdjHyp7dYuLMxU46rqWFc5I> obo:RO_0002351 <urn:uuid:422562ed-9c0a-8231-ac5e-b39f54b284f8> .\n_:c87e24eb10c1a96c338c57dd3f8c5620 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()='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_:7e404d90e21e822ce36e55af69edbefa bridge:arrivedAs <ni:///sha-256;hxBVtdpfr7OBcYBshRkznbAwFsETmeuts1T0AjgpVis> ;\n\toa:hasSelector _:c87e24eb10c1a96c338c57dd3f8c5620 .\n<urn:uuid:678039fc-b384-88bc-bbe6-e76b8a3390c1> a cascade:DiagnosticReport ;\n\tcascade:sourceUrl <urn:hl7ii:2.16.840.1.113883.19.5.99999.6:LABP-9700> ;\n\tcascade:sourceRecordId \"2.16.840.1.113883.19.5.99999.6:LABP-9700\" .\n<ni:///sha-256;IGSL1VtKjol6R3JeW6gXUdjHyp7dYuLMxU46rqWFc5I> prov:specializationOf <urn:uuid:678039fc-b384-88bc-bbe6-e76b8a3390c1> ;\n\tcascade:patient <urn:uuid:ed62f5a3-7994-8c3c-9b4a-9f1f41a1aba4> .\n_:d1b964224aac82d6f652e88049f9d1d8 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()='organizer' and namespace-uri()='urn:hl7-org:v3'][1]\" .\n_:77684fe8630aa805be0be230dbf4a273 bridge:arrivedAs <ni:///sha-256;IGSL1VtKjol6R3JeW6gXUdjHyp7dYuLMxU46rqWFc5I> ;\n\toa:hasSelector _:d1b964224aac82d6f652e88049f9d1d8 .\n<urn:uuid:232ddc64-1dbf-814b-9b7c-6033e93ca7e0> a cascade:ClinicalNoteOrDocument .\n<ni:///sha-256;DrBc5JTOWn4INpPRHafVyTIwq8zDiQYG_ZPjWQrLTYQ> prov:specializationOf <urn:uuid:232ddc64-1dbf-814b-9b7c-6033e93ca7e0> ;\n\tcascade:patient <urn:uuid:ed62f5a3-7994-8c3c-9b4a-9f1f41a1aba4> .\n_:b4087024929e84059d919e9e46b51f92 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_:5621ededf480fbb280f42307dc1d2ce6 bridge:arrivedAs <ni:///sha-256;DrBc5JTOWn4INpPRHafVyTIwq8zDiQYG_ZPjWQrLTYQ> ;\n\toa:hasSelector _:b4087024929e84059d919e9e46b51f92 .\n<ni:///sha-256;IGSL1VtKjol6R3JeW6gXUdjHyp7dYuLMxU46rqWFc5I> cascade:reportName \"Laboratory studies (set)\" ;\n\tcascade:workflowStatus \"final\" ;\n\tcascade:reportEffectiveTime \"2026-08-04T08:15:00-05:00\"^^xsd:dateTime ;\n\tcascade:reportCode <http://loinc.org/rdf/26436-6> .\n<ni:///sha-256;nK3AFGUxwyPW549EYgewopjbUSjtogEsY8Nfz2ig8Lo> dct:identifier \"urn:uuid:0f8fad5b-d9cb-469f-a165-70867728950e\"^^<urn:ietf:rfc:3986> .\n<ni:///sha-256;hxBVtdpfr7OBcYBshRkznbAwFsETmeuts1T0AjgpVis> dct:identifier \"urn:oid:2.16.840.1.113883.19.5.99999.7\"^^<urn:ietf:rfc:3986> , \"K-20260804-1\"^^<urn:oid:2.16.840.1.113883.19.5.99999.8> .\n<ni:///sha-256;nK3AFGUxwyPW549EYgewopjbUSjtogEsY8Nfz2ig8Lo> cascade:resultQuantity <ni:///sha-256;nK3AFGUxwyPW549EYgewopjbUSjtogEsY8Nfz2ig8Lo#value> .\n<ni:///sha-256;nK3AFGUxwyPW549EYgewopjbUSjtogEsY8Nfz2ig8Lo#value> cascade:decimalValue \"139\"^^xsd:decimal ;\n\tcascade:writtenValue \"139\" ;\n\tcascade:ucumUnit \"mmol/L\" .\n<ni:///sha-256;hxBVtdpfr7OBcYBshRkznbAwFsETmeuts1T0AjgpVis> cascade:resultQuantity <ni:///sha-256;hxBVtdpfr7OBcYBshRkznbAwFsETmeuts1T0AjgpVis#value> .\n<ni:///sha-256;hxBVtdpfr7OBcYBshRkznbAwFsETmeuts1T0AjgpVis#value> cascade:decimalValue 4.1 ;\n\tcascade:writtenValue \"4.1\" ;\n\tcascade:ucumUnit \"mmol/L\" .\n<ni:///sha-256;nK3AFGUxwyPW549EYgewopjbUSjtogEsY8Nfz2ig8Lo> cascade:workflowStatus \"final\" ;\n\tcascade:testName \"Sodium [Moles/volume] in Serum or Plasma\" ;\n\tcascade:resultClinicallyRelevantTime \"2026-08-04T08:15:00-05:00\"^^xsd:dateTime ;\n\tcascade:testCode <http://loinc.org/rdf/2951-2> ;\n\tcascade:resultValueKind cascade:QuantityResultValue .\n<ni:///sha-256;hxBVtdpfr7OBcYBshRkznbAwFsETmeuts1T0AjgpVis> cascade:resultClinicallyRelevantTime \"2026-08-04T08:15:00-05:00\"^^xsd:dateTime ;\n\tcascade:workflowStatus \"final\" ;\n\tcascade:testName \"Potassium [Moles/volume] in Serum or Plasma\" ;\n\tcascade:testCode <http://loinc.org/rdf/2823-3> ;\n\tcascade:resultValueKind cascade:QuantityResultValue .\n_:5621ededf480fbb280f42307dc1d2ce6 oa:hasSource <ni:///sha-256;40dy-Mrgxa61kC199K9eU9Oso6alHxt3aSabSFA4-u4> ;\n\tprov:wasDerivedFrom <ni:///sha-256;40dy-Mrgxa61kC199K9eU9Oso6alHxt3aSabSFA4-u4> ;\n\tprov:wasGeneratedBy _:634667e8a2f0d0eb2e87e8b2c3b6e828 .\n_:7e404d90e21e822ce36e55af69edbefa oa:hasSource <ni:///sha-256;40dy-Mrgxa61kC199K9eU9Oso6alHxt3aSabSFA4-u4> ;\n\tprov:wasDerivedFrom <ni:///sha-256;40dy-Mrgxa61kC199K9eU9Oso6alHxt3aSabSFA4-u4> ;\n\tprov:wasGeneratedBy _:634667e8a2f0d0eb2e87e8b2c3b6e828 .\n_:76d3a83c65406fabb99a91c8dd8fcf75 oa:hasSource <ni:///sha-256;40dy-Mrgxa61kC199K9eU9Oso6alHxt3aSabSFA4-u4> ;\n\tprov:wasDerivedFrom <ni:///sha-256;40dy-Mrgxa61kC199K9eU9Oso6alHxt3aSabSFA4-u4> ;\n\tprov:wasGeneratedBy _:634667e8a2f0d0eb2e87e8b2c3b6e828 .\n_:77684fe8630aa805be0be230dbf4a273 oa:hasSource <ni:///sha-256;40dy-Mrgxa61kC199K9eU9Oso6alHxt3aSabSFA4-u4> ;\n\tprov:wasDerivedFrom <ni:///sha-256;40dy-Mrgxa61kC199K9eU9Oso6alHxt3aSabSFA4-u4> ;\n\tprov:wasGeneratedBy _:634667e8a2f0d0eb2e87e8b2c3b6e828 .\n_:3149af5058c80960355291334f7e2da3 oa:hasSource <ni:///sha-256;40dy-Mrgxa61kC199K9eU9Oso6alHxt3aSabSFA4-u4> ;\n\tprov:wasDerivedFrom <ni:///sha-256;40dy-Mrgxa61kC199K9eU9Oso6alHxt3aSabSFA4-u4> ;\n\tprov:wasGeneratedBy _:634667e8a2f0d0eb2e87e8b2c3b6e828 .\n_:6018532f2c7b36e0a0fe8fc546850475 oa:hasSource <ni:///sha-256;40dy-Mrgxa61kC199K9eU9Oso6alHxt3aSabSFA4-u4> ;\n\tprov:wasDerivedFrom <ni:///sha-256;40dy-Mrgxa61kC199K9eU9Oso6alHxt3aSabSFA4-u4> ;\n\tprov:wasGeneratedBy _:634667e8a2f0d0eb2e87e8b2c3b6e828 .\n<ni:///sha-256;40dy-Mrgxa61kC199K9eU9Oso6alHxt3aSabSFA4-u4> <http://purl.org/pav/retrievedOn> \"2025-07-02T09:00:00Z\"^^xsd:dateTime ;\n\tprov:wasGeneratedBy _:5cbe886e587ac1e6bc7bcf832cbac539 .\n_:febd0eb4b9f5799f9c5b65b6c83a0bf2 prov:agent _:e2a8175c1a96f88da9920b320bc6cb5d ;\n\tprov:hadRole cascade:TransmitterRole .\n_:5cbe886e587ac1e6bc7bcf832cbac539 prov:qualifiedAssociation _:febd0eb4b9f5799f9c5b65b6c83a0bf2 .\n_:e2a8175c1a96f88da9920b320bc6cb5d <http://www.w3.org/2000/01/rdf-schema#label> \"Riverside patient portal\" .\n_:634667e8a2f0d0eb2e87e8b2c3b6e828 <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;40dy-Mrgxa61kC199K9eU9Oso6alHxt3aSabSFA4-u4> a prov:Entity .\n_:634667e8a2f0d0eb2e87e8b2c3b6e828 a prov:Activity ;\n\tprov:used <ni:///sha-256;40dy-Mrgxa61kC199K9eU9Oso6alHxt3aSabSFA4-u4> ;\n\tprov:qualifiedAssociation _:5f670b1eb970024e9db23c72bbf96228 .\n_:5f670b1eb970024e9db23c72bbf96228 prov:hadPlan _:7d01620f508812cfac1860a53615e645 .\n_:7d01620f508812cfac1860a53615e645 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_:5f670b1eb970024e9db23c72bbf96228 prov:agent _:7d1988034ddbf146d3685ac1f3604a33 .\n_:7d1988034ddbf146d3685ac1f3604a33 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/results-identifiers.ttl", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-ccda/blob/0c6ffe52b3c3d2dcd0dfaf3f0b9e00b69bf2ba96/fixtures/findings/results-identifiers.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_:a2e4271e6a45c356853e5418c346ae90 a oa:XPathSelector ;\n\trdf:value \"/*[local-name()='ClinicalDocument' and namespace-uri()='urn:hl7-org:v3']\" .\n_:f9863c834993e0d66b77e4344036cf66 a oa:XPathSelector ;\n\trdf:value \"*[local-name()='author' and namespace-uri()='urn:hl7-org:v3'][1]\" .\n_:a2e4271e6a45c356853e5418c346ae90 oa:refinedBy _:f9863c834993e0d66b77e4344036cf66 .\n_:db44fee912f57c44a042f5cc8327f2b3 a oa:Annotation ;\n\toa:hasTarget _:f34bebcebb732757874dacfbccf756af .\n_:f34bebcebb732757874dacfbccf756af oa:hasSource <../in/results-identifiers.xml> ;\n\toa:hasSelector _:a2e4271e6a45c356853e5418c346ae90 .\n_:db44fee912f57c44a042f5cc8327f2b3 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_:bf3327424b0eef0676fcfa2f9d39669c a oa:XPathSelector ;\n\trdf:value \"/*[local-name()='ClinicalDocument' and namespace-uri()='urn:hl7-org:v3']\" .\n_:f2f8daebe5ef7eef9e294fd52f520224 oa:hasSource <../in/results-identifiers.xml> .\n_:bf3327424b0eef0676fcfa2f9d39669c oa:refinedBy _:d75b154b30fb7d292b967bebff84e26f .\n_:d75b154b30fb7d292b967bebff84e26f a oa:XPathSelector ;\n\trdf:value \"*[local-name()='id' and namespace-uri()='urn:hl7-org:v3'][1]\" .\n_:f2f8daebe5ef7eef9e294fd52f520224 oa:hasSelector _:bf3327424b0eef0676fcfa2f9d39669c .\n_:ddf7647bec6c1d8599191af741b97a85 oa:hasTarget _:f2f8daebe5ef7eef9e294fd52f520224 .\n_:ca5ff6169ee9697b3c1d7bd190100928 a oa:XPathSelector ;\n\trdf:value \"/*[local-name()='ClinicalDocument' and namespace-uri()='urn:hl7-org:v3']\" .\n_:ed6597a5bcc3d0ceda682023789610fc oa:hasSource <../in/results-identifiers.xml> .\n_:ca5ff6169ee9697b3c1d7bd190100928 oa:refinedBy _:de11be9455ac3e87ec72ad2cfcadda71 .\n_:de11be9455ac3e87ec72ad2cfcadda71 a oa:XPathSelector ;\n\trdf:value \"*[local-name()='code' and namespace-uri()='urn:hl7-org:v3'][1]\" .\n_:ed6597a5bcc3d0ceda682023789610fc oa:hasSelector _:ca5ff6169ee9697b3c1d7bd190100928 .\n_:d614da592dca501e5e59b0c42eedf5db oa:hasTarget _:ed6597a5bcc3d0ceda682023789610fc .\n_:ddf7647bec6c1d8599191af741b97a85 sh:resultSeverity sh:Info .\n_:d614da592dca501e5e59b0c42eedf5db sh:resultSeverity sh:Info .\n_:ddf7647bec6c1d8599191af741b97a85 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-1024-ID\" .\n_:d614da592dca501e5e59b0c42eedf5db a oa:Annotation ;\n\toa:hasBody ccda:documentType ;\n\toa:motivatedBy oa:classifying ;\n\tsh:value \"34133-9\" .\n", "empty": false}}