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.

SearchForResource Process

The SearchForResource process is illustrated here:

Process Definition

The process performs the following operations:
  1. The Timer activity starts the process.
  2. The ResourceOperations activity is used to create a "CommunicationRequest" FHIR resource with a unique ID.
  3. The SearchCommunicationRequestById activity searches the Communication Request by input ID.
  4. The SearchPatient activity searches the Patient information by two parameters: active (state) and gender.
  5. The SearchCommunication activity searches for a Communication Request based on sender input.
  6. 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.