SearchForResource Example
The SearchForResource process illustrates methods of searching through a FHIR resource.
For more information about searching for a FHIR resource, see Search for Resource.
Process Definition
The process performs the following operations:
- The Timer activity starts the process.
- The CreateResource activity is used to create a CommunicationRequest FHIR resource with a unique ID.
- The SearchCommunicationRequestById activity searches the Communication Request by input ID.
- The CreatePatient activity is used to create Patient resources.
- The SearchPatient activity searches the Patient information by two parameters: active (state) and gender.
- The CreateCommunication activity is used to create Communication resources.
- The SearchCommunication activity searches for a Communication Request based on sender input.
- After the process executes successfully, a Success message is written to the Console. Select in TIBCO Business Studio to view the log messages.
Process Output
Select the desired activity and click the Output tab.
- The CreateResource activity output displays the CommunicationRequest FHIR resource that was created.
- The SearchCommunicationRequestById returns data matching the requested search by ID.
- The CreatePatient activity outputs Patient ID.
- The SearchPatient activity returns data matching the requested search of Patient information by active (state) and gender.
- The CreateCommunication outputs Communication resource ID.
- The SearchCommunication activity returns data matching requested search of the Communication Request by sender input.
Copyright © 2021. Cloud Software Group, Inc. All Rights Reserved.