{"name": "section-text-referenced-by-unmapped-entries", "comment": "Five sections whose text a reference points into from an entry this release makes no record of. Vital Signs: a vital sign's observation references its row. Social History: an observation references its list item. Plan of Treatment: a planned observation, in the request mood, references its row beside an unreferenced paragraph. Medications: a medication activity in the request mood references its row. Each of these four sections is a note of its whole text, the references holding it for no record. Allergies: an allergy references its row, so it carries the row as its narrative text and the section makes no note.", "input": {"file": "fixtures/in/section-text-referenced-by-unmapped-entries.xml", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-ccda/blob/0c6ffe52b3c3d2dcd0dfaf3f0b9e00b69bf2ba96/fixtures/in/section-text-referenced-by-unmapped-entries.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\" xmlns:sdtc=\"urn:hl7-org:sdtc\">\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\"/>\n  <id root=\"2.16.840.1.113883.19.5.99999.1\" extension=\"UNMAPPED-REFERENCES-001\"/>\n  <code code=\"34133-9\" displayName=\"Summarization of Episode Note\" codeSystem=\"2.16.840.1.113883.6.1\" codeSystemName=\"LOINC\"/>\n  <title>Health Summary - Text Referenced By Entries Not Mapped</title>\n  <effectiveTime value=\"20260415120000+0000\"/>\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=\"PT-4411\"/>\n      <patient>\n        <name use=\"L\"><given>Ines</given><family>Delgado</family></name>\n        <administrativeGenderCode code=\"F\" codeSystem=\"2.16.840.1.113883.5.1\"/>\n        <birthTime value=\"19710923\"/>\n      </patient>\n    </patientRole>\n  </recordTarget>\n  <author>\n    <time value=\"20260415120000+0000\"/>\n    <assignedAuthor>\n      <id root=\"2.16.840.1.113883.19.5.99999.3\" extension=\"AU-1\"/>\n      <representedOrganization>\n        <id root=\"2.16.840.1.113883.19.5.99999\"/>\n        <name>Harbourview Family Practice</name>\n      </representedOrganization>\n    </assignedAuthor>\n  </author>\n  <custodian>\n    <assignedCustodian>\n      <representedCustodianOrganization>\n        <id root=\"2.16.840.1.113883.19.5.99999\"/>\n        <name>Harbourview Family Practice</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.4.1\"/>\n          <code code=\"8716-3\" displayName=\"Vital signs\" codeSystem=\"2.16.840.1.113883.6.1\" codeSystemName=\"LOINC\"/>\n          <title>Vital Signs</title>\n          <text>\n            <table border=\"1\" width=\"100%\">\n              <thead>\n                <tr><th>Date</th><th>Blood pressure</th></tr>\n              </thead>\n              <tbody>\n                <tr ID=\"VS-1\"><td>October 15, 2025</td><td>130/82 mm[Hg]</td></tr>\n              </tbody>\n            </table>\n          </text>\n          <entry typeCode=\"DRIV\">\n            <organizer classCode=\"CLUSTER\" moodCode=\"EVN\">\n              <templateId root=\"2.16.840.1.113883.10.20.22.4.26\"/>\n              <id root=\"2.16.840.1.113883.19.5.99999.4\" extension=\"VS-ORG-1\"/>\n              <code code=\"46680005\" displayName=\"Vital signs\" codeSystem=\"2.16.840.1.113883.6.96\"/>\n              <statusCode code=\"completed\"/>\n              <effectiveTime value=\"20251015\"/>\n              <component>\n                <observation classCode=\"OBS\" moodCode=\"EVN\">\n                  <templateId root=\"2.16.840.1.113883.10.20.22.4.27\"/>\n                  <id root=\"2.16.840.1.113883.19.5.99999.4\" extension=\"VS-1\"/>\n                  <code code=\"8480-6\" displayName=\"Systolic blood pressure\" codeSystem=\"2.16.840.1.113883.6.1\" codeSystemName=\"LOINC\"/>\n                  <text><reference value=\"#VS-1\"/></text>\n                  <statusCode code=\"completed\"/>\n                  <effectiveTime value=\"20251015\"/>\n                  <value xsi:type=\"PQ\" value=\"130\" unit=\"mm[Hg]\"/>\n                </observation>\n              </component>\n            </organizer>\n          </entry>\n        </section>\n      </component>\n      <component>\n        <section>\n          <templateId root=\"2.16.840.1.113883.10.20.22.2.17\"/>\n          <code code=\"29762-2\" displayName=\"Social history Narrative\" codeSystem=\"2.16.840.1.113883.6.1\" codeSystemName=\"LOINC\"/>\n          <title>Social History</title>\n          <text>\n            <list>\n              <item ID=\"SH-1\">Never smoker; no alcohol.</item>\n            </list>\n          </text>\n          <entry typeCode=\"DRIV\">\n            <observation classCode=\"OBS\" moodCode=\"EVN\">\n              <templateId root=\"2.16.840.1.113883.10.20.22.4.38\"/>\n              <id root=\"2.16.840.1.113883.19.5.99999.5\" extension=\"SH-1\"/>\n              <code code=\"229819007\" displayName=\"Tobacco use and exposure\" codeSystem=\"2.16.840.1.113883.6.96\"/>\n              <text><reference value=\"#SH-1\"/></text>\n              <statusCode code=\"completed\"/>\n              <effectiveTime><low value=\"20000101\"/></effectiveTime>\n              <value xsi:type=\"CD\" code=\"266919005\" displayName=\"Never smoked tobacco\" codeSystem=\"2.16.840.1.113883.6.96\"/>\n            </observation>\n          </entry>\n        </section>\n      </component>\n      <component>\n        <section>\n          <templateId root=\"2.16.840.1.113883.10.20.22.2.10\"/>\n          <code code=\"18776-5\" displayName=\"Plan of care note\" codeSystem=\"2.16.840.1.113883.6.1\" codeSystemName=\"LOINC\"/>\n          <title>Plan of Treatment</title>\n          <text>\n            <table border=\"1\" width=\"100%\">\n              <thead>\n                <tr><th>Planned</th><th>Due</th></tr>\n              </thead>\n              <tbody>\n                <tr ID=\"PLAN-1\"><td>Thyrotropin</td><td>April 14, 2026 - April 28, 2026</td></tr>\n              </tbody>\n            </table>\n            <paragraph>Return in six months.</paragraph>\n          </text>\n          <entry typeCode=\"DRIV\">\n            <observation classCode=\"OBS\" moodCode=\"RQO\">\n              <templateId root=\"2.16.840.1.113883.10.20.22.4.44\"/>\n              <id root=\"2.16.840.1.113883.19.5.99999.6\" extension=\"PLAN-1\"/>\n              <code code=\"3016-3\" displayName=\"Thyrotropin [Units/volume] in Serum or Plasma\" codeSystem=\"2.16.840.1.113883.6.1\" codeSystemName=\"LOINC\"/>\n              <text><reference value=\"#PLAN-1\"/></text>\n              <statusCode code=\"active\"/>\n              <effectiveTime><low value=\"20260414\"/><high value=\"20260428\"/></effectiveTime>\n            </observation>\n          </entry>\n        </section>\n      </component>\n      <component>\n        <section>\n          <templateId root=\"2.16.840.1.113883.10.20.22.2.1.1\"/>\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          <text>\n            <table border=\"1\" width=\"100%\">\n              <thead>\n                <tr><th>Medication</th><th>Instructions</th></tr>\n              </thead>\n              <tbody>\n                <tr ID=\"MED-1\"><td>Lisinopril 20 mg tablet</td><td>Prescription to be written at the next visit</td></tr>\n              </tbody>\n            </table>\n          </text>\n          <entry typeCode=\"DRIV\">\n            <substanceAdministration classCode=\"SBADM\" moodCode=\"RQO\">\n              <templateId root=\"2.16.840.1.113883.10.20.22.4.16\"/>\n              <id root=\"2.16.840.1.113883.19.5.99999.7\" extension=\"MED-1\"/>\n              <text><reference value=\"#MED-1\"/></text>\n              <statusCode code=\"active\"/>\n              <effectiveTime xsi:type=\"IVL_TS\"><low value=\"20260415\"/></effectiveTime>\n              <consumable>\n                <manufacturedProduct classCode=\"MANU\">\n                  <templateId root=\"2.16.840.1.113883.10.20.22.4.23\"/>\n                  <manufacturedMaterial>\n                    <code code=\"314077\" displayName=\"lisinopril 20 MG Oral Tablet\" codeSystem=\"2.16.840.1.113883.6.88\" codeSystemName=\"RxNorm\"/>\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.6.1\"/>\n          <code code=\"48765-2\" displayName=\"Allergies and Adverse Reactions\" codeSystem=\"2.16.840.1.113883.6.1\" codeSystemName=\"LOINC\"/>\n          <title>Allergies</title>\n          <text>\n            <table border=\"1\" width=\"100%\">\n              <thead>\n                <tr><th>Allergen</th><th>Reaction</th></tr>\n              </thead>\n              <tbody>\n                <tr ID=\"ALG-1\"><td>Penicillin</td><td>Hives, 2008</td></tr>\n              </tbody>\n            </table>\n          </text>\n          <entry typeCode=\"DRIV\">\n            <act classCode=\"ACT\" moodCode=\"EVN\">\n              <templateId root=\"2.16.840.1.113883.10.20.22.4.30\"/>\n              <id root=\"2.16.840.1.113883.19.5.99999.8\" extension=\"ALG-ACT-1\"/>\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.7\"/>\n                  <id root=\"2.16.840.1.113883.19.5.99999.8\" extension=\"ALG-1\"/>\n                  <code code=\"ASSERTION\" codeSystem=\"2.16.840.1.113883.5.4\"/>\n                  <text><reference value=\"#ALG-1\"/></text>\n                  <statusCode code=\"completed\"/>\n                  <value xsi:type=\"CD\" code=\"416098002\" displayName=\"Allergy to drug\" codeSystem=\"2.16.840.1.113883.6.96\"/>\n                  <participant typeCode=\"CSM\">\n                    <participantRole classCode=\"MANU\">\n                      <playingEntity classCode=\"MMAT\">\n                        <code code=\"7980\" displayName=\"Penicillin G\" codeSystem=\"2.16.840.1.113883.6.88\"/>\n                      </playingEntity>\n                    </participantRole>\n                  </participant>\n                </observation>\n              </entryRelationship>\n            </act>\n          </entry>\n        </section>\n      </component>\n    </structuredBody>\n  </component>\n</ClinicalDocument>\n"}, "expectedGraph": {"file": "fixtures/expected/section-text-referenced-by-unmapped-entries.ttl", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-ccda/blob/0c6ffe52b3c3d2dcd0dfaf3f0b9e00b69bf2ba96/fixtures/expected/section-text-referenced-by-unmapped-entries.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<ni:///sha-256;pUSmOB331m0fQE5WKdIYOv1rehwluOyTYDSaPQTrBzU> cascade:allergenName \"Penicillin G\" ;\n\tcascade:allergyCategory \"medication\" ;\n\tcascade:allergyType \"allergy\" ;\n\tcascade:clinicalStatus \"active\" ;\n\tcascade:narrativeText \"Penicillin\\nHives, 2008\" ;\n\tcascade:allergenCode <https://ns.cascadeprotocol.org/codes/rxnorm/7980> .\n<urn:uuid:1ec6fba8-3123-8e78-ad0d-e97e80cfb002> a cascade:Organization .\n<ni:///sha-256;SvmnKvidCvNxl0R3iB7GSwEvsC0_mNGIPBx1ePJWors> prov:wasGeneratedBy _:f887696d260213e19496e937d25ca4d2 ;\n\tprov:wasAttributedTo <urn:uuid:1ec6fba8-3123-8e78-ad0d-e97e80cfb002> .\n_:f887696d260213e19496e937d25ca4d2 prov:qualifiedAssociation _:c5f3283ae60c66df82e4eb8f57f9ef25 .\n_:c5f3283ae60c66df82e4eb8f57f9ef25 prov:agent <urn:uuid:1ec6fba8-3123-8e78-ad0d-e97e80cfb002> ;\n\tprov:hadRole cascade:CustodianRole .\n<ni:///sha-256;rtTi33RgeTNF2I5CMjjoKC4cIQFrgwkRiZn29uauwsY> prov:specializationOf <urn:uuid:1ec6fba8-3123-8e78-ad0d-e97e80cfb002> .\n_:c26519d965547bc63e8c86a1c93f03f3 bridge:arrivedAs <ni:///sha-256;rtTi33RgeTNF2I5CMjjoKC4cIQFrgwkRiZn29uauwsY> ;\n\toa:hasSelector _:de2d89f3b1ed516b70fb385e4e19125b .\n_:de2d89f3b1ed516b70fb385e4e19125b 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;rtTi33RgeTNF2I5CMjjoKC4cIQFrgwkRiZn29uauwsY> foaf:name \"Harbourview Family Practice\" ;\n\torg:identifier \"urn:oid:2.16.840.1.113883.19.5.99999\"^^<urn:ietf:rfc:3986> .\n<ni:///sha-256;SvmnKvidCvNxl0R3iB7GSwEvsC0_mNGIPBx1ePJWors> prov:wasGeneratedBy _:e6c3292e3e9ccbed364b31b8ebcd4c7f .\n_:e6c3292e3e9ccbed364b31b8ebcd4c7f prov:qualifiedAssociation _:c2f24ff0a835d4c8b19005efab5069ee .\n_:c2f24ff0a835d4c8b19005efab5069ee prov:agent <urn:uuid:1ec6fba8-3123-8e78-ad0d-e97e80cfb002> ;\n\tprov:hadRole cascade:AuthorRole .\n<ni:///sha-256;9BwZ_vgXrVhL2TKh3ZjT2__UcgmjbyJyVYl-ixf2VEM> cascade:noteOrDocumentDate \"2026-04-15T12:00:00Z\"^^xsd:dateTime ;\n\tcascade:noteOrDocumentTitle \"Medications\" ;\n\tcascade:noteOrDocumentTypeName \"History of Medication use Narrative\" ;\n\tcascade:workflowStatus \"current\" ;\n\tcascade:noteOrDocumentTypeCode <http://loinc.org/rdf/10160-0> ;\n\tcascade:narrativeText \"Medication\\nInstructions\\nLisinopril 20 mg tablet\\nPrescription to be written at the next visit\" .\n<ni:///sha-256;itBipxXNo0fQNJvNW67t7_6SuTg6wYWtylcBVY1TzyU> cascade:noteOrDocumentTitle \"Plan of Treatment\" ;\n\tcascade:workflowStatus \"current\" ;\n\tcascade:noteOrDocumentDate \"2026-04-15T12:00:00Z\"^^xsd:dateTime ;\n\tcascade:noteOrDocumentTypeName \"Plan of care note\" ;\n\tcascade:noteOrDocumentTypeCode <http://loinc.org/rdf/18776-5> ;\n\tcascade:narrativeText \"Planned\\nDue\\nThyrotropin\\nApril 14, 2026 - April 28, 2026\\nReturn in six months.\" .\n<ni:///sha-256;0K9fzpmI6C6-1Bl1mxwp__nsiF4hgwMmlVJoH8UFXV8> cascade:noteOrDocumentDate \"2026-04-15T12:00:00Z\"^^xsd:dateTime ;\n\tcascade:noteOrDocumentTypeName \"Social history Narrative\" ;\n\tcascade:workflowStatus \"current\" ;\n\tcascade:noteOrDocumentTitle \"Social History\" ;\n\tcascade:noteOrDocumentTypeCode <http://loinc.org/rdf/29762-2> ;\n\tcascade:narrativeText \"Never smoker; no alcohol.\" .\n<ni:///sha-256;HbbBO1anQp--qyqmN6NISm7_JCuI1tKUvRAhpt4OXAc> cascade:noteOrDocumentTitle \"Vital Signs\" ;\n\tcascade:noteOrDocumentDate \"2026-04-15T12:00:00Z\"^^xsd:dateTime ;\n\tcascade:workflowStatus \"current\" ;\n\tcascade:noteOrDocumentTypeName \"Vital signs\" ;\n\tcascade:noteOrDocumentTypeCode <http://loinc.org/rdf/8716-3> ;\n\tcascade:narrativeText \"Date\\nBlood pressure\\nOctober 15, 2025\\n130/82 mm[Hg]\" .\n<ni:///sha-256;KKAlY7kFFYP8xzxKo9tODhj1RtOBesT3SC5OywyCnWA> foaf:givenName \"Ines\" ;\n\tfoaf:familyName \"Delgado\" ;\n\tcascade:dateOfBirth \"1971-09-23\"^^xsd:date ;\n\tcascade:administrativeGender \"female\" .\n<urn:uuid:844628a4-1718-8749-b87a-eca60af1dd2c> a cascade:PatientProfile ;\n\tcascade:sourceUrl <urn:hl7ii:2.16.840.1.113883.19.5.99999.2:PT-4411> ;\n\tcascade:sourceRecordId \"2.16.840.1.113883.19.5.99999.2:PT-4411\" .\n<ni:///sha-256;KKAlY7kFFYP8xzxKo9tODhj1RtOBesT3SC5OywyCnWA> prov:specializationOf <urn:uuid:844628a4-1718-8749-b87a-eca60af1dd2c> .\n_:e76aa059b1781e65b13f6c297eaa59c5 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_:707dd899e5b9ec9a08beaf2b26c9d612 bridge:arrivedAs <ni:///sha-256;KKAlY7kFFYP8xzxKo9tODhj1RtOBesT3SC5OywyCnWA> ;\n\toa:hasSelector _:e76aa059b1781e65b13f6c297eaa59c5 .\n<urn:uuid:85b4ba89-0f53-8c03-be9c-9fcf96ad6f96> a cascade:AllergyOrIntolerance ;\n\tcascade:sourceUrl <urn:hl7ii:2.16.840.1.113883.19.5.99999.8:ALG-1> ;\n\tcascade:sourceRecordId \"2.16.840.1.113883.19.5.99999.8:ALG-1\" .\n<ni:///sha-256;pUSmOB331m0fQE5WKdIYOv1rehwluOyTYDSaPQTrBzU> prov:specializationOf <urn:uuid:85b4ba89-0f53-8c03-be9c-9fcf96ad6f96> ;\n\tcascade:patient <urn:uuid:844628a4-1718-8749-b87a-eca60af1dd2c> .\n_:ad6e9457c25879f94fb13e7edbd9e519 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'][5]/*[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_:3dce87198251f2f654956b6c9ad7d41 bridge:arrivedAs <ni:///sha-256;pUSmOB331m0fQE5WKdIYOv1rehwluOyTYDSaPQTrBzU> ;\n\toa:hasSelector _:ad6e9457c25879f94fb13e7edbd9e519 .\n<urn:uuid:f32a9644-d17f-8457-97f4-55e62ee38613> a cascade:ClinicalNoteOrDocument .\n<ni:///sha-256;9BwZ_vgXrVhL2TKh3ZjT2__UcgmjbyJyVYl-ixf2VEM> prov:specializationOf <urn:uuid:f32a9644-d17f-8457-97f4-55e62ee38613> ;\n\tcascade:patient <urn:uuid:844628a4-1718-8749-b87a-eca60af1dd2c> .\n_:e2e1f5ed6275d3b0bac3e44aa3a70ed2 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]\" .\n_:7f91289895cdf3376e4f8506783fbe82 bridge:arrivedAs <ni:///sha-256;9BwZ_vgXrVhL2TKh3ZjT2__UcgmjbyJyVYl-ixf2VEM> ;\n\toa:hasSelector _:e2e1f5ed6275d3b0bac3e44aa3a70ed2 .\n<urn:uuid:7101105c-5b22-85d0-889a-c7b7012e2767> a cascade:ClinicalNoteOrDocument .\n<ni:///sha-256;itBipxXNo0fQNJvNW67t7_6SuTg6wYWtylcBVY1TzyU> prov:specializationOf <urn:uuid:7101105c-5b22-85d0-889a-c7b7012e2767> ;\n\tcascade:patient <urn:uuid:844628a4-1718-8749-b87a-eca60af1dd2c> .\n_:f2c0c74a55714763d5bb1fd03a9d1f89 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]\" .\n_:312f73a1dcda8ddec830c8c96d2198ca bridge:arrivedAs <ni:///sha-256;itBipxXNo0fQNJvNW67t7_6SuTg6wYWtylcBVY1TzyU> ;\n\toa:hasSelector _:f2c0c74a55714763d5bb1fd03a9d1f89 .\n<urn:uuid:4c3cabcf-ed2b-8fc1-863c-75f693c1c38a> a cascade:ClinicalNoteOrDocument .\n<ni:///sha-256;0K9fzpmI6C6-1Bl1mxwp__nsiF4hgwMmlVJoH8UFXV8> prov:specializationOf <urn:uuid:4c3cabcf-ed2b-8fc1-863c-75f693c1c38a> ;\n\tcascade:patient <urn:uuid:844628a4-1718-8749-b87a-eca60af1dd2c> .\n_:bb0051ede4e5c263699f352b6fb3c8d9 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]\" .\n_:5b730f1f6d3eae76045cd561f6c766bf bridge:arrivedAs <ni:///sha-256;0K9fzpmI6C6-1Bl1mxwp__nsiF4hgwMmlVJoH8UFXV8> ;\n\toa:hasSelector _:bb0051ede4e5c263699f352b6fb3c8d9 .\n<urn:uuid:4f77798d-7c62-8089-bcb1-397deb17f2ac> a cascade:ClinicalNoteOrDocument .\n<ni:///sha-256;HbbBO1anQp--qyqmN6NISm7_JCuI1tKUvRAhpt4OXAc> prov:specializationOf <urn:uuid:4f77798d-7c62-8089-bcb1-397deb17f2ac> ;\n\tcascade:patient <urn:uuid:844628a4-1718-8749-b87a-eca60af1dd2c> .\n_:e4a07a756e15011b31cdb0b73271281a 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_:1a7b0ac2852a8ff98f324b8a3bb813fc bridge:arrivedAs <ni:///sha-256;HbbBO1anQp--qyqmN6NISm7_JCuI1tKUvRAhpt4OXAc> ;\n\toa:hasSelector _:e4a07a756e15011b31cdb0b73271281a .\n_:c26519d965547bc63e8c86a1c93f03f3 oa:hasSource <ni:///sha-256;SvmnKvidCvNxl0R3iB7GSwEvsC0_mNGIPBx1ePJWors> ;\n\tprov:wasDerivedFrom <ni:///sha-256;SvmnKvidCvNxl0R3iB7GSwEvsC0_mNGIPBx1ePJWors> ;\n\tprov:wasGeneratedBy _:d3ee371eca4940c9ef58fa574d0cf927 .\n_:5b730f1f6d3eae76045cd561f6c766bf oa:hasSource <ni:///sha-256;SvmnKvidCvNxl0R3iB7GSwEvsC0_mNGIPBx1ePJWors> ;\n\tprov:wasDerivedFrom <ni:///sha-256;SvmnKvidCvNxl0R3iB7GSwEvsC0_mNGIPBx1ePJWors> ;\n\tprov:wasGeneratedBy _:d3ee371eca4940c9ef58fa574d0cf927 .\n_:1a7b0ac2852a8ff98f324b8a3bb813fc oa:hasSource <ni:///sha-256;SvmnKvidCvNxl0R3iB7GSwEvsC0_mNGIPBx1ePJWors> ;\n\tprov:wasDerivedFrom <ni:///sha-256;SvmnKvidCvNxl0R3iB7GSwEvsC0_mNGIPBx1ePJWors> ;\n\tprov:wasGeneratedBy _:d3ee371eca4940c9ef58fa574d0cf927 .\n_:312f73a1dcda8ddec830c8c96d2198ca oa:hasSource <ni:///sha-256;SvmnKvidCvNxl0R3iB7GSwEvsC0_mNGIPBx1ePJWors> ;\n\tprov:wasDerivedFrom <ni:///sha-256;SvmnKvidCvNxl0R3iB7GSwEvsC0_mNGIPBx1ePJWors> ;\n\tprov:wasGeneratedBy _:d3ee371eca4940c9ef58fa574d0cf927 .\n_:707dd899e5b9ec9a08beaf2b26c9d612 oa:hasSource <ni:///sha-256;SvmnKvidCvNxl0R3iB7GSwEvsC0_mNGIPBx1ePJWors> ;\n\tprov:wasDerivedFrom <ni:///sha-256;SvmnKvidCvNxl0R3iB7GSwEvsC0_mNGIPBx1ePJWors> ;\n\tprov:wasGeneratedBy _:d3ee371eca4940c9ef58fa574d0cf927 .\n_:3dce87198251f2f654956b6c9ad7d41 oa:hasSource <ni:///sha-256;SvmnKvidCvNxl0R3iB7GSwEvsC0_mNGIPBx1ePJWors> ;\n\tprov:wasDerivedFrom <ni:///sha-256;SvmnKvidCvNxl0R3iB7GSwEvsC0_mNGIPBx1ePJWors> ;\n\tprov:wasGeneratedBy _:d3ee371eca4940c9ef58fa574d0cf927 .\n_:7f91289895cdf3376e4f8506783fbe82 oa:hasSource <ni:///sha-256;SvmnKvidCvNxl0R3iB7GSwEvsC0_mNGIPBx1ePJWors> ;\n\tprov:wasDerivedFrom <ni:///sha-256;SvmnKvidCvNxl0R3iB7GSwEvsC0_mNGIPBx1ePJWors> ;\n\tprov:wasGeneratedBy _:d3ee371eca4940c9ef58fa574d0cf927 .\n<ni:///sha-256;SvmnKvidCvNxl0R3iB7GSwEvsC0_mNGIPBx1ePJWors> <http://purl.org/pav/retrievedOn> \"2025-07-02T09:00:00Z\"^^xsd:dateTime ;\n\tprov:wasGeneratedBy _:697fbb8fa54706028f638db002a08c35 .\n_:252de9ee5d09aa16d44e34edcdca13a5 prov:agent _:98396bf0f1a585038e97171293d1bc41 ;\n\tprov:hadRole cascade:TransmitterRole .\n_:697fbb8fa54706028f638db002a08c35 prov:qualifiedAssociation _:252de9ee5d09aa16d44e34edcdca13a5 .\n_:98396bf0f1a585038e97171293d1bc41 <http://www.w3.org/2000/01/rdf-schema#label> \"Riverside patient portal\" .\n_:d3ee371eca4940c9ef58fa574d0cf927 <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;SvmnKvidCvNxl0R3iB7GSwEvsC0_mNGIPBx1ePJWors> a prov:Entity .\n_:d3ee371eca4940c9ef58fa574d0cf927 a prov:Activity ;\n\tprov:used <ni:///sha-256;SvmnKvidCvNxl0R3iB7GSwEvsC0_mNGIPBx1ePJWors> ;\n\tprov:qualifiedAssociation _:a7e23e62df0633c96679d6259eeb5fae .\n_:a7e23e62df0633c96679d6259eeb5fae prov:hadPlan _:43c74a66b0f1739977b6a7399e38cbc8 .\n_:43c74a66b0f1739977b6a7399e38cbc8 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_:a7e23e62df0633c96679d6259eeb5fae prov:agent _:702d262f0e7fb5adf518efb3993152df .\n_:702d262f0e7fb5adf518efb3993152df 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/section-text-referenced-by-unmapped-entries.ttl", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-ccda/blob/0c6ffe52b3c3d2dcd0dfaf3f0b9e00b69bf2ba96/fixtures/findings/section-text-referenced-by-unmapped-entries.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_:aa0da1eb96ea3d3fb54ceca636b60d12 a oa:XPathSelector ;\n\trdf:value \"/*[local-name()='ClinicalDocument' and namespace-uri()='urn:hl7-org:v3']\" .\n_:ce4cbee7253f06ede98ef1a01dcb8a58 a oa:XPathSelector ;\n\trdf:value \"*[local-name()='author' and namespace-uri()='urn:hl7-org:v3'][1]\" .\n_:aa0da1eb96ea3d3fb54ceca636b60d12 oa:refinedBy _:ce4cbee7253f06ede98ef1a01dcb8a58 .\n_:b5dd730b42ee67dca04bf887104eb94 a oa:Annotation ;\n\toa:hasTarget _:afea860565632e32f8dd92a25af839f5 .\n_:afea860565632e32f8dd92a25af839f5 oa:hasSource <../in/section-text-referenced-by-unmapped-entries.xml> ;\n\toa:hasSelector _:aa0da1eb96ea3d3fb54ceca636b60d12 .\n_:b5dd730b42ee67dca04bf887104eb94 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_:a39a33e785cefa0ac2aed2206ecd237d a oa:XPathSelector ;\n\trdf:value \"/*[local-name()='ClinicalDocument' and namespace-uri()='urn:hl7-org:v3']\" .\n_:de9c07a361b9620244b11cee211678ce 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'][5]/*[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_:a39a33e785cefa0ac2aed2206ecd237d oa:refinedBy _:de9c07a361b9620244b11cee211678ce .\n_:d1a7f3a48bbaaad27fed4af119b66f8e a oa:Annotation ;\n\toa:hasTarget _:f183bf3295746d132d1ccb24b88bf87b .\n_:f183bf3295746d132d1ccb24b88bf87b oa:hasSource <../in/section-text-referenced-by-unmapped-entries.xml> ;\n\toa:hasSelector _:a39a33e785cefa0ac2aed2206ecd237d .\n_:d1a7f3a48bbaaad27fed4af119b66f8e 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_:f1da7cbcd92367ffd46777502b43ff0d a oa:XPathSelector ;\n\trdf:value \"/*[local-name()='ClinicalDocument' and namespace-uri()='urn:hl7-org:v3']\" .\n_:f20fdb1c4d23c80b57b8bc2ef22d24 oa:hasSource <../in/section-text-referenced-by-unmapped-entries.xml> .\n_:f1da7cbcd92367ffd46777502b43ff0d oa:refinedBy _:e4ebb31f5478166a728faa3fa7c1c79f .\n_:e4ebb31f5478166a728faa3fa7c1c79f a oa:XPathSelector ;\n\trdf:value \"*[local-name()='id' and namespace-uri()='urn:hl7-org:v3'][1]\" .\n_:f20fdb1c4d23c80b57b8bc2ef22d24 oa:hasSelector _:f1da7cbcd92367ffd46777502b43ff0d .\n_:cd91a03547cb7cbdc3cbe895995d4baa oa:hasTarget _:f20fdb1c4d23c80b57b8bc2ef22d24 .\n_:b080e6a36025658a2f9e6e6975f4fdcb a oa:XPathSelector ;\n\trdf:value \"/*[local-name()='ClinicalDocument' and namespace-uri()='urn:hl7-org:v3']\" .\n_:ed433764bfe37a78d11454647ecb979 oa:hasSource <../in/section-text-referenced-by-unmapped-entries.xml> .\n_:b080e6a36025658a2f9e6e6975f4fdcb oa:refinedBy _:d734818a1212ab015d3bf1ff7e9f11cb .\n_:d734818a1212ab015d3bf1ff7e9f11cb a oa:XPathSelector ;\n\trdf:value \"*[local-name()='code' and namespace-uri()='urn:hl7-org:v3'][1]\" .\n_:ed433764bfe37a78d11454647ecb979 oa:hasSelector _:b080e6a36025658a2f9e6e6975f4fdcb .\n_:d7d20ade1658dea2dc114750f61b73da oa:hasTarget _:ed433764bfe37a78d11454647ecb979 .\n_:cd91a03547cb7cbdc3cbe895995d4baa sh:resultSeverity sh:Info .\n_:d7d20ade1658dea2dc114750f61b73da sh:resultSeverity sh:Info .\n_:cd91a03547cb7cbdc3cbe895995d4baa 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|UNMAPPED-REFERENCES-001\" .\n_:d7d20ade1658dea2dc114750f61b73da a oa:Annotation ;\n\toa:hasBody ccda:documentType ;\n\toa:motivatedBy oa:classifying ;\n\tsh:value \"34133-9\" .\n_:d561b4b1c3c7da499e4627e0ca8e89f5 a oa:XPathSelector ;\n\trdf:value \"/*[local-name()='ClinicalDocument' and namespace-uri()='urn:hl7-org:v3']\" .\n_:cb131871af95eb162441313586db5690 oa:hasSource <../in/section-text-referenced-by-unmapped-entries.xml> .\n_:d561b4b1c3c7da499e4627e0ca8e89f5 oa:refinedBy _:efdd30bb588bf1f9499a90eda9e6fbbf .\n_:efdd30bb588bf1f9499a90eda9e6fbbf 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'][4]/*[local-name()='section' and namespace-uri()='urn:hl7-org:v3'][1]/*[local-name()='entry' and namespace-uri()='urn:hl7-org:v3'][1]\" .\n_:cb131871af95eb162441313586db5690 oa:hasSelector _:d561b4b1c3c7da499e4627e0ca8e89f5 .\n_:e267fbd3a4b8856b286dd9bd1c97c06c oa:hasTarget _:cb131871af95eb162441313586db5690 ;\n\tsh:resultSeverity sh:Warning ;\n\ta oa:Annotation ;\n\toa:hasBody ccda:entryNotMapped ;\n\toa:motivatedBy oa:classifying ;\n\tsh:value \"2.16.840.1.113883.10.20.22.4.16\" .\n_:a161febb174ec94c76a02445da4410f5 a oa:XPathSelector ;\n\trdf:value \"/*[local-name()='ClinicalDocument' and namespace-uri()='urn:hl7-org:v3']\" .\n_:c2dae79f0121465cee8daef6fde31a23 oa:hasSource <../in/section-text-referenced-by-unmapped-entries.xml> .\n_:a161febb174ec94c76a02445da4410f5 oa:refinedBy _:d49d0e8fed7d9063f1cd79b1eed001f1 .\n_:d49d0e8fed7d9063f1cd79b1eed001f1 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'][5]/*[local-name()='section' and namespace-uri()='urn:hl7-org:v3'][1]\" .\n_:c2dae79f0121465cee8daef6fde31a23 oa:hasSelector _:a161febb174ec94c76a02445da4410f5 .\n_:f05fce281657a3141c18547d46fdb0e4 oa:hasTarget _:c2dae79f0121465cee8daef6fde31a23 ;\n\tsh:resultSeverity sh:Info ;\n\ta oa:Annotation ;\n\toa:hasBody ccda:narrative ;\n\toa:motivatedBy oa:classifying ;\n\tsh:value \"Allergen\\nReaction\" .\n", "empty": false}}