ValidateResource Example

The ValidateResource process validates a "Patient" FHIR resource, and provides an example of output both with and without errors.

For more information about the FHIR palette Validate Resource activity, see Validate Resource.

ValidateResource Process

The ValidateResource process is illustrated here:

Process Definition

The process performs the following operations:
  1. The Timer activity starts the process.
  2. The ValidateResourceNoErrors activity sends the Patient resource to the FHIR server. The resource is validated.
  3. The process continues with the ValidateResourceWithErrors activity. The resource is validated.
  4. 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 ValidateResourceNoErrors activity output displays an example of a validation with no errors:

    Note: The presence of the word "true" in the output means that the input provided is correct, and no errors are present.
  • The ValidateResourceWithErrors activity output displays and example of a validation with errors: