{"name": "observation-component-text-and-unit", "comment": "A blood pressure Observation whose component carries the text of its code beside the coding, and the unit of its quantity: the text is only the coding's label and is not reported, the unit has no Cascade predicate and is reported, as is the coding, which no mapping reads.", "input": {"file": "fixtures/in/observation-component-text-and-unit.json", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/in/observation-component-text-and-unit.json", "text": "{\n  \"resourceType\": \"Observation\",\n  \"id\": \"obs-bp-components-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        \"coding\": [\n          {\n            \"system\": \"http://loinc.org\",\n            \"code\": \"8480-6\",\n            \"display\": \"Systolic blood pressure\"\n          }\n        ],\n        \"text\": \"Systolic\"\n      },\n      \"valueQuantity\": {\n        \"value\": 118,\n        \"unit\": \"mmHg\",\n        \"system\": \"http://unitsofmeasure.org\",\n        \"code\": \"mm[Hg]\"\n      }\n    }\n  ]\n}\n"}, "expectedGraph": {"file": "fixtures/expected/observation-component-text-and-unit.ttl", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/expected/observation-component-text-and-unit.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;yrfxXu4kQiWUDB9Gc7dn0lqoAF9Vx9Ic82wKuvV_QKg> cascade:serverBaseUrl \"https://fhir.meridian.example/api/FHIR/R4\" ;\n\tpav:retrievedOn \"2026-09-01T10:00:00Z\"^^xsd:dateTime ;\n\tprov:wasGeneratedBy _:5a38f51dba91fc47e252fc55491614c ;\n\tprov:wasAttributedTo _:9611efc3cb9aaac35bc4eb0e857d6b24 ;\n\tcascade:authenticatedPatient \"Patient/eM5vN8qTz2Hc4Rk7Jw0Pb3\" ;\n\tcascade:authenticatedAsProxy false ;\n\tcascade:sourceFormatVersion \"4.0.1\" .\n_:b8f251a9c42d5a0cd3340d9d6c53aa7c prov:agent _:9611efc3cb9aaac35bc4eb0e857d6b24 ;\n\tprov:hadRole cascade:AuthorRole .\n_:5a38f51dba91fc47e252fc55491614c prov:qualifiedAssociation _:b8f251a9c42d5a0cd3340d9d6c53aa7c .\n_:5c2321cf02790e9e154603f8bfdc997f prov:agent _:78afd8fb2b9cb78909976dbf73386aaf ;\n\tprov:hadRole cascade:TransmitterRole .\n_:5a38f51dba91fc47e252fc55491614c prov:qualifiedAssociation _:5c2321cf02790e9e154603f8bfdc997f .\n_:9611efc3cb9aaac35bc4eb0e857d6b24 <http://www.w3.org/2000/01/rdf-schema#label> \"Meridian Health System\" .\n_:78afd8fb2b9cb78909976dbf73386aaf <http://www.w3.org/2000/01/rdf-schema#label> \"Apple Health\" .\n_:27f771b7451b91959237d67e3b13c2b5 <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;yrfxXu4kQiWUDB9Gc7dn0lqoAF9Vx9Ic82wKuvV_QKg> a prov:Entity .\n_:27f771b7451b91959237d67e3b13c2b5 a prov:Activity ;\n\tprov:used <ni:///sha-256;yrfxXu4kQiWUDB9Gc7dn0lqoAF9Vx9Ic82wKuvV_QKg> ;\n\tprov:qualifiedAssociation _:ad7d7badfac28184b5bf3e20b566a137 .\n_:ad7d7badfac28184b5bf3e20b566a137 prov:hadPlan _:c3b342b5a6ab97079b79b7df2756a9f3 .\n_:c3b342b5a6ab97079b79b7df2756a9f3 a prov:Plan ;\n\t<http://www.w3.org/2000/01/rdf-schema#label> \"fhir-r4\" ;\n\tpav:version \"0.1.0\" .\n_:ad7d7badfac28184b5bf3e20b566a137 prov:agent _:310659fa0cd9aa756f1d1173e66de690 .\n_:310659fa0cd9aa756f1d1173e66de690 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-and-unit.ttl", "link": "https://github.com/the-cascade-protocol/cascade-bridge-adapter-fhir-r4/blob/15621eef1b6e4578c254871490838e45939a8487/fixtures/findings/observation-component-text-and-unit.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_:f780a655df91c13bd77d83a5e6274b8e a oa:FragmentSelector ;\n\t<http://purl.org/dc/terms/conformsTo> <https://www.rfc-editor.org/rfc/rfc6901> ;\n\trdf:value \"\" .\n_:f1db78bf4da9ae3898ac351ec1cff9ea a oa:FragmentSelector ;\n\t<http://purl.org/dc/terms/conformsTo> <https://www.rfc-editor.org/rfc/rfc6901> ;\n\trdf:value \"/component/0/valueQuantity/value\" .\n_:f780a655df91c13bd77d83a5e6274b8e oa:refinedBy _:f1db78bf4da9ae3898ac351ec1cff9ea .\n_:f5ef1a220f4d8e3b35381d4ae396c9d8 a oa:Annotation ;\n\toa:hasTarget _:dc04642d2a7cb5f08d1c3d0b819b2694 .\n_:dc04642d2a7cb5f08d1c3d0b819b2694 oa:hasSource <../in/observation-component-text-and-unit.json> ;\n\toa:hasSelector _:f780a655df91c13bd77d83a5e6274b8e .\n_:f5ef1a220f4d8e3b35381d4ae396c9d8 oa:hasBody fhirr4:observationComponentDataNotCarried ;\n\toa:motivatedBy oa:classifying ;\n\tsh:value \"/component/valueQuantity/value\" ;\n\tsh:resultSeverity sh:Info .\n_:a5f275145f51d67c27170ec7dcb02ffe a oa:FragmentSelector ;\n\t<http://purl.org/dc/terms/conformsTo> <https://www.rfc-editor.org/rfc/rfc6901> ;\n\trdf:value \"\" .\n_:c883610dfc41eebf759e4dc16dde9034 a oa:FragmentSelector ;\n\t<http://purl.org/dc/terms/conformsTo> <https://www.rfc-editor.org/rfc/rfc6901> ;\n\trdf:value \"/component/0/valueQuantity/unit\" .\n_:a5f275145f51d67c27170ec7dcb02ffe oa:refinedBy _:c883610dfc41eebf759e4dc16dde9034 .\n_:a53242fd6eb07e74bf912eb429bdc563 a oa:Annotation ;\n\toa:hasTarget _:f1f2414355ec1339e43cdbc5070d5640 .\n_:f1f2414355ec1339e43cdbc5070d5640 oa:hasSource <../in/observation-component-text-and-unit.json> ;\n\toa:hasSelector _:a5f275145f51d67c27170ec7dcb02ffe .\n_:a53242fd6eb07e74bf912eb429bdc563 oa:hasBody fhirr4:observationComponentDataNotCarried ;\n\toa:motivatedBy oa:classifying ;\n\tsh:value \"/component/valueQuantity/unit\" ;\n\tsh:resultSeverity sh:Info .\n_:e91ccce357fd7d817e28c5ee481f0615 a oa:FragmentSelector ;\n\t<http://purl.org/dc/terms/conformsTo> <https://www.rfc-editor.org/rfc/rfc6901> ;\n\trdf:value \"\" .\n_:fa303e376cd2308f2bbecb8760901a75 a oa:FragmentSelector ;\n\t<http://purl.org/dc/terms/conformsTo> <https://www.rfc-editor.org/rfc/rfc6901> ;\n\trdf:value \"/component/0/valueQuantity/system\" .\n_:e91ccce357fd7d817e28c5ee481f0615 oa:refinedBy _:fa303e376cd2308f2bbecb8760901a75 .\n_:da5c1e91d023b084135c61d1fbc74630 a oa:Annotation ;\n\toa:hasTarget _:f5b3576501c41787ff099dc174246480 .\n_:f5b3576501c41787ff099dc174246480 oa:hasSource <../in/observation-component-text-and-unit.json> ;\n\toa:hasSelector _:e91ccce357fd7d817e28c5ee481f0615 .\n_:da5c1e91d023b084135c61d1fbc74630 oa:hasBody fhirr4:observationComponentDataNotCarried ;\n\toa:motivatedBy oa:classifying ;\n\tsh:value \"/component/valueQuantity/system\" ;\n\tsh:resultSeverity sh:Info .\n_:e849c301883bc594b222b346857b0802 a oa:FragmentSelector ;\n\t<http://purl.org/dc/terms/conformsTo> <https://www.rfc-editor.org/rfc/rfc6901> ;\n\trdf:value \"\" .\n_:c01b7fd131989df811d5b14c220565c1 a oa:FragmentSelector ;\n\t<http://purl.org/dc/terms/conformsTo> <https://www.rfc-editor.org/rfc/rfc6901> ;\n\trdf:value \"/component/0/valueQuantity/code\" .\n_:e849c301883bc594b222b346857b0802 oa:refinedBy _:c01b7fd131989df811d5b14c220565c1 .\n_:f699b9a24976b54c8750fa9af56d2c10 a oa:Annotation ;\n\toa:hasTarget _:a757654b53707b5279db18320206a17c .\n_:a757654b53707b5279db18320206a17c oa:hasSource <../in/observation-component-text-and-unit.json> ;\n\toa:hasSelector _:e849c301883bc594b222b346857b0802 .\n_:f699b9a24976b54c8750fa9af56d2c10 oa:hasBody fhirr4:observationComponentDataNotCarried ;\n\toa:motivatedBy oa:classifying ;\n\tsh:value \"/component/valueQuantity/code\" ;\n\tsh:resultSeverity sh:Info .\n_:ba8a107e9db939e5b3c010fd35b879c0 a oa:FragmentSelector ;\n\t<http://purl.org/dc/terms/conformsTo> <https://www.rfc-editor.org/rfc/rfc6901> ;\n\trdf:value \"\" .\n_:aebeb57829f7180a7ada40677478804a oa:hasSource <../in/observation-component-text-and-unit.json> .\n_:ba8a107e9db939e5b3c010fd35b879c0 oa:refinedBy _:cee52f316639c560da309355d7b5d17d .\n_:cee52f316639c560da309355d7b5d17d a oa:FragmentSelector ;\n\t<http://purl.org/dc/terms/conformsTo> <https://www.rfc-editor.org/rfc/rfc6901> ;\n\trdf:value \"/component/0/code/coding/0/code\" .\n_:aebeb57829f7180a7ada40677478804a oa:hasSelector _:ba8a107e9db939e5b3c010fd35b879c0 .\n_:f84b9537f58c5be85307d86d4ce54d3c oa:hasTarget _:aebeb57829f7180a7ada40677478804a ;\n\tsh:resultSeverity sh:Info ;\n\ta oa:Annotation ;\n\toa:hasBody fhirr4:observationComponentDataNotCarried ;\n\toa:motivatedBy oa:classifying ;\n\tsh:value \"8480-6\" .\n_:e7c916a8eac78805dcf9ab19694357 a oa:FragmentSelector ;\n\t<http://purl.org/dc/terms/conformsTo> <https://www.rfc-editor.org/rfc/rfc6901> ;\n\trdf:value \"\" .\n_:a7e4efcbbf8962a970b93d7df2419ae1 oa:hasSource <../in/observation-component-text-and-unit.json> .\n_:e7c916a8eac78805dcf9ab19694357 oa:refinedBy _:cedc4b78b88119805aa3878159c034be .\n_:cedc4b78b88119805aa3878159c034be 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_:a7e4efcbbf8962a970b93d7df2419ae1 oa:hasSelector _:e7c916a8eac78805dcf9ab19694357 .\n_:add23fbe64c518ea00fadad1e0ed389e oa:hasTarget _:a7e4efcbbf8962a970b93d7df2419ae1 ;\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}}