Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Testing

Updated on October 19, 2021

If you want to run a simple test to ensure the APIs work against the FHIR server:

Pega Foundation for Healthcare
  1. If you have imported the Pega Foundation for Healthcare demo application and sample operators as part of installation, Log in to the application as HCFhirAdministrator using the password that you specified when you enabled this operator; to enable Pega-provided operators, see Enabling operators.
    Otherwise, complete the following steps to create a new operator ID:
    1. Log in to Dev Studio by using the operator ID [email protected] and the password that you specified for that operator.
    2. Save a copy of the existing [email protected] operator and give it a name that identifies it as HC FHIR Administrator operator.
    3. Add PegaHCFhir:Administrators access group to the new operator record. Click the radio button to the left of the access group to select it as the default access group.
    4. Save the new operator record.
  2. Log in as the new operator that you created.
  3. Navigate to Designer Studio > Data Model > View external data entities.
  4. Expand the Bundle API Data Type and click on the D_GetFHIR4Patient Data Page under Member category link to open it.
  5. Click Run from the Actions menu of the Data Page rule.
  6. Click Run on the Run Data Page screen.
    Note: The Data Page is defaulted with a search parameter as was used in testing the APIs against the FHIR Source Server.

    Assuming that the sample End Point URL configured for the FHIR test server is still active and the server is available, the API returns the response.

  7. Navigate through the Results section to view the data retrieved from the FHIR Server and mapped to the FHIR data model for the Patient Resource.
  8. Alternatively, you may run the Test Case associated with the Data Page to test the API.

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us