{"name": "observation-component-text-beside-a-coding-and-alone", "comment": "A blood pressure Observation, not a genetic variant, whose components give a code and a coded answer as text alone, reported as text, and beside a coding, where the text is only that coding's label and is not reported; each coding is reported by its code.", "input": {"file": "fixtures/in/observation-component-text-beside-a-coding-and-alone.json", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/in/observation-component-text-beside-a-coding-and-alone.json", "text": "{\n  \"resourceType\": \"Observation\",\n  \"id\": \"obs-component-text-1\",\n  \"status\": \"final\",\n  \"category\": [\n    {\n      \"coding\": [\n        {\n          \"system\": \"http://terminology.hl7.org/CodeSystem/observation-category\",\n          \"code\": \"vital-signs\"\n        }\n      ]\n    }\n  ],\n  \"code\": {\n    \"coding\": [\n      {\n        \"system\": \"http://loinc.org\",\n        \"code\": \"85354-9\",\n        \"display\": \"Blood pressure panel\"\n      }\n    ]\n  },\n  \"subject\": {\n    \"reference\": \"Patient/pat-conformance-1\"\n  },\n  \"effectiveDateTime\": \"2026-03-04T08:00:00-05:00\",\n  \"component\": [\n    {\n      \"code\": {\n        \"text\": \"Posture\"\n      },\n      \"valueCodeableConcept\": {\n        \"text\": \"Sitting\"\n      }\n    },\n    {\n      \"code\": {\n        \"coding\": [\n          {\n            \"system\": \"http://loinc.org\",\n            \"code\": \"8462-4\",\n            \"display\": \"Diastolic blood pressure\"\n          }\n        ],\n        \"text\": \"Diastolic\"\n      },\n      \"valueQuantity\": {\n        \"value\": 76\n      }\n    },\n    {\n      \"code\": {\n        \"coding\": [\n          {\n            \"system\": \"http://loinc.org\",\n            \"code\": \"8478-0\",\n            \"display\": \"Mean blood pressure\"\n          }\n        ]\n      },\n      \"valueCodeableConcept\": {\n        \"coding\": [\n          {\n            \"system\": \"http://snomed.info/sct\",\n            \"code\": \"33586001\",\n            \"display\": \"Sitting position\"\n          }\n        ],\n        \"text\": \"Sitting\"\n      }\n    }\n  ]\n}\n"}, "expectedGraph": {"file": "fixtures/expected/observation-component-text-beside-a-coding-and-alone.ttl", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/expected/observation-component-text-beside-a-coding-and-alone.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;QnPEKGiRyQVC39ejisjxywbtYOGT6ivScARgeQRvLrU> cascade:serverBaseUrl \"https://fhir.meridian.example/api/FHIR/R4\" ;\n\tpav:retrievedOn \"2026-09-01T10:00:00Z\"^^xsd:dateTime ;\n\tprov:wasGeneratedBy _:9b9c925614d29d22aa51c7e4bc205c49 ;\n\tprov:wasAttributedTo _:6b22eadab54e98207d7d2e670231403 ;\n\tcascade:authenticatedPatient \"Patient/eM5vN8qTz2Hc4Rk7Jw0Pb3\" ;\n\tcascade:authenticatedAsProxy false ;\n\tcascade:sourceFormatVersion \"4.0.1\" .\n_:a564270e707ba20c948e129362f80f42 prov:agent _:6b22eadab54e98207d7d2e670231403 ;\n\tprov:hadRole cascade:AuthorRole .\n_:9b9c925614d29d22aa51c7e4bc205c49 prov:qualifiedAssociation _:a564270e707ba20c948e129362f80f42 .\n_:31943dd408d6dbbb5d691eda0d6bcc53 prov:agent _:fcc1c3001dae6012fad7386087f60c48 ;\n\tprov:hadRole cascade:TransmitterRole .\n_:9b9c925614d29d22aa51c7e4bc205c49 prov:qualifiedAssociation _:31943dd408d6dbbb5d691eda0d6bcc53 .\n_:6b22eadab54e98207d7d2e670231403 <http://www.w3.org/2000/01/rdf-schema#label> \"Meridian Health System\" .\n_:fcc1c3001dae6012fad7386087f60c48 <http://www.w3.org/2000/01/rdf-schema#label> \"Apple Health\" .\n_:fb9adbfb3bb13416323de8f263c5eee0 <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;QnPEKGiRyQVC39ejisjxywbtYOGT6ivScARgeQRvLrU> a prov:Entity .\n_:fb9adbfb3bb13416323de8f263c5eee0 a prov:Activity ;\n\tprov:used <ni:///sha-256;QnPEKGiRyQVC39ejisjxywbtYOGT6ivScARgeQRvLrU> ;\n\tprov:qualifiedAssociation _:375d07bc5ea547276861f6e3da8f76b9 .\n_:375d07bc5ea547276861f6e3da8f76b9 prov:hadPlan _:795f0175c01a449048e84977a9e9d5d0 .\n_:795f0175c01a449048e84977a9e9d5d0 a prov:Plan ;\n\t<http://www.w3.org/2000/01/rdf-schema#label> \"fhir-r4\" ;\n\tpav:version \"0.1.0\" .\n_:375d07bc5ea547276861f6e3da8f76b9 prov:agent _:cf1665f773afa9cebbc788f335b39b87 .\n_:cf1665f773afa9cebbc788f335b39b87 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/observation-component-text-beside-a-coding-and-alone.ttl", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/findings/observation-component-text-beside-a-coding-and-alone.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_:d6720041752f50670673236c1d1b0014 a oa:FragmentSelector ;\n\t<http://purl.org/dc/terms/conformsTo> <https://www.rfc-editor.org/rfc/rfc6901> ;\n\trdf:value \"\" .\n_:cbf90fd21c7ec9cee196d6de31eebb23 a oa:FragmentSelector ;\n\t<http://purl.org/dc/terms/conformsTo> <https://www.rfc-editor.org/rfc/rfc6901> ;\n\trdf:value \"/component/1/valueQuantity/value\" .\n_:d6720041752f50670673236c1d1b0014 oa:refinedBy _:cbf90fd21c7ec9cee196d6de31eebb23 .\n_:dae03d4d236d8110c1c5040037468bd6 a oa:Annotation ;\n\toa:hasTarget _:d8b1822f2b613a670382503d47171b63 .\n_:d8b1822f2b613a670382503d47171b63 oa:hasSource <../in/observation-component-text-beside-a-coding-and-alone.json> ;\n\toa:hasSelector _:d6720041752f50670673236c1d1b0014 .\n_:dae03d4d236d8110c1c5040037468bd6 oa:hasBody fhirr4:observationComponentDataNotCarried ;\n\toa:motivatedBy oa:classifying ;\n\tsh:value \"/component/valueQuantity/value\" ;\n\tsh:resultSeverity sh:Info .\n_:e66aaf187497c642b31b5b88340e348c a oa:FragmentSelector ;\n\t<http://purl.org/dc/terms/conformsTo> <https://www.rfc-editor.org/rfc/rfc6901> ;\n\trdf:value \"\" .\n_:b650e3ef85ecfee3413b09c9c3ea83b0 oa:hasSource <../in/observation-component-text-beside-a-coding-and-alone.json> .\n_:e66aaf187497c642b31b5b88340e348c oa:refinedBy _:ec599df92345b4fd4baef53d5b56df02 .\n_:ec599df92345b4fd4baef53d5b56df02 a oa:FragmentSelector ;\n\t<http://purl.org/dc/terms/conformsTo> <https://www.rfc-editor.org/rfc/rfc6901> ;\n\trdf:value \"/component/2/code/coding/0/code\" .\n_:b650e3ef85ecfee3413b09c9c3ea83b0 oa:hasSelector _:e66aaf187497c642b31b5b88340e348c .\n_:e8198cf66a7d57e71e3d0299b393de31 oa:hasTarget _:b650e3ef85ecfee3413b09c9c3ea83b0 .\n_:a0b83e8764f0587defa555de928c8ccc a oa:FragmentSelector ;\n\t<http://purl.org/dc/terms/conformsTo> <https://www.rfc-editor.org/rfc/rfc6901> ;\n\trdf:value \"\" .\n_:bb68ab71ea4b5839385a6a03eb17da18 oa:hasSource <../in/observation-component-text-beside-a-coding-and-alone.json> .\n_:a0b83e8764f0587defa555de928c8ccc oa:refinedBy _:eebe8e5b25d1526d3135e026ee07cf44 .\n_:eebe8e5b25d1526d3135e026ee07cf44 a oa:FragmentSelector ;\n\t<http://purl.org/dc/terms/conformsTo> <https://www.rfc-editor.org/rfc/rfc6901> ;\n\trdf:value \"/component/2/valueCodeableConcept/coding/0/code\" .\n_:bb68ab71ea4b5839385a6a03eb17da18 oa:hasSelector _:a0b83e8764f0587defa555de928c8ccc .\n_:c6313550cf87a574ad813e549fd07e8a oa:hasTarget _:bb68ab71ea4b5839385a6a03eb17da18 .\n_:f3285dd07dc4654e8a8e06e4c8926716 a oa:FragmentSelector ;\n\t<http://purl.org/dc/terms/conformsTo> <https://www.rfc-editor.org/rfc/rfc6901> ;\n\trdf:value \"\" .\n_:fecfcda40acf9a9a8818a6f0781dbc11 oa:hasSource <../in/observation-component-text-beside-a-coding-and-alone.json> .\n_:f3285dd07dc4654e8a8e06e4c8926716 oa:refinedBy _:dfba4e77b567a4c9ef7d5fa0039d7fe5 .\n_:dfba4e77b567a4c9ef7d5fa0039d7fe5 a oa:FragmentSelector ;\n\t<http://purl.org/dc/terms/conformsTo> <https://www.rfc-editor.org/rfc/rfc6901> ;\n\trdf:value \"/component/2/valueCodeableConcept/coding/0/display\" .\n_:fecfcda40acf9a9a8818a6f0781dbc11 oa:hasSelector _:f3285dd07dc4654e8a8e06e4c8926716 .\n_:d66a264276c238b272616c8f5c914989 oa:hasTarget _:fecfcda40acf9a9a8818a6f0781dbc11 .\n_:cb7802221bc6452f7fc1024de33cbb24 a oa:FragmentSelector ;\n\t<http://purl.org/dc/terms/conformsTo> <https://www.rfc-editor.org/rfc/rfc6901> ;\n\trdf:value \"\" .\n_:fc6c90b8a94f9b31317ea46a3828e9 oa:hasSource <../in/observation-component-text-beside-a-coding-and-alone.json> .\n_:cb7802221bc6452f7fc1024de33cbb24 oa:refinedBy _:b7c40e2c19aec7e44201071472cbdeba .\n_:b7c40e2c19aec7e44201071472cbdeba a oa:FragmentSelector ;\n\t<http://purl.org/dc/terms/conformsTo> <https://www.rfc-editor.org/rfc/rfc6901> ;\n\trdf:value \"/component/1/code/coding/0/code\" .\n_:fc6c90b8a94f9b31317ea46a3828e9 oa:hasSelector _:cb7802221bc6452f7fc1024de33cbb24 .\n_:c182d20c39539f87c9f648aeeaeb7eac oa:hasTarget _:fc6c90b8a94f9b31317ea46a3828e9 .\n_:d927a29a2aba92555bb2b9607b76f003 a oa:FragmentSelector ;\n\t<http://purl.org/dc/terms/conformsTo> <https://www.rfc-editor.org/rfc/rfc6901> ;\n\trdf:value \"\" .\n_:a15590002a737b6ce87a685935788fb1 oa:hasSource <../in/observation-component-text-beside-a-coding-and-alone.json> .\n_:d927a29a2aba92555bb2b9607b76f003 oa:refinedBy _:bbee12afe937a6a1863ab9dd3cedd2fc .\n_:bbee12afe937a6a1863ab9dd3cedd2fc a oa:FragmentSelector ;\n\t<http://purl.org/dc/terms/conformsTo> <https://www.rfc-editor.org/rfc/rfc6901> ;\n\trdf:value \"/component/0/code/text\" .\n_:a15590002a737b6ce87a685935788fb1 oa:hasSelector _:d927a29a2aba92555bb2b9607b76f003 .\n_:a8628522b87cc9117153137fd35a5d89 oa:hasTarget _:a15590002a737b6ce87a685935788fb1 .\n_:e4bcb149d925a0ff363cecdc6fee9237 a oa:FragmentSelector ;\n\t<http://purl.org/dc/terms/conformsTo> <https://www.rfc-editor.org/rfc/rfc6901> ;\n\trdf:value \"\" .\n_:ca73dcf3494a8a66fd8546068d217e91 oa:hasSource <../in/observation-component-text-beside-a-coding-and-alone.json> .\n_:e4bcb149d925a0ff363cecdc6fee9237 oa:refinedBy _:c2c793587ea34122ad61c67b2da3472c .\n_:c2c793587ea34122ad61c67b2da3472c a oa:FragmentSelector ;\n\t<http://purl.org/dc/terms/conformsTo> <https://www.rfc-editor.org/rfc/rfc6901> ;\n\trdf:value \"/component/0/valueCodeableConcept/text\" .\n_:ca73dcf3494a8a66fd8546068d217e91 oa:hasSelector _:e4bcb149d925a0ff363cecdc6fee9237 .\n_:f9ca1d790c4779477fd99f7a30b8d18e oa:hasTarget _:ca73dcf3494a8a66fd8546068d217e91 .\n_:e8198cf66a7d57e71e3d0299b393de31 sh:resultSeverity sh:Info .\n_:c6313550cf87a574ad813e549fd07e8a sh:resultSeverity sh:Info .\n_:d66a264276c238b272616c8f5c914989 sh:resultSeverity sh:Info .\n_:c182d20c39539f87c9f648aeeaeb7eac sh:resultSeverity sh:Info .\n_:a8628522b87cc9117153137fd35a5d89 sh:resultSeverity sh:Info .\n_:f9ca1d790c4779477fd99f7a30b8d18e sh:resultSeverity sh:Info .\n_:e8198cf66a7d57e71e3d0299b393de31 a oa:Annotation ;\n\toa:hasBody fhirr4:observationComponentDataNotCarried ;\n\toa:motivatedBy oa:classifying ;\n\tsh:value \"8478-0\" .\n_:c6313550cf87a574ad813e549fd07e8a a oa:Annotation ;\n\toa:hasBody fhirr4:observationComponentDataNotCarried ;\n\toa:motivatedBy oa:classifying ;\n\tsh:value \"33586001\" .\n_:d66a264276c238b272616c8f5c914989 a oa:Annotation ;\n\toa:hasBody fhirr4:observationComponentDataNotCarried ;\n\toa:motivatedBy oa:classifying ;\n\tsh:value \"Sitting position\" .\n_:c182d20c39539f87c9f648aeeaeb7eac a oa:Annotation ;\n\toa:hasBody fhirr4:observationComponentDataNotCarried ;\n\toa:motivatedBy oa:classifying ;\n\tsh:value \"8462-4\" .\n_:a8628522b87cc9117153137fd35a5d89 a oa:Annotation ;\n\toa:hasBody fhirr4:observationComponentDataNotCarried ;\n\toa:motivatedBy oa:classifying ;\n\tsh:value \"Posture\" .\n_:f9ca1d790c4779477fd99f7a30b8d18e a oa:Annotation ;\n\toa:hasBody fhirr4:observationComponentDataNotCarried ;\n\toa:motivatedBy oa:classifying ;\n\tsh:value \"Sitting\" .\n_:c8f74edc3eaac755249924352b09d6ed a oa:FragmentSelector ;\n\t<http://purl.org/dc/terms/conformsTo> <https://www.rfc-editor.org/rfc/rfc6901> ;\n\trdf:value \"\" .\n_:d49b29f2ed013a77cc5364a1120e18a1 oa:hasSource <../in/observation-component-text-beside-a-coding-and-alone.json> .\n_:c8f74edc3eaac755249924352b09d6ed oa:refinedBy _:b4131cf7d6ff5f50907638bd82174fe9 .\n_:b4131cf7d6ff5f50907638bd82174fe9 a oa:FragmentSelector ;\n\t<http://purl.org/dc/terms/conformsTo> <https://www.rfc-editor.org/rfc/rfc6901> ;\n\trdf:value \"/category/0/coding/0/code\" .\n_:d49b29f2ed013a77cc5364a1120e18a1 oa:hasSelector _:c8f74edc3eaac755249924352b09d6ed .\n_:d0494f9de9f6bb654bb4a0b9b5729e5c oa:hasTarget _:d49b29f2ed013a77cc5364a1120e18a1 ;\n\tsh:resultSeverity sh:Warning ;\n\ta oa:Annotation ;\n\toa:hasBody fhirr4:observationNotLabResult ;\n\toa:motivatedBy oa:classifying ;\n\tsh:value \"vital-signs\" .\n", "empty": false}}