FHIR Chat · ServiceDefinition · implementers

Stream: implementers

Topic: ServiceDefinition


view this post on Zulip Stefan Dimitrov (Dec 07 2016 at 17:36):

On the ServiceDefinition Operations page the patient parameter is listed as type Reference(Patient) but the examples are showing a Patient resource in this parameter. What is the type supposed to be and if it is a Reference then where do we find the actual resource? Is the referenced Patient resource supposed to be in inputData?

view this post on Zulip Bryn Rhodes (Dec 07 2016 at 18:56):

You're right, that's inconsistent. The parameter type was initially Patient, but we changed it to support passing just a reference (in some cases you may not want to pass the patient at all). So with the change, the examples should have the Patient in inputData and have the Patient parameter be just a reference.

view this post on Zulip Stefan Dimitrov (Dec 07 2016 at 18:57):

Thank you. What is the type of InputData in most cases? Bundle?

view this post on Zulip Bryn Rhodes (Dec 07 2016 at 18:59):

inputData is just a Resource, so you just put the Patient directly in as an inputData parameter, no need to wrap it in a Bundle.

view this post on Zulip Stefan Dimitrov (Dec 07 2016 at 19:00):

Right. But multiplicity is 1. What if I need to put the patient + observation?

view this post on Zulip Bryn Rhodes (Dec 07 2016 at 19:00):

1? I thought it was 0..*

view this post on Zulip Bryn Rhodes (Dec 07 2016 at 19:01):

Yeah, latest build, inputData Any 0..*

view this post on Zulip Stefan Dimitrov (Dec 07 2016 at 19:01):

Sorry my bad. Makes sense now. Thank you.

view this post on Zulip Bryn Rhodes (Dec 07 2016 at 19:01):

No worries, happy to help.


Last updated: Apr 12 2022 at 19:14 UTC