Skip to main content

Prescriptions

Prescriptions are medications prescribed to patients and are managed by the Prescription (mvn__PJN_Prescription__c) object. Prescriptions can only be added to a care plan where the product is defined in the current program.

A prescription can be identified as the primary prescription on a care plan via the mvn__PJN_Set_as_Primary__c field on the Prescription record. The primary prescription is subsequently stamped onto the mvn__PJN_Primary_Prescription__c field on the Care Plan (Case) record via both the PJN_CarePlanLookupMapping Apex class as well as the Care Plan Lookup Mapping (mvn__PJN_Care_Plan_Lookup_Mapping__mdt) custom metadata type. Komodo Care Connect provides the Set Primary Prescription (PJN_Set_Primary_Prescription) Care Plan Lookup Mapping metadata record in the initial installation script.