Using CLAIRE GPT > Leverage multiple agents for complex goals > Analyze patient data for healthcare reporting
  

Analyze patient data for healthcare reporting

You’re a data steward in a healthcare organization responsible for maintaining high-quality patient data. Your goal is to ensure that the data is accurate, complete, and ready for reliable healthcare reporting. To achieve this goal, you want to analyze the data to identify errors such as duplicate or missing medical record numbers (MRNs), missing or future-dated birth dates, and invalid gender values.
Here's the approach you can follow:
To achieve the goal, perform the following steps:
  1. 1Log in to CLAIRE GPT.
  2. 2You can enter a single prompt to search for a table with patient information and to identify patient records containing duplicate or missing MRNs, missing or future-dated birth dates, and invalid gender values.
  3. Enter the following prompt that includes multiple instructions:
    Find the Patient Table from HC_DQ schema and do the following with it:
    1. First check the data profile and see if there are duplicate or missing MRN values or missing DOB values
    2. After that identify the records where the MRN is missing or duplicate
    3. Then find the records where the DOB birth is missing or of a future date
    4. Also, find any record where the Gender is anything but "Male", "Female" or "Other"
    The following image shows a part of the response highlighting the tables discovered in the HC_DQ schema and the data profiling insights on the PATIENT table: The response displays the plan for addressing the request and insights on the discovered PATIENT table. The cards named Tables discovered in HC_DQ schema and Data Profile for PATIENT Table are highlighted.
  4. 3Click the card named Data Profile for PATIENT Table to see if there are patient records containing duplicate or missing MRNs, missing or future birth dates, and non-standard gender values. You can also view the key insights on these findings.
  5. The following image shows the canvas with the data profiling information of the PATIENT table, displaying the identified data quality issues as key insights: A table displaying eight data profiling attributes of the PATIENT table. The table contains dataType, valueCount, nullCount, distinctCount, duplicateCount, topValue, and topFrequency columns displaying profiling details of each attribute. The right panel displays the key insights on the profiled data.
  6. 4To identify and analyze the patient records with data quality issues, you can open the card generated for each data quality issue. Each card is accompanied by a detailed analysis and insight on the sample patient records and the data quality issue in those records.
  7. The following image shows the response highlighting different cards for the three data quality issues: The response that highlights the three cards named Patients Sharing the Same MRN, Patient Records with Invalid Date of Birth, and Patient Records with Non-Standard Gender Values.
    For example, you can open the card named Patients Sharing the Same MRN to view the sample patient records that share the same medical record number in the PATIENT table.
    The following image shows the canvas with a tabular view of the patient records that share the same MRN value in the PATIENT table: The response displays a table containing patient records that share the same medical record numbers. The right panel displays the analysis and insight on the details of the two patients who share the same medical record number.
    Optionally, to copy and paste the sample data to a CSV file, click the Copy icon. To export the sample data to a CSV file, click Download.
  8. 5Create a mapping to identify all patient records with duplicate MRNs.
  9. Enter the following prompt:
    Create a mapping for finding the records with duplicate MRN.
    The following image shows the response for creating the mapping: The response displays the card named Mapping for PATIENT records with duplicate MRN, along with the key elements such as the source, transformation, and target objects in the mapping. The response also shows some suggested prompts for next actions.
    Optionally, open the card named Mapping for PATIENT records with duplicate MRN to view the proposed mapping.
    The following image shows the mapping that CLAIRE GPT proposes to detect patient records with duplicate MRNs: The mapping for PATIENT records with duplicate medical record numbers. The mapping shows several nodes connected by arrows representing the transformation process of the PATIENT table. The right panel shows the key elements, including the source, transformåtion, and target objects in the mapping.
    To view and save the proposed mapping, select Open in Data Integration. In Data Integration, you can also edit the mapping or create a mapping task to run it.
  10. 6You can ask CLAIRE GPT how you can modify and run the mapping that it proposed.
  11. The following image shows the response to the product help question, along with suggested prompts for next actions that you can take: The response to the prompt 'How can I modify and run this mapping?'. The response shows the instructions for modifying and running the mapping in Data Integration, along with a summary of the key steps and some suggested prompts for next actions.