Programs
Programs represent the distinct patient journeys for different products, therapeutic areas, and geographic locations. Programs are created via custom metadata and mapping jobs. Enrollment into a program is stored in the Case object of CarePlan
record type.
Note
If a program errors after an enrollment, reference Troubleshoot care plan creation issues.
Custom metadata and objects
The following custom metadata types facilitate the implementation and management of programs. The corresponding objects store the captured data.
Note
"Program problem" and "stage" may be used interchangeably while "program case" and "activity" may be used interchangeably.
Program (
mvn__PJN_Program__mdt
) defines the program journey that patients can enroll in. Each program must have a corresponding Care Program (CareProgram
) object that must be manually created during program setup, while data for each care plan is captured in the Case object ofCarePlan
record type.Program Problem (
mvn__PJN_Program_Problem__mdt
) defines the attributes of the stages that comprise a program. Data for each stage is created in the Problem (HealthCloudGA__CarePlanProblem__c
) object.Program Case (
mvn__PJN_Program_Case__mdt
) defines the activities within each stage of a patient's journey. Data for each activity is captured in the Case object ofPJN_Activity
record type.Program Case Dependency (
mvn__PJN_Program_Case_Dependency__mdt
) defines the dependency between different activities within a single stage. No specific object is used to capture the dependencies between activities. However, a dependent Case record ofPJN_Activity
record type will initiate once the Status field on all preceding activities' Case records isClosed
orCancelled
.
After the necessary metadata records are created, you then need to create mapping jobs to properly configure the program.
Mapping jobs
Program problems and program cases both require a number of attributes to be defined when specific actions occur. For example, when a program problem is created, a start date must be set, and when a program case is created, a record type must be defined and a description must be added. Program-related mapping jobs help map and stamp field attributes to stages and activities to facilitate this process.
The Table 86, “Program builder mapping jobs” below lists the baseline Mapping Job (mvn__PJN_Mapping_Job__mdt
) metadata records that the backend Mapping Engine needs in order to run without errors. A sample configuration is shown as well. Additional custom mapping jobs can be created to set other attributes automatically.
Action | Metadata type | Target Field API Name |
---|---|---|
| Program Problem | WarningThis mapping job does not have any associated mappings but is needed for the Mapping Engine to run successfully. |
| Program Problem |
|
| Program Problem |
|
| Program Problem |
|
| Program Case |
|
| Program Case |
|
Program creation summary
In summary, the steps for creating a program are as follows:
Create a Program (
mvn__PJN_Program__mdt
) metadata record.Create a Program Problem (
mvn__PJN_Program_Problem__mdt
) metadata record.Create a Program Case (
mvn__PJN_Program_Case__mdt
) metadata record.Create a Program Case Dependency (
mvn__PJN_Program_Case_Dependency__mdt
) metadata record, if applicable.Create the following four Mapping Job (
mvn__PJN_Mapping_Job__mdt
) metadata records, along with other mapping-related metadata records as needed, for each program problem:_Create
_Start
_Close
_Skip
Create the following two Mapping Job (
mvn__PJN_Mapping_Job__mdt
) metadata records, along with other mapping-related metadata records as needed, for each program case:_Start
_Skip
Program Visualizer
To ensure that a program has been built correctly, you can use the Program Visualizer to review the structure of the program. The Program Visualizer provides a visual presentation of a program based on the metadata records and mappings that have been implemented, showing the order in which program problems occur and the dependencies that exist between program cases.
Note
To access the Program Visualizer via the App Launcher in Komodo Care Connect V2 and above, users must be assigned the KCC - Feature - Program Visualizer (PJN_Feature_Program_Visualizer
) permission set, which is in the MVN Admin (MVN_Admin
) permission set group.
To access the Program Visualizer via the App Launcher in Komodo Care Connect V1, users must be assigned the KCC - Program Visualizer (PJN_Program_Builder
) permission set.