{"name": "document-reference-ccd-ihe-canonical-system", "comment": "A DocumentReference whose content is a CCD, its format in IHE's canonical format code system: no record.", "input": {"file": "fixtures/in/document-reference-ccd-ihe-canonical-system.json", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/in/document-reference-ccd-ihe-canonical-system.json", "text": "{\n  \"resourceType\": \"DocumentReference\",\n  \"id\": \"ccd-ihe-canonical\",\n  \"status\": \"current\",\n  \"subject\": {\n    \"reference\": \"Patient/pat-1\"\n  },\n  \"type\": {\n    \"coding\": [\n      {\n        \"system\": \"http://loinc.org\",\n        \"code\": \"34133-9\",\n        \"display\": \"Summary of episode note\"\n      }\n    ]\n  },\n  \"content\": [\n    {\n      \"attachment\": {\n        \"contentType\": \"application/xml\",\n        \"url\": \"Binary/ccd-ihe-canonical\"\n      },\n      \"format\": {\n        \"system\": \"http://ihe.net/fhir/ihe.formatcode.fhir/CodeSystem/formatcode\",\n        \"code\": \"urn:hl7-org:sdwg:ccda-structuredBody:2.1\"\n      }\n    }\n  ]\n}\n"}, "expectedGraph": {"file": "fixtures/expected/document-reference-ccd-ihe-canonical-system.ttl", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/expected/document-reference-ccd-ihe-canonical-system.ttl", "text": "@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 prov: <http://www.w3.org/ns/prov#> .\n@prefix pav: <http://purl.org/pav/> .\n<ni:///sha-256;UtFQbhibiR_4C6t0SwEfZNyoalf9a8_Rg_Bf_u5bppU> cascade:serverBaseUrl \"http://example.org/fhir\" ;\n\tpav:retrievedOn \"2026-10-13T09:00:00Z\"^^xsd:dateTime ;\n\tcascade:sourceFormatVersion \"4.0.1\" .\n_:511b5396071e96b0421912587de80634 <http://www.w3.org/2000/01/rdf-schema#label> \"Example server export\" ;\n\tprov:startedAtTime \"2026-10-13T09:00:04Z\"^^xsd:dateTime .\n<ni:///sha-256;UtFQbhibiR_4C6t0SwEfZNyoalf9a8_Rg_Bf_u5bppU> a prov:Entity .\n_:511b5396071e96b0421912587de80634 a prov:Activity ;\n\tprov:used <ni:///sha-256;UtFQbhibiR_4C6t0SwEfZNyoalf9a8_Rg_Bf_u5bppU> ;\n\tprov:qualifiedAssociation _:d51f2aa3b3df83626bdb0175233a3ba7 .\n_:d51f2aa3b3df83626bdb0175233a3ba7 prov:hadPlan _:6b5b792afbef5cbe0cb1622ad693315e .\n_:6b5b792afbef5cbe0cb1622ad693315e a prov:Plan ;\n\t<http://www.w3.org/2000/01/rdf-schema#label> \"fhir-r4\" ;\n\tpav:version \"0.1.0\" .\n_:d51f2aa3b3df83626bdb0175233a3ba7 prov:agent _:5164f5867b33e1acb598807e452d0826 .\n_:5164f5867b33e1acb598807e452d0826 a prov:SoftwareAgent ;\n\t<http://www.w3.org/2000/01/rdf-schema#label> \"Cascade Bridge for Rust\" ;\n\tpav:version \"0.1.0\" .\n"}, "expectedFindings": {"file": "fixtures/findings/document-reference-ccd-ihe-canonical-system.ttl", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/findings/document-reference-ccd-ihe-canonical-system.ttl", "text": "@prefix fhirr4: <https://ns.cascadeprotocol.org/adapter/fhir-r4/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_:b434f240dec51bdac3473310517a8c03 a oa:FragmentSelector ;\n\t<http://purl.org/dc/terms/conformsTo> <https://www.rfc-editor.org/rfc/rfc6901> ;\n\trdf:value \"\" .\n_:d4cca77ddaf7983c5e5fda30a9635ca8 oa:hasSource <../in/document-reference-ccd-ihe-canonical-system.json> .\n_:b434f240dec51bdac3473310517a8c03 oa:refinedBy _:b7e986970bb9032e23d14315fdf08f34 .\n_:b7e986970bb9032e23d14315fdf08f34 a oa:FragmentSelector ;\n\t<http://purl.org/dc/terms/conformsTo> <https://www.rfc-editor.org/rfc/rfc6901> ;\n\trdf:value \"/content/0/format/code\" .\n_:d4cca77ddaf7983c5e5fda30a9635ca8 oa:hasSelector _:b434f240dec51bdac3473310517a8c03 .\n_:dcb81edca5a2acea34fd2b9430cd8c11 oa:hasTarget _:d4cca77ddaf7983c5e5fda30a9635ca8 ;\n\tsh:resultSeverity sh:Warning ;\n\ta oa:Annotation ;\n\toa:hasBody fhirr4:documentReferenceToCcdaDocument ;\n\toa:motivatedBy oa:classifying ;\n\tsh:value \"urn:hl7-org:sdwg:ccda-structuredBody:2.1\" .\n", "empty": false}}