FHIR Chat · ReferenceParam with modifiers · hapi

Stream: hapi

Topic: ReferenceParam with modifiers


view this post on Zulip TheTisiboth (Aug 05 2020 at 15:08):

Hello Everyone! I hope i post this message in the right channel!
I'm currently building a FHIR (R4) Server, and i try to implement the following request:

[base]/PractitionerRole?practitioner.active:not=true

I know that active is a Token Param, and thanks to HAPI, i can use the following command :

TokenParam tokenSubject = referenceParam.toTokenParam(myContext);

But sadly, all the modifier part is lost : in my referenceParam, i only have a chain part (active:not), and a value part (true), so i don't have any modifiers, missing, etc..
So when i convert it to a TokenParam, i don't have neither the modifiers, missing, etc ...

So here is my question : Is there a way to have a ReferenceParam that has modifiers ?
I would like to have a chain part (active), a modifier (not) and a value (true), as in a real TokenParam

I hope i made myself clear! I keep in touch ;)


Last updated: Apr 12 2022 at 19:14 UTC