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 ResourceOperations activity is used to create a "CommunicationRequest" FHIR resource with a unique ID.
- The SearchCommunicationRequestById activity searches the Communication Request by input ID.
- The SearchPatient activity searches the Patient information by two parameters: active (state) and gender.
- 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 Window > Show Console in TIBCO Business Studio™ to view the log messages.
Process Output
Select the desired activity and click the Output tab.
- The ResourceOperations activity output displays the CommunicationRequest FHIR resource that was created.
- The SearchCommunicationRequestById returns data matching the requested search by ID.
- The SearchPatient activity returns data matching the requested search of Patient information by active (state) and gender.
- The SearchCommunication activity returns data matching requested search of the Communication Request by sender input.
Copyright © Cloud Software Group, Inc. All rights reserved.