Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Validation Issue with LOINC Code Despite Successful $validate-code Check

12 views
Skip to first unread message

Jessie Liao

unread,
Apr 15, 2025, 5:47:10 AMApr 15
to HAPI FHIR
Hi team,

I'm using hapi-fhir-jpaserver-starter(7.6.0) to build a FHIR server.
I have uploaded LOINC with hapi-fhir-7.6.0-cli tool by running upload-terminology command.

However when I run $validate operation on one of my examples ,get the response with HTTP Status Code :422 and
Part of response like this:
            "diagnostics": "Unable to validate code http://loinc.org#8289-1 - Unknown code \"http://loinc.org#8289-1\". Code validation occurred using a ValueSet expansion that was pre-calculated at 2025-04-09T16:06:14.800+08:00 (5.9 days ago)",
            "location": [
                "Observation.code",
                "Line[26] Col[6]"
            ]
I checked with $validate-code operation
And returns with  true
{
    "resourceType": "Parameters",
    "parameter": [
        {
            "name": "result",
            "valueBoolean": true
        },
        {
            "name": "display",
            "valueString": "Head Occipital-frontal circumference Percentile"
        }
    ]
}

I’m not sure why the $validate operation fails while $validate-code succeeds.
Is there something I might be missing — perhaps related to ValueSet expansion caching or configuration?
Any suggestions on what I could check would be greatly appreciated.

Thanks!
Jessie
Reply all
Reply to author
Forward
0 new messages