How to extract data points that are not available in the default "Get Patient" Action Step in Healthie

 

Extracting Additional Data Points for a Patient Object in Healthie Using GraphQL


Step 1: Introduction to the Tutorial 0:00

generated-image-at-00:00:00

  • This demo explains how to extract more data points for a patient object in Healthie using GraphQL.

  • It is useful when certain data points are not available in the default component for Healthie.


Step 2: Authentication Process 0:32

generated-image-at-00:00:32

  • Ensure you are authenticated in Healthie.

  • Follow the authentication steps mentioned in the linked article.


Step 3: Using GraphQL Query 0:55

generated-image-at-00:00:55

  • Access the GraphQL query in Healthie.

  • Find the necessary query in the documentation, which will be provided below:

    query getUser($id: ID) {
    user(id: $id) {
    id
    first_name
    last_name
    dob
    gender
    email
    phone_number
    next_appt_date
    }
    }


Step 4: Setting Up the Query 1:06

generated-image-at-00:01:06

  • Prepare to send an ID variable in the query.

  • Create a new ID variable that contains the patient's ID.


Step 5: Retrieving the Patient ID 1:27

generated-image-at-00:01:27

  • If you have previously searched for a patient, use that ID.

  • Alternatively, retrieve the ID from a static URL.


Step 6: Saving and Testing the Step 1:50

generated-image-at-00:01:50

  • Save and test the step to retrieve existing data points.


Step 7: Finding Additional Data Points 2:11

generated-image-at-00:02:11

  • Use Healthie's documentation to find additional fields you want to extract.

  • Example fields: Client Record Identifier and Additional Record Identifier.


Step 8: Adding Fields to the Query 2:22

generated-image-at-00:02:22

  • Copy the desired fields from the documentation and paste them into the query.

  • Ensure no commas or extra characters are included.


Step 9: Testing the Query 2:57

generated-image-at-00:02:57

  • Save and test the step again to check if the new fields are retrieved successfully.


Step 10: Final Steps 3:31

generated-image-at-00:03:31

  • Change the ID to a dynamic value from a previous step or another platform.

  • Use this tutorial to extract any data field that is available in the documentation.

Link to Loom

https://www.loom.com/share/c4616b86d9444d5886333b5544be33fb

Was this article helpful?
0 out of 0 found this helpful

Articles in this section