{"name": "section-text-container-referenced", "comment": "Three sections whose entry references a container, not something in it. Allergies: an allergy references its table, so it carries the table's text as its narrative text and the section's note is the one paragraph beside the table. Procedures: a procedure references the text element itself, so it carries the whole text and the section makes no note. Immunizations: an immunization references a tbody, so the table's caption and header, which belong beside a row kept, go with it and the section makes no note.", "input": {"file": "fixtures/in/section-text-container-referenced.xml", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-ccda/blob/0c6ffe52b3c3d2dcd0dfaf3f0b9e00b69bf2ba96/fixtures/in/section-text-container-referenced.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=\"CONTAINER-REFERENCED-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 Containers Referenced</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-4412\"/>\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.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 ID=\"ALG-TABLE\" border=\"1\" width=\"100%\">\n              <thead>\n                <tr><th>Allergen</th><th>Reaction</th></tr>\n              </thead>\n              <tbody>\n                <tr><td>Penicillin</td><td>Hives, 2008</td></tr>\n              </tbody>\n            </table>\n            <paragraph>Reviewed with the patient.</paragraph>\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.4\" 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.4\" extension=\"ALG-1\"/>\n                  <code code=\"ASSERTION\" codeSystem=\"2.16.840.1.113883.5.4\"/>\n                  <text><reference value=\"#ALG-TABLE\"/></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      <component>\n        <section>\n          <templateId root=\"2.16.840.1.113883.10.20.22.2.7.1\"/>\n          <code code=\"47519-4\" displayName=\"History of Procedures\" codeSystem=\"2.16.840.1.113883.6.1\" codeSystemName=\"LOINC\"/>\n          <title>Procedures</title>\n          <text ID=\"PROC-TEXT\">\n            <paragraph>Colonoscopy, screening: normal colon; no polyps.</paragraph>\n            <paragraph>Repeat colonoscopy in 10 years.</paragraph>\n          </text>\n          <entry typeCode=\"DRIV\">\n            <procedure classCode=\"PROC\" moodCode=\"EVN\">\n              <templateId root=\"2.16.840.1.113883.10.20.22.4.14\"/>\n              <id root=\"2.16.840.1.113883.19.5.99999.5\" extension=\"PROC-1\"/>\n              <code code=\"73761001\" displayName=\"Colonoscopy\" codeSystem=\"2.16.840.1.113883.6.96\"/>\n              <text><reference value=\"#PROC-TEXT\"/></text>\n              <statusCode code=\"completed\"/>\n              <effectiveTime value=\"20250611\"/>\n            </procedure>\n          </entry>\n        </section>\n      </component>\n      <component>\n        <section>\n          <templateId root=\"2.16.840.1.113883.10.20.22.2.2.1\"/>\n          <code code=\"11369-6\" displayName=\"History of Immunization Narrative\" codeSystem=\"2.16.840.1.113883.6.1\" codeSystemName=\"LOINC\"/>\n          <title>Immunizations</title>\n          <text>\n            <table border=\"1\" width=\"100%\">\n              <caption>Immunizations given</caption>\n              <thead>\n                <tr><th>Vaccine</th><th>Date</th></tr>\n              </thead>\n              <tbody ID=\"IMM-BODY\">\n                <tr><td>Influenza vaccine</td><td>October 1, 2025</td></tr>\n              </tbody>\n            </table>\n          </text>\n          <entry typeCode=\"DRIV\">\n            <substanceAdministration classCode=\"SBADM\" moodCode=\"EVN\" negationInd=\"false\">\n              <templateId root=\"2.16.840.1.113883.10.20.22.4.52\"/>\n              <id root=\"2.16.840.1.113883.19.5.99999.6\" extension=\"IMM-1\"/>\n              <text><reference value=\"#IMM-BODY\"/></text>\n              <statusCode code=\"completed\"/>\n              <effectiveTime value=\"20251001\"/>\n              <consumable>\n                <manufacturedProduct classCode=\"MANU\">\n                  <templateId root=\"2.16.840.1.113883.10.20.22.4.54\"/>\n                  <manufacturedMaterial>\n                    <code code=\"141\" displayName=\"Influenza, seasonal, injectable\" codeSystem=\"2.16.840.1.113883.12.292\" codeSystemName=\"CVX\"/>\n                  </manufacturedMaterial>\n                </manufacturedProduct>\n              </consumable>\n            </substanceAdministration>\n          </entry>\n        </section>\n      </component>\n    </structuredBody>\n  </component>\n</ClinicalDocument>\n"}, "expectedGraph": {"file": "fixtures/expected/section-text-container-referenced.ttl", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-ccda/blob/0c6ffe52b3c3d2dcd0dfaf3f0b9e00b69bf2ba96/fixtures/expected/section-text-container-referenced.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;_4GweQvxq963_1qGcb5dJRcISVX2fpGFoSwLvpSeZOA> cascade:clinicalStatus \"active\" ;\n\tcascade:allergyCategory \"medication\" ;\n\tcascade:narrativeText \"Allergen\\nReaction\\nPenicillin\\nHives, 2008\" ;\n\tcascade:allergenName \"Penicillin G\" ;\n\tcascade:allergyType \"allergy\" ;\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;ltDzhAZFh7afeMe5JmALAyLkSWf__hK_dOiy3RcrWTc> prov:wasGeneratedBy _:e8ebb3138a6cf3f8dca2f6f0e16e75ab ;\n\tprov:wasAttributedTo <urn:uuid:1ec6fba8-3123-8e78-ad0d-e97e80cfb002> .\n_:e8ebb3138a6cf3f8dca2f6f0e16e75ab prov:qualifiedAssociation _:a4e16b3936594adaac0cdfd9d590243f .\n_:a4e16b3936594adaac0cdfd9d590243f 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_:c1294c2809e2a45ebe28a51e64b559ef bridge:arrivedAs <ni:///sha-256;rtTi33RgeTNF2I5CMjjoKC4cIQFrgwkRiZn29uauwsY> ;\n\toa:hasSelector _:d4521457bde6234c8fa49765aac4bda4 .\n_:d4521457bde6234c8fa49765aac4bda4 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;ltDzhAZFh7afeMe5JmALAyLkSWf__hK_dOiy3RcrWTc> prov:wasGeneratedBy _:dd7518a92fded3394bffae24c19c44f0 .\n_:dd7518a92fded3394bffae24c19c44f0 prov:qualifiedAssociation _:b628c247a34214b57078f848d138f960 .\n_:b628c247a34214b57078f848d138f960 prov:agent <urn:uuid:1ec6fba8-3123-8e78-ad0d-e97e80cfb002> ;\n\tprov:hadRole cascade:AuthorRole .\n<ni:///sha-256;bfx0Hg6DemSEKOn8aT7xTUiOoO6sPJe0dyEze4uDVzg> cascade:vaccinationOccurrenceTime \"2025-10-01\"^^xsd:date ;\n\tcascade:workflowStatus \"completed\" ;\n\tcascade:narrativeText \"Influenza vaccine\\nOctober 1, 2025\" ;\n\tcascade:vaccineCode <https://ns.cascadeprotocol.org/codes/cvx/141> ;\n\tcascade:vaccineName \"Influenza, seasonal, injectable\" .\n<ni:///sha-256;tW3PbJBYTwAL7QfoREF3U8uA2ZNnOaaw2AzD_GHplCQ> cascade:noteOrDocumentTypeName \"Allergies and Adverse Reactions\" ;\n\tcascade:noteOrDocumentTitle \"Allergies\" ;\n\tcascade:workflowStatus \"current\" ;\n\tcascade:noteOrDocumentDate \"2026-04-15T12:00:00Z\"^^xsd:dateTime ;\n\tcascade:noteOrDocumentTypeCode <http://loinc.org/rdf/48765-2> ;\n\tcascade:narrativeText \"Reviewed with the patient.\" .\n<ni:///sha-256;YPiI0vTAVM5Zl6Iif15akFW-ZCISqtKrGL48EE1mv7g> foaf:familyName \"Delgado\" ;\n\tfoaf:givenName \"Ines\" ;\n\tcascade:dateOfBirth \"1971-09-23\"^^xsd:date ;\n\tcascade:administrativeGender \"female\" .\n<ni:///sha-256;iBJsM82KOHd6y6yVoRfbfXwtGEPuS959CT-LiFuepNE> cascade:procedureDate \"2025-06-11\"^^xsd:date ;\n\tcascade:procedureName \"Colonoscopy\" ;\n\tcascade:workflowStatus \"completed\" ;\n\tcascade:narrativeText \"Colonoscopy, screening: normal colon; no polyps.\\nRepeat colonoscopy in 10 years.\" ;\n\tcascade:procedureCode <http://snomed.info/id/73761001> .\n<urn:uuid:f7d5af6f-e1a7-85d7-a4ad-297a8b2b4fd6> a cascade:PatientProfile ;\n\tcascade:sourceUrl <urn:hl7ii:2.16.840.1.113883.19.5.99999.2:PT-4412> ;\n\tcascade:sourceRecordId \"2.16.840.1.113883.19.5.99999.2:PT-4412\" .\n<ni:///sha-256;YPiI0vTAVM5Zl6Iif15akFW-ZCISqtKrGL48EE1mv7g> prov:specializationOf <urn:uuid:f7d5af6f-e1a7-85d7-a4ad-297a8b2b4fd6> .\n_:e64177090ba85c4e77bb3244340393c7 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_:956b15985b20d3a086f7653de36ef315 bridge:arrivedAs <ni:///sha-256;YPiI0vTAVM5Zl6Iif15akFW-ZCISqtKrGL48EE1mv7g> ;\n\toa:hasSelector _:e64177090ba85c4e77bb3244340393c7 .\n<urn:uuid:c35bebb3-206d-828d-8bb4-e929d811e461> a cascade:AllergyOrIntolerance ;\n\tcascade:sourceUrl <urn:hl7ii:2.16.840.1.113883.19.5.99999.4:ALG-1> ;\n\tcascade:sourceRecordId \"2.16.840.1.113883.19.5.99999.4:ALG-1\" .\n<ni:///sha-256;_4GweQvxq963_1qGcb5dJRcISVX2fpGFoSwLvpSeZOA> prov:specializationOf <urn:uuid:c35bebb3-206d-828d-8bb4-e929d811e461> ;\n\tcascade:patient <urn:uuid:f7d5af6f-e1a7-85d7-a4ad-297a8b2b4fd6> .\n_:b3c699debf9e62d374bd14246d17eeb2 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()='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_:882ae3cee181b225aa344658eb96f5fe bridge:arrivedAs <ni:///sha-256;_4GweQvxq963_1qGcb5dJRcISVX2fpGFoSwLvpSeZOA> ;\n\toa:hasSelector _:b3c699debf9e62d374bd14246d17eeb2 .\n<urn:uuid:80ab49fc-5639-8ad7-91c8-8eda064171b6> a cascade:Vaccination ;\n\tcascade:sourceUrl <urn:hl7ii:2.16.840.1.113883.19.5.99999.6:IMM-1> ;\n\tcascade:sourceRecordId \"2.16.840.1.113883.19.5.99999.6:IMM-1\" .\n<ni:///sha-256;bfx0Hg6DemSEKOn8aT7xTUiOoO6sPJe0dyEze4uDVzg> prov:specializationOf <urn:uuid:80ab49fc-5639-8ad7-91c8-8eda064171b6> ;\n\tcascade:patient <urn:uuid:f7d5af6f-e1a7-85d7-a4ad-297a8b2b4fd6> .\n_:c4c74c88a781e62c8dd278d7ebfe1eac 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()='substanceAdministration' and namespace-uri()='urn:hl7-org:v3'][1]\" .\n_:1aaa1b4eae8571dd939dc0ef4674f006 bridge:arrivedAs <ni:///sha-256;bfx0Hg6DemSEKOn8aT7xTUiOoO6sPJe0dyEze4uDVzg> ;\n\toa:hasSelector _:c4c74c88a781e62c8dd278d7ebfe1eac .\n<urn:uuid:f17fa322-9720-8694-89b3-a679a8e94cd0> a cascade:MedicalProcedure ;\n\tcascade:sourceUrl <urn:hl7ii:2.16.840.1.113883.19.5.99999.5:PROC-1> ;\n\tcascade:sourceRecordId \"2.16.840.1.113883.19.5.99999.5:PROC-1\" .\n<ni:///sha-256;iBJsM82KOHd6y6yVoRfbfXwtGEPuS959CT-LiFuepNE> prov:specializationOf <urn:uuid:f17fa322-9720-8694-89b3-a679a8e94cd0> ;\n\tcascade:patient <urn:uuid:f7d5af6f-e1a7-85d7-a4ad-297a8b2b4fd6> .\n_:e2e7785bad94b848435adc2cfe853691 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()='procedure' and namespace-uri()='urn:hl7-org:v3'][1]\" .\n_:950c6437cc99f1eac706d247c9907624 bridge:arrivedAs <ni:///sha-256;iBJsM82KOHd6y6yVoRfbfXwtGEPuS959CT-LiFuepNE> ;\n\toa:hasSelector _:e2e7785bad94b848435adc2cfe853691 .\n<urn:uuid:21d4e81e-e271-88f2-b6e8-ab4578bd6b57> a cascade:ClinicalNoteOrDocument .\n<ni:///sha-256;tW3PbJBYTwAL7QfoREF3U8uA2ZNnOaaw2AzD_GHplCQ> prov:specializationOf <urn:uuid:21d4e81e-e271-88f2-b6e8-ab4578bd6b57> ;\n\tcascade:patient <urn:uuid:f7d5af6f-e1a7-85d7-a4ad-297a8b2b4fd6> .\n_:b255151862982c5612732f736cb66e96 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_:7c7f68dc6ff606c782129fda23d00411 bridge:arrivedAs <ni:///sha-256;tW3PbJBYTwAL7QfoREF3U8uA2ZNnOaaw2AzD_GHplCQ> ;\n\toa:hasSelector _:b255151862982c5612732f736cb66e96 .\n_:c1294c2809e2a45ebe28a51e64b559ef oa:hasSource <ni:///sha-256;ltDzhAZFh7afeMe5JmALAyLkSWf__hK_dOiy3RcrWTc> ;\n\tprov:wasDerivedFrom <ni:///sha-256;ltDzhAZFh7afeMe5JmALAyLkSWf__hK_dOiy3RcrWTc> ;\n\tprov:wasGeneratedBy _:ab760d21feb99c037d1baf96075220c1 .\n_:7c7f68dc6ff606c782129fda23d00411 oa:hasSource <ni:///sha-256;ltDzhAZFh7afeMe5JmALAyLkSWf__hK_dOiy3RcrWTc> ;\n\tprov:wasDerivedFrom <ni:///sha-256;ltDzhAZFh7afeMe5JmALAyLkSWf__hK_dOiy3RcrWTc> ;\n\tprov:wasGeneratedBy _:ab760d21feb99c037d1baf96075220c1 .\n_:1aaa1b4eae8571dd939dc0ef4674f006 oa:hasSource <ni:///sha-256;ltDzhAZFh7afeMe5JmALAyLkSWf__hK_dOiy3RcrWTc> ;\n\tprov:wasDerivedFrom <ni:///sha-256;ltDzhAZFh7afeMe5JmALAyLkSWf__hK_dOiy3RcrWTc> ;\n\tprov:wasGeneratedBy _:ab760d21feb99c037d1baf96075220c1 .\n_:882ae3cee181b225aa344658eb96f5fe oa:hasSource <ni:///sha-256;ltDzhAZFh7afeMe5JmALAyLkSWf__hK_dOiy3RcrWTc> ;\n\tprov:wasDerivedFrom <ni:///sha-256;ltDzhAZFh7afeMe5JmALAyLkSWf__hK_dOiy3RcrWTc> ;\n\tprov:wasGeneratedBy _:ab760d21feb99c037d1baf96075220c1 .\n_:950c6437cc99f1eac706d247c9907624 oa:hasSource <ni:///sha-256;ltDzhAZFh7afeMe5JmALAyLkSWf__hK_dOiy3RcrWTc> ;\n\tprov:wasDerivedFrom <ni:///sha-256;ltDzhAZFh7afeMe5JmALAyLkSWf__hK_dOiy3RcrWTc> ;\n\tprov:wasGeneratedBy _:ab760d21feb99c037d1baf96075220c1 .\n_:956b15985b20d3a086f7653de36ef315 oa:hasSource <ni:///sha-256;ltDzhAZFh7afeMe5JmALAyLkSWf__hK_dOiy3RcrWTc> ;\n\tprov:wasDerivedFrom <ni:///sha-256;ltDzhAZFh7afeMe5JmALAyLkSWf__hK_dOiy3RcrWTc> ;\n\tprov:wasGeneratedBy _:ab760d21feb99c037d1baf96075220c1 .\n<ni:///sha-256;ltDzhAZFh7afeMe5JmALAyLkSWf__hK_dOiy3RcrWTc> <http://purl.org/pav/retrievedOn> \"2025-07-02T09:00:00Z\"^^xsd:dateTime ;\n\tprov:wasGeneratedBy _:edd1b61e46cf5926af2d0bac8ac8c635 .\n_:9fa20841aa3b4f679d24367ea513fd1c prov:agent _:b78c5e81ebd8ff053008cbc7f592b0ee ;\n\tprov:hadRole cascade:TransmitterRole .\n_:edd1b61e46cf5926af2d0bac8ac8c635 prov:qualifiedAssociation _:9fa20841aa3b4f679d24367ea513fd1c .\n_:b78c5e81ebd8ff053008cbc7f592b0ee <http://www.w3.org/2000/01/rdf-schema#label> \"Riverside patient portal\" .\n_:ab760d21feb99c037d1baf96075220c1 <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;ltDzhAZFh7afeMe5JmALAyLkSWf__hK_dOiy3RcrWTc> a prov:Entity .\n_:ab760d21feb99c037d1baf96075220c1 a prov:Activity ;\n\tprov:used <ni:///sha-256;ltDzhAZFh7afeMe5JmALAyLkSWf__hK_dOiy3RcrWTc> ;\n\tprov:qualifiedAssociation _:199c42b4f1f9d3a612838f79e80eb5e3 .\n_:199c42b4f1f9d3a612838f79e80eb5e3 prov:hadPlan _:7d4b2d00e67c6f040f9946cf0f23710a .\n_:7d4b2d00e67c6f040f9946cf0f23710a 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_:199c42b4f1f9d3a612838f79e80eb5e3 prov:agent _:91909edc3ae1321d4eb7cdd60e1a7b39 .\n_:91909edc3ae1321d4eb7cdd60e1a7b39 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-container-referenced.ttl", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-ccda/blob/0c6ffe52b3c3d2dcd0dfaf3f0b9e00b69bf2ba96/fixtures/findings/section-text-container-referenced.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_:a02d4491e0f155686c45817f801e4e31 a oa:XPathSelector ;\n\trdf:value \"/*[local-name()='ClinicalDocument' and namespace-uri()='urn:hl7-org:v3']\" .\n_:a5883b948dcfeaa4be669b2bcd2b2adb a oa:XPathSelector ;\n\trdf:value \"*[local-name()='author' and namespace-uri()='urn:hl7-org:v3'][1]\" .\n_:a02d4491e0f155686c45817f801e4e31 oa:refinedBy _:a5883b948dcfeaa4be669b2bcd2b2adb .\n_:a2abdc39fe1a4d28cc6af5bee23f6fa1 a oa:Annotation ;\n\toa:hasTarget _:ee3c085f0d5390f72cc6248e1c13c5a3 .\n_:ee3c085f0d5390f72cc6248e1c13c5a3 oa:hasSource <../in/section-text-container-referenced.xml> ;\n\toa:hasSelector _:a02d4491e0f155686c45817f801e4e31 .\n_:a2abdc39fe1a4d28cc6af5bee23f6fa1 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_:addd26bfc3a1177618879d0f237b2c9b a oa:XPathSelector ;\n\trdf:value \"/*[local-name()='ClinicalDocument' and namespace-uri()='urn:hl7-org:v3']\" .\n_:c6ae42ab16c35e32bd6618478c3285f7 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'][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()='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_:addd26bfc3a1177618879d0f237b2c9b oa:refinedBy _:c6ae42ab16c35e32bd6618478c3285f7 .\n_:b18d5067bfd43cbb3bc14d47a24f7b0e a oa:Annotation ;\n\toa:hasTarget _:e1976df4bbb827d7b5ba6fcacc412cdc .\n_:e1976df4bbb827d7b5ba6fcacc412cdc oa:hasSource <../in/section-text-container-referenced.xml> ;\n\toa:hasSelector _:addd26bfc3a1177618879d0f237b2c9b .\n_:b18d5067bfd43cbb3bc14d47a24f7b0e 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_:acf473c2ebbe11e522883736604ae5af a oa:XPathSelector ;\n\trdf:value \"/*[local-name()='ClinicalDocument' and namespace-uri()='urn:hl7-org:v3']\" .\n_:a17d014f25dab8b98c45bba7d639d5fe oa:hasSource <../in/section-text-container-referenced.xml> .\n_:acf473c2ebbe11e522883736604ae5af oa:refinedBy _:b03b9b53f74b44eaaab2def804764fdc .\n_:b03b9b53f74b44eaaab2def804764fdc a oa:XPathSelector ;\n\trdf:value \"*[local-name()='id' and namespace-uri()='urn:hl7-org:v3'][1]\" .\n_:a17d014f25dab8b98c45bba7d639d5fe oa:hasSelector _:acf473c2ebbe11e522883736604ae5af .\n_:ca5b78d0a376e9a52e472f0b4971dcab oa:hasTarget _:a17d014f25dab8b98c45bba7d639d5fe .\n_:fdee15ddfc4d34a3b92999a50e060708 a oa:XPathSelector ;\n\trdf:value \"/*[local-name()='ClinicalDocument' and namespace-uri()='urn:hl7-org:v3']\" .\n_:aa37ac0e6e071d17c7620d79d0bc4b1b oa:hasSource <../in/section-text-container-referenced.xml> .\n_:fdee15ddfc4d34a3b92999a50e060708 oa:refinedBy _:c43aa4ffdf95267f31e379279f002216 .\n_:c43aa4ffdf95267f31e379279f002216 a oa:XPathSelector ;\n\trdf:value \"*[local-name()='code' and namespace-uri()='urn:hl7-org:v3'][1]\" .\n_:aa37ac0e6e071d17c7620d79d0bc4b1b oa:hasSelector _:fdee15ddfc4d34a3b92999a50e060708 .\n_:b665eafb1099f8acbbeb0d6b68c84cd2 oa:hasTarget _:aa37ac0e6e071d17c7620d79d0bc4b1b .\n_:ca5b78d0a376e9a52e472f0b4971dcab sh:resultSeverity sh:Info .\n_:b665eafb1099f8acbbeb0d6b68c84cd2 sh:resultSeverity sh:Info .\n_:ca5b78d0a376e9a52e472f0b4971dcab 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|CONTAINER-REFERENCED-001\" .\n_:b665eafb1099f8acbbeb0d6b68c84cd2 a oa:Annotation ;\n\toa:hasBody ccda:documentType ;\n\toa:motivatedBy oa:classifying ;\n\tsh:value \"34133-9\" .\n_:e44282bf30d46d147e501019a0104f0d a oa:XPathSelector ;\n\trdf:value \"/*[local-name()='ClinicalDocument' and namespace-uri()='urn:hl7-org:v3']\" .\n_:d1356ce1b59cf78b82888d79b713dcc3 oa:hasSource <../in/section-text-container-referenced.xml> .\n_:e44282bf30d46d147e501019a0104f0d oa:refinedBy _:df2333b5a6ac0bf888cff28500ed89d6 .\n_:df2333b5a6ac0bf888cff28500ed89d6 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'][3]/*[local-name()='section' and namespace-uri()='urn:hl7-org:v3'][1]\" .\n_:d1356ce1b59cf78b82888d79b713dcc3 oa:hasSelector _:e44282bf30d46d147e501019a0104f0d .\n_:f7b7e34a1025c8be830d78fa713f0a76 oa:hasTarget _:d1356ce1b59cf78b82888d79b713dcc3 ;\n\tsh:resultSeverity sh:Info ;\n\ta oa:Annotation ;\n\toa:hasBody ccda:narrative ;\n\toa:motivatedBy oa:classifying ;\n\tsh:value \"Immunizations given\\nVaccine\\nDate\" .\n", "empty": false}}