{"name": "condition-codes-under-other-system-names", "comment": "A Condition whose codings name their systems in other forms: SNOMED CT by its OID with the prefix URN:OID: in capitals and ICD-10-CM by a URI HL7 Terminology lists as not preferred are their IRIs; ICD-9-CM by its OID is a cascade:conditionCodeInOtherSystem literal typed http://hl7.org/fhir/sid/icd-9-cm.", "input": {"file": "fixtures/in/condition-codes-under-other-system-names.json", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/in/condition-codes-under-other-system-names.json", "text": "{\n  \"resourceType\": \"Condition\",\n  \"id\": \"cond-dm2-1\",\n  \"code\": {\n    \"coding\": [\n      {\n        \"system\": \"URN:OID:2.16.840.1.113883.6.96\",\n        \"code\": \"44054006\",\n        \"display\": \"Type 2 diabetes mellitus\"\n      },\n      {\n        \"system\": \"http://terminology.hl7.org/CodeSystem/icd10CM\",\n        \"code\": \"E11.9\",\n        \"display\": \"Type 2 diabetes mellitus without complications\"\n      },\n      {\n        \"system\": \"urn:oid:2.16.840.1.113883.6.103\",\n        \"code\": \"250.00\",\n        \"display\": \"Diabetes mellitus without mention of complication, type II or unspecified type, not stated as uncontrolled\"\n      }\n    ],\n    \"text\": \"Type 2 diabetes mellitus\"\n  },\n  \"subject\": {\n    \"reference\": \"Patient/pat-conformance-1\"\n  },\n  \"onsetDateTime\": \"2019-06-11\"\n}\n"}, "expectedGraph": {"file": "fixtures/expected/condition-codes-under-other-system-names.ttl", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/expected/condition-codes-under-other-system-names.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 prov: <http://www.w3.org/ns/prov#> .\n@prefix dct: <http://purl.org/dc/terms/> .\n@prefix dcterms: <http://purl.org/dc/terms/> .\n@prefix oa: <http://www.w3.org/ns/oa#> .\n@prefix pav: <http://purl.org/pav/> .\n<ni:///sha-256;v4NI8PQm-TlskaSZnV67YxVHn7LSEwj3FhzPx09Jam4> cascade:conditionName \"Type 2 diabetes mellitus\" ;\n\tcascade:conditionCode <https://ns.cascadeprotocol.org/codes/icd9cm/250.00> , <https://ns.cascadeprotocol.org/codes/icd10cm/E11.9> , <http://snomed.info/id/44054006> ;\n\tcascade:onsetDate \"2019-06-11\"^^xsd:date .\n<urn:uuid:81f4fb30-c0ab-804a-9d76-5340450f970d> a cascade:ProblemOrDiagnosis ;\n\tcascade:sourceUrl <https://fhir.meridian.example/api/FHIR/R4/Condition/cond-dm2-1> ;\n\tcascade:sourceRecordId \"cond-dm2-1\" .\n<ni:///sha-256;v4NI8PQm-TlskaSZnV67YxVHn7LSEwj3FhzPx09Jam4> prov:specializationOf <urn:uuid:81f4fb30-c0ab-804a-9d76-5340450f970d> ;\n\tcascade:patient <urn:uuid:7883c5a4-6c61-837c-9bf7-dbe1b37d89ff> .\n_:b13cd3ae6eeda9e9e0ed8395d3d2930c bridge:arrivedAs <ni:///sha-256;v4NI8PQm-TlskaSZnV67YxVHn7LSEwj3FhzPx09Jam4> ;\n\toa:hasSelector _:bfd1e16a763387d8c6a2ee68818b37cb ;\n\toa:hasSource <ni:///sha-256;oqqiYeRw6kP-J6z-wffNFVBnXPLdZmV5WACZOroohH8> ;\n\tprov:wasDerivedFrom <ni:///sha-256;oqqiYeRw6kP-J6z-wffNFVBnXPLdZmV5WACZOroohH8> ;\n\tprov:wasGeneratedBy _:5583cf16dba818579ade7733b17f585d .\n_:bfd1e16a763387d8c6a2ee68818b37cb a oa:FragmentSelector ;\n\tdct:conformsTo <https://www.rfc-editor.org/rfc/rfc6901> ;\n\trdf:value \"\" .\n<ni:///sha-256;oqqiYeRw6kP-J6z-wffNFVBnXPLdZmV5WACZOroohH8> cascade:serverBaseUrl \"https://fhir.meridian.example/api/FHIR/R4\" ;\n\tpav:retrievedOn \"2026-09-01T10:00:00Z\"^^xsd:dateTime ;\n\tprov:wasGeneratedBy _:1f2f16ae433086664856329b7c1ffc36 ;\n\tprov:wasAttributedTo _:cf0b866e17c4be5e0618294ef495ba6e ;\n\tcascade:authenticatedPatient \"Patient/eM5vN8qTz2Hc4Rk7Jw0Pb3\" ;\n\tcascade:authenticatedAsProxy false ;\n\tcascade:sourceFormatVersion \"4.0.1\" .\n_:ab8b219bac9d13ad44449971425c942e prov:agent _:cf0b866e17c4be5e0618294ef495ba6e ;\n\tprov:hadRole cascade:AuthorRole .\n_:1f2f16ae433086664856329b7c1ffc36 prov:qualifiedAssociation _:ab8b219bac9d13ad44449971425c942e .\n_:39bb573259ca203f39dc408714954c25 prov:agent _:f1248b7a7be72ef4222345fe11a64253 ;\n\tprov:hadRole cascade:TransmitterRole .\n_:1f2f16ae433086664856329b7c1ffc36 prov:qualifiedAssociation _:39bb573259ca203f39dc408714954c25 .\n_:cf0b866e17c4be5e0618294ef495ba6e <http://www.w3.org/2000/01/rdf-schema#label> \"Meridian Health System\" .\n_:f1248b7a7be72ef4222345fe11a64253 <http://www.w3.org/2000/01/rdf-schema#label> \"Apple Health\" .\n_:5583cf16dba818579ade7733b17f585d <http://www.w3.org/2000/01/rdf-schema#label> \"Apple Health export\" ;\n\tprov:startedAtTime \"2026-09-01T10:00:04Z\"^^xsd:dateTime .\n<ni:///sha-256;oqqiYeRw6kP-J6z-wffNFVBnXPLdZmV5WACZOroohH8> a prov:Entity .\n_:5583cf16dba818579ade7733b17f585d a prov:Activity ;\n\tprov:used <ni:///sha-256;oqqiYeRw6kP-J6z-wffNFVBnXPLdZmV5WACZOroohH8> ;\n\tprov:qualifiedAssociation _:d10b591d044a6847451cca71d7d6d8fe .\n_:d10b591d044a6847451cca71d7d6d8fe prov:hadPlan _:adf7a63a745a1119ab620f1b6434aaf1 .\n_:adf7a63a745a1119ab620f1b6434aaf1 a prov:Plan ;\n\t<http://www.w3.org/2000/01/rdf-schema#label> \"fhir-r4\" ;\n\tpav:version \"0.1.0\" .\n_:d10b591d044a6847451cca71d7d6d8fe prov:agent _:ce8b4f0959b7849b047b0d31372eb878 .\n_:ce8b4f0959b7849b047b0d31372eb878 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/condition-codes-under-other-system-names.ttl", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/findings/condition-codes-under-other-system-names.ttl", "text": "", "empty": true}}