FHIR Chat · Code system check trigerred multiple times for a code system · hapi

Stream: hapi

Topic: Code system check trigerred multiple times for a code system


view this post on Zulip Aditya (Jul 01 2019 at 13:28):

I am using HAPI to implement validation of resources using IValidationSupport interface.
However, I am noticing that the following method is triggered multiple times for rxnorm.

public boolean isCodeSystemSupported(FhirContext theContext, String theSystem)

The resource contains coding system only once as below for AllergyIntolerance resource:

code":{
"coding":[
{
"system":"http://www.nlm.nih.gov/research/umls/rxnorm",
"code":"83367",
"display":"atorvastatin"
}
]
}

view this post on Zulip Grahame Grieve (Jul 03 2019 at 23:50):

indeed, it might be triggered multiple times. I suppose an optimal implementation wouldn't do that, but optimising the validator isn't high on the priority list.


Last updated: Apr 12 2022 at 19:14 UTC