{"name": "document-reference-ccd-ihe-r4-system", "comment": "A DocumentReference whose content is a CCD, its format in the IHE system R4's formatcodes names: no record, so its absent date, a reason code no CodeSystem defines, its type coding with no system and its patient's display are not reported.", "input": {"file": "fixtures/in/document-reference-ccd-ihe-r4-system.json", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/in/document-reference-ccd-ihe-r4-system.json", "text": "{\n  \"resourceType\": \"DocumentReference\",\n  \"id\": \"ccd-ihe-r4\",\n  \"status\": \"current\",\n  \"type\": {\n    \"coding\": [\n      {\n        \"code\": \"34133-9\",\n        \"display\": \"Summary of episode note\"\n      }\n    ]\n  },\n  \"subject\": {\n    \"reference\": \"Patient/pat-1\",\n    \"display\": \"Ada Okonkwo\"\n  },\n  \"_date\": {\n    \"extension\": [\n      {\n        \"url\": \"http://hl7.org/fhir/StructureDefinition/data-absent-reason\",\n        \"valueCode\": \"unknown\"\n      },\n      {\n        \"url\": \"http://hl7.org/fhir/StructureDefinition/data-absent-reason\",\n        \"valueCode\": \"not-a-reason\"\n      }\n    ]\n  },\n  \"content\": [\n    {\n      \"attachment\": {\n        \"contentType\": \"application/xml\",\n        \"url\": \"Binary/ccd-ihe-r4\"\n      },\n      \"format\": {\n        \"system\": \"http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem\",\n        \"code\": \"urn:hl7-org:sdwg:ccda-structuredBody:2.1\"\n      }\n    }\n  ]\n}\n"}, "expectedGraph": {"file": "fixtures/expected/document-reference-ccd-ihe-r4-system.ttl", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/expected/document-reference-ccd-ihe-r4-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;DcY18gd5QHvSTvD79MwhEm0W83wsknP4VeIFdyqiuqA> cascade:serverBaseUrl \"http://example.org/fhir\" ;\n\tpav:retrievedOn \"2026-10-13T09:00:00Z\"^^xsd:dateTime ;\n\tcascade:sourceFormatVersion \"4.0.1\" .\n_:9f4f4449fa26033cec3484eca2ced3d0 <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;DcY18gd5QHvSTvD79MwhEm0W83wsknP4VeIFdyqiuqA> a prov:Entity .\n_:9f4f4449fa26033cec3484eca2ced3d0 a prov:Activity ;\n\tprov:used <ni:///sha-256;DcY18gd5QHvSTvD79MwhEm0W83wsknP4VeIFdyqiuqA> ;\n\tprov:qualifiedAssociation _:e4d8c82ef5cb99f56b69a3d46ac3028d .\n_:e4d8c82ef5cb99f56b69a3d46ac3028d prov:hadPlan _:a4c669b85db3084f09a8d7818bc61fe .\n_:a4c669b85db3084f09a8d7818bc61fe a prov:Plan ;\n\t<http://www.w3.org/2000/01/rdf-schema#label> \"fhir-r4\" ;\n\tpav:version \"0.1.0\" .\n_:e4d8c82ef5cb99f56b69a3d46ac3028d prov:agent _:adf8cf662f2df2314df22f6c59839776 .\n_:adf8cf662f2df2314df22f6c59839776 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-r4-system.ttl", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/findings/document-reference-ccd-ihe-r4-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_:d944179b81ae8e0acf86e1099c130cd9 a oa:FragmentSelector ;\n\t<http://purl.org/dc/terms/conformsTo> <https://www.rfc-editor.org/rfc/rfc6901> ;\n\trdf:value \"\" .\n_:a9f0eb4687a6f86354bc16fc2db0eb06 oa:hasSource <../in/document-reference-ccd-ihe-r4-system.json> .\n_:d944179b81ae8e0acf86e1099c130cd9 oa:refinedBy _:bcf516888955edf1cded119aec8e360a .\n_:bcf516888955edf1cded119aec8e360a 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_:a9f0eb4687a6f86354bc16fc2db0eb06 oa:hasSelector _:d944179b81ae8e0acf86e1099c130cd9 .\n_:eb56fe602a5281f31b5807f15b282402 oa:hasTarget _:a9f0eb4687a6f86354bc16fc2db0eb06 ;\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}}