{"name": "problem-status-from-concern-act", "comment": "Five problems in concern acts of their own. Without a Problem Status Observation, active is the clinical status active, aborted and suspended are inactive, HL7's wider row for each, and nullified, outside the map, is carried as nothing and is a finding, ccda:concernStatusNotMapped. A problem whose Problem Status Observation is outside the map, on hold, beside an active concern act carries no status, the act is not consulted, and the finding is ccda:problemStatusNotMapped.", "input": {"file": "fixtures/in/problem-status-from-concern-act.xml", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-ccda/blob/0c6ffe52b3c3d2dcd0dfaf3f0b9e00b69bf2ba96/fixtures/in/problem-status-from-concern-act.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-1033\"/>\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=\"20250903090000-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=\"20250903090000-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.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          <text>\n            <list>\n              <item>Hypertensive disorder</item>\n              <item>Type 2 diabetes mellitus</item>\n              <item>Asthma</item>\n              <item>Atrial fibrillation</item>\n              <item>Chronic obstructive lung disease</item>\n            </list>\n          </text>\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 nullFlavor=\"NI\"/>\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.5\" extension=\"PROB-1\"/>\n                  <code code=\"55607006\" displayName=\"Problem\" codeSystem=\"2.16.840.1.113883.6.96\"/>\n                  <statusCode code=\"completed\"/>\n                  <effectiveTime value=\"20240501\"/>\n                  <value xsi:type=\"CD\" code=\"38341003\" displayName=\"Hypertensive disorder\" codeSystem=\"2.16.840.1.113883.6.96\"/>\n                </observation>\n              </entryRelationship>\n            </act>\n          </entry>\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 nullFlavor=\"NI\"/>\n              <code code=\"CONC\" codeSystem=\"2.16.840.1.113883.5.6\"/>\n              <statusCode code=\"aborted\"/>\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.5\" extension=\"PROB-2\"/>\n                  <code code=\"55607006\" displayName=\"Problem\" codeSystem=\"2.16.840.1.113883.6.96\"/>\n                  <statusCode code=\"completed\"/>\n                  <effectiveTime value=\"20240501\"/>\n                  <value xsi:type=\"CD\" code=\"44054006\" displayName=\"Type 2 diabetes mellitus\" codeSystem=\"2.16.840.1.113883.6.96\"/>\n                </observation>\n              </entryRelationship>\n            </act>\n          </entry>\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 nullFlavor=\"NI\"/>\n              <code code=\"CONC\" codeSystem=\"2.16.840.1.113883.5.6\"/>\n              <statusCode code=\"suspended\"/>\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.5\" extension=\"PROB-3\"/>\n                  <code code=\"55607006\" displayName=\"Problem\" codeSystem=\"2.16.840.1.113883.6.96\"/>\n                  <statusCode code=\"completed\"/>\n                  <effectiveTime value=\"20240501\"/>\n                  <value xsi:type=\"CD\" code=\"195967001\" displayName=\"Asthma\" codeSystem=\"2.16.840.1.113883.6.96\"/>\n                </observation>\n              </entryRelationship>\n            </act>\n          </entry>\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 nullFlavor=\"NI\"/>\n              <code code=\"CONC\" codeSystem=\"2.16.840.1.113883.5.6\"/>\n              <statusCode code=\"nullified\"/>\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.5\" extension=\"PROB-4\"/>\n                  <code code=\"55607006\" displayName=\"Problem\" codeSystem=\"2.16.840.1.113883.6.96\"/>\n                  <statusCode code=\"completed\"/>\n                  <effectiveTime value=\"20240501\"/>\n                  <value xsi:type=\"CD\" code=\"49436004\" displayName=\"Atrial fibrillation\" codeSystem=\"2.16.840.1.113883.6.96\"/>\n                </observation>\n              </entryRelationship>\n            </act>\n          </entry>\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 nullFlavor=\"NI\"/>\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.5\" extension=\"PROB-5\"/>\n                  <code code=\"55607006\" displayName=\"Problem\" codeSystem=\"2.16.840.1.113883.6.96\"/>\n                  <statusCode code=\"completed\"/>\n                  <effectiveTime value=\"20240501\"/>\n                  <value xsi:type=\"CD\" code=\"13645005\" displayName=\"Chronic obstructive lung disease\" codeSystem=\"2.16.840.1.113883.6.96\"/>\n                  <entryRelationship typeCode=\"REFR\">\n                    <observation classCode=\"OBS\" moodCode=\"EVN\">\n                      <templateId root=\"2.16.840.1.113883.10.20.22.4.6\"/>\n                      <code code=\"33999-4\" displayName=\"Status\" codeSystem=\"2.16.840.1.113883.6.1\"/>\n                      <statusCode code=\"completed\"/>\n                      <value xsi:type=\"CD\" code=\"421139008\" displayName=\"On hold\" codeSystem=\"2.16.840.1.113883.6.96\"/>\n                    </observation>\n                  </entryRelationship>\n                </observation>\n              </entryRelationship>\n            </act>\n          </entry>\n        </section>\n      </component>\n    </structuredBody>\n  </component>\n</ClinicalDocument>\n"}, "expectedGraph": {"file": "fixtures/expected/problem-status-from-concern-act.ttl", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-ccda/blob/0c6ffe52b3c3d2dcd0dfaf3f0b9e00b69bf2ba96/fixtures/expected/problem-status-from-concern-act.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;Ofbb_V3hhg0Zgc_hYNN5FaS4Uu9k0XLx06GAlWv1o0U> cascade:onsetDate \"2024-05-01\"^^xsd:date ;\n\tcascade:conditionName \"Chronic obstructive lung disease\" ;\n\tcascade:conditionCategory \"problem-list-item\" ;\n\tcascade:conditionCode <http://snomed.info/id/13645005> .\n<ni:///sha-256;VHf4vB2KO4wuZT0MXL8R0kO09-OjSbKD8T7dY8vOgZs> cascade:conditionName \"Atrial fibrillation\" ;\n\tcascade:onsetDate \"2024-05-01\"^^xsd:date ;\n\tcascade:conditionCategory \"problem-list-item\" ;\n\tcascade:conditionCode <http://snomed.info/id/49436004> .\n<ni:///sha-256;wSSd97pXJAJeEc65DHzPtRrwzfdEXdO6B-zGopk-EUU> cascade:clinicalStatus \"inactive\" ;\n\tcascade:conditionName \"Asthma\" ;\n\tcascade:onsetDate \"2024-05-01\"^^xsd:date ;\n\tcascade:conditionCategory \"problem-list-item\" ;\n\tcascade:conditionCode <http://snomed.info/id/195967001> .\n<ni:///sha-256;_KIOiCnmJ_h_Femo7tdG7AIQJH9TCUCtGZRQu0ixv_s> cascade:onsetDate \"2024-05-01\"^^xsd:date ;\n\tcascade:clinicalStatus \"inactive\" ;\n\tcascade:conditionName \"Type 2 diabetes mellitus\" ;\n\tcascade:conditionCategory \"problem-list-item\" ;\n\tcascade:conditionCode <http://snomed.info/id/44054006> .\n<ni:///sha-256;zrWzjxY78NwJ3GkZa9RhmQJKkmwA5oWuNw14euLrzKE> cascade:clinicalStatus \"active\" ;\n\tcascade:onsetDate \"2024-05-01\"^^xsd:date ;\n\tcascade:conditionName \"Hypertensive disorder\" ;\n\tcascade:conditionCategory \"problem-list-item\" ;\n\tcascade:conditionCode <http://snomed.info/id/38341003> .\n<urn:uuid:5769da63-d46b-8c66-b381-d00b2f7ccadb> a cascade:Organization .\n<ni:///sha-256;nlfy5jzXKOxlHFUnZsEry7DFMvJuCxhBLbRxITq-LiA> prov:wasGeneratedBy _:b414f1dd20b45c5d4c926238db09e7bd ;\n\tprov:wasAttributedTo <urn:uuid:5769da63-d46b-8c66-b381-d00b2f7ccadb> .\n_:b414f1dd20b45c5d4c926238db09e7bd prov:qualifiedAssociation _:f2b568325bbe2cf4848bc3d1d7db8dc5 .\n_:f2b568325bbe2cf4848bc3d1d7db8dc5 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_:171d749f79c676fe187287391ef1441 bridge:arrivedAs <ni:///sha-256;grKi0ms_W2WGoIJBSajj9WqQqFYdSHTIaehKWGv5yRg> ;\n\toa:hasSelector _:e6175b67dc56438e0c52212fdffb1518 .\n_:e6175b67dc56438e0c52212fdffb1518 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;TNIUoQer7K6st8VT_uFRz3Tbw6r-IIICN4vkF6814N0> cascade:noteOrDocumentDate \"2025-09-03T09:00:00-05:00\"^^xsd:dateTime ;\n\tcascade:noteOrDocumentTypeName \"Problem List\" ;\n\tcascade:workflowStatus \"current\" ;\n\tcascade:noteOrDocumentTitle \"Problems\" ;\n\tcascade:noteOrDocumentTypeCode <http://loinc.org/rdf/11450-4> ;\n\tcascade:narrativeText \"Hypertensive disorder\\nType 2 diabetes mellitus\\nAsthma\\nAtrial fibrillation\\nChronic obstructive lung disease\" .\n<ni:///sha-256;8OhFhApPXbNaEpnniPsDDmUOh7GZ3tQ3brvo1CVgP0c> foaf:givenName \"Robin\" ;\n\tfoaf:familyName \"Ahmadi\" ;\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_:b8045a864d4e688bc26caf9274be1c17 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_:62944230e03234277f9c0f2a2f094426 bridge:arrivedAs <ni:///sha-256;8OhFhApPXbNaEpnniPsDDmUOh7GZ3tQ3brvo1CVgP0c> ;\n\toa:hasSelector _:b8045a864d4e688bc26caf9274be1c17 .\n<urn:uuid:49d36899-0a1c-87e1-84e4-d9c064c3026f> a cascade:ProblemOrDiagnosis ;\n\tcascade:sourceUrl <urn:hl7ii:2.16.840.1.113883.19.5.99999.5:PROB-5> ;\n\tcascade:sourceRecordId \"2.16.840.1.113883.19.5.99999.5:PROB-5\" .\n<ni:///sha-256;Ofbb_V3hhg0Zgc_hYNN5FaS4Uu9k0XLx06GAlWv1o0U> prov:specializationOf <urn:uuid:49d36899-0a1c-87e1-84e4-d9c064c3026f> ;\n\tcascade:patient <urn:uuid:ed62f5a3-7994-8c3c-9b4a-9f1f41a1aba4> .\n_:fe33182415858ec8334afecaebd25af4 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'][5]/*[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_:ce325149f6dc2880c17c0a92d59b53a6 bridge:arrivedAs <ni:///sha-256;Ofbb_V3hhg0Zgc_hYNN5FaS4Uu9k0XLx06GAlWv1o0U> ;\n\toa:hasSelector _:fe33182415858ec8334afecaebd25af4 .\n<urn:uuid:e96daa5f-9642-8f1e-a544-4ee11dfbe8e8> a cascade:ProblemOrDiagnosis ;\n\tcascade:sourceUrl <urn:hl7ii:2.16.840.1.113883.19.5.99999.5:PROB-4> ;\n\tcascade:sourceRecordId \"2.16.840.1.113883.19.5.99999.5:PROB-4\" .\n<ni:///sha-256;VHf4vB2KO4wuZT0MXL8R0kO09-OjSbKD8T7dY8vOgZs> prov:specializationOf <urn:uuid:e96daa5f-9642-8f1e-a544-4ee11dfbe8e8> ;\n\tcascade:patient <urn:uuid:ed62f5a3-7994-8c3c-9b4a-9f1f41a1aba4> .\n_:b93801bced6e2028f8bb44946cc69d6b 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'][4]/*[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_:dbbb1371f383caa4a3447adc79388045 bridge:arrivedAs <ni:///sha-256;VHf4vB2KO4wuZT0MXL8R0kO09-OjSbKD8T7dY8vOgZs> ;\n\toa:hasSelector _:b93801bced6e2028f8bb44946cc69d6b .\n<urn:uuid:3011b84f-0268-80e4-b9ae-973c94ff713e> a cascade:ProblemOrDiagnosis ;\n\tcascade:sourceUrl <urn:hl7ii:2.16.840.1.113883.19.5.99999.5:PROB-3> ;\n\tcascade:sourceRecordId \"2.16.840.1.113883.19.5.99999.5:PROB-3\" .\n<ni:///sha-256;wSSd97pXJAJeEc65DHzPtRrwzfdEXdO6B-zGopk-EUU> prov:specializationOf <urn:uuid:3011b84f-0268-80e4-b9ae-973c94ff713e> ;\n\tcascade:patient <urn:uuid:ed62f5a3-7994-8c3c-9b4a-9f1f41a1aba4> .\n_:dd5e4968f4c8ee04e0af9c5a115773f4 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'][3]/*[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_:2fe720e6ccba1b3d5cd1840a1b99af8c bridge:arrivedAs <ni:///sha-256;wSSd97pXJAJeEc65DHzPtRrwzfdEXdO6B-zGopk-EUU> ;\n\toa:hasSelector _:dd5e4968f4c8ee04e0af9c5a115773f4 .\n<urn:uuid:afd0f0fe-aa30-87c9-9f37-3625ba8620a7> a cascade:ProblemOrDiagnosis ;\n\tcascade:sourceUrl <urn:hl7ii:2.16.840.1.113883.19.5.99999.5:PROB-2> ;\n\tcascade:sourceRecordId \"2.16.840.1.113883.19.5.99999.5:PROB-2\" .\n<ni:///sha-256;_KIOiCnmJ_h_Femo7tdG7AIQJH9TCUCtGZRQu0ixv_s> prov:specializationOf <urn:uuid:afd0f0fe-aa30-87c9-9f37-3625ba8620a7> ;\n\tcascade:patient <urn:uuid:ed62f5a3-7994-8c3c-9b4a-9f1f41a1aba4> .\n_:f4d08412c8591e15667fa3870c75d980 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'][2]/*[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_:b7e8ed62bac6069160d256c6062e8c7a bridge:arrivedAs <ni:///sha-256;_KIOiCnmJ_h_Femo7tdG7AIQJH9TCUCtGZRQu0ixv_s> ;\n\toa:hasSelector _:f4d08412c8591e15667fa3870c75d980 .\n<urn:uuid:30025014-d6fc-8c6e-a7ee-2820130564c8> a cascade:ProblemOrDiagnosis ;\n\tcascade:sourceUrl <urn:hl7ii:2.16.840.1.113883.19.5.99999.5:PROB-1> ;\n\tcascade:sourceRecordId \"2.16.840.1.113883.19.5.99999.5:PROB-1\" .\n<ni:///sha-256;zrWzjxY78NwJ3GkZa9RhmQJKkmwA5oWuNw14euLrzKE> prov:specializationOf <urn:uuid:30025014-d6fc-8c6e-a7ee-2820130564c8> ;\n\tcascade:patient <urn:uuid:ed62f5a3-7994-8c3c-9b4a-9f1f41a1aba4> .\n_:efcad4969cbe0ef39f0f93ec6fbf1f52 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_:f7cd2ef7396c2be5969d75c76a2caf00 bridge:arrivedAs <ni:///sha-256;zrWzjxY78NwJ3GkZa9RhmQJKkmwA5oWuNw14euLrzKE> ;\n\toa:hasSelector _:efcad4969cbe0ef39f0f93ec6fbf1f52 .\n<urn:uuid:21079bf0-e3d0-8e37-92a0-7f1634e32695> a cascade:ClinicalNoteOrDocument .\n<ni:///sha-256;TNIUoQer7K6st8VT_uFRz3Tbw6r-IIICN4vkF6814N0> prov:specializationOf <urn:uuid:21079bf0-e3d0-8e37-92a0-7f1634e32695> ;\n\tcascade:patient <urn:uuid:ed62f5a3-7994-8c3c-9b4a-9f1f41a1aba4> .\n_:c2bb02daf4b014c27ff27aa214c4e4e3 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_:7336625536d05ef7629040ba2b1e5db bridge:arrivedAs <ni:///sha-256;TNIUoQer7K6st8VT_uFRz3Tbw6r-IIICN4vkF6814N0> ;\n\toa:hasSelector _:c2bb02daf4b014c27ff27aa214c4e4e3 ;\n\toa:hasSource <ni:///sha-256;nlfy5jzXKOxlHFUnZsEry7DFMvJuCxhBLbRxITq-LiA> ;\n\tprov:wasDerivedFrom <ni:///sha-256;nlfy5jzXKOxlHFUnZsEry7DFMvJuCxhBLbRxITq-LiA> ;\n\tprov:wasGeneratedBy _:68ae863cf5f7dd5c22b2f7c6ca0e5123 .\n_:f7cd2ef7396c2be5969d75c76a2caf00 oa:hasSource <ni:///sha-256;nlfy5jzXKOxlHFUnZsEry7DFMvJuCxhBLbRxITq-LiA> ;\n\tprov:wasDerivedFrom <ni:///sha-256;nlfy5jzXKOxlHFUnZsEry7DFMvJuCxhBLbRxITq-LiA> ;\n\tprov:wasGeneratedBy _:68ae863cf5f7dd5c22b2f7c6ca0e5123 .\n_:2fe720e6ccba1b3d5cd1840a1b99af8c oa:hasSource <ni:///sha-256;nlfy5jzXKOxlHFUnZsEry7DFMvJuCxhBLbRxITq-LiA> ;\n\tprov:wasDerivedFrom <ni:///sha-256;nlfy5jzXKOxlHFUnZsEry7DFMvJuCxhBLbRxITq-LiA> ;\n\tprov:wasGeneratedBy _:68ae863cf5f7dd5c22b2f7c6ca0e5123 .\n_:ce325149f6dc2880c17c0a92d59b53a6 oa:hasSource <ni:///sha-256;nlfy5jzXKOxlHFUnZsEry7DFMvJuCxhBLbRxITq-LiA> ;\n\tprov:wasDerivedFrom <ni:///sha-256;nlfy5jzXKOxlHFUnZsEry7DFMvJuCxhBLbRxITq-LiA> ;\n\tprov:wasGeneratedBy _:68ae863cf5f7dd5c22b2f7c6ca0e5123 .\n_:171d749f79c676fe187287391ef1441 oa:hasSource <ni:///sha-256;nlfy5jzXKOxlHFUnZsEry7DFMvJuCxhBLbRxITq-LiA> ;\n\tprov:wasDerivedFrom <ni:///sha-256;nlfy5jzXKOxlHFUnZsEry7DFMvJuCxhBLbRxITq-LiA> ;\n\tprov:wasGeneratedBy _:68ae863cf5f7dd5c22b2f7c6ca0e5123 .\n_:b7e8ed62bac6069160d256c6062e8c7a oa:hasSource <ni:///sha-256;nlfy5jzXKOxlHFUnZsEry7DFMvJuCxhBLbRxITq-LiA> ;\n\tprov:wasDerivedFrom <ni:///sha-256;nlfy5jzXKOxlHFUnZsEry7DFMvJuCxhBLbRxITq-LiA> ;\n\tprov:wasGeneratedBy _:68ae863cf5f7dd5c22b2f7c6ca0e5123 .\n_:dbbb1371f383caa4a3447adc79388045 oa:hasSource <ni:///sha-256;nlfy5jzXKOxlHFUnZsEry7DFMvJuCxhBLbRxITq-LiA> ;\n\tprov:wasDerivedFrom <ni:///sha-256;nlfy5jzXKOxlHFUnZsEry7DFMvJuCxhBLbRxITq-LiA> ;\n\tprov:wasGeneratedBy _:68ae863cf5f7dd5c22b2f7c6ca0e5123 .\n_:62944230e03234277f9c0f2a2f094426 oa:hasSource <ni:///sha-256;nlfy5jzXKOxlHFUnZsEry7DFMvJuCxhBLbRxITq-LiA> ;\n\tprov:wasDerivedFrom <ni:///sha-256;nlfy5jzXKOxlHFUnZsEry7DFMvJuCxhBLbRxITq-LiA> ;\n\tprov:wasGeneratedBy _:68ae863cf5f7dd5c22b2f7c6ca0e5123 .\n<ni:///sha-256;nlfy5jzXKOxlHFUnZsEry7DFMvJuCxhBLbRxITq-LiA> <http://purl.org/pav/retrievedOn> \"2025-07-02T09:00:00Z\"^^xsd:dateTime ;\n\tprov:wasGeneratedBy _:37f710df4c274aa230b4b710a747e28c .\n_:a646134aaa9a4cabc31411f5b911ad87 prov:agent _:57fb7ac18b8fa7bb4f5010139f8dc7bd ;\n\tprov:hadRole cascade:TransmitterRole .\n_:37f710df4c274aa230b4b710a747e28c prov:qualifiedAssociation _:a646134aaa9a4cabc31411f5b911ad87 .\n_:57fb7ac18b8fa7bb4f5010139f8dc7bd <http://www.w3.org/2000/01/rdf-schema#label> \"Riverside patient portal\" .\n_:68ae863cf5f7dd5c22b2f7c6ca0e5123 <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;nlfy5jzXKOxlHFUnZsEry7DFMvJuCxhBLbRxITq-LiA> a prov:Entity .\n_:68ae863cf5f7dd5c22b2f7c6ca0e5123 a prov:Activity ;\n\tprov:used <ni:///sha-256;nlfy5jzXKOxlHFUnZsEry7DFMvJuCxhBLbRxITq-LiA> ;\n\tprov:qualifiedAssociation _:a7244aa899481205d096cddb534d323a .\n_:a7244aa899481205d096cddb534d323a prov:hadPlan _:a0d1799565d13b164ec14579d0b852a7 .\n_:a0d1799565d13b164ec14579d0b852a7 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_:a7244aa899481205d096cddb534d323a prov:agent _:945d7a96db48d2328b7400592b1ee55f .\n_:945d7a96db48d2328b7400592b1ee55f 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/problem-status-from-concern-act.ttl", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-ccda/blob/0c6ffe52b3c3d2dcd0dfaf3f0b9e00b69bf2ba96/fixtures/findings/problem-status-from-concern-act.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_:fe20b70c0780d2fdf72da125ee0d393a a oa:XPathSelector ;\n\trdf:value \"/*[local-name()='ClinicalDocument' and namespace-uri()='urn:hl7-org:v3']\" .\n_:e368aa9945ced3628e79ce82f26ae52d a oa:XPathSelector ;\n\trdf:value \"*[local-name()='author' and namespace-uri()='urn:hl7-org:v3'][1]\" .\n_:fe20b70c0780d2fdf72da125ee0d393a oa:refinedBy _:e368aa9945ced3628e79ce82f26ae52d .\n_:ef8461792310424d4cf9b4d557b092f3 a oa:Annotation ;\n\toa:hasTarget _:a78991f52be2ac3aff3a655e0b882f16 .\n_:a78991f52be2ac3aff3a655e0b882f16 oa:hasSource <../in/problem-status-from-concern-act.xml> ;\n\toa:hasSelector _:fe20b70c0780d2fdf72da125ee0d393a .\n_:ef8461792310424d4cf9b4d557b092f3 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_:c0ab3d758d52813a6f7e79a64e7deda5 a oa:XPathSelector ;\n\trdf:value \"/*[local-name()='ClinicalDocument' and namespace-uri()='urn:hl7-org:v3']\" .\n_:a3a994e7b9c883958873bc404ad948aa 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_:c0ab3d758d52813a6f7e79a64e7deda5 oa:refinedBy _:a3a994e7b9c883958873bc404ad948aa .\n_:e48cd998c6c375a77b089b9d25a35ea6 a oa:Annotation ;\n\toa:hasTarget _:f29e7122518023e96abc8b352d131160 .\n_:f29e7122518023e96abc8b352d131160 oa:hasSource <../in/problem-status-from-concern-act.xml> ;\n\toa:hasSelector _:c0ab3d758d52813a6f7e79a64e7deda5 .\n_:e48cd998c6c375a77b089b9d25a35ea6 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\t<https://ns.cascadeprotocol.org/cascade#occurrenceCount> 5 ;\n\tsh:resultSeverity sh:Info .\n_:b10b970f265364aca36bc0bec74dc118 a oa:XPathSelector ;\n\trdf:value \"/*[local-name()='ClinicalDocument' and namespace-uri()='urn:hl7-org:v3']\" .\n_:eba17d3c839e5a0885d564911665bbef oa:hasSource <../in/problem-status-from-concern-act.xml> .\n_:b10b970f265364aca36bc0bec74dc118 oa:refinedBy _:af75bd385e4a1a5370067a65055a8ec6 .\n_:af75bd385e4a1a5370067a65055a8ec6 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'][5]/*[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_:eba17d3c839e5a0885d564911665bbef oa:hasSelector _:b10b970f265364aca36bc0bec74dc118 .\n_:e37c31e833dffa58c9cf327462401484 oa:hasTarget _:eba17d3c839e5a0885d564911665bbef .\n_:fe567a57bb13c6bf5bf3f01f15851be8 a oa:XPathSelector ;\n\trdf:value \"/*[local-name()='ClinicalDocument' and namespace-uri()='urn:hl7-org:v3']\" .\n_:af91b30c24e7279e31bbdcb48d4694ad oa:hasSource <../in/problem-status-from-concern-act.xml> .\n_:fe567a57bb13c6bf5bf3f01f15851be8 oa:refinedBy _:e521523f6a05cce05890820441bc665f .\n_:e521523f6a05cce05890820441bc665f 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'][4]/*[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_:af91b30c24e7279e31bbdcb48d4694ad oa:hasSelector _:fe567a57bb13c6bf5bf3f01f15851be8 .\n_:a5c6f35edb2f22f50e4b6767bcf9b4c6 oa:hasTarget _:af91b30c24e7279e31bbdcb48d4694ad .\n_:e37c31e833dffa58c9cf327462401484 sh:resultSeverity sh:Info .\n_:a5c6f35edb2f22f50e4b6767bcf9b4c6 sh:resultSeverity sh:Info .\n_:e37c31e833dffa58c9cf327462401484 a oa:Annotation ;\n\toa:hasBody ccda:problemStatusNotMapped ;\n\toa:motivatedBy oa:classifying ;\n\tsh:value \"421139008\" .\n_:a5c6f35edb2f22f50e4b6767bcf9b4c6 a oa:Annotation ;\n\toa:hasBody ccda:concernStatusNotMapped ;\n\toa:motivatedBy oa:classifying ;\n\tsh:value \"nullified\" .\n_:c058726da45ca14b8af4cf01efabce31 a oa:XPathSelector ;\n\trdf:value \"/*[local-name()='ClinicalDocument' and namespace-uri()='urn:hl7-org:v3']\" .\n_:e3ef91dda4def661f67fbc29b841cf oa:hasSource <../in/problem-status-from-concern-act.xml> .\n_:c058726da45ca14b8af4cf01efabce31 oa:refinedBy _:e2c3380b27f7a5c3b16bccb0d9d2621 .\n_:e2c3380b27f7a5c3b16bccb0d9d2621 a oa:XPathSelector ;\n\trdf:value \"*[local-name()='id' and namespace-uri()='urn:hl7-org:v3'][1]\" .\n_:e3ef91dda4def661f67fbc29b841cf oa:hasSelector _:c058726da45ca14b8af4cf01efabce31 .\n_:e026cca2e09cdd20b5b6168ff8281001 oa:hasTarget _:e3ef91dda4def661f67fbc29b841cf .\n_:bdc221461cdc3a1a2d193aa8c22be110 a oa:XPathSelector ;\n\trdf:value \"/*[local-name()='ClinicalDocument' and namespace-uri()='urn:hl7-org:v3']\" .\n_:bfc40c9f97b7ffdf58747eb03b4aed9c oa:hasSource <../in/problem-status-from-concern-act.xml> .\n_:bdc221461cdc3a1a2d193aa8c22be110 oa:refinedBy _:d654e222963b0b5f8295ba62f29736e1 .\n_:d654e222963b0b5f8295ba62f29736e1 a oa:XPathSelector ;\n\trdf:value \"*[local-name()='code' and namespace-uri()='urn:hl7-org:v3'][1]\" .\n_:bfc40c9f97b7ffdf58747eb03b4aed9c oa:hasSelector _:bdc221461cdc3a1a2d193aa8c22be110 .\n_:c8868ea8045ce0b3be0bcd2ddca80950 oa:hasTarget _:bfc40c9f97b7ffdf58747eb03b4aed9c .\n_:e026cca2e09cdd20b5b6168ff8281001 sh:resultSeverity sh:Info .\n_:c8868ea8045ce0b3be0bcd2ddca80950 sh:resultSeverity sh:Info .\n_:e026cca2e09cdd20b5b6168ff8281001 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-1033\" .\n_:c8868ea8045ce0b3be0bcd2ddca80950 a oa:Annotation ;\n\toa:hasBody ccda:documentType ;\n\toa:motivatedBy oa:classifying ;\n\tsh:value \"34133-9\" .\n", "empty": false}}