Extracting Additional Data Points for a Patient Object in Healthie Using GraphQL
Step 1: Introduction to the Tutorial 0: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
-
Ensure you are authenticated in Healthie.
-
Follow the authentication steps mentioned in the linked article.
Step 3: Using GraphQL Query 0: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) {idfirst_namelast_namedobgenderemailphone_numbernext_appt_date}}
Step 4: Setting Up the Query 1: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
-
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
-
Save and test the step to retrieve existing data points.
Step 7: Finding Additional Data Points 2: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
-
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
-
Save and test the step again to check if the new fields are retrieved successfully.
Step 10: Final Steps 3: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.