1

I am trying to form a request like :

http://host/api/FHIR/DSTU2/Schedule?Schedule.actor:Practitioner=1234&Schedule.actor:Practitioner.location=5678&slottype=urn:oid:1.2.3|PrimaryCare&start=2016-08-08

Using HAPI FHIR Java API, how can I parse following params :

Schedule.actor:Practitioner=1234

Schedule.actor:Practitioner.location=5678

1 Answer 1

2

This is definitely supported.

Assuming you're creating a server, you would want a parameter on your resource provider method like:

@IncludeParam(allow={"Schedule:actor","Schedule:practitioner"}) 
Set<Include> theIncludes

Add "*" to the list of strings to just whitelist anything

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.