Skip to main content

Optional: Updating the medication data model

Suggest edit Updated on August 27, 2021

When you choose to use the Fast Healthcare Interoperability Resources (FHIR) Medications API and then integrate with external systems, such as electronic medical record (EMR) systems, you can share patient medication data according to industry standards. You can now identify and define a medication for the purpose of prescribing, dispensing, and administering the medication, and describing the medication use.

The Pega Care Management user interface now displays new fields, and the data model has changed to accommodate patient medication support. You can choose to update to the new data model or continue to use the prescription table.
  1. In the header of Dev Studio, click ConfigureCare Management UtilitiesUpgrade Tools.
  2. Optional: To add more properties to the Medications section of a patient profile, follow these steps:For example: You might want to add the manufacturer of the medication.
    1. On the Upgrade page, click MapPatientMedicationExt.
    2. On the Data Transform page, click the Add a row icon.
    3. Complete the fields that are needed to add your property.
      For more information, see Configuring a data transform.
  3. Optional: To map the medication status from the old data model to the new data model, follow these steps:
    The default values for existing active status are already mapped.
    For example: If your organization previously displayed the condition as True to indicate an active status for medications, change the condition value to Yes.
    1. Click MapActiveToStatus.
    2. On the Decision Table page, edit the table to meet your needs.
  4. Optional: To add post-processing tasks that you want to perform after the medication update, follow these steps:For example: You might want to update the conversation logs in a patient profile.
    1. Click SavePatientMedicationExt.
    2. On the Activity page, click the Add a step link.
    3. Complete the fields to create your post-processing task.
      For more information, see Activities.
  5. To apply the update, click Upgrade medication.Result: Pega Care Management updates the medication structure and new fields in the following areas:
    • Header of the patient profile
    • Medications section of the Clinical tab for a patient in the CM Portal
    • Member medications section of the Interaction portal
    • Current Medications section in a Post-discharge follow-up assessment
    • Discharge medications section of the discharge worksheet in an admission case
Did you find this content helpful? YesNo

Have a question? Get answers now.

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

Ready to crush complexity?

Experience the benefits of Pega Community when you log in.

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