diff --git a/OmniStudio-Components/main/default/omniDataTransforms/EDRDCareObservation_1.rpt-meta.xml b/OmniStudio-Components/main/default/omniDataTransforms/EDRDCareObservation_1.rpt-meta.xml index 668290273..6b8968169 100644 --- a/OmniStudio-Components/main/default/omniDataTransforms/EDRDCareObservation_1.rpt-meta.xml +++ b/OmniStudio-Components/main/default/omniDataTransforms/EDRDCareObservation_1.rpt-meta.xml @@ -31,121 +31,121 @@ EDRDCareObservation false - true + Kilograms + false 0.0 - = - EDRDCareObservationCustom8931 + EDRDCareObservationCustom7055 0.0 0.0 - FAKEMAPPING + Name + UnitOfMeasure + Id EDRDCareObservation 1.0 - Id + ObservedValueUnitId CareObservation false false + Patient false 0.0 - EDRDCareObservationCustom9934 - PatientInformation:PatAccId + EDRDCareObservationCustom7399 + PatientInformation:PatientName 0.0 0.0 EDRDCareObservation 1.0 - ObservedSubjectId + Name CareObservation false false + EDRD_Care_Observation false 0.0 - EDRDCareObservationCustom9935 - EffectiveDate + EDRDCareObservationCustom8754 0.0 0.0 + DeveloperName + RecordType + Id EDRDCareObservation 1.0 - EffectiveDateTime + RecordTypeId CareObservation false false + Quantity false 0.0 - EDRDCareObservationCustom9026 - DrugandDosage:PatientWeight + EDRDCareObservationCustom8743 0.0 0.0 EDRDCareObservation 1.0 - ObservedValueNumerator + ObservedValueType CareObservation false false - EDRD_Care_Observation false 0.0 - EDRDCareObservationCustom8754 + EDRDCareObservationCustom9935 + EffectiveDate 0.0 0.0 - DeveloperName - RecordType - Id EDRDCareObservation 1.0 - RecordTypeId + EffectiveDateTime CareObservation false false - Quantity false 0.0 - EDRDCareObservationCustom8743 + EDRDCareObservationCustom9026 + DrugandDosage:PatientWeight 0.0 0.0 EDRDCareObservation 1.0 - ObservedValueType + ObservedValueNumerator CareObservation false false - Kilograms - false + true 0.0 - EDRDCareObservationCustom7055 + = + EDRDCareObservationCustom8931 0.0 0.0 - Name - UnitOfMeasure - Id + FAKEMAPPING EDRDCareObservation 1.0 - ObservedValueUnitId + Id CareObservation false false - Patient false 0.0 - EDRDCareObservationCustom7399 - PatientInformation:PatientName + EDRDCareObservationCustom9934 + PatientAccountId 0.0 0.0 EDRDCareObservation 1.0 - Name + ObservedSubjectId CareObservation false false diff --git a/OmniStudio-Components/main/default/omniDataTransforms/EDRDDRcreateRequestWithNoDoc_1.rpt-meta.xml b/OmniStudio-Components/main/default/omniDataTransforms/EDRDDRcreateRequestWithNoDoc_1.rpt-meta.xml index 0f5f775d7..1e2fb5ff5 100644 --- a/OmniStudio-Components/main/default/omniDataTransforms/EDRDDRcreateRequestWithNoDoc_1.rpt-meta.xml +++ b/OmniStudio-Components/main/default/omniDataTransforms/EDRDDRcreateRequestWithNoDoc_1.rpt-meta.xml @@ -1,6 +1,6 @@ - true + false true false DR for Post Details For New/Renewal Case Form with out Doc @@ -50,7 +50,6 @@ "PrescriberId" : "001Aq00000JV1bBIAT", "PatientIdentifier" : "123476", "PatientBirthDate" : "2004-11-10", - "IdPatient" : "003Aq00000J1GXXIA3", "PatAccId" : "001Aq00000J9KZIIA3", "PatientName" : "Test Patient Account", "PhnCount" : 1 @@ -86,13 +85,13 @@ false 0.0 - EDRDDRcreateRequestWithNoDocCustom0jIAq0000001aizMAAItem3 - PatientInformation:IdPatient + EDRDDRcreateRequestWithNoDocCustom3905 + DrugandDosage:InitialDosageDetail:RequestedFrequencyUnits 0.0 0.0 EDRDDRcreateRequestWithNoDoc 1.0 - ContactId + EDRD_MOHApproved_Frequency_Unit__c Case false false @@ -100,28 +99,42 @@ false 0.0 - EDRDDRcreateRequestWithNoDocCustom0jIAq0000001aizMAAItem23 - PatientInformation:PatAccId + EDRDDRcreateRequestWithNoDocCustom1548 + DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalIndefiniteFunding + 0.0 + 0.0 + EDRDDRcreateRequestWithNoDoc + 1.0 + EDRD_MOHIndefinite_Funding__c + Case + false + false + + + false + 0.0 + EDRDDRcreateRequestWithNoDocCustom5352 + DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalDosage 0.0 0.0 EDRDDRcreateRequestWithNoDoc 2.0 - PatientId + Dosage__c MedicationRequest false false - Received - Awaiting Verification false 0.0 - EDRDDRcreateRequestWithNoDocCustom0jIAq0000001aizMAAItem1 + EDRDDRcreateRequestWithNoDocCustom5791 + DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalFundingDuration 0.0 0.0 EDRDDRcreateRequestWithNoDoc - 1.0 - Status - Case + 2.0 + Requested_Funding_Duration__c + MedicationRequest false false @@ -155,90 +168,71 @@ false - Active false 0.0 - EDRDDRcreateRequestWithNoDocCustom0jIAq0000001aizMAAItem20 + EDRDDRcreateRequestWithNoDocCustom0jIAq0000001aizMAAItem23 + PatientAccountId 0.0 0.0 EDRDDRcreateRequestWithNoDoc 2.0 - Status - MedicationRequest - false - false - - - false - 0.0 - = - EDRDDRcreateRequestWithNoDocCustom0jIAq0000001aizMAAItem24 - 0.0 - Id - 1.0 - FAKEMAPPING - EDRDDRcreateRequestWithNoDoc - 2.0 - Case__c + PatientId MedicationRequest false false - EDRD_Medication_Request false 0.0 - EDRDDRcreateRequestWithNoDocCustom2828 + EDRDDRcreateRequestWithNoDocCustom1887 + DrugandDosage:InitialDosageDetail:NewIndefiniteFunding 0.0 0.0 - DeveloperName - RecordType - Id EDRDDRcreateRequestWithNoDoc - 2.0 - RecordTypeId - MedicationRequest + 1.0 + EDRD_MOHIndefinite_Funding__c + Case false false false 0.0 - EDRDDRcreateRequestWithNoDocCustom1015 + EDRDDRcreateRequestWithNoDocCustom3953 DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalFundingDurationUnits 0.0 0.0 EDRDDRcreateRequestWithNoDoc - 2.0 - Requested_Funding_Duration_Unit__c - MedicationRequest + 1.0 + EDRD_MOHApproved_Funding_Duration_Unit__c + Case false false false 0.0 - EDRDDRcreateRequestWithNoDocCustom4143 - DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalFrequency + EDRDDRcreateRequestWithNoDocCustom5244 + DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalDosage 0.0 0.0 EDRDDRcreateRequestWithNoDoc - 2.0 - Requested_Frequency__c - MedicationRequest + 1.0 + EDRD_MOHApproved_Dosage__c + Case false false false 0.0 - EDRDDRcreateRequestWithNoDocCustom0jIAq0000001aizMAAItem21 - PatientInformation:PrescriberId + EDRDDRcreateRequestWithNoDocCustom8121 + DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalIndefiniteFunding 0.0 0.0 EDRDDRcreateRequestWithNoDoc 2.0 - RequesterId + EDRD_Indefinite_Funding__c MedicationRequest false false @@ -246,13 +240,13 @@ false 0.0 - EDRDDRcreateRequestWithNoDocCustom881 - RequestedNewDosageUnitId + EDRDDRcreateRequestWithNoDocCustom6738 + DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalFundingDuration 0.0 0.0 EDRDDRcreateRequestWithNoDoc 1.0 - EDRD_MOHApproved_Dosage_Unit__c + EDRD_MOHApproved_Funding_Duration__c Case false false @@ -260,63 +254,57 @@ false 0.0 - EDRDDRcreateRequestWithNoDocCustom0jIAq0000001aizMAAItem22 - DrugandDosage:SelectADrug + EDRDDRcreateRequestWithNoDocCustom2665 + DrugandDosage:InitialDosageDetail:NewIndefiniteFunding 0.0 0.0 EDRDDRcreateRequestWithNoDoc 2.0 - MedicationId + EDRD_Indefinite_Funding__c MedicationRequest false false + Active false 0.0 - | var:DrugandDosage:PleaseEnterOtherDrugDetails:OtherMedicationName "/\/\/" + var:DrugandDosage:PleaseEnterOtherDrugDetails:OtherIndication + "/\/\/" + var:DrugandDosage:PleaseEnterOtherDrugDetails:OtherBrand + "/\/\/" + var:DrugandDosage:PleaseEnterOtherDrugDetails:OtherSupplier + "/\/\/" + var:DrugandDosage:PleaseEnterOtherDrugDetails:OtherDosage + "/\/\/" + var:DrugandDosage:PleaseEnterOtherDrugDetails:OtherDosageForm + "/\/\/" + CONCAT - CONCAT(DrugandDosage:PleaseEnterOtherDrugDetails:OtherMedicationName+" " -+ DrugandDosage:PleaseEnterOtherDrugDetails:OtherIndication +" " -+ DrugandDosage:PleaseEnterOtherDrugDetails:OtherBrand+" " -+ DrugandDosage:PleaseEnterOtherDrugDetails:OtherSupplier+" " -+ DrugandDosage:PleaseEnterOtherDrugDetails:OtherDosage+" " -+ DrugandDosage:PleaseEnterOtherDrugDetails:OtherDosageForm+" ") - OtherMedDetail - 1.0 - EDRDDRcreateRequestWithNoDocCustom3919 + EDRDDRcreateRequestWithNoDocCustom0jIAq0000001aizMAAItem20 0.0 0.0 EDRDDRcreateRequestWithNoDoc - 0.0 - Formula - Formula + 2.0 + Status + MedicationRequest false false false 0.0 - EDRDDRcreateRequestWithNoDocCustom7922 - OtherMedDetail + EDRDDRcreateRequestWithNoDocCustom3845 + DrugandDosage:InitialDosageDetail:RequestedFundingDuration 0.0 0.0 EDRDDRcreateRequestWithNoDoc - 2.0 - Other_Medication_Detail__c - MedicationRequest + 1.0 + EDRD_MOHApproved_Funding_Duration__c + Case false false false 0.0 - EDRDDRcreateRequestWithNoDocCustom5372 - DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalFrequencyUnits + = + EDRDDRcreateRequestWithNoDocCustom0jIAq0000001aizMAAItem24 0.0 - 0.0 + Id + 1.0 + FAKEMAPPING EDRDDRcreateRequestWithNoDoc 2.0 - Requested_Frequency_Unit__c + Case__c MedicationRequest false false @@ -324,30 +312,27 @@ false 0.0 - | TODAY - TODAY() - CareEffectiveDateTime - 2.0 - EDRDDRcreateRequestWithNoDocCustom2176 + EDRDDRcreateRequestWithNoDocCustom2165 + DrugandDosage:InitialDosageDetail:RequestedDosage 0.0 0.0 EDRDDRcreateRequestWithNoDoc - 0.0 - Formula - Formula + 2.0 + Dosage__c + MedicationRequest false false false 0.0 - EDRDDRcreateRequestWithNoDocCustom709 - DrugandDosage:IndicationId + EDRDDRcreateRequestWithNoDocCustom3172 + RequestedNewDosageUnitId 0.0 0.0 EDRDDRcreateRequestWithNoDoc 2.0 - Medical_Diagnosis__c + Dosage_Units__c MedicationRequest false false @@ -355,27 +340,35 @@ false 0.0 - EDRDDRcreateRequestWithNoDocCustom1888 - DRUGANDDOSAGERENEWAL:RenewalIndicationId + | var:DrugandDosage:PleaseEnterOtherDrugDetails:OtherMedicationName "/\/\/" + var:DrugandDosage:PleaseEnterOtherDrugDetails:OtherIndication + "/\/\/" + var:DrugandDosage:PleaseEnterOtherDrugDetails:OtherBrand + "/\/\/" + var:DrugandDosage:PleaseEnterOtherDrugDetails:OtherSupplier + "/\/\/" + var:DrugandDosage:PleaseEnterOtherDrugDetails:OtherDosage + "/\/\/" + var:DrugandDosage:PleaseEnterOtherDrugDetails:OtherDosageForm + "/\/\/" + CONCAT + CONCAT(DrugandDosage:PleaseEnterOtherDrugDetails:OtherMedicationName+" " ++ DrugandDosage:PleaseEnterOtherDrugDetails:OtherIndication +" " ++ DrugandDosage:PleaseEnterOtherDrugDetails:OtherBrand+" " ++ DrugandDosage:PleaseEnterOtherDrugDetails:OtherSupplier+" " ++ DrugandDosage:PleaseEnterOtherDrugDetails:OtherDosage+" " ++ DrugandDosage:PleaseEnterOtherDrugDetails:OtherDosageForm+" ") + OtherMedDetail + 1.0 + EDRDDRcreateRequestWithNoDocCustom3919 0.0 0.0 EDRDDRcreateRequestWithNoDoc - 2.0 - Medical_Diagnosis__c - MedicationRequest + 0.0 + Formula + Formula false false false 0.0 - EDRDDRcreateRequestWithNoDocCustom4017 - DRUGANDDOSAGERENEWAL:RenewalMedicationDrugId + EDRDDRcreateRequestWithNoDocCustom7922 + OtherMedDetail 0.0 0.0 EDRDDRcreateRequestWithNoDoc 2.0 - MedicationId + Other_Medication_Detail__c MedicationRequest false false @@ -383,13 +376,13 @@ false 0.0 - EDRDDRcreateRequestWithNoDocCustom0jIAq0000001aizMAAItem4 - ProviderId + EDRDDRcreateRequestWithNoDocCustom881 + RequestedNewDosageUnitId 0.0 0.0 EDRDDRcreateRequestWithNoDoc 1.0 - Provider__c + EDRD_MOHApproved_Dosage_Unit__c Case false false @@ -397,13 +390,13 @@ false 0.0 - EDRDDRcreateRequestWithNoDocCustom8706 - DrugandDosage:InitialDosageDetail:RequestedFundingDurationUnits + EDRDDRcreateRequestWithNoDocCustom6763 + DrugandDosage:InitialDosageDetail:RequestedFrequencyUnits 0.0 0.0 EDRDDRcreateRequestWithNoDoc 2.0 - Requested_Funding_Duration_Unit__c + Requested_Frequency_Unit__c MedicationRequest false false @@ -411,13 +404,13 @@ false 0.0 - EDRDDRcreateRequestWithNoDocCustom1984 - RequestedDosageUnitId + EDRDDRcreateRequestWithNoDocCustom0jIAq0000001aizMAAItem22 + DrugandDosage:SelectADrug 0.0 0.0 EDRDDRcreateRequestWithNoDoc 2.0 - Dosage_Units__c + MedicationId MedicationRequest false false @@ -425,28 +418,13 @@ false 0.0 - EDRDDRcreateRequestWithNoDocCustom8163 + EDRDDRcreateRequestWithNoDocCustom4143 DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalFrequency 0.0 0.0 EDRDDRcreateRequestWithNoDoc - 1.0 - EDRD_MOHApproved_Frequency__c - Case - false - false - - - true - 0.0 - = - EDRDDRcreateRequestWithNoDocCustom0jIAq0000001aizMAAItem18 - 0.0 - 0.0 - FAKEMAPPING - EDRDDRcreateRequestWithNoDoc 2.0 - Id + Requested_Frequency__c MedicationRequest false false @@ -454,69 +432,72 @@ false 0.0 - EDRDDRcreateRequestWithNoDocCustom0jIAq0000001aizMAAItem0 - PatientInformation:CaseType + EDRDDRcreateRequestWithNoDocCustom6760 + DrugandDosage:InitialDosageDetail:RequestedFrequency 0.0 0.0 EDRDDRcreateRequestWithNoDoc - 1.0 - Type - Case + 2.0 + Requested_Frequency__c + MedicationRequest false false - Portal false 0.0 - EDRDDRcreateRequestWithNoDocCustom0jIAq0000001aizMAAItem5 + EDRDDRcreateRequestWithNoDocCustom0jIAq0000001aizMAAItem21 + PatientInformation:PrescriberId 0.0 0.0 EDRDDRcreateRequestWithNoDoc - 1.0 - Origin - Case + 2.0 + RequesterId + MedicationRequest false false false 0.0 - EDRDDRcreateRequestWithNoDocCustom0jIAq0000001aizMAAItem6 - CaseRecTypeId + EDRDDRcreateRequestWithNoDocCustom1721 + DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalFrequencyUnits 0.0 0.0 EDRDDRcreateRequestWithNoDoc 1.0 - RecordTypeId + EDRD_MOHApproved_Frequency_Unit__c Case false false + EDRD_Medication_Request false 0.0 - EDRDDRcreateRequestWithNoDocCustom4466 - DrugandDosage:InitialDosageDetail:RequestedDosage + EDRDDRcreateRequestWithNoDocCustom2828 0.0 0.0 + DeveloperName + RecordType + Id EDRDDRcreateRequestWithNoDoc - 1.0 - EDRD_MOHApproved_Dosage__c - Case + 2.0 + RecordTypeId + MedicationRequest false false false 0.0 - EDRDDRcreateRequestWithNoDocCustom2549 - DrugandDosage:InitialDosageDetail:RequestedFundingDurationUnits + EDRDDRcreateRequestWithNoDocCustom718 + RequestedDosageUnitId 0.0 0.0 EDRDDRcreateRequestWithNoDoc 1.0 - EDRD_MOHApproved_Funding_Duration_Unit__c + EDRD_MOHApproved_Dosage_Unit__c Case false false @@ -524,27 +505,27 @@ false 0.0 - EDRDDRcreateRequestWithNoDocCustom3201 - DrugandDosage:InitialDosageDetail:RequestedFrequency + EDRDDRcreateRequestWithNoDocCustom1015 + DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalFundingDurationUnits 0.0 0.0 EDRDDRcreateRequestWithNoDoc - 1.0 - EDRD_MOHApproved_Frequency__c - Case + 2.0 + Requested_Funding_Duration_Unit__c + MedicationRequest false false false 0.0 - EDRDDRcreateRequestWithNoDocCustom5352 - DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalDosage + EDRDDRcreateRequestWithNoDocCustom7978 + DrugandDosage:InitialDosageDetail:RequestedFundingDuration 0.0 0.0 EDRDDRcreateRequestWithNoDoc 2.0 - Dosage__c + Requested_Funding_Duration__c MedicationRequest false false @@ -552,13 +533,13 @@ false 0.0 - EDRDDRcreateRequestWithNoDocCustom5791 - DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalFundingDuration + EDRDDRcreateRequestWithNoDocCustom8706 + DrugandDosage:InitialDosageDetail:RequestedFundingDurationUnits 0.0 0.0 EDRDDRcreateRequestWithNoDoc 2.0 - Requested_Funding_Duration__c + Requested_Funding_Duration_Unit__c MedicationRequest false false @@ -566,41 +547,41 @@ false 0.0 - EDRDDRcreateRequestWithNoDocCustom3905 - DrugandDosage:InitialDosageDetail:RequestedFrequencyUnits + EDRDDRcreateRequestWithNoDocCustom1984 + RequestedDosageUnitId 0.0 0.0 EDRDDRcreateRequestWithNoDoc - 1.0 - EDRD_MOHApproved_Frequency_Unit__c - Case + 2.0 + Dosage_Units__c + MedicationRequest false false false 0.0 - EDRDDRcreateRequestWithNoDocCustom1548 - DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalIndefiniteFunding + EDRDDRcreateRequestWithNoDocCustom4017 + DRUGANDDOSAGERENEWAL:RenewalMedicationDrugId 0.0 0.0 EDRDDRcreateRequestWithNoDoc - 1.0 - EDRD_MOHIndefinite_Funding__c - Case + 2.0 + MedicationId + MedicationRequest false false false 0.0 - EDRDDRcreateRequestWithNoDocCustom6738 - DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalFundingDuration + EDRDDRcreateRequestWithNoDocCustom0jIAq0000001aizMAAItem4 + ProviderId 0.0 0.0 EDRDDRcreateRequestWithNoDoc 1.0 - EDRD_MOHApproved_Funding_Duration__c + Provider__c Case false false @@ -608,13 +589,13 @@ false 0.0 - EDRDDRcreateRequestWithNoDocCustom2665 - DrugandDosage:InitialDosageDetail:NewIndefiniteFunding + EDRDDRcreateRequestWithNoDocCustom709 + DrugandDosage:IndicationId 0.0 0.0 EDRDDRcreateRequestWithNoDoc 2.0 - EDRD_Indefinite_Funding__c + Medical_Diagnosis__c MedicationRequest false false @@ -622,27 +603,27 @@ false 0.0 - EDRDDRcreateRequestWithNoDocCustom5244 - DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalDosage + EDRDDRcreateRequestWithNoDocCustom1888 + DRUGANDDOSAGERENEWAL:RenewalIndicationId 0.0 0.0 EDRDDRcreateRequestWithNoDoc - 1.0 - EDRD_MOHApproved_Dosage__c - Case + 2.0 + Medical_Diagnosis__c + MedicationRequest false false false 0.0 - EDRDDRcreateRequestWithNoDocCustom8121 - DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalIndefiniteFunding + EDRDDRcreateRequestWithNoDocCustom5372 + DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalFrequencyUnits 0.0 0.0 EDRDDRcreateRequestWithNoDoc 2.0 - EDRD_Indefinite_Funding__c + Requested_Frequency_Unit__c MedicationRequest false false @@ -650,22 +631,25 @@ false 0.0 - EDRDDRcreateRequestWithNoDocCustom1887 - DrugandDosage:InitialDosageDetail:NewIndefiniteFunding + | TODAY + TODAY() + CareEffectiveDateTime + 2.0 + EDRDDRcreateRequestWithNoDocCustom2176 0.0 0.0 EDRDDRcreateRequestWithNoDoc - 1.0 - EDRD_MOHIndefinite_Funding__c - Case + 0.0 + Formula + Formula false false false 0.0 - EDRDDRcreateRequestWithNoDocCustom3953 - DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalFundingDurationUnits + EDRDDRcreateRequestWithNoDocCustom2549 + DrugandDosage:InitialDosageDetail:RequestedFundingDurationUnits 0.0 0.0 EDRDDRcreateRequestWithNoDoc @@ -678,27 +662,27 @@ false 0.0 - EDRDDRcreateRequestWithNoDocCustom3172 - RequestedNewDosageUnitId + EDRDDRcreateRequestWithNoDocCustom3201 + DrugandDosage:InitialDosageDetail:RequestedFrequency 0.0 0.0 EDRDDRcreateRequestWithNoDoc - 2.0 - Dosage_Units__c - MedicationRequest + 1.0 + EDRD_MOHApproved_Frequency__c + Case false false false 0.0 - EDRDDRcreateRequestWithNoDocCustom3845 - DrugandDosage:InitialDosageDetail:RequestedFundingDuration + EDRDDRcreateRequestWithNoDocCustom0jIAq0000001aizMAAItem6 + CaseRecTypeId 0.0 0.0 EDRDDRcreateRequestWithNoDoc 1.0 - EDRD_MOHApproved_Funding_Duration__c + RecordTypeId Case false false @@ -706,27 +690,27 @@ false 0.0 - EDRDDRcreateRequestWithNoDocCustom2165 + EDRDDRcreateRequestWithNoDocCustom4466 DrugandDosage:InitialDosageDetail:RequestedDosage 0.0 0.0 EDRDDRcreateRequestWithNoDoc - 2.0 - Dosage__c - MedicationRequest + 1.0 + EDRD_MOHApproved_Dosage__c + Case false false false 0.0 - EDRDDRcreateRequestWithNoDocCustom718 - RequestedDosageUnitId + EDRDDRcreateRequestWithNoDocCustom0jIAq0000001aizMAAItem0 + PatientInformation:CaseType 0.0 0.0 EDRDDRcreateRequestWithNoDoc 1.0 - EDRD_MOHApproved_Dosage_Unit__c + Type Case false false @@ -734,27 +718,28 @@ false 0.0 - EDRDDRcreateRequestWithNoDocCustom7978 - DrugandDosage:InitialDosageDetail:RequestedFundingDuration + EDRDDRcreateRequestWithNoDocCustom8163 + DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalFrequency 0.0 0.0 EDRDDRcreateRequestWithNoDoc - 2.0 - Requested_Funding_Duration__c - MedicationRequest + 1.0 + EDRD_MOHApproved_Frequency__c + Case false false - false + true 0.0 - EDRDDRcreateRequestWithNoDocCustom6760 - DrugandDosage:InitialDosageDetail:RequestedFrequency + = + EDRDDRcreateRequestWithNoDocCustom0jIAq0000001aizMAAItem18 0.0 0.0 + FAKEMAPPING EDRDDRcreateRequestWithNoDoc 2.0 - Requested_Frequency__c + Id MedicationRequest false false @@ -762,13 +747,13 @@ false 0.0 - EDRDDRcreateRequestWithNoDocCustom1721 - DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalFrequencyUnits + EDRDDRcreateRequestWithNoDocCustom789 + PatientId 0.0 0.0 EDRDDRcreateRequestWithNoDoc 1.0 - EDRD_MOHApproved_Frequency_Unit__c + ContactId Case false false @@ -776,14 +761,14 @@ false 0.0 - EDRDDRcreateRequestWithNoDocCustom6763 - DrugandDosage:InitialDosageDetail:RequestedFrequencyUnits + EDRDDRcreateRequestWithNoDocCustom3383 + PatientInformation:reason 0.0 0.0 EDRDDRcreateRequestWithNoDoc - 2.0 - Requested_Frequency_Unit__c - MedicationRequest + 1.0 + EDRD_Patient_Override_Reason__c + Case false false diff --git a/OmniStudio-Components/main/default/omniDataTransforms/EDRDDRcreateRequestWithNoEligiblity_1.rpt-meta.xml b/OmniStudio-Components/main/default/omniDataTransforms/EDRDDRcreateRequestWithNoEligiblity_1.rpt-meta.xml index 9213e19c5..341cbb58f 100644 --- a/OmniStudio-Components/main/default/omniDataTransforms/EDRDDRcreateRequestWithNoEligiblity_1.rpt-meta.xml +++ b/OmniStudio-Components/main/default/omniDataTransforms/EDRDDRcreateRequestWithNoEligiblity_1.rpt-meta.xml @@ -90,27 +90,27 @@ false 0.0 - EDRDDRcreateRequestWithNoEligiblityCustom6593 - DrugandDosage:InitialDosageDetail:RequestedFundingDuration + EDRDDRcreateRequestWithNoEligiblityCustom9383 + RequestedNewDosageUnitId 0.0 0.0 EDRDDRcreateRequestWithNoEligiblity - 1.0 - EDRD_MOHApproved_Funding_Duration__c - Case + 2.0 + Dosage_Units__c + MedicationRequest false false false 0.0 - EDRDDRcreateRequestWithNoEligiblityCustom9383 - RequestedNewDosageUnitId + EDRDDRcreateRequestWithNoEligiblityCustom5577 + DrugandDosage:InitialDosageDetail:RequestedDosage 0.0 0.0 EDRDDRcreateRequestWithNoEligiblity 2.0 - Dosage_Units__c + Dosage__c MedicationRequest false false @@ -118,27 +118,27 @@ false 0.0 - EDRDDRcreateRequestWithNoEligiblityCustom5577 - DrugandDosage:InitialDosageDetail:RequestedDosage + EDRDDRcreateRequestWithNoEligiblityCustom6593 + DrugandDosage:InitialDosageDetail:RequestedFundingDuration 0.0 0.0 EDRDDRcreateRequestWithNoEligiblity - 2.0 - Dosage__c - MedicationRequest + 1.0 + EDRD_MOHApproved_Funding_Duration__c + Case false false false 0.0 - EDRDDRcreateRequestWithNoEligiblityCustom8621 - DrugandDosage:InitialDosageDetail:RequestedFundingDurationUnits + EDRDDRcreateRequestWithNoEligiblityCustom7294 + DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalFrequencyUnits 0.0 0.0 EDRDDRcreateRequestWithNoEligiblity 2.0 - Requested_Funding_Duration_Unit__c + Requested_Frequency_Unit__c MedicationRequest false false @@ -146,42 +146,42 @@ false 0.0 - EDRDDRcreateRequestWithNoEligiblityCustom4737 - DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalDosage + EDRDDRcreateRequestWithNoEligiblityCustom2802 + RequestedDosageUnitId 0.0 0.0 EDRDDRcreateRequestWithNoEligiblity - 2.0 - Dosage__c - MedicationRequest + 1.0 + EDRD_MOHApproved_Dosage_Unit__c + Case false false false 0.0 - EDRDDRcreateRequestWithNoEligiblityCustom291 - DrugandDosage:InitialDosageDetail:RequestedFundingDuration + EDRDDRcreateRequestWithNoEligiblityCustom7095 + RequestedNewDosageUnitId 0.0 0.0 EDRDDRcreateRequestWithNoEligiblity - 2.0 - Requested_Funding_Duration__c - MedicationRequest + 1.0 + EDRD_MOHApproved_Dosage_Unit__c + Case false false false 0.0 - EDRDDRcreateRequestWithNoEligiblityCustom2215 - DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalFrequency + EDRDDRcreateRequestWithNoEligiblityCustom4428 + DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalFrequencyUnits 0.0 0.0 EDRDDRcreateRequestWithNoEligiblity - 2.0 - Requested_Frequency__c - MedicationRequest + 1.0 + EDRD_MOHApproved_Frequency_Unit__c + Case false false @@ -202,22 +202,22 @@ false 0.0 - EDRDDRcreateRequestWithNoEligiblityCustom1918 - DrugandDosage:InitialDosageDetail:RequestedFrequencyUnits + EDRDDRcreateRequestWithNoEligiblityCustom2347 + DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalFundingDurationUnits 0.0 0.0 EDRDDRcreateRequestWithNoEligiblity - 2.0 - Requested_Frequency_Unit__c - MedicationRequest + 1.0 + EDRD_MOHApproved_Funding_Duration_Unit__c + Case false false false 0.0 - EDRDDRcreateRequestWithNoEligiblityCustom7294 - DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalFrequencyUnits + EDRDDRcreateRequestWithNoEligiblityCustom1918 + DrugandDosage:InitialDosageDetail:RequestedFrequencyUnits 0.0 0.0 EDRDDRcreateRequestWithNoEligiblity @@ -230,13 +230,13 @@ false 0.0 - EDRDDRcreateRequestWithNoEligiblityCustom7095 - RequestedNewDosageUnitId + EDRDDRcreateRequestWithNoEligiblityCustom8957 + DrugandDosage:InitialDosageDetail:RequestedDosage 0.0 0.0 EDRDDRcreateRequestWithNoEligiblity 1.0 - EDRD_MOHApproved_Dosage_Unit__c + EDRD_MOHApproved_Dosage__c Case false false @@ -244,8 +244,8 @@ false 0.0 - EDRDDRcreateRequestWithNoEligiblityCustom7253 - DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalFundingDuration + EDRDDRcreateRequestWithNoEligiblityCustom291 + DrugandDosage:InitialDosageDetail:RequestedFundingDuration 0.0 0.0 EDRDDRcreateRequestWithNoEligiblity @@ -258,55 +258,41 @@ false 0.0 - EDRDDRcreateRequestWithNoEligiblityCustom5054 - DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalDosage - 0.0 - 0.0 - EDRDDRcreateRequestWithNoEligiblity - 1.0 - EDRD_MOHApproved_Dosage__c - Case - false - false - - - false - 0.0 - EDRDDRcreateRequestWithNoEligiblityCustom4700 - DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalFundingDuration + EDRDDRcreateRequestWithNoEligiblityCustom2215 + DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalFrequency 0.0 0.0 EDRDDRcreateRequestWithNoEligiblity - 1.0 - EDRD_MOHApproved_Funding_Duration__c - Case + 2.0 + Requested_Frequency__c + MedicationRequest false false false 0.0 - EDRDDRcreateRequestWithNoEligiblityCustom8415 - DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalFrequency + EDRDDRcreateRequestWithNoEligiblityCustom984 + DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalIndefiniteFunding 0.0 0.0 EDRDDRcreateRequestWithNoEligiblity - 1.0 - EDRD_MOHApproved_Frequency__c - Case + 2.0 + EDRD_Indefinite_Funding__c + MedicationRequest false false - Active false 0.0 - EDRDDRcreateRequestWithNoEligiblity5743820915846369 + EDRDDRcreateRequestWithNoEligiblityCustom8621 + DrugandDosage:InitialDosageDetail:RequestedFundingDurationUnits 0.0 0.0 EDRDDRcreateRequestWithNoEligiblity 2.0 - Status + Requested_Funding_Duration_Unit__c MedicationRequest false false @@ -314,13 +300,13 @@ false 0.0 - EDRDDRcreateRequestWithNoEligiblity5404393202920046 - PatientInformation:PrescriberId + EDRDDRcreateRequestWithNoEligiblityCustom4737 + DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalDosage 0.0 0.0 EDRDDRcreateRequestWithNoEligiblity 2.0 - RequesterId + Dosage__c MedicationRequest false false @@ -340,16 +326,15 @@ false - true + Active + false 0.0 - = - EDRDDRcreateRequestWithNoEligiblity5087997151599297 + EDRDDRcreateRequestWithNoEligiblity5743820915846369 0.0 0.0 - FAKEMAPPING EDRDDRcreateRequestWithNoEligiblity 2.0 - Id + Status MedicationRequest false false @@ -357,13 +342,13 @@ false 0.0 - EDRDDRcreateRequestWithNoEligiblity9827689779579438 - PatientInformation:CaseType + EDRDDRcreateRequestWithNoEligiblity5404393202920046 + PatientInformation:PrescriberId 0.0 0.0 EDRDDRcreateRequestWithNoEligiblity 2.0 - Type + RequesterId MedicationRequest false false @@ -371,13 +356,13 @@ false 0.0 - EDRDDRcreateRequestWithNoEligiblity8558120382183751 - PatientInformation:CaseType + EDRDDRcreateRequestWithNoEligiblityCustom4700 + DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalFundingDuration 0.0 0.0 EDRDDRcreateRequestWithNoEligiblity 1.0 - Type + EDRD_MOHApproved_Funding_Duration__c Case false false @@ -385,13 +370,13 @@ false 0.0 - EDRDDRcreateRequestWithNoEligiblity9766082464686532 - CaseRecTypeId + EDRDDRcreateRequestWithNoEligiblityCustom8415 + DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalFrequency 0.0 0.0 EDRDDRcreateRequestWithNoEligiblity 1.0 - RecordTypeId + EDRD_MOHApproved_Frequency__c Case false false @@ -399,13 +384,27 @@ false 0.0 - EDRDDRcreateRequestWithNoEligiblity9379285322269817 - PatientInformation:IdPatient + EDRDDRcreateRequestWithNoEligiblityCustom7253 + DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalFundingDuration + 0.0 + 0.0 + EDRDDRcreateRequestWithNoEligiblity + 2.0 + Requested_Funding_Duration__c + MedicationRequest + false + false + + + false + 0.0 + EDRDDRcreateRequestWithNoEligiblityCustom3025 + DrugandDosage:InitialDosageDetail:RequestedFundingDurationUnits 0.0 0.0 EDRDDRcreateRequestWithNoEligiblity 1.0 - ContactId + EDRD_MOHApproved_Funding_Duration_Unit__c Case false false @@ -413,30 +412,27 @@ false 0.0 - EDRDDRcreateRequestWithNoEligiblity6206012751849226 - ProviderId + EDRDDRcreateRequestWithNoEligiblityCustom5054 + DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalDosage 0.0 0.0 EDRDDRcreateRequestWithNoEligiblity 1.0 - Provider__c + EDRD_MOHApproved_Dosage__c Case false false - EDRD_Medication_Request false 0.0 - EDRDDRcreateRequestWithNoEligiblityCustom5262 + EDRDDRcreateRequestWithNoEligiblity9827689779579438 + PatientInformation:CaseType 0.0 0.0 - DeveloperName - RecordType - Id EDRDDRcreateRequestWithNoEligiblity 2.0 - RecordTypeId + Type MedicationRequest false false @@ -444,27 +440,28 @@ false 0.0 - EDRDDRcreateRequestWithNoEligiblityCustom6424 - DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalIndefiniteFunding + EDRDDRcreateRequestWithNoEligiblity8558120382183751 + PatientInformation:CaseType 0.0 0.0 EDRDDRcreateRequestWithNoEligiblity 1.0 - EDRD_MOHIndefinite_Funding__c + Type Case false false - false + true 0.0 - EDRDDRcreateRequestWithNoEligiblityCustom5988 - DrugandDosage:InitialDosageDetail:RequestedFrequency + = + EDRDDRcreateRequestWithNoEligiblity5087997151599297 0.0 0.0 + FAKEMAPPING EDRDDRcreateRequestWithNoEligiblity 2.0 - Requested_Frequency__c + Id MedicationRequest false false @@ -502,58 +499,58 @@ false 0.0 - = - EDRDDRcreateRequestWithNoEligiblity44665856547728944 + EDRDDRcreateRequestWithNoEligiblityCustom6424 + DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalIndefiniteFunding 0.0 - Id - 1.0 - FAKEMAPPING + 0.0 EDRDDRcreateRequestWithNoEligiblity - 2.0 - Case__c - MedicationRequest + 1.0 + EDRD_MOHIndefinite_Funding__c + Case false false false 0.0 - EDRDDRcreateRequestWithNoEligiblityCustom7156 - DrugandDosage:InitialDosageDetail:NewIndefiniteFunding + EDRDDRcreateRequestWithNoEligiblityCustom5988 + DrugandDosage:InitialDosageDetail:RequestedFrequency 0.0 0.0 EDRDDRcreateRequestWithNoEligiblity 2.0 - EDRD_Indefinite_Funding__c + Requested_Frequency__c MedicationRequest false false - true + false 0.0 - = - EDRDDRcreateRequestWithNoEligiblity2704387955130827 + EDRDDRcreateRequestWithNoEligiblity6206012751849226 + ProviderId 0.0 0.0 - FAKEMAPPING EDRDDRcreateRequestWithNoEligiblity - 3.0 - Id - ContentDocumentLink + 1.0 + Provider__c + Case false false + EDRD_Medication_Request false 0.0 - EDRDDRcreateRequestWithNoEligiblity8276639928540863 - DrugandDosage:SelectADrug + EDRDDRcreateRequestWithNoEligiblityCustom5262 0.0 0.0 + DeveloperName + RecordType + Id EDRDDRcreateRequestWithNoEligiblity 2.0 - MedicationId + RecordTypeId MedicationRequest false false @@ -561,28 +558,28 @@ false 0.0 - EDRDDRcreateRequestWithNoEligiblity23491733036704332 - PatientInformation:PatAccId + EDRDDRcreateRequestWithNoEligiblity9766082464686532 + CaseRecTypeId 0.0 0.0 EDRDDRcreateRequestWithNoEligiblity - 2.0 - PatientId - MedicationRequest + 1.0 + RecordTypeId + Case false false false 0.0 - EDRDDRcreateRequestWithNoEligiblityCustom8624 - DrugandDosage:IndicationId + EDRDDRcreateRequestWithNoEligiblity9379285322269817 + PatientId 0.0 0.0 EDRDDRcreateRequestWithNoEligiblity - 2.0 - Medical_Diagnosis__c - MedicationRequest + 1.0 + ContactId + Case false false @@ -617,93 +614,87 @@ false 0.0 - EDRDDRcreateRequestWithNoEligiblityCustom8370 - DRUGANDDOSAGERENEWAL:RenewalMedicationDrugId + EDRDDRcreateRequestWithNoEligiblity23491733036704332 + PatientAccountId 0.0 0.0 EDRDDRcreateRequestWithNoEligiblity 2.0 - MedicationId + PatientId MedicationRequest false false - Received - Awaiting Verification false 0.0 - EDRDDRcreateRequestWithNoEligiblity736827706602668 + EDRDDRcreateRequestWithNoEligiblityCustom8624 + DrugandDosage:IndicationId 0.0 0.0 EDRDDRcreateRequestWithNoEligiblity - 1.0 - Status - Case + 2.0 + Medical_Diagnosis__c + MedicationRequest false false - false + true 0.0 - | var:DrugandDosage:PleaseEnterOtherDrugDetails:OtherMedicationName "/\/\/" + var:DrugandDosage:PleaseEnterOtherDrugDetails:OtherIndication + "/\/\/" + var:DrugandDosage:PleaseEnterOtherDrugDetails:OtherBrand + "/\/\/" + var:DrugandDosage:PleaseEnterOtherDrugDetails:OtherSupplier + "/\/\/" + var:DrugandDosage:PleaseEnterOtherDrugDetails:OtherDosage + "/\/\/" + var:DrugandDosage:PleaseEnterOtherDrugDetails:OtherDosageForm + "/\/\/" + CONCAT - CONCAT(DrugandDosage:PleaseEnterOtherDrugDetails:OtherMedicationName+" " -+ DrugandDosage:PleaseEnterOtherDrugDetails:OtherIndication +" " -+ DrugandDosage:PleaseEnterOtherDrugDetails:OtherBrand+" " -+ DrugandDosage:PleaseEnterOtherDrugDetails:OtherSupplier+" " -+ DrugandDosage:PleaseEnterOtherDrugDetails:OtherDosage+" " -+ DrugandDosage:PleaseEnterOtherDrugDetails:OtherDosageForm+" ") - OtherMedDetail - 1.0 - EDRDDRcreateRequestWithNoEligiblityCustom4619 + = + EDRDDRcreateRequestWithNoEligiblity2704387955130827 0.0 0.0 + FAKEMAPPING EDRDDRcreateRequestWithNoEligiblity - 0.0 - Formula - Formula + 3.0 + Id + ContentDocumentLink false false - true + false 0.0 - = - EDRDDRcreateRequestWithNoEligiblity14129019027865763 + EDRDDRcreateRequestWithNoEligiblity8276639928540863 + DrugandDosage:SelectADrug 0.0 0.0 - FAKEMAPPING EDRDDRcreateRequestWithNoEligiblity - 1.0 - Id - Case + 2.0 + MedicationId + MedicationRequest false false - Portal false 0.0 - EDRDDRcreateRequestWithNoEligiblity5207450629130874 + = + EDRDDRcreateRequestWithNoEligiblity44665856547728944 0.0 - 0.0 + Id + 1.0 + FAKEMAPPING EDRDDRcreateRequestWithNoEligiblity - 1.0 - Origin - Case + 2.0 + Case__c + MedicationRequest false false false 0.0 - EDRDDRcreateRequestWithNoEligiblityCustom7027 - DrugandDosage:InitialDosageDetail:RequestedFrequencyUnits + EDRDDRcreateRequestWithNoEligiblityCustom7156 + DrugandDosage:InitialDosageDetail:NewIndefiniteFunding 0.0 0.0 EDRDDRcreateRequestWithNoEligiblity - 1.0 - EDRD_MOHApproved_Frequency_Unit__c - Case + 2.0 + EDRD_Indefinite_Funding__c + MedicationRequest false false @@ -722,29 +713,29 @@ false + Portal false 0.0 - EDRDDRcreateRequestWithNoEligiblityCustom984 - DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalIndefiniteFunding + EDRDDRcreateRequestWithNoEligiblity5207450629130874 0.0 0.0 EDRDDRcreateRequestWithNoEligiblity - 2.0 - EDRD_Indefinite_Funding__c - MedicationRequest + 1.0 + Origin + Case false false false 0.0 - EDRDDRcreateRequestWithNoEligiblityCustom2347 - DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalFundingDurationUnits + EDRDDRcreateRequestWithNoEligiblityCustom7027 + DrugandDosage:InitialDosageDetail:RequestedFrequencyUnits 0.0 0.0 EDRDDRcreateRequestWithNoEligiblity 1.0 - EDRD_MOHApproved_Funding_Duration_Unit__c + EDRD_MOHApproved_Frequency_Unit__c Case false false @@ -752,13 +743,36 @@ false 0.0 - EDRDDRcreateRequestWithNoEligiblityCustom8957 - DrugandDosage:InitialDosageDetail:RequestedDosage + | var:DrugandDosage:PleaseEnterOtherDrugDetails:OtherMedicationName "/\/\/" + var:DrugandDosage:PleaseEnterOtherDrugDetails:OtherIndication + "/\/\/" + var:DrugandDosage:PleaseEnterOtherDrugDetails:OtherBrand + "/\/\/" + var:DrugandDosage:PleaseEnterOtherDrugDetails:OtherSupplier + "/\/\/" + var:DrugandDosage:PleaseEnterOtherDrugDetails:OtherDosage + "/\/\/" + var:DrugandDosage:PleaseEnterOtherDrugDetails:OtherDosageForm + "/\/\/" + CONCAT + CONCAT(DrugandDosage:PleaseEnterOtherDrugDetails:OtherMedicationName+" " ++ DrugandDosage:PleaseEnterOtherDrugDetails:OtherIndication +" " ++ DrugandDosage:PleaseEnterOtherDrugDetails:OtherBrand+" " ++ DrugandDosage:PleaseEnterOtherDrugDetails:OtherSupplier+" " ++ DrugandDosage:PleaseEnterOtherDrugDetails:OtherDosage+" " ++ DrugandDosage:PleaseEnterOtherDrugDetails:OtherDosageForm+" ") + OtherMedDetail + 1.0 + EDRDDRcreateRequestWithNoEligiblityCustom4619 + 0.0 + 0.0 + EDRDDRcreateRequestWithNoEligiblity + 0.0 + Formula + Formula + false + false + + + true + 0.0 + = + EDRDDRcreateRequestWithNoEligiblity14129019027865763 0.0 0.0 + FAKEMAPPING EDRDDRcreateRequestWithNoEligiblity 1.0 - EDRD_MOHApproved_Dosage__c + Id Case false false @@ -766,27 +780,27 @@ false 0.0 - EDRDDRcreateRequestWithNoEligiblityCustom2802 - RequestedDosageUnitId + EDRDDRcreateRequestWithNoEligiblityCustom8370 + DRUGANDDOSAGERENEWAL:RenewalMedicationDrugId 0.0 0.0 EDRDDRcreateRequestWithNoEligiblity - 1.0 - EDRD_MOHApproved_Dosage_Unit__c - Case + 2.0 + MedicationId + MedicationRequest false false + Received - Awaiting Verification false 0.0 - EDRDDRcreateRequestWithNoEligiblityCustom4428 - DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalFrequencyUnits + EDRDDRcreateRequestWithNoEligiblity736827706602668 0.0 0.0 EDRDDRcreateRequestWithNoEligiblity 1.0 - EDRD_MOHApproved_Frequency_Unit__c + Status Case false false @@ -794,13 +808,13 @@ false 0.0 - EDRDDRcreateRequestWithNoEligiblityCustom3025 - DrugandDosage:InitialDosageDetail:RequestedFundingDurationUnits + EDRDDRcreateRequestWithNoEligiblityCustom9377 + PatientInformation:OverrideSelect:reason 0.0 0.0 EDRDDRcreateRequestWithNoEligiblity 1.0 - EDRD_MOHApproved_Funding_Duration_Unit__c + EDRD_Patient_Override_Reason__c Case false false diff --git a/OmniStudio-Components/main/default/omniDataTransforms/EDRDDRcreateRequestWithNoSupplementoryDoc_1.rpt-meta.xml b/OmniStudio-Components/main/default/omniDataTransforms/EDRDDRcreateRequestWithNoSupplementoryDoc_1.rpt-meta.xml index 80c1339cc..a225e8455 100644 --- a/OmniStudio-Components/main/default/omniDataTransforms/EDRDDRcreateRequestWithNoSupplementoryDoc_1.rpt-meta.xml +++ b/OmniStudio-Components/main/default/omniDataTransforms/EDRDDRcreateRequestWithNoSupplementoryDoc_1.rpt-meta.xml @@ -90,13 +90,13 @@ false 0.0 - EDRDDRcreateRequestWithNoSupplementoryDocCustom2884 - DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalFundingDuration + EDRDDRcreateRequestWithNoSupplementoryDocCustom4180 + PatientInformation:OverrideSelect:reason 0.0 0.0 EDRDDRcreateRequestWithNoSupplementoryDoc 1.0 - EDRD_MOHApproved_Funding_Duration__c + EDRD_Patient_Override_Reason__c Case false false @@ -104,27 +104,27 @@ false 0.0 - EDRDDRcreateRequestWithNoSupplementoryDocCustom8364 - RequestedNewDosageUnitId + EDRDDRcreateRequestWithNoSupplementoryDocCustom5433 + UploadAttachment:UploadEligibilityForm:data 0.0 0.0 EDRDDRcreateRequestWithNoSupplementoryDoc - 1.0 - EDRD_MOHApproved_Dosage_Unit__c - Case + 3.0 + ContentDocumentId + ContentDocumentLink false false false 0.0 - EDRDDRcreateRequestWithNoSupplementoryDocCustom6053 - DrugandDosage:InitialDosageDetail:RequestedFundingDurationUnits + EDRDDRcreateRequestWithNoSupplementoryDocCustom8364 + RequestedNewDosageUnitId 0.0 0.0 EDRDDRcreateRequestWithNoSupplementoryDoc 1.0 - EDRD_MOHApproved_Funding_Duration_Unit__c + EDRD_MOHApproved_Dosage_Unit__c Case false false @@ -132,44 +132,27 @@ false 0.0 - EDRDDRcreateRequestWithNoSupplementoryDocCustom5433 - UploadAttachment:UploadEligibilityForm:data - 0.0 - 0.0 - EDRDDRcreateRequestWithNoSupplementoryDoc - 3.0 - ContentDocumentId - ContentDocumentLink - false - false - - - EDRD_Medication_Request - false - 0.0 - EDRDDRcreateRequestWithNoSupplementoryDocCustom7269 + EDRDDRcreateRequestWithNoSupplementoryDocCustom6053 + DrugandDosage:InitialDosageDetail:RequestedFundingDurationUnits 0.0 0.0 - DeveloperName - RecordType - Id EDRDDRcreateRequestWithNoSupplementoryDoc - 2.0 - RecordTypeId - MedicationRequest + 1.0 + EDRD_MOHApproved_Funding_Duration_Unit__c + Case false false false 0.0 - EDRDDRcreateRequestWithNoSupplementoryDocCustom0jIAq0000001dwzMAAItem6 - CaseRecTypeId + EDRDDRcreateRequestWithNoSupplementoryDocCustom2884 + DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalFundingDuration 0.0 0.0 EDRDDRcreateRequestWithNoSupplementoryDoc 1.0 - RecordTypeId + EDRD_MOHApproved_Funding_Duration__c Case false false @@ -206,46 +189,46 @@ false - true + EDRD_Medication_Request + false 0.0 - = - EDRDDRcreateRequestWithNoSupplementoryDocCustom718 + EDRDDRcreateRequestWithNoSupplementoryDocCustom7269 0.0 0.0 - FAKEMAPPING + DeveloperName + RecordType + Id EDRDDRcreateRequestWithNoSupplementoryDoc - 3.0 - Id - ContentDocumentLink + 2.0 + RecordTypeId + MedicationRequest false false false 0.0 - EDRDDRcreateRequestWithNoSupplementoryDocCustom0jIAq0000001dwzMAAItem12 - PatientInformation:PatAccId + EDRDDRcreateRequestWithNoSupplementoryDocCustom0jIAq0000001dwzMAAItem6 + CaseRecTypeId 0.0 0.0 EDRDDRcreateRequestWithNoSupplementoryDoc - 2.0 - PatientId - MedicationRequest + 1.0 + RecordTypeId + Case false false false 0.0 - = - EDRDDRcreateRequestWithNoSupplementoryDocCustom0jIAq0000001dwzMAAItem13 + EDRDDRcreateRequestWithNoSupplementoryDocCustom8341 + DrugandDosage:InitialDosageDetail:RequestedDosage 0.0 - Id - 1.0 - FAKEMAPPING + 0.0 EDRDDRcreateRequestWithNoSupplementoryDoc 2.0 - Case__c + Dosage__c MedicationRequest false false @@ -253,13 +236,13 @@ false 0.0 - EDRDDRcreateRequestWithNoSupplementoryDocCustom4887 - DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalDosage + EDRDDRcreateRequestWithNoSupplementoryDocCustom1892 + DrugandDosage:InitialDosageDetail:RequestedFundingDurationUnits 0.0 0.0 EDRDDRcreateRequestWithNoSupplementoryDoc 2.0 - Dosage__c + Requested_Funding_Duration_Unit__c MedicationRequest false false @@ -303,13 +286,15 @@ false 0.0 - EDRDDRcreateRequestWithNoSupplementoryDocCustom8341 - DrugandDosage:InitialDosageDetail:RequestedDosage + = + EDRDDRcreateRequestWithNoSupplementoryDocCustom0jIAq0000001dwzMAAItem13 0.0 - 0.0 + Id + 1.0 + FAKEMAPPING EDRDDRcreateRequestWithNoSupplementoryDoc 2.0 - Dosage__c + Case__c MedicationRequest false false @@ -317,70 +302,70 @@ false 0.0 - EDRDDRcreateRequestWithNoSupplementoryDocCustom1892 - DrugandDosage:InitialDosageDetail:RequestedFundingDurationUnits + EDRDDRcreateRequestWithNoSupplementoryDocCustom4887 + DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalDosage 0.0 0.0 EDRDDRcreateRequestWithNoSupplementoryDoc 2.0 - Requested_Funding_Duration_Unit__c + Dosage__c MedicationRequest false false - false + true 0.0 - EDRDDRcreateRequestWithNoSupplementoryDocCustom6967 - DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalFundingDurationUnits + = + EDRDDRcreateRequestWithNoSupplementoryDocCustom718 0.0 0.0 + FAKEMAPPING EDRDDRcreateRequestWithNoSupplementoryDoc - 2.0 - Requested_Funding_Duration_Unit__c - MedicationRequest + 3.0 + Id + ContentDocumentLink false false false 0.0 - EDRDDRcreateRequestWithNoSupplementoryDocCustom8656 - DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalFundingDuration + EDRDDRcreateRequestWithNoSupplementoryDocCustom0jIAq0000001dwzMAAItem12 + PatientAccountId 0.0 0.0 EDRDDRcreateRequestWithNoSupplementoryDoc 2.0 - Requested_Funding_Duration__c + PatientId MedicationRequest false false - Received - Awaiting Verification + Active false 0.0 - EDRDDRcreateRequestWithNoSupplementoryDocCustom0jIAq0000001dwzMAAItem1 + EDRDDRcreateRequestWithNoSupplementoryDocCustom0jIAq0000001dwzMAAItem9 0.0 0.0 EDRDDRcreateRequestWithNoSupplementoryDoc - 1.0 + 2.0 Status - Case + MedicationRequest false false - true + false 0.0 - = - EDRDDRcreateRequestWithNoSupplementoryDocCustom0jIAq0000001dwzMAAItem2 + EDRDDRcreateRequestWithNoSupplementoryDocCustom0jIAq0000001dwzMAAItem3 + PatientId 0.0 0.0 - FAKEMAPPING EDRDDRcreateRequestWithNoSupplementoryDoc 1.0 - Id + ContactId Case false false @@ -414,29 +399,30 @@ false - Active + Received - Awaiting Verification false 0.0 - EDRDDRcreateRequestWithNoSupplementoryDocCustom0jIAq0000001dwzMAAItem9 + EDRDDRcreateRequestWithNoSupplementoryDocCustom0jIAq0000001dwzMAAItem1 0.0 0.0 EDRDDRcreateRequestWithNoSupplementoryDoc - 2.0 + 1.0 Status - MedicationRequest + Case false false - false + true 0.0 - EDRDDRcreateRequestWithNoSupplementoryDocCustom0jIAq0000001dwzMAAItem3 - PatientInformation:IdPatient + = + EDRDDRcreateRequestWithNoSupplementoryDocCustom0jIAq0000001dwzMAAItem2 0.0 0.0 + FAKEMAPPING EDRDDRcreateRequestWithNoSupplementoryDoc 1.0 - ContactId + Id Case false false @@ -444,13 +430,13 @@ false 0.0 - EDRDDRcreateRequestWithNoSupplementoryDocCustom8972 - DRUGANDDOSAGERENEWAL:RenewalIndicationId + EDRDDRcreateRequestWithNoSupplementoryDocCustom6967 + DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalFundingDurationUnits 0.0 0.0 EDRDDRcreateRequestWithNoSupplementoryDoc 2.0 - Medical_Diagnosis__c + Requested_Funding_Duration_Unit__c MedicationRequest false false @@ -458,13 +444,41 @@ false 0.0 - EDRDDRcreateRequestWithNoSupplementoryDocCustom0jIAq0000001dwzMAAItem4 - ProviderId + EDRDDRcreateRequestWithNoSupplementoryDocCustom8656 + DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalFundingDuration + 0.0 + 0.0 + EDRDDRcreateRequestWithNoSupplementoryDoc + 2.0 + Requested_Funding_Duration__c + MedicationRequest + false + false + + + false + 0.0 + EDRDDRcreateRequestWithNoSupplementoryDocCustom0jIAq0000001dwzMAAItem11 + DrugandDosage:SelectADrug + 0.0 + 0.0 + EDRDDRcreateRequestWithNoSupplementoryDoc + 2.0 + MedicationId + MedicationRequest + false + false + + + false + 0.0 + EDRDDRcreateRequestWithNoSupplementoryDocCustom1578 + DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalFundingDurationUnits 0.0 0.0 EDRDDRcreateRequestWithNoSupplementoryDoc 1.0 - Provider__c + EDRD_MOHApproved_Funding_Duration_Unit__c Case false false @@ -500,13 +514,13 @@ false 0.0 - EDRDDRcreateRequestWithNoSupplementoryDocCustom0jIAq0000001dwzMAAItem11 - DrugandDosage:SelectADrug + EDRDDRcreateRequestWithNoSupplementoryDocCustom8972 + DRUGANDDOSAGERENEWAL:RenewalIndicationId 0.0 0.0 EDRDDRcreateRequestWithNoSupplementoryDoc 2.0 - MedicationId + Medical_Diagnosis__c MedicationRequest false false @@ -514,17 +528,45 @@ false 0.0 - EDRDDRcreateRequestWithNoSupplementoryDocCustom1578 - DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalFundingDurationUnits + EDRDDRcreateRequestWithNoSupplementoryDocCustom0jIAq0000001dwzMAAItem4 + ProviderId 0.0 0.0 EDRDDRcreateRequestWithNoSupplementoryDoc 1.0 - EDRD_MOHApproved_Funding_Duration_Unit__c + Provider__c Case false false + + false + 0.0 + EDRDDRcreateRequestWithNoSupplementoryDocCustom964 + DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalFrequencyUnits + 0.0 + 0.0 + EDRDDRcreateRequestWithNoSupplementoryDoc + 2.0 + Requested_Frequency_Unit__c + MedicationRequest + false + false + + + false + 0.0 + EDRDDRcreateRequestWithNoSupplementoryDocCustom567 + RequestedDosageUnitId + 0.0 + 0.0 + EDRDDRcreateRequestWithNoSupplementoryDoc + 2.0 + Dosage_Units__c + MedicationRequest + false + false + false 0.0 @@ -556,13 +598,13 @@ false 0.0 - EDRDDRcreateRequestWithNoSupplementoryDocCustom964 - DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalFrequencyUnits + EDRDDRcreateRequestWithNoSupplementoryDocCustom2193 + DrugandDosage:IndicationId 0.0 0.0 EDRDDRcreateRequestWithNoSupplementoryDoc 2.0 - Requested_Frequency_Unit__c + Medical_Diagnosis__c MedicationRequest false false @@ -570,27 +612,27 @@ false 0.0 - EDRDDRcreateRequestWithNoSupplementoryDocCustom567 - RequestedDosageUnitId + EDRDDRcreateRequestWithNoSupplementoryDocCustom6270 + DrugandDosage:InitialDosageDetail:RequestedDosage 0.0 0.0 EDRDDRcreateRequestWithNoSupplementoryDoc - 2.0 - Dosage_Units__c - MedicationRequest + 1.0 + EDRD_MOHApproved_Dosage__c + Case false false false 0.0 - EDRDDRcreateRequestWithNoSupplementoryDocCustom4413 - DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalFrequency + EDRDDRcreateRequestWithNoSupplementoryDocCustom7603 + DrugandDosage:InitialDosageDetail:RequestedFundingDuration 0.0 0.0 EDRDDRcreateRequestWithNoSupplementoryDoc 2.0 - Requested_Frequency__c + Requested_Funding_Duration__c MedicationRequest false false @@ -598,13 +640,13 @@ false 0.0 - EDRDDRcreateRequestWithNoSupplementoryDocCustom5980 - DrugandDosage:InitialDosageDetail:RequestedFrequencyUnits + EDRDDRcreateRequestWithNoSupplementoryDocCustom5569 + DrugandDosage:InitialDosageDetail:RequestedFrequency 0.0 0.0 EDRDDRcreateRequestWithNoSupplementoryDoc 2.0 - Requested_Frequency_Unit__c + Requested_Frequency__c MedicationRequest false false @@ -640,13 +682,13 @@ false 0.0 - EDRDDRcreateRequestWithNoSupplementoryDocCustom7603 - DrugandDosage:InitialDosageDetail:RequestedFundingDuration + EDRDDRcreateRequestWithNoSupplementoryDocCustom4413 + DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalFrequency 0.0 0.0 EDRDDRcreateRequestWithNoSupplementoryDoc 2.0 - Requested_Funding_Duration__c + Requested_Frequency__c MedicationRequest false false @@ -654,13 +696,13 @@ false 0.0 - EDRDDRcreateRequestWithNoSupplementoryDocCustom5569 - DrugandDosage:InitialDosageDetail:RequestedFrequency + EDRDDRcreateRequestWithNoSupplementoryDocCustom5980 + DrugandDosage:InitialDosageDetail:RequestedFrequencyUnits 0.0 0.0 EDRDDRcreateRequestWithNoSupplementoryDoc 2.0 - Requested_Frequency__c + Requested_Frequency_Unit__c MedicationRequest false false @@ -668,22 +710,22 @@ false 0.0 - EDRDDRcreateRequestWithNoSupplementoryDocCustom2193 - DrugandDosage:IndicationId + EDRDDRcreateRequestWithNoSupplementoryDocCustom1608 + DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalFrequencyUnits 0.0 0.0 EDRDDRcreateRequestWithNoSupplementoryDoc - 2.0 - Medical_Diagnosis__c - MedicationRequest + 1.0 + EDRD_MOHApproved_Frequency_Unit__c + Case false false false 0.0 - EDRDDRcreateRequestWithNoSupplementoryDocCustom6270 - DrugandDosage:InitialDosageDetail:RequestedDosage + EDRDDRcreateRequestWithNoSupplementoryDocCustom9707 + DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalDosage 0.0 0.0 EDRDDRcreateRequestWithNoSupplementoryDoc @@ -696,27 +738,27 @@ false 0.0 - EDRDDRcreateRequestWithNoSupplementoryDocCustom3301 + EDRDDRcreateRequestWithNoSupplementoryDocCustom6011 DrugandDosage:InitialDosageDetail:NewIndefiniteFunding 0.0 0.0 EDRDDRcreateRequestWithNoSupplementoryDoc - 1.0 - EDRD_MOHIndefinite_Funding__c - Case + 2.0 + EDRD_Indefinite_Funding__c + MedicationRequest false false false 0.0 - EDRDDRcreateRequestWithNoSupplementoryDocCustom2012 - DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalFrequency + EDRDDRcreateRequestWithNoSupplementoryDocCustom7556 + RequestedDosageUnitId 0.0 0.0 EDRDDRcreateRequestWithNoSupplementoryDoc 1.0 - EDRD_MOHApproved_Frequency__c + EDRD_MOHApproved_Dosage_Unit__c Case false false @@ -752,41 +794,13 @@ false 0.0 - EDRDDRcreateRequestWithNoSupplementoryDocCustom6011 + EDRDDRcreateRequestWithNoSupplementoryDocCustom3301 DrugandDosage:InitialDosageDetail:NewIndefiniteFunding 0.0 0.0 EDRDDRcreateRequestWithNoSupplementoryDoc - 2.0 - EDRD_Indefinite_Funding__c - MedicationRequest - false - false - - - false - 0.0 - EDRDDRcreateRequestWithNoSupplementoryDocCustom7556 - RequestedDosageUnitId - 0.0 - 0.0 - EDRDDRcreateRequestWithNoSupplementoryDoc 1.0 - EDRD_MOHApproved_Dosage_Unit__c - Case - false - false - - - false - 0.0 - EDRDDRcreateRequestWithNoSupplementoryDocCustom1608 - DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalFrequencyUnits - 0.0 - 0.0 - EDRDDRcreateRequestWithNoSupplementoryDoc - 1.0 - EDRD_MOHApproved_Frequency_Unit__c + EDRD_MOHIndefinite_Funding__c Case false false @@ -794,13 +808,13 @@ false 0.0 - EDRDDRcreateRequestWithNoSupplementoryDocCustom9707 - DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalDosage + EDRDDRcreateRequestWithNoSupplementoryDocCustom2012 + DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalFrequency 0.0 0.0 EDRDDRcreateRequestWithNoSupplementoryDoc 1.0 - EDRD_MOHApproved_Dosage__c + EDRD_MOHApproved_Frequency__c Case false false diff --git a/OmniStudio-Components/main/default/omniDataTransforms/EDRDDRcreateRequest_1.rpt-meta.xml b/OmniStudio-Components/main/default/omniDataTransforms/EDRDDRcreateRequest_1.rpt-meta.xml index 220a6963f..043176e97 100644 --- a/OmniStudio-Components/main/default/omniDataTransforms/EDRDDRcreateRequest_1.rpt-meta.xml +++ b/OmniStudio-Components/main/default/omniDataTransforms/EDRDDRcreateRequest_1.rpt-meta.xml @@ -1,6 +1,6 @@ - true + false true false DR for Post Details For New/Renewal Case Form with Eligiblity And Supplementary Doc @@ -80,7 +80,8 @@ "CaseType" : null, "PatientIdentifier" : null, "PatientBirthDate" : null, - "PatientName" : null + "PatientName" : null, + "PatientId" : null } } false @@ -90,27 +91,13 @@ false 0.0 - EDRDDRcreateRequestCustom2140 - DrugandDosage:InitialDosageDetail:RequestedFundingDurationUnits - 0.0 - 0.0 - EDRDDRcreateRequest - 1.0 - EDRD_MOHApproved_Funding_Duration_Unit__c - Case - false - false - - - false - 0.0 - EDRDDRcreateRequestCustom4829 - DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalFundingDurationUnits + EDRDDRcreateRequestCustom7068 + PatientInformation:OverrideSelect:reason 0.0 0.0 EDRDDRcreateRequest 1.0 - EDRD_MOHApproved_Funding_Duration_Unit__c + EDRD_Patient_Override_Reason__c Case false false @@ -118,41 +105,43 @@ false 0.0 - EDRDDRcreateRequestCustom4615 - DrugandDosage:InitialDosageDetail:RequestedFrequency + = + EDRDDRcreateRequestCustom0jIAq0000001akbMAAItem24 0.0 - 0.0 + Id + 1.0 + FAKEMAPPING EDRDDRcreateRequest - 1.0 - EDRD_MOHApproved_Frequency__c - Case + 2.0 + Case__c + MedicationRequest false false false 0.0 - EDRDDRcreateRequestCustom6466 - DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalFrequencyUnits + EDRDDRcreateRequestCustom0jIAq0000001akbMAAItem6 + CaseRecTypeId 0.0 0.0 EDRDDRcreateRequest 1.0 - EDRD_MOHApproved_Frequency_Unit__c + RecordTypeId Case false false - Active false 0.0 - EDRDDRcreateRequestCustom0jIAq0000001akbMAAItem20 + EDRDDRcreateRequestCustom0jIAq0000001akbMAAItem22 + DrugandDosage:SelectADrug 0.0 0.0 EDRDDRcreateRequest 2.0 - Status + MedicationId MedicationRequest false false @@ -160,14 +149,14 @@ false 0.0 - EDRDDRcreateRequestCustom0jIAq0000001akbMAAItem4 - ProviderId + EDRDDRcreateRequestCustom0jIAq0000001akbMAAItem23 + PatientAccountId 0.0 0.0 EDRDDRcreateRequest - 1.0 - Provider__c - Case + 2.0 + PatientId + MedicationRequest false false @@ -189,7 +178,7 @@ false 0.0 EDRDDRcreateRequestCustom0jIAq0000001akbMAAItem21 - PatientInformation:PrescriberId + PrescriberIdLoginUserAccountId 0.0 0.0 EDRDDRcreateRequest @@ -202,57 +191,27 @@ false 0.0 - EDRDDRcreateRequestCustom0jIAq0000001akbMAAItem22 - DrugandDosage:SelectADrug - 0.0 - 0.0 - EDRDDRcreateRequest - 2.0 - MedicationId - MedicationRequest - false - false - - - false - 0.0 - EDRDDRcreateRequestCustom0jIAq0000001akbMAAItem23 - PatientInformation:PatAccId + EDRDDRcreateRequestCustom0jIAq0000001akbMAAItem25 + UploadAttachment:UploadEligibilityForm:data 0.0 0.0 EDRDDRcreateRequest - 2.0 - PatientId - MedicationRequest - false - false - - - false - 0.0 - = - EDRDDRcreateRequestCustom0jIAq0000001akbMAAItem24 - 0.0 - Id - 1.0 - FAKEMAPPING - EDRDDRcreateRequest - 2.0 - Case__c - MedicationRequest + 3.0 + ContentDocumentId + ContentDocumentLink false false false 0.0 - EDRDDRcreateRequestCustom0jIAq0000001akbMAAItem6 - CaseRecTypeId + EDRDDRcreateRequestCustom581 + DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalDosage 0.0 0.0 EDRDDRcreateRequest 1.0 - RecordTypeId + EDRD_MOHApproved_Dosage__c Case false false @@ -289,42 +248,28 @@ false 0.0 - EDRDDRcreateRequestCustom0jIAq0000001akbMAAItem25 - UploadAttachment:UploadEligibilityForm:data - 0.0 - 0.0 - EDRDDRcreateRequest - 3.0 - ContentDocumentId - ContentDocumentLink - false - false - - - false - 0.0 - EDRDDRcreateRequestCustom581 - DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalDosage + EDRDDRcreateRequestCustom4787 + DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalFrequency 0.0 0.0 EDRDDRcreateRequest - 1.0 - EDRD_MOHApproved_Dosage__c - Case + 2.0 + Requested_Frequency__c + MedicationRequest false false false 0.0 - EDRDDRcreateRequestCustom7210 - DrugandDosage:InitialDosageDetail:RequestedFundingDuration + EDRDDRcreateRequestCustom520 + RequestedDosageUnitId 0.0 0.0 EDRDDRcreateRequest - 1.0 - EDRD_MOHApproved_Funding_Duration__c - Case + 2.0 + Dosage_Units__c + MedicationRequest false false @@ -359,55 +304,70 @@ false 0.0 - EDRDDRcreateRequestCustom4787 - DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalFrequency + EDRDDRcreateRequestCustom7210 + DrugandDosage:InitialDosageDetail:RequestedFundingDuration 0.0 0.0 EDRDDRcreateRequest - 2.0 - Requested_Frequency__c - MedicationRequest + 1.0 + EDRD_MOHApproved_Funding_Duration__c + Case false false false 0.0 - EDRDDRcreateRequestCustom520 - RequestedDosageUnitId + EDRDDRcreateRequestCustom5470 + DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalFundingDurationUnits 0.0 0.0 EDRDDRcreateRequest 2.0 - Dosage_Units__c + Requested_Funding_Duration_Unit__c MedicationRequest false false + Received - Awaiting Verification false 0.0 - EDRDDRcreateRequestCustom6073 - DrugandDosage:InitialDosageDetail:NewIndefiniteFunding + EDRDDRcreateRequestCustom0jIAq0000001akbMAAItem2 0.0 0.0 EDRDDRcreateRequest - 2.0 - EDRD_Indefinite_Funding__c - MedicationRequest + 1.0 + Status + Case + false + false + + + true + 0.0 + = + EDRDDRcreateRequestCustom0jIAq0000001akbMAAItem0 + 0.0 + 0.0 + FAKEMAPPING + EDRDDRcreateRequest + 1.0 + Id + Case false false false 0.0 - EDRDDRcreateRequestCustom1215 - DRUGANDDOSAGERENEWAL:RenewalIndicationId + EDRDDRcreateRequestCustom2706 + DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalFundingDuration 0.0 0.0 EDRDDRcreateRequest 2.0 - Medical_Diagnosis__c + Requested_Funding_Duration__c MedicationRequest false false @@ -441,30 +401,29 @@ false - true + false 0.0 - = - EDRDDRcreateRequestCustom0jIAq0000001akbMAAItem0 + EDRDDRcreateRequestCustom6073 + DrugandDosage:InitialDosageDetail:NewIndefiniteFunding 0.0 0.0 - FAKEMAPPING EDRDDRcreateRequest - 1.0 - Id - Case + 2.0 + EDRD_Indefinite_Funding__c + MedicationRequest false false false 0.0 - EDRDDRcreateRequestCustom2706 - DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalFundingDuration + EDRDDRcreateRequestCustom1215 + DRUGANDDOSAGERENEWAL:RenewalIndicationId 0.0 0.0 EDRDDRcreateRequest 2.0 - Requested_Funding_Duration__c + Medical_Diagnosis__c MedicationRequest false false @@ -472,27 +431,27 @@ false 0.0 - EDRDDRcreateRequestCustom5470 - DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalFundingDurationUnits + EDRDDRcreateRequestCustom2883 + OtherMedDetail 0.0 0.0 EDRDDRcreateRequest 2.0 - Requested_Funding_Duration_Unit__c + Other_Medication_Detail__c MedicationRequest false false - Received - Awaiting Verification false 0.0 - EDRDDRcreateRequestCustom0jIAq0000001akbMAAItem2 + EDRDDRcreateRequestCustom2291 + DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalFundingDuration 0.0 0.0 EDRDDRcreateRequest 1.0 - Status + EDRD_MOHApproved_Funding_Duration__c Case false false @@ -500,13 +459,13 @@ false 0.0 - EDRDDRcreateRequestCustom0jIAq0000001akbMAAItem3 - PatientInformation:IdPatient + EDRDDRcreateRequestCustom9896 + RequestedDosageUnitId 0.0 0.0 EDRDDRcreateRequest 1.0 - ContactId + EDRD_MOHApproved_Dosage_Unit__c Case false false @@ -514,14 +473,22 @@ false 0.0 - EDRDDRcreateRequestCustom0jIAq0000001akbMAAItem19 - PatientInformation:CaseType + | var:DrugandDosage:PleaseEnterOtherDrugDetails:OtherMedicationName "/\/\/" + var:DrugandDosage:PleaseEnterOtherDrugDetails:OtherIndication + "/\/\/" + var:DrugandDosage:PleaseEnterOtherDrugDetails:OtherBrand + "/\/\/" + var:DrugandDosage:PleaseEnterOtherDrugDetails:OtherSupplier + "/\/\/" + var:DrugandDosage:PleaseEnterOtherDrugDetails:OtherDosage + "/\/\/" + var:DrugandDosage:PleaseEnterOtherDrugDetails:OtherDosageForm + "/\/\/" + CONCAT + CONCAT(DrugandDosage:PleaseEnterOtherDrugDetails:OtherMedicationName+" " ++ DrugandDosage:PleaseEnterOtherDrugDetails:OtherIndication +" " ++ DrugandDosage:PleaseEnterOtherDrugDetails:OtherBrand+" " ++ DrugandDosage:PleaseEnterOtherDrugDetails:OtherSupplier+" " ++ DrugandDosage:PleaseEnterOtherDrugDetails:OtherDosage+" " ++ DrugandDosage:PleaseEnterOtherDrugDetails:OtherDosageForm+" ") + OtherMedDetail + 1.0 + EDRDDRcreateRequestCustom8939 0.0 0.0 EDRDDRcreateRequest - 2.0 - Type - MedicationRequest + 0.0 + Formula + Formula false false @@ -556,13 +523,13 @@ false 0.0 - EDRDDRcreateRequestCustom9896 - RequestedDosageUnitId + EDRDDRcreateRequestCustom0jIAq0000001akbMAAItem3 + PatientId 0.0 0.0 EDRDDRcreateRequest 1.0 - EDRD_MOHApproved_Dosage_Unit__c + ContactId Case false false @@ -570,85 +537,72 @@ false 0.0 - | var:DrugandDosage:PleaseEnterOtherDrugDetails:OtherMedicationName "/\/\/" + var:DrugandDosage:PleaseEnterOtherDrugDetails:OtherIndication + "/\/\/" + var:DrugandDosage:PleaseEnterOtherDrugDetails:OtherBrand + "/\/\/" + var:DrugandDosage:PleaseEnterOtherDrugDetails:OtherSupplier + "/\/\/" + var:DrugandDosage:PleaseEnterOtherDrugDetails:OtherDosage + "/\/\/" + var:DrugandDosage:PleaseEnterOtherDrugDetails:OtherDosageForm + "/\/\/" + CONCAT - CONCAT(DrugandDosage:PleaseEnterOtherDrugDetails:OtherMedicationName+" " -+ DrugandDosage:PleaseEnterOtherDrugDetails:OtherIndication +" " -+ DrugandDosage:PleaseEnterOtherDrugDetails:OtherBrand+" " -+ DrugandDosage:PleaseEnterOtherDrugDetails:OtherSupplier+" " -+ DrugandDosage:PleaseEnterOtherDrugDetails:OtherDosage+" " -+ DrugandDosage:PleaseEnterOtherDrugDetails:OtherDosageForm+" ") - OtherMedDetail - 1.0 - EDRDDRcreateRequestCustom8939 + EDRDDRcreateRequestCustom0jIAq0000001akbMAAItem19 + PatientInformation:CaseType 0.0 0.0 EDRDDRcreateRequest - 0.0 - Formula - Formula + 2.0 + Type + MedicationRequest false false + Active false 0.0 - EDRDDRcreateRequestCustom2883 - OtherMedDetail + EDRDDRcreateRequestCustom0jIAq0000001akbMAAItem20 0.0 0.0 EDRDDRcreateRequest 2.0 - Other_Medication_Detail__c + Status MedicationRequest false false - false + true 0.0 - EDRDDRcreateRequestCustom2291 - DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalFundingDuration + = + EDRDDRcreateRequestCustom0jIAq0000001akbMAAItem27 0.0 0.0 + FAKEMAPPING EDRDDRcreateRequest - 1.0 - EDRD_MOHApproved_Funding_Duration__c - Case + 3.0 + Id + ContentDocumentLink false false false 0.0 - = - EDRDDRcreateRequestCustom0jIAq0000001akbMAAItem26 + EDRDDRcreateRequestCustom0jIAq0000001akbMAAItem4 + ProviderId 0.0 - Id - 1.0 - FAKEMAPPING + 0.0 EDRDDRcreateRequest - 3.0 - LinkedEntityId - ContentDocumentLink + 1.0 + Provider__c + Case false false - EDRD_Medication_Request false 0.0 - EDRDDRcreateRequestCustom7090 + EDRDDRcreateRequestCustom4615 + DrugandDosage:InitialDosageDetail:RequestedFrequency 0.0 0.0 - DeveloperName - RecordType - Id EDRDDRcreateRequest - 2.0 - RecordTypeId - MedicationRequest + 1.0 + EDRD_MOHApproved_Frequency__c + Case false - { } false @@ -665,6 +619,20 @@ false false + + false + 0.0 + EDRDDRcreateRequestCustom6466 + DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalFrequencyUnits + 0.0 + 0.0 + EDRDDRcreateRequest + 1.0 + EDRD_MOHApproved_Frequency_Unit__c + Case + false + false + false 0.0 @@ -682,31 +650,31 @@ false - true + false 0.0 - = - EDRDDRcreateRequestCustom0jIAq0000001akbMAAItem27 + EDRDDRcreateRequestCustom2140 + DrugandDosage:InitialDosageDetail:RequestedFundingDurationUnits 0.0 0.0 - FAKEMAPPING EDRDDRcreateRequest - 3.0 - Id - ContentDocumentLink + 1.0 + EDRD_MOHApproved_Funding_Duration_Unit__c + Case false false - true + false 0.0 = - EDRDDRcreateRequestCustom0jIAq0000001akbMAAItem28 + EDRDDRcreateRequestCustom0jIAq0000001akbMAAItem26 0.0 - 0.0 + Id + 1.0 FAKEMAPPING EDRDDRcreateRequest - 4.0 - Id + 3.0 + LinkedEntityId ContentDocumentLink false false @@ -714,27 +682,30 @@ false 0.0 - EDRDDRcreateRequestCustom3015 - DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalDosage + EDRDDRcreateRequestCustom4829 + DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalFundingDurationUnits 0.0 0.0 EDRDDRcreateRequest - 2.0 - Dosage__c - MedicationRequest + 1.0 + EDRD_MOHApproved_Funding_Duration_Unit__c + Case false false + EDRD_Medication_Request false 0.0 - EDRDDRcreateRequestCustom9161 - RequestedNewDosageUnitId + EDRDDRcreateRequestCustom7090 0.0 0.0 + DeveloperName + RecordType + Id EDRDDRcreateRequest 2.0 - Dosage_Units__c + RecordTypeId MedicationRequest false { } @@ -771,8 +742,8 @@ false 0.0 - EDRDDRcreateRequestCustom6533 - DrugandDosage:InitialDosageDetail:RequestedDosage + EDRDDRcreateRequestCustom3015 + DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalDosage 0.0 0.0 EDRDDRcreateRequest @@ -785,42 +756,44 @@ false 0.0 - EDRDDRcreateRequestCustom5180 + EDRDDRcreateRequestCustom9161 RequestedNewDosageUnitId 0.0 0.0 EDRDDRcreateRequest - 1.0 - EDRD_MOHApproved_Dosage_Unit__c - Case + 2.0 + Dosage_Units__c + MedicationRequest false + { } false - false + true 0.0 - EDRDDRcreateRequestCustom9924 - DrugandDosage:InitialDosageDetail:RequestedDosage + = + EDRDDRcreateRequestCustom0jIAq0000001akbMAAItem28 0.0 0.0 + FAKEMAPPING EDRDDRcreateRequest - 1.0 - EDRD_MOHApproved_Dosage__c - Case + 4.0 + Id + ContentDocumentLink false false false 0.0 - EDRDDRcreateRequestCustom7270 - DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalIndefiniteFunding + EDRDDRcreateRequestCustom2926 + DrugandDosage:InitialDosageDetail:NewIndefiniteFunding 0.0 0.0 EDRDDRcreateRequest - 2.0 - EDRD_Indefinite_Funding__c - MedicationRequest + 1.0 + EDRD_MOHIndefinite_Funding__c + Case false false @@ -855,13 +828,55 @@ false 0.0 - EDRDDRcreateRequestCustom2926 - DrugandDosage:InitialDosageDetail:NewIndefiniteFunding + EDRDDRcreateRequestCustom9924 + DrugandDosage:InitialDosageDetail:RequestedDosage 0.0 0.0 EDRDDRcreateRequest 1.0 - EDRD_MOHIndefinite_Funding__c + EDRD_MOHApproved_Dosage__c + Case + false + false + + + false + 0.0 + EDRDDRcreateRequestCustom7270 + DRUGANDDOSAGERENEWAL:RenewalDosageDetail:RenewalIndefiniteFunding + 0.0 + 0.0 + EDRDDRcreateRequest + 2.0 + EDRD_Indefinite_Funding__c + MedicationRequest + false + false + + + false + 0.0 + EDRDDRcreateRequestCustom6533 + DrugandDosage:InitialDosageDetail:RequestedDosage + 0.0 + 0.0 + EDRDDRcreateRequest + 2.0 + Dosage__c + MedicationRequest + false + false + + + false + 0.0 + EDRDDRcreateRequestCustom5180 + RequestedNewDosageUnitId + 0.0 + 0.0 + EDRDDRcreateRequest + 1.0 + EDRD_MOHApproved_Dosage_Unit__c Case false false diff --git a/OmniStudio-Components/main/default/omniScripts/EDRDNewForm_EDRDNewForm_English_1.os-meta.xml b/OmniStudio-Components/main/default/omniScripts/EDRDNewForm_EDRDNewForm_English_1.os-meta.xml index 13e3ccd20..c330cb4fd 100644 --- a/OmniStudio-Components/main/default/omniScripts/EDRDNewForm_EDRDNewForm_English_1.os-meta.xml +++ b/OmniStudio-Components/main/default/omniScripts/EDRDNewForm_EDRDNewForm_English_1.os-meta.xml @@ -32,9 +32,145 @@ } } } - 13.0 + 23.0 OmniScript + + true + false + 0.0 + CreateACRRecords + 0.0 + { + "controlWidth" : 12, + "label" : "CreateACRRecords", + "remoteClass" : "EDRD_EmpiIntegration", + "remoteMethod" : "createACR", + "remoteOptions" : { + "preTransformBundle" : "", + "postTransformBundle" : "" + }, + "remoteTimeout" : 30000, + "preTransformBundle" : "", + "postTransformBundle" : "", + "sendJSONPath" : "", + "sendJSONNode" : "", + "responseJSONPath" : "", + "responseJSONNode" : "", + "extraPayload" : { + "LoginUserAccountId" : "%PrescriberId%", + "PatientContactId" : "%PatientId%" + }, + "inProgressMessage" : "In Progress", + "postMessage" : "Done", + "failureNextLabel" : "Continue", + "failureAbortLabel" : "Abort", + "failureGoBackLabel" : "Go Back", + "failureAbortMessage" : "Are you sure?", + "validationRequired" : "Step", + "redirectPageName" : "", + "redirectTemplateUrl" : "vlcAcknowledge.html", + "redirectNextLabel" : "Next", + "redirectNextWidth" : 3, + "redirectPreviousLabel" : "Previous", + "redirectPreviousWidth" : 3, + "showPersistentComponent" : [ true, false ], + "show" : null, + "HTMLTemplateId" : "", + "wpm" : false, + "ssm" : false, + "message" : { }, + "pubsub" : false, + "svgSprite" : "", + "svgIcon" : "", + "errorMessage" : { + "custom" : [ ], + "default" : null + }, + "enableDefaultAbort" : false, + "enableActionMessage" : false, + "useContinuation" : false, + "businessCategory" : "", + "businessEvent" : "" +} + 55.0 + Remote Action + + + true + false + 0.0 + createUpdatePatient + 0.0 + { + "controlWidth" : 12, + "label" : "CreateUpdatePatient", + "remoteClass" : "EDRD_EmpiIntegration", + "remoteMethod" : "createUpdatePatient", + "remoteOptions" : { + "preTransformBundle" : "", + "postTransformBundle" : "" + }, + "remoteTimeout" : 30000, + "preTransformBundle" : "", + "postTransformBundle" : "", + "sendJSONPath" : "", + "sendJSONNode" : "", + "responseJSONPath" : "", + "responseJSONNode" : "", + "extraPayload" : { + "phn" : "%PatientInformation:PatientIdentifier%", + "firstname" : "%searchOutput:firstName%", + "lastname" : "%searchOutput:lastName%", + "dateOfBirth" : "%searchOutput:dateOfBirth%", + "gender" : "%searchOutput:gender%", + "clickBy" : "EMPICreated" + }, + "inProgressMessage" : "In Progress", + "postMessage" : "Done", + "failureNextLabel" : "Continue", + "failureAbortLabel" : "Abort", + "failureGoBackLabel" : "Go Back", + "failureAbortMessage" : "Are you sure?", + "validationRequired" : "Step", + "redirectPageName" : "", + "redirectTemplateUrl" : "vlcAcknowledge.html", + "redirectNextLabel" : "Next", + "redirectNextWidth" : 3, + "redirectPreviousLabel" : "Previous", + "redirectPreviousWidth" : 3, + "showPersistentComponent" : [ true, false ], + "show" : { + "group" : { + "operator" : "OR", + "rules" : [ { + "data" : "false", + "condition" : "=", + "field" : "PatientInformation:reasonFormula" + } ] + } + }, + "HTMLTemplateId" : "", + "wpm" : false, + "ssm" : false, + "message" : { }, + "pubsub" : false, + "svgSprite" : "", + "svgIcon" : "", + "errorMessage" : { + "custom" : [ ], + "default" : null + }, + "enableDefaultAbort" : false, + "enableActionMessage" : false, + "useContinuation" : false, + "businessCategory" : "", + "businessEvent" : "", + "sendOnlyExtraPayload" : true +} + 7.0 + Remote Action + CrysvitaInitialSubmission|CrysvitaInitialSubmission|English true @@ -57,7 +193,7 @@ } } } - 22.0 + 32.0 OmniScript @@ -73,7 +209,7 @@ "Language" : "English", "show" : null } - 36.0 + 49.0 OmniScript @@ -98,7 +234,7 @@ } } } - 28.0 + 38.0 OmniScript @@ -131,7 +267,7 @@ "showPersistentComponent" : [ true, false ], "show" : { "group" : { - "operator" : "AND", + "operator" : "OR", "rules" : [ { "data" : null, "condition" : "<>", @@ -157,7 +293,7 @@ "businessCategory" : "", "businessEvent" : "" } - 37.0 + 50.0 DataRaptor Post Action @@ -216,7 +352,7 @@ "businessCategory" : "", "businessEvent" : "" } - 38.0 + 51.0 DataRaptor Post Action @@ -275,7 +411,7 @@ "businessCategory" : "", "businessEvent" : "" } - 39.0 + 52.0 DataRaptor Post Action @@ -334,7 +470,7 @@ "businessCategory" : "", "businessEvent" : "" } - 40.0 + 53.0 DataRaptor Post Action @@ -389,7 +525,7 @@ "businessCategory" : "", "businessEvent" : "" } - 41.0 + 54.0 DataRaptor Post Action @@ -464,7 +600,7 @@ "default" : null } } - 1.0 + 2.0 Lookup @@ -492,7 +628,7 @@ "textKey" : "", "sanitize" : false } - 2.0 + 3.0 Text Block @@ -505,7 +641,7 @@ { "controlWidth" : 12, "label" : "TextBlock1", - "text" : "<div>\n<div>\n<div><span style=\"color: #3598db;\"><em><strong>HEALTH CANADA (HC) Recommended Dose &amp; Funding Info for %SelectADrug% :</strong></em></span></div>\n<div>&nbsp;</div>\n<div><span style=\"color: #3598db;\"><em><strong>Initial Dosage :</strong></em> &nbsp;</span>%InitialRecDose%</div>\n</div>\n</div>\n<div><span style=\"color: #3598db;\"><em><strong>Renewal Dosage&nbsp; : </strong></em></span>%RenewalRecDose%</div>\n<div>&nbsp;</div>\n<div><span style=\"color: #3598db;\"><span style=\"color: #3598db;\"><em><strong>Maximum Initiation Funding Duration :&nbsp; </strong></em></span></span>%MaxInitialFundDuration%</div>\n<div><span style=\"color: #3598db;\"><em><strong>Maximum Renewal Funding Duration : </strong></em></span>%MaxRenewFundDuration%</div>", + "text" : "<div>\n<div>\n<div><span style=\"color: #3598db;\"><em><strong>HEALTH CANADA (HC) Recommended Dose &amp; Funding Info for %SelectADrug% :</strong></em></span></div>\n<div>&nbsp;</div>\n<div><span style=\"color: #3598db;\"><strong>Dosage</strong></span></div>\n<div><span style=\"color: #3598db;\"><em><strong>Initial Dosage :</strong></em> &nbsp;</span>%InitialRecDose%</div>\n</div>\n</div>\n<div><span style=\"color: #3598db;\"><em><strong>Renewal Dosage&nbsp; : </strong></em></span>%RenewalRecDose%</div>\n<div>&nbsp;</div>\n<div><span style=\"color: #3598db;\"><strong>Funding Duration</strong></span></div>\n<div><span style=\"color: #3598db;\"><span style=\"color: #3598db;\"><em><strong>Maximum Initiation Funding Duration :&nbsp; </strong></em></span></span>%MaxInitialFundDuration%</div>\n<div><span style=\"color: #3598db;\"><em><strong>Maximum Renewal Funding Duration : </strong></em></span>%MaxRenewFundDuration%</div>", "show" : null, "dataJSON" : false, "HTMLTemplateId" : "", @@ -515,6 +651,21 @@ 0.0 Text Block + + true + false + 2.0 + LineBreak18 + 0.0 + { + "label" : "LineBreak18", + "padding" : 0, + "show" : null, + "HTMLTemplateId" : "" +} + 2.0 + Line Break + true false @@ -539,7 +690,7 @@ "rules" : [ { "field" : "MedicationName", "condition" : "=", - "data" : "cysteamine" + "data" : "cysteamine - Procysbi" } ] } }, @@ -549,9 +700,45 @@ "hide" : false, "disOnTplt" : false } - 5.0 + 7.0 Checkbox + + true + false + 2.0 + PatientWeightDrug + 0.0 + { + "controlWidth" : 6, + "label" : "Please Enter Patient Weight (kg)", + "showInputWidth" : false, + "inputWidth" : 12, + "required" : true, + "repeat" : false, + "repeatClone" : false, + "repeatLimit" : null, + "readOnly" : false, + "defaultValue" : null, + "help" : false, + "helpText" : "", + "helpTextPos" : "", + "pattern" : "", + "ptrnErrText" : "", + "placeholder" : "", + "mask" : "###.##", + "show" : null, + "conditionType" : "Hide if False", + "accessibleInFutureSteps" : false, + "debounceValue" : 0, + "HTMLTemplateId" : "", + "hide" : false, + "disOnTplt" : false, + "autocomplete" : null +} + 1.0 + Number + true false @@ -585,7 +772,7 @@ "disOnTplt" : false, "autocomplete" : null } - 1.0 + 3.0 Number @@ -646,7 +833,7 @@ "default" : null } } - 2.0 + 4.0 Lookup @@ -682,7 +869,7 @@ "disOnTplt" : false, "autocomplete" : null } - 3.0 + 5.0 Number @@ -694,13 +881,12 @@ { "controlWidth" : 6, "label" : "Requested Frequency Units", - "showInputWidth" : false, - "inputWidth" : 12, "required" : true, "repeat" : false, "repeatClone" : false, "repeatLimit" : null, "readOnly" : false, + "horizontalMode" : "displayWide", "defaultValue" : null, "help" : false, "helpText" : "", @@ -720,10 +906,14 @@ "accessibleInFutureSteps" : false, "HTMLTemplateId" : "", "hide" : false, + "optionWidth" : 100, + "optionHeight" : 100, + "imageCountInRow" : 3, + "enableCaption" : true, "disOnTplt" : false } - 4.0 - Select + 6.0 + Radio true @@ -762,7 +952,7 @@ "rules" : [ { "field" : "MedicationName", "condition" : "<>", - "data" : "cysteamine" + "data" : "cysteamine - Procysbi" } ] } } ] @@ -776,7 +966,7 @@ "disOnTplt" : false, "autocomplete" : null } - 6.0 + 8.0 Number @@ -788,13 +978,12 @@ { "controlWidth" : 6, "label" : "Requested Funding Duration Units", - "showInputWidth" : false, - "inputWidth" : 12, "required" : true, "repeat" : false, "repeatClone" : false, "repeatLimit" : null, "readOnly" : false, + "horizontalMode" : "displayWide", "defaultValue" : null, "help" : false, "helpText" : "", @@ -822,7 +1011,7 @@ "rules" : [ { "field" : "MedicationName", "condition" : "<>", - "data" : "cysteamine" + "data" : "cysteamine - Procysbi" } ] } } ] @@ -832,10 +1021,14 @@ "accessibleInFutureSteps" : false, "HTMLTemplateId" : "", "hide" : false, + "optionWidth" : 100, + "optionHeight" : 100, + "imageCountInRow" : 3, + "enableCaption" : true, "disOnTplt" : false } - 7.0 - Select + 9.0 + Radio true false @@ -856,6 +1049,10 @@ "data" : "Other", "condition" : "<>", "field" : "MedicationName" + }, { + "field" : "InitialRecDose", + "condition" : "<>", + "data" : null } ] } }, @@ -864,9 +1061,48 @@ "HTMLTemplateId" : "", "hide" : false } - 8.0 + 10.0 Block + + true + false + 1.0 + LineBreak9 + 0.0 + { + "label" : "LineBreak9", + "padding" : 0, + "show" : null, + "HTMLTemplateId" : "" +} + 7.0 + Line Break + + + true + false + 1.0 + LoadInitialDosage + 0.0 + { + "controlWidth" : 7, + "label" : "LoadInitialDosage", + "showInputWidth" : false, + "inputWidth" : 12, + "expression" : "IF(%InitialRecDose%, true, false)", + "hide" : true, + "show" : null, + "mask" : null, + "dataType" : null, + "hideGroupSep" : false, + "dateFormat" : "MM-dd-yyyy", + "HTMLTemplateId" : "", + "disOnTplt" : false +} + 6.0 + Formula + true false @@ -902,7 +1138,7 @@ "disOnTplt" : false, "autocomplete" : null } - 7.0 + 9.0 Text @@ -940,54 +1176,9 @@ "disOnTplt" : false, "autocomplete" : null } - 6.0 + 8.0 Text - - true - false - 1.0 - PatientWeight - 0.0 - { - "controlWidth" : 4, - "label" : "Please Enter Patient Weight (kg)", - "showInputWidth" : false, - "inputWidth" : 12, - "required" : true, - "repeat" : false, - "repeatClone" : false, - "repeatLimit" : null, - "readOnly" : false, - "defaultValue" : null, - "help" : false, - "helpText" : "", - "helpTextPos" : "", - "pattern" : "", - "ptrnErrText" : "", - "placeholder" : "", - "mask" : "###.##", - "show" : { - "group" : { - "operator" : "AND", - "rules" : [ { - "data" : "true", - "condition" : "=", - "field" : "Weight" - } ] - } - }, - "conditionType" : "Hide if False", - "accessibleInFutureSteps" : false, - "debounceValue" : 0, - "HTMLTemplateId" : "", - "hide" : false, - "disOnTplt" : false, - "autocomplete" : null -} - 5.0 - Number - true @@ -1244,7 +1435,7 @@ "HTMLTemplateId" : "", "hide" : false } - 9.0 + 11.0 Block @@ -1254,8 +1445,8 @@ SearchDrug 0.0 { - "controlWidth" : 4, - "label" : "Select Dosage and Load Initial/Renewal eForm", + "controlWidth" : 5, + "label" : "Load Initial/Renewal eForm", "bundle" : "EDRDDRExtractDosagesInfoNewType", "ignoreCache" : true, "dataRaptor Input Parameters" : [ { @@ -1279,7 +1470,16 @@ "redirectPreviousLabel" : "Previous", "redirectPreviousWidth" : 3, "showPersistentComponent" : [ true, false ], - "show" : null, + "show" : { + "group" : { + "operator" : "AND", + "rules" : [ { + "data" : "false", + "condition" : "=", + "field" : "LoadInitialDosage" + } ] + } + }, "HTMLTemplateId" : "", "wpm" : false, "ssm" : false, @@ -1295,7 +1495,7 @@ "businessEvent" : "", "lwcComponentOverride" : "" } - 4.0 + 5.0 DataRaptor Extract Action @@ -1342,7 +1542,7 @@ } ], "inputParameters" : [ ] }, - "source" : "EDRD_cls_omniSObjectQuery.MedicationNames" + "source" : "EDRD_cls_omniSObjectQueryCallable.MedicationNames" }, "placeholder" : "", "show" : null, @@ -1358,7 +1558,7 @@ }, "lwcComponentOverride" : "" } - 0.0 + 1.0 Lookup @@ -1368,16 +1568,35 @@ TextBlock1 0.0 { - "controlWidth" : 8, + "controlWidth" : 12, "label" : "TextBlock1", - "text" : "", + "text" : "<p><strong>2. Initial Dosage Details</strong></p>", "show" : null, "dataJSON" : false, "HTMLTemplateId" : "", "textKey" : "", "sanitize" : false } - 3.0 + 4.0 + Text Block + + + true + false + 1.0 + TextBlock3 + 0.0 + { + "controlWidth" : 12, + "label" : "TextBlock3", + "text" : "<p><strong>1. Drug and Indication Selection</strong></p>", + "show" : null, + "dataJSON" : false, + "HTMLTemplateId" : "", + "textKey" : "", + "sanitize" : false +} + 0.0 Text Block true @@ -1429,7 +1648,7 @@ "businessCategory" : "", "businessEvent" : "" } - 3.0 + 11.0 Step @@ -1454,7 +1673,32 @@ } } } - 32.0 + 42.0 + OmniScript + + + ElapraseInitialSubmission|ElapraseInitialSubmission|English + true + false + 0.0 + ELAPRASEINITIALSUBMISSION + 0.0 + { + "Type" : "ElapraseInitialSubmission", + "Sub Type" : "ElapraseInitialSubmission", + "Language" : "English", + "show" : { + "group" : { + "operator" : "AND", + "rules" : [ { + "data" : "idursulfase", + "condition" : "=", + "field" : "MedicationName" + } ] + } + } +} + 46.0 OmniScript @@ -1479,7 +1723,7 @@ } } } - 34.0 + 44.0 OmniScript @@ -1504,7 +1748,7 @@ } } } - 25.0 + 35.0 OmniScript @@ -1554,7 +1798,7 @@ "businessCategory" : "", "businessEvent" : "" } - 5.0 + 14.0 DataRaptor Extract Action @@ -1633,7 +1877,7 @@ } } } - 16.0 + 26.0 OmniScript @@ -1658,7 +1902,7 @@ } } } - 29.0 + 39.0 OmniScript @@ -1683,7 +1927,7 @@ } } } - 18.0 + 28.0 OmniScript @@ -1708,7 +1952,7 @@ } } } - 31.0 + 41.0 OmniScript @@ -1733,7 +1977,7 @@ } } } - 11.0 + 21.0 OmniScript @@ -1758,7 +2002,32 @@ } } } - 27.0 + 37.0 + OmniScript + + + LaronidaseInitialSubmission|LaronidaseInitialSubmission|English + true + false + 0.0 + LARONIDASEINITIALSUBMISSION + 0.0 + { + "Type" : "LaronidaseInitialSubmission", + "Sub Type" : "LaronidaseInitialSubmission", + "Language" : "English", + "show" : { + "group" : { + "operator" : "AND", + "rules" : [ { + "data" : "Aldurazyme", + "condition" : "=", + "field" : "MedicationName" + } ] + } + } +} + 45.0 OmniScript @@ -1783,7 +2052,7 @@ } } } - 26.0 + 36.0 OmniScript @@ -1816,7 +2085,7 @@ "message" : { }, "pubsub" : false } - 4.0 + 13.0 Set Errors @@ -1841,144 +2110,378 @@ } } } - 17.0 + 27.0 OmniScript - OnpattroinInitialSubmission|OnpattroinInitialSubmission|English + NaglazymeInitialSubmission|NaglazymeInitialSubmission|English true false 0.0 - ONPATTROINITIALSUBMISSION + NAGLAZYMEINITIALSUBMISSION 0.0 { - "Type" : "OnpattroinInitialSubmission", - "Sub Type" : "OnpattroinInitialSubmission", + "Type" : "NaglazymeInitialSubmission", + "Sub Type" : "NaglazymeInitialSubmission", "Language" : "English", "show" : { "group" : { "operator" : "AND", "rules" : [ { - "data" : "patisiran", + "data" : "galsulfase", "condition" : "=", "field" : "MedicationName" } ] } } } - 21.0 + 47.0 OmniScript - OxlumoIntialSubmission|OxlumoIntialSubmission|English + OnpattroinInitialSubmission|OnpattroinInitialSubmission|English true false 0.0 - OXLUMOINITIALSUBMISSION + ONPATTROINITIALSUBMISSION 0.0 { - "Type" : "OxlumoIntialSubmission", - "Sub Type" : "OxlumoIntialSubmission", + "Type" : "OnpattroinInitialSubmission", + "Sub Type" : "OnpattroinInitialSubmission", "Language" : "English", "show" : { "group" : { "operator" : "AND", "rules" : [ { - "data" : "lumasiran", + "data" : "patisiran", "condition" : "=", "field" : "MedicationName" } ] } } } - 33.0 + 31.0 OmniScript + OxlumoIntialSubmission|OxlumoIntialSubmission|English true false 0.0 - PatientIdentifierWrongError + OXLUMOINITIALSUBMISSION 0.0 { - "controlWidth" : 12, - "label" : "PatientIdentifierWrongError", - "validationRequired" : "Step", - "elementErrorMap" : { - "PatientIdentifier" : "Please Click on Search Patient" - }, - "showPersistentComponent" : [ true, false ], + "Type" : "OxlumoIntialSubmission", + "Sub Type" : "OxlumoIntialSubmission", + "Language" : "English", "show" : { "group" : { "operator" : "AND", "rules" : [ { - "data" : "", + "data" : "lumasiran", "condition" : "=", - "field" : "PatientName" + "field" : "MedicationName" } ] } - }, - "HTMLTemplateId" : "", - "wpm" : false, - "ssm" : false, - "message" : { }, - "pubsub" : false + } } - 2.0 - Set Errors + 43.0 + OmniScript true false 1.0 - CareProgramisInactive + datatableHeader 0.0 { "controlWidth" : 12, - "label" : "CareProgramisInactive", - "validateExpression" : { - "group" : { - "operator" : "AND", - "rules" : [ { - "data" : "Active", - "condition" : "=", - "field" : "CareprogramStatusCheck" - } ] - } - }, - "messages" : [ { - "value" : true, - "type" : "Success", - "text" : "", - "active" : false + "label" : "datatableHeader", + "show" : null, + "conditionType" : "Hide if False", + "hide" : false, + "lwcName" : "cfDataTableHeading", + "bStandalone" : false, + "customAttributes" : [ { + "name" : "parent-data", + "source" : "true" }, { - "value" : false, - "type" : "Requirement", - "text" : "Please activate the patient’s EDRD Care Program enrollee status before creating a case.Contact PHSA PSP for additional information at psp@phsa.ca.", - "active" : true + "name" : "records", + "source" : "%searchOutput%" + } ] +} + 0.0 + Custom Lightning Web Component + + + true + false + 1.0 + showPatientData + 0.0 + { + "customAttributes" : [ { + "name" : "parent-data", + "source" : "true" + }, { + "name" : "records", + "source" : "%searchOutput%" } ], - "hideLabel" : true, + "bStandalone" : true, + "lwcName" : "cfDataTable", + "hide" : false, + "conditionType" : "Hide if False", + "show" : null, + "label" : "PatientInformation", + "controlWidth" : 12 +} + 1.0 + Custom Lightning Web Component + + true + false + 0.0 + PatientDeatils + 0.0 + { + "label" : "PATIENT DETAILS", + "validationRequired" : true, + "previousLabel" : "Previous", + "previousWidth" : 3, + "nextLabel" : "Next", + "nextWidth" : 3, + "cancelLabel" : "Cancel", + "cancelMessage" : "Are you sure?", + "saveLabel" : "Save for later", + "saveMessage" : "Are you sure you want to save it for later?", + "completeLabel" : "Complete", + "completeMessage" : "Are you sure you want to complete the script?", + "instruction" : "", + "showPersistentComponent" : [ true, false ], + "remoteClass" : "", + "remoteMethod" : "", + "remoteTimeout" : 30000, + "remoteOptions" : { }, + "knowledgeOptions" : { + "language" : "English", + "publishStatus" : "Online", + "keyword" : "", + "dataCategoryCriteria" : "", + "remoteTimeout" : 30000, + "typeFilter" : "" + }, "show" : { "group" : { "operator" : "AND", "rules" : [ { - "data" : "Inactive", + "data" : "true", "condition" : "=", - "field" : "CareprogramStatusCheck" + "field" : "PatientInformation:reasonFormula" }, { - "field" : "PatientDeceasedCheck", + "field" : "searchOutput:isClickManulRecord", "condition" : "<>", "data" : "true" - }, { - "field" : "PhnCount", - "condition" : "<>", - "data" : "0" } ] } }, - "HTMLTemplateId" : "" -} + "conditionType" : "Hide if False", + "HTMLTemplateId" : "", + "instructionKey" : "", + "chartLabel" : null, + "allowSaveForLater" : true, + "errorMessage" : { + "custom" : [ ], + "default" : null + }, + "wpm" : false, + "ssm" : false, + "message" : { }, + "pubsub" : false, + "businessCategory" : "", + "businessEvent" : "" +} + 6.0 + Step + + + + + true + false + 2.0 + Birthdate + 0.0 + { + "controlWidth" : 4, + "label" : "Birthdate", + "showInputWidth" : false, + "inputWidth" : 12, + "expression" : "%searchOutput:dateOfBirth%", + "hide" : false, + "show" : null, + "mask" : null, + "dataType" : null, + "hideGroupSep" : false, + "dateFormat" : "MM-dd-yyyy", + "HTMLTemplateId" : "", + "disOnTplt" : false +} + 2.0 + Formula + + + true + false + 2.0 + EMPI + 0.0 + { + "controlWidth" : 12, + "label" : "TextBlock4", + "text" : "<p>EMPI Search Results</p>", + "show" : null, + "dataJSON" : false, + "HTMLTemplateId" : "", + "textKey" : "", + "sanitize" : false +} + 0.0 + Text Block + + + true + false + 2.0 + Gender + 0.0 + { + "disOnTplt" : false, + "HTMLTemplateId" : "", + "dateFormat" : "MM-dd-yyyy", + "hideGroupSep" : false, + "dataType" : null, + "mask" : null, + "show" : null, + "hide" : false, + "expression" : "%searchOutput:gender%", + "inputWidth" : 12, + "showInputWidth" : false, + "label" : "Gender", + "controlWidth" : 4 +} + 3.0 + Formula + + + true + false + 2.0 + PatientName + 0.0 + { + "disOnTplt" : false, + "HTMLTemplateId" : "", + "dateFormat" : "MM-dd-yyyy", + "hideGroupSep" : false, + "dataType" : null, + "mask" : null, + "show" : null, + "hide" : false, + "expression" : "%searchOutput:firstName%+' '+%searchOutput:lastName%", + "inputWidth" : 12, + "showInputWidth" : false, + "label" : "Declared Name", + "controlWidth" : 4 +} + 1.0 + Formula + + true + false + 1.0 + Block + 0.0 + { + "controlWidth" : 12, + "label" : "", + "collapse" : false, + "repeat" : false, + "repeatClone" : false, + "repeatLimit" : null, + "show" : { + "group" : { + "operator" : "OR", + "rules" : [ { + "data" : "true", + "condition" : "=", + "field" : "searchOutput:isPatientFound" + }, { + "field" : "searchOutput:deceased", + "condition" : "=", + "data" : "true" + } ] + } + }, + "conditionType" : "Hide if False", + "accessibleInFutureSteps" : false, + "HTMLTemplateId" : "", + "hide" : false +} + 7.0 + Block + + + false + false + 1.0 + CareProgramisInactive + 0.0 + { + "controlWidth" : 12, + "label" : "CareProgramisInactive", + "validateExpression" : { + "group" : { + "operator" : "AND", + "rules" : [ { + "data" : "Active", + "condition" : "=", + "field" : "CareprogramStatusCheck" + } ] + } + }, + "messages" : [ { + "value" : true, + "type" : "Success", + "text" : "", + "active" : false + }, { + "value" : false, + "type" : "Requirement", + "text" : "Please activate the patient’s EDRD Care Program enrollee status before creating a case.Contact PHSA PSP for additional information at psp@phsa.ca.", + "active" : true + } ], + "hideLabel" : true, + "show" : { + "group" : { + "operator" : "AND", + "rules" : [ { + "data" : "Inactive", + "condition" : "=", + "field" : "CareprogramStatusCheck" + }, { + "field" : "PatientDeceasedCheck", + "condition" : "<>", + "data" : "true" + }, { + "field" : "PhnCount", + "condition" : "<>", + "data" : "0" + } ] + } + }, + "HTMLTemplateId" : "" +} 14.0 Validation @@ -2024,224 +2527,165 @@ true false 1.0 - LineBreak1 + deceasedPatientErrorMessage 0.0 { - "label" : "LineBreak1", - "padding" : 0, - "show" : null, - "HTMLTemplateId" : "" + "HTMLTemplateId" : "", + "show" : { + "group" : { + "operator" : "AND", + "rules" : [ { + "field" : "searchOutput:deceased", + "condition" : "=", + "data" : "true" + }, { + "data" : "false", + "condition" : "=", + "field" : "PatientInformation:reasonFormula" + } ] + } + }, + "hideLabel" : true, + "messages" : [ { + "value" : true, + "type" : "Success", + "text" : "", + "active" : false + }, { + "value" : false, + "type" : "Requirement", + "text" : "We can't create case for Deceased patient, Please Contact PHSA PSP for additional information at psp@phsa.ca.", + "active" : true + } ], + "validateExpression" : { + "group" : { + "operator" : "AND", + "rules" : [ { + "field" : "searchOutput:deceased", + "condition" : "=", + "data" : "true" + }, { + "data" : "true", + "condition" : "=", + "field" : "PatientInformation:reasonFormula" + } ] + } + }, + "label" : "deceasedPatientErrorMessage", + "controlWidth" : 12 } - 3.0 - Line Break + 9.0 + Validation true false 1.0 - LineBreak2 + EnterPHN 0.0 { - "label" : "LineBreak2", - "padding" : 0, + "controlWidth" : 12, + "label" : "TextBlock4", + "text" : "<p><strong>EMPI Patient Search</strong></p>", "show" : null, - "HTMLTemplateId" : "" + "dataJSON" : false, + "HTMLTemplateId" : "", + "textKey" : "", + "sanitize" : false } - 11.0 - Line Break + 4.0 + Text Block true false 1.0 - LineBreak3 + LineBreak1 0.0 { - "label" : "LineBreak3", - "padding" : 3, + "label" : "LineBreak1", + "padding" : 0, "show" : null, "HTMLTemplateId" : "" } - 7.0 + 2.0 Line Break true false 1.0 - LineBreak4 + LineBreak7 0.0 { - "label" : "LineBreak4", - "padding" : 3, + "label" : "LineBreak7", + "padding" : 0, "show" : null, "HTMLTemplateId" : "" } - 9.0 + 3.0 Line Break true false 1.0 - LineBreak6 + Override 0.0 { - "label" : "LineBreak6", - "padding" : 0, + "controlWidth" : 12, + "label" : "TextBlock4", + "text" : "<p><strong>Override</strong></p>", "show" : null, - "HTMLTemplateId" : "" + "dataJSON" : false, + "HTMLTemplateId" : "", + "textKey" : "", + "sanitize" : false } - 13.0 - Line Break + 10.0 + Text Block true false 1.0 - PatientBirthDate + PatientIdentifier 0.0 { - "controlWidth" : 3, - "label" : "Patient BirthDate", + "controlWidth" : 4, + "label" : "Enter PHN", "showInputWidth" : false, "inputWidth" : 12, - "required" : false, + "required" : true, "repeat" : false, "repeatClone" : false, "repeatLimit" : null, - "readOnly" : true, + "readOnly" : false, "defaultValue" : null, "help" : false, "helpText" : "", "helpTextPos" : "", - "dateType" : "string", - "modelDateFormat" : "yyyy-MM-dd", - "dateFormat" : "MM-dd-yyyy", - "show" : null, - "conditionType" : "Hide if False", - "accessibleInFutureSteps" : false, - "HTMLTemplateId" : "", - "hide" : false, - "disOnTplt" : false, - "minDate" : "", - "maxDate" : "" -} - 17.0 - Date - - - true - false - 1.0 - PatientDeceasedErrorMessage - 0.0 - { - "controlWidth" : 12, - "label" : "Messaging1", - "validateExpression" : { - "group" : { - "operator" : "AND", - "rules" : [ { - "data" : "true", - "condition" : "<>", - "field" : "PatientDeceasedCheck" - } ] - } - }, - "messages" : [ { - "value" : true, - "type" : "Success", - "text" : "", - "active" : false - }, { - "value" : false, - "type" : "Requirement", - "text" : "An EDRD case cannot be created for a deceased patient. Please contact PHSA PSP for additional information at psp@phsa.ca.", - "active" : true - } ], - "hideLabel" : true, + "mask" : "", + "pattern" : "", + "ptrnErrText" : "", + "minLength" : 0, + "maxLength" : 20, + "placeholder" : "", "show" : { "group" : { "operator" : "AND", "rules" : [ { - "data" : "true", + "data" : null, "condition" : "=", - "field" : "PatientDeceasedCheck" + "field" : "reason" + }, { + "field" : "PatientIdentifier", + "condition" : ">=", + "data" : "0" } ] } }, - "HTMLTemplateId" : "" -} - 8.0 - Validation - - - true - false - 1.0 - PatientIdentifier - 0.0 - { - "controlWidth" : 2, - "label" : "Enter PHN", - "showInputWidth" : false, - "inputWidth" : 12, - "required" : true, - "repeat" : false, - "repeatClone" : false, - "repeatLimit" : null, - "readOnly" : false, - "defaultValue" : null, - "help" : false, - "helpText" : "", - "helpTextPos" : "", - "mask" : "", - "pattern" : "", - "ptrnErrText" : "", - "minLength" : 0, - "maxLength" : 20, - "placeholder" : "", - "show" : null, - "conditionType" : "Hide if False", - "accessibleInFutureSteps" : false, - "debounceValue" : 0, - "HTMLTemplateId" : "", - "hide" : false, - "disOnTplt" : false, - "autocomplete" : null -} - 1.0 - Text - - - true - false - 1.0 - PatientName - 0.0 - { - "controlWidth" : 4, - "label" : "Patient Name", - "showInputWidth" : false, - "inputWidth" : 12, - "required" : false, - "repeat" : false, - "repeatClone" : false, - "repeatLimit" : null, - "readOnly" : true, - "defaultValue" : null, - "help" : false, - "helpText" : "", - "helpTextPos" : "", - "mask" : "", - "pattern" : "", - "ptrnErrText" : "", - "minLength" : 0, - "maxLength" : 255, - "placeholder" : "", - "show" : null, - "conditionType" : "Hide if False", + "conditionType" : "Optional if False", "accessibleInFutureSteps" : false, "debounceValue" : 0, "HTMLTemplateId" : "", @@ -2249,11 +2693,11 @@ "disOnTplt" : false, "autocomplete" : null } - 16.0 + 5.0 Text - true + false false 1.0 PatientNotenrolledinCareprogram @@ -2311,114 +2755,32 @@ }, "HTMLTemplateId" : "" } - 12.0 + 13.0 Validation true false 1.0 - PhnCount - 0.0 - { - "controlWidth" : null, - "label" : "PhnCount", - "showInputWidth" : false, - "inputWidth" : 12, - "required" : false, - "repeat" : false, - "repeatClone" : false, - "repeatLimit" : null, - "readOnly" : true, - "defaultValue" : null, - "help" : false, - "helpText" : "", - "helpTextPos" : "", - "pattern" : "", - "ptrnErrText" : "", - "placeholder" : "", - "mask" : null, - "show" : null, - "conditionType" : "Hide if False", - "accessibleInFutureSteps" : false, - "debounceValue" : 0, - "HTMLTemplateId" : "", - "hide" : true, - "disOnTplt" : false, - "autocomplete" : null -} - 5.0 - Number - - - true - false - 1.0 - PhnnotAvailableErrorMessage + phnNotFoundErrorMessage 0.0 { "controlWidth" : 12, - "label" : "PhnnotAvailableErrorMessage", + "label" : "phnNotFoundErrorMessage", "validateExpression" : { - "group" : { - "operator" : "OR", - "rules" : [ { - "data" : "null", - "condition" : "<>", - "field" : "PatientAvailabilityCheck" - } ] - } - }, - "messages" : [ { - "value" : true, - "type" : "Success", - "text" : "", - "active" : false - }, { - "value" : false, - "type" : "Requirement", - "text" : "Please enroll the patient into the EDRD Care Program before creating a case. Contact PHSA PSP for additional information at psp@phsa.ca.", - "active" : true - } ], - "hideLabel" : true, - "show" : { "group" : { "operator" : "AND", "rules" : [ { - "data" : "null", + "data" : "false", "condition" : "=", - "field" : "PatientAvailabilityCheck" + "field" : "searchOutput:isPatientFound" }, { - "field" : "PatientDeceasedCheck", - "condition" : "<>", + "field" : "PatientInformation:reasonFormula", + "condition" : "=", "data" : "true" } ] } }, - "HTMLTemplateId" : "" -} - 10.0 - Validation - - - true - false - 1.0 - PhnNotFoundErrorMessage - 0.0 - { - "controlWidth" : 12, - "label" : "PhnNotFoundErrorMessage", - "validateExpression" : { - "group" : { - "operator" : "AND", - "rules" : [ { - "data" : "0", - "condition" : "<>", - "field" : "PhnCount" - } ] - } - }, "messages" : [ { "value" : true, "type" : "Success", @@ -2427,7 +2789,7 @@ }, { "value" : false, "type" : "Requirement", - "text" : "The PHN entered is not associated with the current EDRD management system. Please contact PHSA PSP to set up or link the patient account at psp@phsa.ca.", + "text" : "NO RESULT FOUND", "active" : true } ], "hideLabel" : true, @@ -2435,19 +2797,19 @@ "group" : { "operator" : "AND", "rules" : [ { - "data" : "0", + "data" : "false", "condition" : "=", - "field" : "PhnCount" + "field" : "searchOutput:isPatientFound" }, { - "field" : "PatientAvailabilityCheck", - "condition" : "<>", - "data" : "null" + "field" : "PatientInformation:reasonFormula", + "condition" : "=", + "data" : "false" } ] } }, "HTMLTemplateId" : "" } - 6.0 + 8.0 Validation @@ -2457,7 +2819,7 @@ PrescriberId 0.0 { - "controlWidth" : 6, + "controlWidth" : 4, "label" : "PrescriberId", "showInputWidth" : false, "inputWidth" : 12, @@ -2466,7 +2828,7 @@ "repeatClone" : false, "repeatLimit" : null, "readOnly" : true, - "defaultValue" : null, + "defaultValue" : "%PrescriberId%", "help" : false, "helpText" : "", "helpTextPos" : "", @@ -2475,7 +2837,7 @@ "ptrnErrText" : "", "minLength" : 0, "maxLength" : 255, - "placeholder" : "", + "placeholder" : "Used in DR", "show" : null, "conditionType" : "Hide if False", "accessibleInFutureSteps" : false, @@ -2485,44 +2847,108 @@ "disOnTplt" : false, "autocomplete" : null } - 2.0 + 1.0 Text true false 1.0 - SearchPatient + reason 0.0 { - "controlWidth" : 2, - "label" : "Search Patient", - "integrationProcedureKey" : "EDRDIP_SearchPatient", - "useContinuation" : false, - "remoteOptions" : { - "useFuture" : false, - "chainable" : false, - "preTransformBundle" : "", - "postTransformBundle" : "" + "controlWidth" : 12, + "label" : "Select Overrirde Reason", + "required" : false, + "repeat" : false, + "repeatClone" : false, + "repeatLimit" : null, + "readOnly" : false, + "horizontalMode" : false, + "defaultValue" : null, + "help" : false, + "helpText" : "", + "helpTextPos" : "", + "options" : [ ], + "optionSource" : { + "type" : "SObject", + "source" : "Case.EDRD_Patient_Override_Reason__c" }, - "remoteTimeout" : 30000, - "preTransformBundle" : "", - "postTransformBundle" : "", - "sendJSONPath" : "", - "sendJSONNode" : "", - "responseJSONPath" : "", - "responseJSONNode" : "", - "extraPayload" : { - "PrescriberId" : "%PrescriberId%", - "PatientIdentifier" : "%PatientIdentifier%" + "controllingField" : { + "element" : "", + "type" : "", + "source" : "" }, - "inProgressMessage" : "In Progress", - "postMessage" : "Done", - "failureNextLabel" : "Continue", - "failureAbortLabel" : "Abort", + "show" : null, + "conditionType" : "Hide if False", + "accessibleInFutureSteps" : false, + "HTMLTemplateId" : "", + "hide" : false, + "optionWidth" : 100, + "optionHeight" : 100, + "imageCountInRow" : 3, + "enableCaption" : true, + "disOnTplt" : false +} + 12.0 + Radio + + + true + false + 1.0 + reasonFormula + 0.0 + { + "controlWidth" : 12, + "label" : "reasonFormula", + "showInputWidth" : false, + "inputWidth" : 12, + "expression" : "IF(%reason%, true, false)", + "hide" : true, + "show" : null, + "mask" : null, + "dataType" : null, + "hideGroupSep" : false, + "dateFormat" : "MM-dd-yyyy", + "HTMLTemplateId" : "", + "disOnTplt" : false +} + 15.0 + Formula + + + true + false + 1.0 + searchPatient + 0.0 + { + "controlWidth" : null, + "label" : "Patient Search", + "remoteClass" : "EDRD_EmpiIntegration", + "remoteMethod" : "getEmpidata", + "remoteOptions" : { + "preTransformBundle" : "", + "postTransformBundle" : "" + }, + "remoteTimeout" : 30000, + "preTransformBundle" : "", + "postTransformBundle" : "", + "sendJSONPath" : "", + "sendJSONNode" : "", + "responseJSONPath" : "", + "responseJSONNode" : "", + "extraPayload" : { + "phn" : "%PatientIdentifier%" + }, + "inProgressMessage" : "In Progress", + "postMessage" : "Done", + "failureNextLabel" : "Continue", + "failureAbortLabel" : "Abort", "failureGoBackLabel" : "Go Back", "failureAbortMessage" : "Are you sure?", - "validationRequired" : "None", + "validationRequired" : "Step", "redirectPageName" : "", "redirectTemplateUrl" : "vlcAcknowledge.html", "redirectNextLabel" : "Next", @@ -2544,54 +2970,31 @@ }, "enableDefaultAbort" : false, "enableActionMessage" : false, + "useContinuation" : false, "businessCategory" : "", - "businessEvent" : "" + "businessEvent" : "", + "sendOnlyExtraPayload" : true } - 4.0 - Integration Procedure Action + 6.0 + Remote Action true false 1.0 - TextBlock2 + Text 0.0 { "controlWidth" : 12, - "label" : "TextBlock2", - "text" : "<p><strong data-renderer-mark=\"true\">Email: </strong><a data-testid=\"link-with-safety\" href=\"mailto:psp@phsa.ca\" title=\"mailto:psp@phsa.ca\" data-renderer-mark=\"true\" class=\"css-1rn59kg\"><strong data-renderer-mark=\"true\">psp@phsa.ca</strong></a></p>", - "show" : { - "group" : { - "operator" : "OR", - "rules" : [ { - "data" : "0", - "condition" : "=", - "field" : "PhnCount" - }, { - "field" : "PatientAvailabilityCheck", - "condition" : "=", - "data" : "null" - }, { - "field" : "PatientDeceasedCheck", - "condition" : "=", - "data" : "true" - }, { - "field" : "CareProgramCheck", - "condition" : "=", - "data" : "null" - }, { - "field" : "CareprogramStatusCheck", - "condition" : "=", - "data" : "Inactive" - } ] - } - }, + "label" : "TextBlock4", + "text" : "<p>In case you don't have the patient information you can continue by providing a reason for the override</p>", + "show" : null, "dataJSON" : false, "HTMLTemplateId" : "", "textKey" : "", "sanitize" : false } - 15.0 + 11.0 Text Block true @@ -2636,12 +3039,12 @@ "saveLabel" : "Save for later", "cancelMessage" : "Are you sure?", "cancelLabel" : "Cancel", - "nextWidth" : 3, + "nextWidth" : "3", "nextLabel" : "Next", - "previousWidth" : 3, + "previousWidth" : "3", "previousLabel" : "Previous", "validationRequired" : true, - "label" : "PATIENT INFORMATION" + "label" : "SEARCH PATIENT" } 1.0 Step @@ -2668,7 +3071,7 @@ } } } - 15.0 + 25.0 OmniScript @@ -2728,7 +3131,7 @@ "businessCategory" : "", "businessEvent" : "" } - 42.0 + 56.0 Remote Action @@ -2762,174 +3165,2552 @@ "businessCategory" : "", "businessEvent" : "" } - 44.0 + 58.0 Navigate Action - SolirisaHUSforDeNovoInitial|SolirisaHUSforDeNovoInitial|English - true - false - 0.0 - SOLIRISaHUSFORDENOVOINITIAL - 0.0 - { - "Type" : "SolirisaHUSforDeNovoInitial", - "Sub Type" : "SolirisaHUSforDeNovoInitial", - "Language" : "English", - "show" : { - "group" : { - "operator" : "AND", - "rules" : [ { - "data" : "De novo Disease", - "condition" : "=", - "field" : "TransplantStatusQuestion" - } ] - } - } + + + + true + false + 3.0 + firstname + 0.0 + { + "autocomplete" : null, + "disOnTplt" : false, + "hide" : false, + "HTMLTemplateId" : "", + "debounceValue" : 0, + "accessibleInFutureSteps" : false, + "conditionType" : "Hide if False", + "show" : null, + "placeholder" : "", + "maxLength" : 255, + "minLength" : 0, + "ptrnErrText" : "", + "pattern" : "", + "mask" : "", + "helpTextPos" : "", + "helpText" : "", + "help" : false, + "defaultValue" : null, + "readOnly" : false, + "repeatLimit" : null, + "repeatClone" : false, + "repeat" : false, + "required" : false, + "inputWidth" : 12, + "showInputWidth" : false, + "label" : "First name", + "controlWidth" : 4 } - 7.0 - OmniScript - - - SolirisaHUSforPeriKidneyTransplant|SolirisaHUSforPeriKidneyTransplant|English - true - false - 0.0 - SOLIRISaHUSFORPERIKIDNEYTRANSPLANT - 0.0 - { - "Type" : "SolirisaHUSforPeriKidneyTransplant", - "Sub Type" : "SolirisaHUSforPeriKidneyTransplant", - "Language" : "English", - "show" : { - "group" : { - "operator" : "AND", - "rules" : [ { - "data" : "Peri", - "condition" : "=", - "field" : "TransplantStatusQuestion" - } ] - } - } + 1.0 + Text + + + true + false + 3.0 + lastname + 0.0 + { + "controlWidth" : 4, + "label" : "Last name", + "showInputWidth" : false, + "inputWidth" : 12, + "required" : false, + "repeat" : false, + "repeatClone" : false, + "repeatLimit" : null, + "readOnly" : false, + "defaultValue" : null, + "help" : false, + "helpText" : "", + "helpTextPos" : "", + "mask" : "", + "pattern" : "", + "ptrnErrText" : "", + "minLength" : 0, + "maxLength" : 255, + "placeholder" : "", + "show" : null, + "conditionType" : "Hide if False", + "accessibleInFutureSteps" : false, + "debounceValue" : 0, + "HTMLTemplateId" : "", + "hide" : false, + "disOnTplt" : false, + "autocomplete" : null +} + 2.0 + Text + + + true + false + 3.0 + patientDOB + 0.0 + { + "controlWidth" : 12, + "label" : "Patient Birth Date", + "showInputWidth" : false, + "inputWidth" : 12, + "required" : false, + "repeat" : false, + "repeatClone" : false, + "repeatLimit" : null, + "readOnly" : false, + "defaultValue" : null, + "help" : false, + "helpText" : "", + "helpTextPos" : "", + "dateType" : "string", + "modelDateFormat" : "yyyy-MM-dd", + "dateFormat" : "MM-dd-yyyy", + "show" : null, + "conditionType" : "Hide if False", + "accessibleInFutureSteps" : false, + "HTMLTemplateId" : "", + "hide" : false, + "disOnTplt" : false, + "minDate" : "", + "maxDate" : "" +} + 3.0 + Date + + + true + false + 3.0 + SearchbyDetails + 0.0 + { + "controlWidth" : null, + "label" : "Search by Details", + "remoteClass" : "EDRD_EmpiIntegration", + "remoteMethod" : "getSFdata", + "remoteOptions" : { + "preTransformBundle" : "", + "postTransformBundle" : "" + }, + "remoteTimeout" : 30000, + "preTransformBundle" : "", + "postTransformBundle" : "", + "sendJSONPath" : "", + "sendJSONNode" : "", + "responseJSONPath" : "", + "responseJSONNode" : "", + "extraPayload" : { + "firstname" : "%SearchPatient:blockSearchMain:blockSearchByName:firstname%", + "lastname" : "%SearchPatient:blockSearchMain:blockSearchByName:lastname%", + "dateOfBirth" : "%SearchPatient:blockSearchMain:blockSearchByName:patientDOB%" + }, + "inProgressMessage" : "In Progress", + "postMessage" : "Done", + "failureNextLabel" : "Continue", + "failureAbortLabel" : "Abort", + "failureGoBackLabel" : "Go Back", + "failureAbortMessage" : "Are you sure?", + "validationRequired" : "Step", + "redirectPageName" : "", + "redirectTemplateUrl" : "vlcAcknowledge.html", + "redirectNextLabel" : "Next", + "redirectNextWidth" : 3, + "redirectPreviousLabel" : "Previous", + "redirectPreviousWidth" : 3, + "showPersistentComponent" : [ true, false ], + "show" : null, + "HTMLTemplateId" : "", + "wpm" : false, + "ssm" : false, + "message" : { }, + "pubsub" : false, + "svgSprite" : "", + "svgIcon" : "", + "errorMessage" : { + "custom" : [ ], + "default" : null + }, + "enableDefaultAbort" : false, + "enableActionMessage" : false, + "useContinuation" : false, + "businessCategory" : "", + "businessEvent" : "", + "sendOnlyExtraPayload" : true +} + 4.0 + Remote Action + + + true + false + 3.0 + TextBlock4 + 0.0 + { + "sanitize" : false, + "textKey" : "", + "HTMLTemplateId" : "", + "dataJSON" : false, + "show" : null, + "text" : "<p>Search by patient Details</p>", + "label" : "TextBlock4", + "controlWidth" : 12 +} + 0.0 + Text Block + + true + false + 2.0 + blockSearchByName + 0.0 + { + "hide" : false, + "HTMLTemplateId" : "", + "accessibleInFutureSteps" : false, + "conditionType" : "Hide if False", + "show" : null, + "repeatLimit" : null, + "repeatClone" : false, + "repeat" : false, + "collapse" : false, + "label" : "", + "controlWidth" : 8 +} + 1.0 + Block + + + + true + false + 3.0 + PatientIdentifierSalesforce + 0.0 + { + "controlWidth" : 12, + "label" : "Patient Identifier", + "showInputWidth" : false, + "inputWidth" : 12, + "required" : false, + "repeat" : false, + "repeatClone" : false, + "repeatLimit" : null, + "readOnly" : false, + "defaultValue" : null, + "help" : false, + "helpText" : "", + "helpTextPos" : "", + "mask" : "", + "pattern" : "", + "ptrnErrText" : "", + "minLength" : 0, + "maxLength" : 255, + "placeholder" : "", + "show" : null, + "conditionType" : "Hide if False", + "accessibleInFutureSteps" : false, + "debounceValue" : 0, + "HTMLTemplateId" : "", + "hide" : false, + "disOnTplt" : false, + "autocomplete" : null +} + 1.0 + Text + + + true + false + 3.0 + SearchbyIdentifier + 0.0 + { + "sendOnlyExtraPayload" : true, + "businessEvent" : "", + "businessCategory" : "", + "useContinuation" : false, + "enableActionMessage" : false, + "enableDefaultAbort" : false, + "errorMessage" : { + "default" : null, + "custom" : [ ] + }, + "svgIcon" : "", + "svgSprite" : "", + "pubsub" : false, + "message" : { }, + "ssm" : false, + "wpm" : false, + "HTMLTemplateId" : "", + "show" : null, + "showPersistentComponent" : [ true, false ], + "redirectPreviousWidth" : 3, + "redirectPreviousLabel" : "Previous", + "redirectNextWidth" : 3, + "redirectNextLabel" : "Next", + "redirectTemplateUrl" : "vlcAcknowledge.html", + "redirectPageName" : "", + "validationRequired" : "Step", + "failureAbortMessage" : "Are you sure?", + "failureGoBackLabel" : "Go Back", + "failureAbortLabel" : "Abort", + "failureNextLabel" : "Continue", + "postMessage" : "Done", + "inProgressMessage" : "Please click Next for case creation.", + "extraPayload" : { + "phn" : "%SearchPatient:blockSearchMain:blockSearchByPHN:PatientIdentifierSalesforce%" + }, + "responseJSONNode" : "", + "responseJSONPath" : "", + "sendJSONNode" : "", + "sendJSONPath" : "", + "postTransformBundle" : "", + "preTransformBundle" : "", + "remoteTimeout" : 30000, + "remoteOptions" : { + "preTransformBundle" : "", + "postTransformBundle" : "" + }, + "remoteMethod" : "validatePHN", + "remoteClass" : "EDRD_EmpiIntegration", + "label" : "Search by Identifier", + "controlWidth" : null, + "toastComplete" : false +} + 2.0 + Remote Action + + + true + false + 3.0 + searchText + 0.0 + { + "controlWidth" : 12, + "label" : "TextBlock4", + "text" : "<p>Search by patient Identifier</p>", + "show" : null, + "dataJSON" : false, + "HTMLTemplateId" : "", + "textKey" : "", + "sanitize" : false +} + 0.0 + Text Block + + true + false + 2.0 + blockSearchByPHN + 0.0 + { + "controlWidth" : 4, + "label" : "", + "collapse" : false, + "repeat" : false, + "repeatClone" : false, + "repeatLimit" : null, + "show" : null, + "conditionType" : "Hide if False", + "accessibleInFutureSteps" : false, + "HTMLTemplateId" : "", + "hide" : false +} + 0.0 + Block + + + false + false + 2.0 + Messaging2 + 0.0 + { + "toastMode" : "sticky", + "showMessageAs" : "inline", + "HTMLTemplateId" : "", + "show" : { + "group" : { + "operator" : "AND", + "rules" : [ { + "data" : null, + "condition" : "=", + "field" : "SearchPatient:CreateRecordManually" + }, { + "data" : null, + "condition" : "=", + "field" : "searchOutput" + } ] + } + }, + "hideLabel" : true, + "messages" : [ { + "value" : true, + "type" : "Warning", + "text" : "test", + "active" : true + }, { + "value" : false, + "type" : "Warning", + "text" : "Please Search the data", + "active" : false + } ], + "validateExpression" : { + "group" : { + "operator" : "AND", + "rules" : [ { + "data" : null, + "condition" : "=", + "field" : "SearchPatient:CreateRecordManually " + }, { + "field" : "searchOutput", + "condition" : "=", + "data" : null + } ] + } + }, + "label" : "searchPatientResultMessage", + "controlWidth" : 12 +} + 3.0 + Validation + + + true + false + 2.0 + searchPatientResultMessage + 0.0 + { + "controlWidth" : 12, + "label" : "searchPatientResultMessage", + "validateExpression" : { + "group" : { + "operator" : "AND", + "rules" : [ { + "field" : "SearchPatient:CreateRecordManually ", + "condition" : "=", + "data" : null + }, { + "group" : { + "operator" : "OR", + "rules" : [ { + "field" : "searchOutput:isClickSFsearch", + "condition" : "=", + "data" : "true" + }, { + "field" : "searchOutput|1:isClickSFsearch", + "condition" : "=", + "data" : "true" + } ] + } + }, { + "group" : { + "operator" : "OR", + "rules" : [ { + "field" : "searchOutput:isPatientFound", + "condition" : "=", + "data" : "true" + }, { + "field" : "searchOutput|1:isPatientFound", + "condition" : "=", + "data" : "true" + } ] + } + } ] + } + }, + "messages" : [ { + "value" : true, + "type" : "Success", + "text" : "The patient details matching the search have been found. Please click \"Next\" to view the patient, and then click \"Select Patient\" to proceed.", + "active" : true + }, { + "value" : false, + "type" : "Warning", + "text" : "", + "active" : false + } ], + "hideLabel" : true, + "show" : { + "group" : { + "operator" : "AND", + "rules" : [ { + "field" : "SearchPatient:CreateRecordManually", + "condition" : "=", + "data" : null + }, { + "group" : { + "operator" : "OR", + "rules" : [ { + "field" : "searchOutput|1:isClickSFsearch", + "condition" : "=", + "data" : "true" + }, { + "field" : "searchOutput:isClickSFsearch", + "condition" : "=", + "data" : "true" + } ] + } + }, { + "group" : { + "operator" : "OR", + "rules" : [ { + "field" : "searchOutput:isPatientFound", + "condition" : "=", + "data" : "true" + }, { + "field" : "searchOutput|1:isPatientFound", + "condition" : "=", + "data" : "true" + } ] + } + }, { + "field" : "searchOutput", + "condition" : "<>", + "data" : null + } ] + } + }, + "HTMLTemplateId" : "", + "showMessageAs" : "inline", + "toastMode" : "sticky" +} + 2.0 + Validation + + + true + false + 2.0 + serachPatientNotFound + 0.0 + { + "toastMode" : "sticky", + "showMessageAs" : "inline", + "HTMLTemplateId" : "", + "show" : { + "group" : { + "operator" : "AND", + "rules" : [ { + "data" : null, + "condition" : "=", + "field" : "SearchPatient:CreateRecordManually" + }, { + "group" : { + "operator" : "OR", + "rules" : [ { + "field" : "searchOutput:isClickSFsearch", + "condition" : "=", + "data" : "true" + }, { + "field" : "searchOutput|1:isClickSFsearch", + "condition" : "=", + "data" : "true" + } ] + } + }, { + "group" : { + "operator" : "OR", + "rules" : [ { + "field" : "searchOutput:isPatientFound", + "condition" : "=", + "data" : "false" + }, { + "field" : "searchOutput|1:isPatientFound", + "condition" : "=", + "data" : "false" + } ] + } + }, { + "field" : "searchOutput", + "condition" : "<>", + "data" : null + } ] + } + }, + "hideLabel" : true, + "messages" : [ { + "value" : true, + "type" : "Success", + "text" : "", + "active" : false + }, { + "value" : false, + "type" : "Warning", + "text" : "NO RESULT FOUND", + "active" : true + } ], + "validateExpression" : { + "group" : { + "operator" : "AND", + "rules" : [ { + "data" : "", + "condition" : "<>", + "field" : "SearchPatient:CreateRecordManually" + } ] + } + }, + "label" : "serachPatientNotFound", + "controlWidth" : 12 +} + 4.0 + Validation + + true + false + 1.0 + blockSearchMain + 0.0 + { + "hide" : false, + "HTMLTemplateId" : "", + "accessibleInFutureSteps" : false, + "conditionType" : "Hide if False", + "show" : null, + "repeatLimit" : null, + "repeatClone" : false, + "repeat" : false, + "collapse" : false, + "label" : "", + "controlWidth" : 12 +} + 2.0 + Block + + + true + false + 1.0 + CreateRecordManually + 0.0 + { + "controlWidth" : 12, + "label" : "", + "required" : false, + "repeat" : false, + "repeatClone" : false, + "repeatLimit" : null, + "readOnly" : false, + "horizontalMode" : false, + "defaultValue" : null, + "help" : false, + "helpText" : "", + "helpTextPos" : "", + "options" : [ { + "name" : "Create Record Manually", + "developerName" : null, + "value" : "Create Record Manually" + } ], + "optionSource" : { + "type" : "", + "source" : "" + }, + "controllingField" : { + "element" : "", + "type" : "", + "source" : "" + }, + "show" : null, + "conditionType" : "Hide if False", + "accessibleInFutureSteps" : false, + "HTMLTemplateId" : "", + "hide" : false, + "optionWidth" : 100, + "optionHeight" : 100, + "imageCountInRow" : 3, + "enableCaption" : true, + "disOnTplt" : false +} + 6.0 + Multi-select + + + true + false + 1.0 + LineBreak10 + 0.0 + { + "label" : "LineBreak10", + "padding" : 0, + "show" : null, + "HTMLTemplateId" : "" +} + 3.0 + Line Break + + + true + false + 1.0 + LineBreak11 + 0.0 + { + "HTMLTemplateId" : "", + "show" : null, + "padding" : 0, + "label" : "LineBreak10" +} + 1.0 + Line Break + + + true + false + 1.0 + seachPatientNew + 0.0 + { + "controlWidth" : 12, + "label" : "TextBlock4", + "text" : "<p><strong>Search Patient by Details&nbsp;&nbsp;</strong></p>", + "show" : null, + "dataJSON" : false, + "HTMLTemplateId" : "", + "textKey" : "", + "sanitize" : false +} + 0.0 + Text Block + + + + true + false + 2.0 + calcSearchOutputLeng + 0.0 + { + "controlWidth" : 12, + "label" : "calcSearchOutputLeng", + "showInputWidth" : false, + "inputWidth" : 12, + "expression" : "", + "hide" : true, + "show" : null, + "mask" : null, + "dataType" : null, + "hideGroupSep" : false, + "dateFormat" : "MM-dd-yyyy", + "HTMLTemplateId" : "", + "disOnTplt" : false +} + 5.0 + Formula + + + true + false + 2.0 + LineBreak2 + 0.0 + { + "label" : "LineBreak2", + "padding" : 0, + "show" : null, + "HTMLTemplateId" : "" +} + 2.0 + Line Break + + + true + false + 2.0 + LineBreak3 + 0.0 + { + "label" : "LineBreak3", + "padding" : 3, + "show" : null, + "HTMLTemplateId" : "" +} + 1.0 + Line Break + + + true + false + 2.0 + LineBreak4 + 0.0 + { + "label" : "LineBreak4", + "padding" : 3, + "show" : null, + "HTMLTemplateId" : "" +} + 7.0 + Line Break + + + true + false + 2.0 + LineBreak5 + 0.0 + { + "HTMLTemplateId" : "", + "show" : null, + "padding" : 3, + "label" : "LineBreak3" +} + 0.0 + Line Break + + + true + false + 2.0 + LineBreak6 + 0.0 + { + "label" : "LineBreak6", + "padding" : 0, + "show" : null, + "HTMLTemplateId" : "" +} + 8.0 + Line Break + + + + true + false + 3.0 + CreateRecordSuccessMessage + 0.0 + { + "HTMLTemplateId" : "", + "show" : { + "group" : { + "operator" : "AND", + "rules" : [ { + "field" : "CreateRecordManually", + "condition" : "<>", + "data" : null + }, { + "field" : "searchOutput:phn", + "condition" : "=", + "data" : "%patientIdentifier%" + }, { + "field" : "searchOutput:isClickManulRecord", + "condition" : "=", + "data" : "true" + } ] + } + }, + "hideLabel" : true, + "messages" : [ { + "value" : true, + "type" : "Success", + "text" : "The record has been created. Please click \"Next\" to continue.", + "active" : true + }, { + "value" : false, + "type" : "Requirement", + "text" : "", + "active" : false + } ], + "validateExpression" : { + "group" : { + "operator" : "AND", + "rules" : [ { + "field" : "CreateRecordManually", + "condition" : "<>", + "data" : null + }, { + "field" : "searchOutput:isClickManulRecord", + "condition" : "=", + "data" : "true" + }, { + "field" : "searchOutput:phn", + "condition" : "=", + "data" : "%patientIdentifier%" + } ] + } + }, + "label" : "Create Record Success Message", + "controlWidth" : 12 +} + 9.0 + Validation + + + true + false + 3.0 + dateOfBirth + 0.0 + { + "controlWidth" : null, + "label" : "Patient Birth Date", + "showInputWidth" : false, + "inputWidth" : 12, + "required" : true, + "repeat" : false, + "repeatClone" : false, + "repeatLimit" : null, + "readOnly" : false, + "defaultValue" : null, + "help" : false, + "helpText" : "", + "helpTextPos" : "", + "dateType" : "string", + "modelDateFormat" : "yyyy-MM-dd", + "dateFormat" : "MM-dd-yyyy", + "show" : { + "group" : { + "operator" : "AND", + "rules" : [ { + "data" : null, + "condition" : "<>", + "field" : "CreateRecordManually" + } ] + } + }, + "conditionType" : "Optional if False", + "accessibleInFutureSteps" : false, + "HTMLTemplateId" : "", + "hide" : false, + "disOnTplt" : false, + "minDate" : "", + "maxDate" : "" +} + 2.0 + Date + + + true + false + 3.0 + firstName + 0.0 + { + "controlWidth" : 4, + "label" : "First name", + "showInputWidth" : false, + "inputWidth" : 12, + "required" : true, + "repeat" : false, + "repeatClone" : false, + "repeatLimit" : null, + "readOnly" : false, + "defaultValue" : null, + "help" : false, + "helpText" : "", + "helpTextPos" : "", + "mask" : "", + "pattern" : "", + "ptrnErrText" : "", + "minLength" : 0, + "maxLength" : 255, + "placeholder" : "", + "show" : { + "group" : { + "operator" : "AND", + "rules" : [ { + "data" : null, + "condition" : "<>", + "field" : "CreateRecordManually" + } ] + } + }, + "conditionType" : "Optional if False", + "accessibleInFutureSteps" : false, + "debounceValue" : 0, + "HTMLTemplateId" : "", + "hide" : false, + "disOnTplt" : false, + "autocomplete" : null +} + 0.0 + Text + + + true + false + 3.0 + gender + 0.0 + { + "controlWidth" : 3, + "label" : "Gender", + "showInputWidth" : false, + "inputWidth" : 12, + "required" : false, + "repeat" : false, + "repeatClone" : false, + "repeatLimit" : null, + "readOnly" : false, + "defaultValue" : null, + "help" : false, + "helpText" : "", + "helpTextPos" : "", + "options" : [ ], + "optionSource" : { + "type" : "SObject", + "source" : "Contact.Gender" + }, + "controllingField" : { + "element" : "", + "type" : "", + "source" : "" + }, + "show" : null, + "conditionType" : "Hide if False", + "accessibleInFutureSteps" : false, + "HTMLTemplateId" : "", + "hide" : false, + "disOnTplt" : false +} + 3.0 + Select + + + true + false + 3.0 + lastName + 0.0 + { + "controlWidth" : 3, + "label" : "Last Name", + "showInputWidth" : false, + "inputWidth" : 12, + "required" : true, + "repeat" : false, + "repeatClone" : false, + "repeatLimit" : null, + "readOnly" : false, + "defaultValue" : null, + "help" : false, + "helpText" : "", + "helpTextPos" : "", + "mask" : "", + "pattern" : "", + "ptrnErrText" : "", + "minLength" : 0, + "maxLength" : 255, + "placeholder" : "", + "show" : { + "group" : { + "operator" : "AND", + "rules" : [ { + "data" : null, + "condition" : "<>", + "field" : "CreateRecordManually" + } ] + } + }, + "conditionType" : "Optional if False", + "accessibleInFutureSteps" : false, + "debounceValue" : 0, + "HTMLTemplateId" : "", + "hide" : false, + "disOnTplt" : false, + "autocomplete" : null +} + 1.0 + Text + + + true + false + 3.0 + LineBreak8 + 0.0 + { + "label" : "LineBreak8", + "padding" : 0, + "show" : null, + "HTMLTemplateId" : "" +} + 5.0 + Line Break + + + true + false + 3.0 + patientId + 0.0 + { + "controlWidth" : null, + "label" : "patientId", + "showInputWidth" : false, + "inputWidth" : 12, + "expression" : "IF(%searchOutput:patientId% == NULL, true, false)", + "hide" : true, + "show" : null, + "mask" : null, + "dataType" : null, + "hideGroupSep" : false, + "dateFormat" : "MM-dd-yyyy", + "HTMLTemplateId" : "", + "disOnTplt" : false +} + 8.0 + Formula + + + true + false + 3.0 + patientIdentifier + 0.0 + { + "controlWidth" : 4, + "label" : "Patient Identifier", + "showInputWidth" : false, + "inputWidth" : 12, + "required" : false, + "repeat" : false, + "repeatClone" : false, + "repeatLimit" : null, + "readOnly" : false, + "defaultValue" : null, + "help" : false, + "helpText" : "", + "helpTextPos" : "", + "mask" : "", + "pattern" : "", + "ptrnErrText" : "", + "minLength" : 0, + "maxLength" : 255, + "placeholder" : "", + "show" : null, + "conditionType" : "Hide if False", + "accessibleInFutureSteps" : false, + "debounceValue" : 0, + "HTMLTemplateId" : "", + "hide" : false, + "disOnTplt" : false, + "autocomplete" : null +} + 4.0 + Text + + + true + false + 3.0 + PHNValidationMessage + 0.0 + { + "controlWidth" : 12, + "label" : "msgVlidationPHN", + "validateExpression" : { + "group" : { + "operator" : "AND", + "rules" : [ { + "data" : "true", + "condition" : "=", + "field" : "searchOutput:isPatientFound" + }, { + "field" : "searchOutput:isValidatePHNClick", + "condition" : "=", + "data" : "true" + }, { + "field" : "patientIdentifier", + "condition" : "<>", + "data" : null + }, { + "field" : "searchOutput:phn", + "condition" : "=", + "data" : "%patientIdentifier%" + } ] + } + }, + "messages" : [ { + "value" : true, + "type" : "Warning", + "text" : "PHN is already present in Pharma Org. Please search patient using the PHN to continue.", + "active" : true + }, { + "value" : false, + "type" : "Requirement", + "text" : "PHN is already present in Pharma Org. Please search patient using the PHN to continue.", + "active" : false + } ], + "hideLabel" : true, + "show" : { + "group" : { + "operator" : "AND", + "rules" : [ { + "data" : null, + "condition" : "<>", + "field" : "searchOutput" + } ] + } + }, + "HTMLTemplateId" : "" +} + 10.0 + Validation + + + true + false + 3.0 + remoteActionCreateRecord + 0.0 + { + "businessEvent" : "", + "businessCategory" : "", + "useContinuation" : false, + "enableActionMessage" : false, + "enableDefaultAbort" : false, + "errorMessage" : { + "default" : "Record did not created.", + "custom" : [ { + "message" : "", + "value" : "", + "path" : "" + } ] + }, + "svgIcon" : "", + "svgSprite" : "", + "pubsub" : false, + "message" : { }, + "ssm" : false, + "wpm" : false, + "HTMLTemplateId" : "", + "show" : { + "group" : { + "operator" : "AND", + "rules" : [ { + "group" : { + "operator" : "OR", + "rules" : [ { + "field" : "PatientFoundForPHNFormula", + "condition" : "=", + "data" : "true" + }, { + "group" : { + "operator" : "AND", + "rules" : [ { + "field" : "searchOutput:isValidatePHNClick", + "condition" : "=", + "data" : "true" + }, { + "field" : "patientIdentifier", + "condition" : "<>", + "data" : null + } ] + } + } ] + } + } ] + } + }, + "showPersistentComponent" : [ true, false ], + "redirectPreviousWidth" : 3, + "redirectPreviousLabel" : "Previous", + "redirectNextWidth" : 3, + "redirectNextLabel" : "Next", + "redirectTemplateUrl" : "vlcAcknowledge.html", + "redirectPageName" : "", + "validationRequired" : "Step", + "failureAbortMessage" : "Are you sure?", + "failureGoBackLabel" : "Go Back", + "failureAbortLabel" : "Abort", + "failureNextLabel" : "Continue", + "postMessage" : "Done", + "inProgressMessage" : "In Progress", + "extraPayload" : { + "dateOfBirth" : "%dateOfBirth%", + "lastName" : "%lastName%", + "firstName" : "%firstName%", + "phn" : "%patientIdentifier%", + "gender" : "%gender%", + "clickBy" : "manullyCreated" + }, + "responseJSONNode" : "", + "responseJSONPath" : "", + "sendJSONNode" : "", + "sendJSONPath" : "", + "postTransformBundle" : "", + "preTransformBundle" : "", + "remoteTimeout" : 30000, + "remoteOptions" : { + "postTransformBundle" : "", + "preTransformBundle" : "" + }, + "remoteMethod" : "createPatientInSF", + "remoteClass" : "EDRD_EmpiIntegration", + "label" : "Create Record", + "controlWidth" : 3 +} + 7.0 + Remote Action + + + true + false + 3.0 + validatePHN + 0.0 + { + "controlWidth" : 3, + "label" : "Validate PHN", + "remoteClass" : "EDRD_EmpiIntegration", + "remoteMethod" : "validatePHN", + "remoteOptions" : { + "preTransformBundle" : "", + "postTransformBundle" : "" + }, + "remoteTimeout" : 30000, + "preTransformBundle" : "", + "postTransformBundle" : "", + "sendJSONPath" : "", + "sendJSONNode" : "", + "responseJSONPath" : "", + "responseJSONNode" : "", + "extraPayload" : { + "phn" : "%patientIdentifier%" + }, + "inProgressMessage" : "In Progress", + "postMessage" : "Done", + "failureNextLabel" : "Continue", + "failureAbortLabel" : "Abort", + "failureGoBackLabel" : "Go Back", + "failureAbortMessage" : "Are you sure?", + "validationRequired" : "Step", + "redirectPageName" : "", + "redirectTemplateUrl" : "vlcAcknowledge.html", + "redirectNextLabel" : "Next", + "redirectNextWidth" : 3, + "redirectPreviousLabel" : "Previous", + "redirectPreviousWidth" : 3, + "showPersistentComponent" : [ true, false ], + "show" : { + "group" : { + "operator" : "AND", + "rules" : [ { + "data" : null, + "condition" : "<>", + "field" : "patientIdentifier" + } ] + } + }, + "HTMLTemplateId" : "", + "wpm" : false, + "ssm" : false, + "message" : { }, + "pubsub" : false, + "svgSprite" : "", + "svgIcon" : "", + "errorMessage" : { + "custom" : [ { + "path" : "", + "value" : "", + "message" : "" + } ], + "default" : "Record did not created." + }, + "enableDefaultAbort" : false, + "enableActionMessage" : false, + "useContinuation" : false, + "businessCategory" : "", + "businessEvent" : "" +} + 6.0 + Remote Action + + true + false + 2.0 + OverrideSelect + 0.0 + { + "controlWidth" : null, + "label" : "", + "collapse" : false, + "repeat" : false, + "repeatClone" : false, + "repeatLimit" : null, + "show" : { + "group" : { + "operator" : "AND", + "rules" : [ { + "data" : "Create Record Manually", + "condition" : "=", + "field" : "CreateRecordManually" + } ] + } + }, + "conditionType" : "Hide if False", + "accessibleInFutureSteps" : false, + "HTMLTemplateId" : "", + "hide" : false +} + 3.0 + Block + + + true + false + 2.0 + PatientFoundForPHNFormula + 0.0 + { + "controlWidth" : 12, + "label" : "PatientFoundForPHNFormula", + "showInputWidth" : false, + "inputWidth" : 12, + "expression" : "IF((%firstName% != null && %lastName% != null && %dateOfBirth% != null && %patientIdentifier% == null) ||(%patientIdentifier% != null && %searchOutput:isPatientFound% == false && %searchOutput:isValidatePHNClick% == true),true,false)", + "hide" : true, + "show" : null, + "mask" : null, + "dataType" : null, + "hideGroupSep" : false, + "dateFormat" : "MM-dd-yyyy", + "HTMLTemplateId" : "", + "disOnTplt" : false +} + 4.0 + Formula + + + true + false + 2.0 + PhnAvailableErrorMessage + 0.0 + { + "controlWidth" : 12, + "label" : "PhnAvailableErrorMessage", + "validateExpression" : { + "group" : { + "operator" : "AND", + "rules" : [ { + "data" : "true", + "condition" : "=", + "field" : "searchOutput:isPatientFound" + }, { + "field" : "patientIdentifier", + "condition" : "<>", + "data" : "null" + } ] + } + }, + "messages" : [ { + "value" : true, + "type" : "Success", + "text" : "", + "active" : false + }, { + "value" : false, + "type" : "Requirement", + "text" : "Please enroll the patient into the EDRD Care Program before creating a case. Contact PHSA PSP for additional information at psp@phsa.ca.", + "active" : false + } ], + "hideLabel" : true, + "show" : null, + "HTMLTemplateId" : "", + "showMessageAs" : "toast", + "toastMode" : "sticky" +} + 6.0 + Validation + + true + false + 1.0 + SearchPatientSelect + 0.0 + { + "controlWidth" : 12, + "label" : "", + "collapse" : false, + "repeat" : false, + "repeatClone" : false, + "repeatLimit" : null, + "show" : { + "group" : { + "operator" : "AND", + "rules" : [ { + "data" : "Create Record Manually", + "condition" : "=", + "field" : "CreateRecordManually" + } ] + } + }, + "conditionType" : "Hide if False", + "accessibleInFutureSteps" : false, + "HTMLTemplateId" : "", + "hide" : false +} + 7.0 + Block + + + true + false + 1.0 + TextBlock5 + 0.0 + { + "controlWidth" : 12, + "label" : "TextBlock5", + "text" : "<p>New Patient</p>", + "show" : null, + "dataJSON" : false, + "HTMLTemplateId" : "", + "textKey" : "", + "sanitize" : false +} + 4.0 + Text Block + + + true + false + 1.0 + TextBlock6 + 0.0 + { + "sanitize" : false, + "textKey" : "", + "HTMLTemplateId" : "", + "dataJSON" : false, + "show" : null, + "text" : "<p>No record found? create a new one</p>", + "label" : "TextBlock5", + "controlWidth" : 12 +} + 5.0 + Text Block + + true + false + 0.0 + SearchPatient + 0.0 + { + "label" : "SEARCH PATIENT", + "validationRequired" : true, + "previousLabel" : "Previous", + "previousWidth" : 3, + "nextLabel" : "Next", + "nextWidth" : 3, + "cancelLabel" : "Cancel", + "cancelMessage" : "Are you sure?", + "saveLabel" : "Save for later", + "saveMessage" : "Are you sure you want to save it for later?", + "completeLabel" : "Complete", + "completeMessage" : "Are you sure you want to complete the script?", + "instruction" : "", + "showPersistentComponent" : [ true, false ], + "remoteClass" : "", + "remoteMethod" : "", + "remoteTimeout" : 30000, + "remoteOptions" : { }, + "knowledgeOptions" : { + "language" : "English", + "publishStatus" : "Online", + "keyword" : "", + "dataCategoryCriteria" : "", + "remoteTimeout" : 30000, + "typeFilter" : "" + }, + "show" : { + "group" : { + "operator" : "AND", + "rules" : [ { + "data" : "true", + "condition" : "=", + "field" : "PatientInformation:reasonFormula" + } ] + } + }, + "conditionType" : "Hide if False", + "HTMLTemplateId" : "", + "instructionKey" : "", + "chartLabel" : null, + "allowSaveForLater" : true, + "errorMessage" : { + "custom" : [ ], + "default" : null + }, + "wpm" : false, + "ssm" : false, + "message" : { }, + "pubsub" : false, + "businessCategory" : "", + "businessEvent" : "" +} + 3.0 + Step + + + true + false + 0.0 + SetErrorSearchPatient + 0.0 + { + "controlWidth" : 12, + "label" : "SetErrorSearchPatient", + "validationRequired" : "Step", + "elementErrorMap" : { + "searchPatientResultMessage" : "=" + }, + "showPersistentComponent" : [ true, false ], + "show" : { + "group" : { + "operator" : "AND", + "rules" : [ { + "data" : "false", + "condition" : "=", + "field" : "searchDetailsError" + } ] + } + }, + "HTMLTemplateId" : "", + "wpm" : false, + "ssm" : false, + "message" : { }, + "pubsub" : false, + "lwcComponentOverride" : "" +} + 5.0 + Set Errors + + + true + false + 0.0 + SetErrorValuesForSearchDeatils + 0.0 + { + "controlWidth" : 12, + "label" : "SetErrorValuesForSearchDeatils", + "elementValueMap" : { + "searchDetailsError" : "=IF(%searchOutput%, true, false)" + }, + "showPersistentComponent" : [ true, false ], + "show" : null, + "HTMLTemplateId" : "", + "wpm" : false, + "ssm" : false, + "message" : { }, + "pubsub" : false +} + 4.0 + Set Values + + + true + false + 0.0 + SetPatientIdByEmpiSearch + 0.0 + { + "controlWidth" : 12, + "label" : "SetPatientIdByEmpiSearch(Account:PersonContactId)", + "elementValueMap" : { + "PatientIdentifier" : "%PatientIdentifier%", + "PatientId" : "%searchOutput:patientId%", + "PatAccId" : "%searchOutput:patientaccountId%", + "PatientAccountId" : "%searchOutput:patientaccountId%" + }, + "showPersistentComponent" : [ true, false ], + "show" : { + "group" : { + "operator" : "AND", + "rules" : [ { + "data" : "false", + "condition" : "=", + "field" : "reasonFormula" + } ] + } + }, + "HTMLTemplateId" : "", + "wpm" : false, + "ssm" : false, + "message" : { }, + "pubsub" : false +} + 8.0 + Set Values + + + true + false + 0.0 + SetPatientIdByManullyCreation + 0.0 + { + "controlWidth" : 12, + "label" : "SetPatientIdByManullyCreation(Account:PersonContactId)", + "elementValueMap" : { + "PatientId" : "%searchOutput:patientId%", + "PatientAccountId" : "%searchOutput:patientaccountId%" + }, + "showPersistentComponent" : [ true, false ], + "show" : { + "group" : { + "operator" : "AND", + "rules" : [ { + "data" : "true", + "condition" : "=", + "field" : "reasonFormula" + }, { + "field" : "searchOutput:isClickManulRecord", + "condition" : "=", + "data" : "true" + } ] + } + }, + "HTMLTemplateId" : "", + "wpm" : false, + "ssm" : false, + "message" : { }, + "pubsub" : false +} + 10.0 + Set Values + + + true + false + 0.0 + SetPatientIdBySFSearch + 0.0 + { + "controlWidth" : 12, + "label" : "SetPatientIdBySFSearch", + "elementValueMap" : { + "PatientId" : "%PatientDeatils:showPatientData:selectedPatient:selectedId%", + "PatientAccountId" : "%PatientDeatils:showPatientData:selectedPatient:selectedPatientAccountId%" + }, + "showPersistentComponent" : [ true, false ], + "show" : { + "group" : { + "operator" : "AND", + "rules" : [ { + "data" : "true", + "condition" : "=", + "field" : "reasonFormula" + }, { + "field" : "CreateRecordManually", + "condition" : "=", + "data" : null + } ] + } + }, + "HTMLTemplateId" : "", + "wpm" : false, + "ssm" : false, + "message" : { }, + "pubsub" : false +} + 9.0 + Set Values + + + true + false + 0.0 + SetValuesDrugandDosage + 0.0 + { + "controlWidth" : 12, + "label" : "SetValuesDrugandDosage", + "elementValueMap" : { + "PatientWeight" : "%DrugandDosage:InitialDosageDetail:PatientWeightDrug%" + }, + "showPersistentComponent" : [ true, false ], + "show" : null, + "HTMLTemplateId" : "", + "wpm" : false, + "ssm" : false, + "message" : { }, + "pubsub" : false +} + 12.0 + Set Values + + + true + false + 0.0 + SetValuesForProviderId + 0.0 + { + "controlWidth" : 12, + "label" : "SetValuesForProviderId", + "elementValueMap" : { + "ProviderId" : "%ProviderId%", + "PrescriberId" : "%PrescriberId%" + }, + "showPersistentComponent" : [ true, false ], + "show" : null, + "HTMLTemplateId" : "", + "wpm" : false, + "ssm" : false, + "message" : { }, + "pubsub" : false +} + 2.0 + Set Values + + + SolirisaHUSforDeNovoInitial|SolirisaHUSforDeNovoInitial|English + true + false + 0.0 + SOLIRISaHUSFORDENOVOINITIAL + 0.0 + { + "Type" : "SolirisaHUSforDeNovoInitial", + "Sub Type" : "SolirisaHUSforDeNovoInitial", + "Language" : "English", + "show" : { + "group" : { + "operator" : "AND", + "rules" : [ { + "data" : "De novo Disease", + "condition" : "=", + "field" : "TransplantStatusQuestion" + } ] + } + } +} + 17.0 + OmniScript + + + SolirisaHUSforPeriKidneyTransplant|SolirisaHUSforPeriKidneyTransplant|English + true + false + 0.0 + SOLIRISaHUSFORPERIKIDNEYTRANSPLANT + 0.0 + { + "Type" : "SolirisaHUSforPeriKidneyTransplant", + "Sub Type" : "SolirisaHUSforPeriKidneyTransplant", + "Language" : "English", + "show" : { + "group" : { + "operator" : "AND", + "rules" : [ { + "data" : "Peri", + "condition" : "=", + "field" : "TransplantStatusQuestion" + } ] + } + } +} + 18.0 + OmniScript + + + SolirisaHUSforPostInitial|SolirisaHUSforPostInitial|English + true + false + 0.0 + SOLIRISaHUSFORPOSTINITIAL + 0.0 + { + "Type" : "SolirisaHUSforPostInitial", + "Sub Type" : "SolirisaHUSforPostInitial", + "Language" : "English", + "show" : { + "group" : { + "operator" : "AND", + "rules" : [ { + "data" : "Post", + "condition" : "=", + "field" : "TransplantStatusQuestion" + } ] + } + } +} + 19.0 + OmniScript + + + SolirisPNHInitialSubmission|SolirisPNHInitialSubmission|English + true + false + 0.0 + SOLIRISPNHINITIALSUBMISSION + 0.0 + { + "Type" : "SolirisPNHInitialSubmission", + "Sub Type" : "SolirisPNHInitialSubmission", + "Language" : "English", + "show" : { + "group" : { + "operator" : "AND", + "rules" : [ { + "data" : "eculizumab-PNH", + "condition" : "=", + "field" : "MedicationName" + }, { + "field" : "IndicationName", + "condition" : "=", + "data" : "paroxysmal nocturnal hemoglobinuria - PNH" + } ] + } + } +} + 20.0 + OmniScript + + + SpinrazaInitialsubmission|SpinrazaInitialsubmission|English + true + false + 0.0 + SPINRAZAINITIALSUBMISSION + 0.0 + { + "Type" : "SpinrazaInitialsubmission", + "Sub Type" : "SpinrazaInitialsubmission", + "Language" : "English", + "show" : { + "group" : { + "operator" : "AND", + "rules" : [ { + "data" : "nusinersen", + "condition" : "=", + "field" : "MedicationName" + } ] + } + } +} + 22.0 + OmniScript + + + + true + false + 1.0 + Success + 0.0 + { + "controlWidth" : 12, + "label" : "TextBlock1", + "text" : "<p><strong>Request submitted successfully</strong></p>\n<p><strong>Please click on My Cases Tab to view the submitted case details.</strong></p>", + "show" : null, + "dataJSON" : false, + "HTMLTemplateId" : "", + "textKey" : "", + "sanitize" : false +} + 0.0 + Text Block + + true + false + 0.0 + SUCCESS + 0.0 + { + "label" : "SUCCESS", + "validationRequired" : true, + "previousLabel" : "Previous", + "previousWidth" : "0", + "nextLabel" : "Finish", + "nextWidth" : "3", + "cancelLabel" : "Cancel", + "cancelMessage" : "Are you sure?", + "saveLabel" : "", + "saveMessage" : "", + "completeLabel" : "Complete", + "completeMessage" : "Are you sure you want to complete the script?", + "instruction" : "", + "showPersistentComponent" : [ true, false ], + "remoteClass" : "", + "remoteMethod" : "", + "remoteTimeout" : 30000, + "remoteOptions" : { }, + "knowledgeOptions" : { + "language" : "English", + "publishStatus" : "Online", + "keyword" : "", + "dataCategoryCriteria" : "", + "remoteTimeout" : 30000, + "typeFilter" : "" + }, + "show" : null, + "conditionType" : "Hide if False", + "HTMLTemplateId" : "", + "instructionKey" : "", + "chartLabel" : null, + "allowSaveForLater" : false, + "errorMessage" : { + "custom" : [ ], + "default" : null + }, + "wpm" : false, + "ssm" : false, + "message" : { }, + "pubsub" : false, + "businessCategory" : "", + "businessEvent" : "" +} + 57.0 + Step + + + + true + false + 1.0 + caseType + 0.0 + { + "controlWidth" : 3, + "label" : "Case Type", + "showInputWidth" : false, + "inputWidth" : 12, + "required" : false, + "repeat" : false, + "repeatClone" : false, + "repeatLimit" : null, + "readOnly" : true, + "defaultValue" : null, + "help" : false, + "helpText" : "", + "helpTextPos" : "", + "mask" : "", + "pattern" : "", + "ptrnErrText" : "", + "minLength" : 0, + "maxLength" : 255, + "placeholder" : "", + "show" : null, + "conditionType" : "Hide if False", + "accessibleInFutureSteps" : false, + "debounceValue" : 0, + "HTMLTemplateId" : "", + "hide" : false, + "disOnTplt" : false, + "autocomplete" : null +} + 0.0 + Text + + + true + false + 1.0 + indicationName + 0.0 + { + "controlWidth" : 6, + "label" : "Indication Name", + "showInputWidth" : false, + "inputWidth" : 12, + "expression" : "", + "hide" : false, + "show" : null, + "mask" : null, + "dataType" : null, + "hideGroupSep" : false, + "dateFormat" : "MM-dd-yyyy", + "HTMLTemplateId" : "", + "disOnTplt" : false +} + 9.0 + Formula + + + true + false + 1.0 + LineBreak12 + 0.0 + { + "label" : "LineBreak12", + "padding" : 0, + "show" : null, + "HTMLTemplateId" : "" +} + 1.0 + Line Break + + + true + false + 1.0 + LineBreak13 + 0.0 + { + "HTMLTemplateId" : "", + "show" : null, + "padding" : 0, + "label" : "LineBreak12" +} + 6.0 + Line Break + + + true + false + 1.0 + LineBreak14 + 0.0 + { + "label" : "LineBreak12", + "padding" : 0, + "show" : null, + "HTMLTemplateId" : "", + "controlWidth" : 3 +} + 10.0 + Line Break + + + true + false + 1.0 + LineBreak15 + 0.0 + { + "controlWidth" : 5, + "HTMLTemplateId" : "", + "show" : null, + "padding" : 0, + "label" : "LineBreak12" +} + 13.0 + Line Break + + + true + false + 1.0 + LineBreak16 + 0.0 + { + "label" : "LineBreak12", + "padding" : 0, + "show" : null, + "HTMLTemplateId" : "", + "controlWidth" : 5 +} + 16.0 + Line Break + + + true + false + 1.0 + LineBreak17 + 0.0 + { + "controlWidth" : 5, + "HTMLTemplateId" : "", + "show" : null, + "padding" : 0, + "label" : "LineBreak12" +} + 19.0 + Line Break + + + true + false + 1.0 + medicationId + 0.0 + { + "controlWidth" : 6, + "label" : "MedicationId", + "showInputWidth" : false, + "inputWidth" : 12, + "expression" : "", + "hide" : false, + "show" : null, + "mask" : null, + "dataType" : null, + "hideGroupSep" : false, + "dateFormat" : "MM-dd-yyyy", + "HTMLTemplateId" : "", + "disOnTplt" : false +} + 20.0 + Formula + + + true + false + 1.0 + medicationName + 0.0 + { + "disOnTplt" : false, + "HTMLTemplateId" : "", + "dateFormat" : "MM-dd-yyyy", + "hideGroupSep" : false, + "dataType" : null, + "mask" : null, + "show" : null, + "hide" : false, + "expression" : "", + "inputWidth" : 12, + "showInputWidth" : false, + "label" : "Medication Name", + "controlWidth" : 3 +} + 8.0 + Formula + + + true + false + 1.0 + patientBirthdate + 0.0 + { + "controlWidth" : 3, + "label" : "Patient Birth Date", + "showInputWidth" : false, + "inputWidth" : 12, + "expression" : "", + "hide" : false, + "show" : null, + "mask" : null, + "dataType" : null, + "hideGroupSep" : false, + "dateFormat" : "MM-dd-yyyy", + "HTMLTemplateId" : "", + "disOnTplt" : false +} + 5.0 + Formula + + + true + false + 1.0 + patientName + 0.0 + { + "disOnTplt" : false, + "HTMLTemplateId" : "", + "dateFormat" : "MM-dd-yyyy", + "hideGroupSep" : false, + "dataType" : null, + "mask" : null, + "show" : null, + "hide" : false, + "expression" : "", + "inputWidth" : 12, + "showInputWidth" : false, + "label" : "Patient Name", + "controlWidth" : 3 +} + 4.0 + Formula + + + true + false + 1.0 + phnNumber + 0.0 + { + "controlWidth" : 3, + "label" : "PHN Number", + "showInputWidth" : false, + "inputWidth" : 12, + "expression" : "", + "hide" : false, + "show" : null, + "mask" : null, + "dataType" : null, + "hideGroupSep" : false, + "dateFormat" : "MM-dd-yyyy", + "HTMLTemplateId" : "", + "disOnTplt" : false +} + 3.0 + Formula + + + true + false + 1.0 + requestedDosage + 0.0 + { + "controlWidth" : 3, + "label" : "Requested Dosage", + "showInputWidth" : false, + "inputWidth" : 12, + "required" : true, + "repeat" : false, + "repeatClone" : false, + "repeatLimit" : null, + "readOnly" : false, + "defaultValue" : null, + "help" : false, + "helpText" : "", + "helpTextPos" : "", + "mask" : "", + "pattern" : "", + "ptrnErrText" : "", + "minLength" : 0, + "maxLength" : 255, + "placeholder" : "", + "show" : null, + "conditionType" : "Hide if False", + "accessibleInFutureSteps" : false, + "debounceValue" : 0, + "HTMLTemplateId" : "", + "hide" : false, + "disOnTplt" : false, + "autocomplete" : null +} + 11.0 + Text + + + true + false + 1.0 + requestedDosageUnits + 0.0 + { + "disOnTplt" : false, + "HTMLTemplateId" : "", + "dateFormat" : "MM-dd-yyyy", + "hideGroupSep" : false, + "dataType" : null, + "mask" : null, + "show" : null, + "hide" : false, + "expression" : "", + "inputWidth" : 12, + "showInputWidth" : false, + "label" : "Requested Dosage Units", + "controlWidth" : 3 +} + 12.0 + Formula + + + true + false + 1.0 + requestedFrequency + 0.0 + { + "autocomplete" : null, + "disOnTplt" : false, + "hide" : false, + "HTMLTemplateId" : "", + "debounceValue" : 0, + "accessibleInFutureSteps" : false, + "conditionType" : "Hide if False", + "show" : null, + "placeholder" : "", + "maxLength" : 255, + "minLength" : 0, + "ptrnErrText" : "", + "pattern" : "", + "mask" : "", + "helpTextPos" : "", + "helpText" : "", + "help" : false, + "defaultValue" : null, + "readOnly" : false, + "repeatLimit" : null, + "repeatClone" : false, + "repeat" : false, + "required" : true, + "inputWidth" : 12, + "showInputWidth" : false, + "label" : "Requested Frequency", + "controlWidth" : 3 } - 8.0 - OmniScript - - - SolirisaHUSforPostInitial|SolirisaHUSforPostInitial|English - true - false - 0.0 - SOLIRISaHUSFORPOSTINITIAL - 0.0 - { - "Type" : "SolirisaHUSforPostInitial", - "Sub Type" : "SolirisaHUSforPostInitial", - "Language" : "English", - "show" : { - "group" : { - "operator" : "AND", - "rules" : [ { - "data" : "Post", - "condition" : "=", - "field" : "TransplantStatusQuestion" - } ] - } - } + 14.0 + Text + + + true + false + 1.0 + requestedFrequencyUnits + 0.0 + { + "controlWidth" : 3, + "label" : "Requested Frequency Units", + "showInputWidth" : false, + "inputWidth" : 12, + "required" : true, + "repeat" : false, + "repeatClone" : false, + "repeatLimit" : null, + "readOnly" : true, + "defaultValue" : null, + "help" : false, + "helpText" : "", + "helpTextPos" : "", + "mask" : "", + "pattern" : "", + "ptrnErrText" : "", + "minLength" : 0, + "maxLength" : 255, + "placeholder" : "", + "show" : null, + "conditionType" : "Hide if False", + "accessibleInFutureSteps" : false, + "debounceValue" : 0, + "HTMLTemplateId" : "", + "hide" : false, + "disOnTplt" : false, + "autocomplete" : null } - 9.0 - OmniScript - - - SolirisPNHInitialSubmission|SolirisPNHInitialSubmission|English - true - false - 0.0 - SOLIRISPNHINITIALSUBMISSION - 0.0 - { - "Type" : "SolirisPNHInitialSubmission", - "Sub Type" : "SolirisPNHInitialSubmission", - "Language" : "English", - "show" : { - "group" : { - "operator" : "AND", - "rules" : [ { - "data" : "eculizumab-PNH", - "condition" : "=", - "field" : "MedicationName" - }, { - "field" : "IndicationName", - "condition" : "=", - "data" : "paroxysmal nocturnal hemoglobinuria - PNH" - } ] - } - } + 15.0 + Text + + + true + false + 1.0 + requestedFundingDuration + 0.0 + { + "controlWidth" : 3, + "label" : "Requested Funding Duration", + "showInputWidth" : false, + "inputWidth" : 12, + "required" : true, + "repeat" : false, + "repeatClone" : false, + "repeatLimit" : null, + "readOnly" : false, + "defaultValue" : null, + "help" : false, + "helpText" : "", + "helpTextPos" : "", + "mask" : "", + "pattern" : "", + "ptrnErrText" : "", + "minLength" : 0, + "maxLength" : 255, + "placeholder" : "", + "show" : null, + "conditionType" : "Hide if False", + "accessibleInFutureSteps" : false, + "debounceValue" : 0, + "HTMLTemplateId" : "", + "hide" : false, + "disOnTplt" : false, + "autocomplete" : null } - 10.0 - OmniScript - - - SpinrazaInitialsubmission|SpinrazaInitialsubmission|English - true - false - 0.0 - SPINRAZAINITIALSUBMISSION - 0.0 - { - "Type" : "SpinrazaInitialsubmission", - "Sub Type" : "SpinrazaInitialsubmission", - "Language" : "English", - "show" : { - "group" : { - "operator" : "AND", - "rules" : [ { - "data" : "nusinersen", - "condition" : "=", - "field" : "MedicationName" - } ] - } - } + 17.0 + Text + + + true + false + 1.0 + requestedFundingDurationUnits + 0.0 + { + "autocomplete" : null, + "disOnTplt" : false, + "hide" : false, + "HTMLTemplateId" : "", + "debounceValue" : 0, + "accessibleInFutureSteps" : false, + "conditionType" : "Hide if False", + "show" : null, + "placeholder" : "", + "maxLength" : 255, + "minLength" : 0, + "ptrnErrText" : "", + "pattern" : "", + "mask" : "", + "helpTextPos" : "", + "helpText" : "", + "help" : false, + "defaultValue" : null, + "readOnly" : true, + "repeatLimit" : null, + "repeatClone" : false, + "repeat" : false, + "required" : true, + "inputWidth" : 12, + "showInputWidth" : false, + "label" : "Requested Funding Duration Units", + "controlWidth" : 3 } - 12.0 - OmniScript - - + 18.0 + Text + true false 1.0 - Success + TextBlock7 0.0 { "controlWidth" : 12, - "label" : "TextBlock1", - "text" : "<p><strong>Request submitted successfully</strong></p>\n<p><strong>Please click on My Cases Tab to view the submitted case details.</strong></p>", + "label" : "TextBlock7", + "text" : "<p>Patient Information</p>", "show" : null, "dataJSON" : false, "HTMLTemplateId" : "", "textKey" : "", "sanitize" : false } - 0.0 + 2.0 Text Block - true + + true + false + 1.0 + TextBlock8 + 0.0 + { + "sanitize" : false, + "textKey" : "", + "HTMLTemplateId" : "", + "dataJSON" : false, + "show" : null, + "text" : "<p>Drug &amp; Dosage</p>", + "label" : "TextBlock7", + "controlWidth" : 12 +} + 7.0 + Text Block + + false false 0.0 - SUCCESS + SUMMARY 0.0 { - "label" : "SUCCESS", + "label" : "SUMMARY", "validationRequired" : true, "previousLabel" : "Previous", - "previousWidth" : "0", - "nextLabel" : "Finish", - "nextWidth" : "3", + "previousWidth" : 3, + "nextLabel" : "Next", + "nextWidth" : 3, "cancelLabel" : "Cancel", "cancelMessage" : "Are you sure?", - "saveLabel" : "", - "saveMessage" : "", + "saveLabel" : "Save for later", + "saveMessage" : "Are you sure you want to save it for later?", "completeLabel" : "Complete", "completeMessage" : "Are you sure you want to complete the script?", "instruction" : "", @@ -2951,7 +5732,7 @@ "HTMLTemplateId" : "", "instructionKey" : "", "chartLabel" : null, - "allowSaveForLater" : false, + "allowSaveForLater" : true, "errorMessage" : { "custom" : [ ], "default" : null @@ -2963,7 +5744,7 @@ "businessCategory" : "", "businessEvent" : "" } - 43.0 + 16.0 Step @@ -2988,7 +5769,7 @@ } } } - 20.0 + 30.0 OmniScript @@ -3013,7 +5794,7 @@ } } } - 19.0 + 29.0 OmniScript @@ -3137,7 +5918,7 @@ "businessCategory" : "", "businessEvent" : "" } - 6.0 + 15.0 Step @@ -3162,7 +5943,7 @@ } } } - 24.0 + 34.0 OmniScript @@ -3292,7 +6073,7 @@ "businessCategory" : "", "businessEvent" : "" } - 35.0 + 48.0 Step @@ -3317,7 +6098,7 @@ } } } - 14.0 + 24.0 OmniScript @@ -3346,7 +6127,7 @@ } } } - 23.0 + 33.0 OmniScript @@ -3371,14 +6152,14 @@ } } } - 30.0 + 40.0 OmniScript OmniScript - {"persistentComponent":[{"render":false,"label":"","remoteClass":"","remoteMethod":"","remoteTimeout":30000,"remoteOptions":{"preTransformBundle":"","postTransformBundle":""},"preTransformBundle":"","postTransformBundle":"","sendJSONPath":"","sendJSONNode":"","responseJSONPath":"","responseJSONNode":"","id":"vlcCart","itemsKey":"cartItems","modalConfigurationSetting":{"modalHTMLTemplateId":"vlcProductConfig.html","modalController":"ModalProductCtrl","modalSize":"lg"}},{"render":false,"dispOutsideOmni":false,"label":"","remoteClass":"","remoteMethod":"","remoteTimeout":30000,"remoteOptions":{"preTransformBundle":"","postTransformBundle":""},"preTransformBundle":"","postTransformBundle":"","id":"vlcKnowledge","itemsKey":"knowledgeItems","modalConfigurationSetting":{"modalHTMLTemplateId":"","modalController":"","modalSize":"lg"}}],"allowSaveForLater":false,"saveNameTemplate":"%CaseType% - %PatientName% - %PatientIdentifier%","saveExpireInDays":null,"saveForLaterRedirectPageName":"sflRedirect","saveForLaterRedirectTemplateUrl":"vlcSaveForLaterAcknowledge.html","saveContentEncoded":false,"saveObjectId":"%PatAccId%","saveURLPatterns":{"":""},"autoSaveOnStepNext":false,"elementTypeToHTMLTemplateMapping":{},"seedDataJSON":{},"trackingCustomData":{},"enableKnowledge":false,"bLK":false,"lkObjName":null,"knowledgeArticleTypeQueryFieldsMap":{},"timeTracking":false,"hideStepChart":true,"mergeSavedData":false,"visualforcePagesAvailableInPreview":{},"cancelType":"SObject","allowCancel":true,"cancelSource":"%ContextId%","cancelRedirectPageName":"OmniScriptCancelled","cancelRedirectTemplateUrl":"vlcCancelled.html","consoleTabLabel":"New","wpm":false,"ssm":false,"message":{},"pubsub":false,"autoFocus":false,"currencyCode":"","showInputWidth":false,"rtpSeed":false,"consoleTabTitle":null,"consoleTabIcon":"custom:custom18","errorMessage":{"custom":[]},"stylesheet":{"newport":"","lightning":"","newportRtl":"","lightningRtl":""},"stepChartPlacement":"left","disableUnloadWarn":true,"scrollBehavior":"auto","currentLanguage":"en_US","isSeoEnabled":false,"scrollToTopWhenNavigatingBetweenStepsOnExperienceCloudSites":true,"allowLongLabels":true} + {"persistentComponent":[{"render":false,"label":"","remoteClass":"","remoteMethod":"","remoteTimeout":30000,"remoteOptions":{"preTransformBundle":"","postTransformBundle":""},"preTransformBundle":"","postTransformBundle":"","sendJSONPath":"","sendJSONNode":"","responseJSONPath":"","responseJSONNode":"","id":"vlcCart","itemsKey":"cartItems","modalConfigurationSetting":{"modalHTMLTemplateId":"vlcProductConfig.html","modalController":"ModalProductCtrl","modalSize":"lg"}},{"render":false,"dispOutsideOmni":false,"label":"","remoteClass":"","remoteMethod":"","remoteTimeout":30000,"remoteOptions":{"preTransformBundle":"","postTransformBundle":""},"preTransformBundle":"","postTransformBundle":"","id":"vlcKnowledge","itemsKey":"knowledgeItems","modalConfigurationSetting":{"modalHTMLTemplateId":"","modalController":"","modalSize":"lg"}}],"allowSaveForLater":false,"saveNameTemplate":"%CaseType% - %PatientName% - %PatientIdentifier%","saveExpireInDays":null,"saveForLaterRedirectPageName":"sflRedirect","saveForLaterRedirectTemplateUrl":"vlcSaveForLaterAcknowledge.html","saveContentEncoded":false,"saveObjectId":"%PatAccId%","saveURLPatterns":{"":""},"autoSaveOnStepNext":false,"elementTypeToHTMLTemplateMapping":{},"seedDataJSON":{},"trackingCustomData":{},"enableKnowledge":false,"bLK":false,"lkObjName":null,"knowledgeArticleTypeQueryFieldsMap":{},"timeTracking":false,"hideStepChart":false,"mergeSavedData":false,"visualforcePagesAvailableInPreview":{},"cancelType":"SObject","allowCancel":true,"cancelSource":"%ContextId%","cancelRedirectPageName":"OmniScriptCancelled","cancelRedirectTemplateUrl":"vlcCancelled.html","consoleTabLabel":"New","wpm":false,"ssm":false,"message":{},"pubsub":false,"autoFocus":false,"currencyCode":"","showInputWidth":false,"rtpSeed":false,"consoleTabTitle":null,"consoleTabIcon":"custom:custom18","errorMessage":{"custom":[]},"stylesheet":{"newport":"","lightning":"EMP_Patient_UI_enhancement_V9","newportRtl":"","lightningRtl":""},"stepChartPlacement":"top","disableUnloadWarn":true,"scrollBehavior":"auto","currentLanguage":"en_US","isSeoEnabled":false,"scrollToTopWhenNavigatingBetweenStepsOnExperienceCloudSites":true,"allowLongLabels":true,"designTokenOverride":""} EDRDNewForm EDRDNewForm EDRDNewForm_EDRDNewForm_English_1 1.0 - 8c6cc6d8-3f0f-982a-f00d-95fbdda068d1 + 15127d29-8990-6e68-b799-b52e79aa64f8 diff --git a/OmniStudio-Components/main/default/omniUiCard/DataTableHeading_EDRD_1.ouc-meta.xml b/OmniStudio-Components/main/default/omniUiCard/DataTableHeading_EDRD_1.ouc-meta.xml new file mode 100644 index 000000000..5e4218bbe --- /dev/null +++ b/OmniStudio-Components/main/default/omniUiCard/DataTableHeading_EDRD_1.ouc-meta.xml @@ -0,0 +1,11 @@ + + + EDRD + DataTable/EDRD/5.0 + {"dataSource":{"type":null,"value":{},"orderBy":{},"contextVariables":[]}} + true + DataTableHeading + Parent + {"states":[{"fields":[],"conditions":{"id":"state-condition-object","isParent":true,"group":[]},"definedActions":{"actions":[]},"name":"Active","isSmartAction":false,"smartAction":{},"styleObject":{"padding":[{"type":"around","size":"x-small"}],"margin":[{"type":"around","size":"none"}],"container":{"class":"slds-card"},"size":{"isResponsive":false,"default":"12"},"sizeClass":"slds-size_12-of-12","class":"slds-card slds-p-around_x-small slds-m-bottom_x-small"},"components":{"layer-0":{"children":[{"name":"Block","element":"block","size":{"isResponsive":false,"default":"12"},"stateIndex":0,"class":"slds-col ","property":{"label":"Block","collapsible":false,"record":"{record}","collapsedByDefault":false,"card":"{card}"},"type":"block","styleObject":{"padding":[{"type":"around","size":"x-small"}],"class":"slds-p-around_x-small","sizeClass":"slds-size_12-of-12"},"children":[{"key":"element_element_block_0_0_block_0_0","name":"Block","element":"block","size":{"isResponsive":false,"default":"1"},"stateIndex":0,"class":"slds-col ","property":{"label":"Block","collapsible":false,"record":"{record}","collapsedByDefault":false,"card":"{card}"},"type":"block","styleObject":{"size":{"isResponsive":false,"default":"1"},"padding":[{"type":"around","size":"x-small"}],"class":"slds-p-around_x-small","sizeClass":"slds-size_1-of-12 "},"children":[],"parentElementKey":"element_block_0_0","elementLabel":"Block-0-Block-0"},{"key":"element_element_block_0_0_outputField_1_0","name":"Text","element":"outputField","size":{"isResponsive":false,"default":"2"},"stateIndex":0,"class":"slds-col ","property":{"record":"{record}","mergeField":"%3Cdiv%3EFirst%20Name%3C/div%3E","card":"{card}"},"type":"text","styleObject":{"sizeClass":"slds-size_2-of-12 ","size":{"isResponsive":false,"default":"2"}},"parentElementKey":"element_block_0_0","elementLabel":"Block-0-Text-1"},{"key":"element_element_block_0_0_outputField_2_0","name":"Text","element":"outputField","size":{"isResponsive":false,"default":"2"},"stateIndex":0,"class":"slds-col ","property":{"record":"{record}","mergeField":"%3Cdiv%3ELast%20Name%3C/div%3E","card":"{card}"},"type":"text","styleObject":{"sizeClass":"slds-size_2-of-12 ","size":{"isResponsive":false,"default":"2"}},"parentElementKey":"element_block_0_0","elementLabel":"Block-0-Text-1-clone-0"},{"key":"element_element_block_0_0_outputField_3_0","name":"Text","element":"outputField","size":{"isResponsive":false,"default":"2"},"stateIndex":0,"class":"slds-col ","property":{"record":"{record}","mergeField":"%3Cdiv%3EBirthdate%3C/div%3E","card":"{card}"},"type":"text","styleObject":{"sizeClass":"slds-size_2-of-12 ","size":{"isResponsive":false,"default":"2"}},"parentElementKey":"element_block_0_0","elementLabel":"Block-0-Text-2-clone-0"},{"key":"element_element_block_0_0_outputField_4_0","name":"Text","element":"outputField","size":{"isResponsive":false,"default":"2"},"stateIndex":0,"class":"slds-col ","property":{"record":"{record}","mergeField":"%3Cdiv%3EGender%3C/div%3E","card":"{card}"},"type":"text","styleObject":{"sizeClass":"slds-size_2-of-12 ","size":{"isResponsive":false,"default":"2"}},"parentElementKey":"element_block_0_0","elementLabel":"Block-0-Text-3-clone-0"}],"elementLabel":"Block-0"}]}},"childCards":[],"actions":[],"omniscripts":[],"documents":[]}],"dataSource":{"type":null,"value":{},"orderBy":{},"contextVariables":[]},"title":"DataTableHeading","enableLwc":true,"isFlex":true,"theme":"slds","selectableMode":"Single","lwc":{"DeveloperName":"cfRelatedCasesDataTable_3_BCMinistryofHealth","Id":"0RbAq000001B3hxKAC","MasterLabel":"cfRelatedCasesDataTable_3_BCMinistryofHealth","NamespacePrefix":"c","ManageableState":"unmanaged"},"osSupport":true,"events":[],"xmlObject":{"masterLabel":"DataTableHeading","isExposed":true,"apiVersion":56,"targetConfigs":"PHRhcmdldENvbmZpZyB0YXJnZXRzPSJsaWdodG5pbmdfX0FwcFBhZ2UiPgogICAgICAgICAgICAgICAgICAgIDxwcm9wZXJ0eSBuYW1lPSJkZWJ1ZyIgdHlwZT0iQm9vbGVhbiIvPgogICAgICAgICAgICAgICAgICAgIDxwcm9wZXJ0eSBuYW1lPSJyZWNvcmRJZCIgdHlwZT0iU3RyaW5nIi8+CiAgICAgICAgICAgICAgICA8L3RhcmdldENvbmZpZz4KICAgICAgICAgICAgICAgIDx0YXJnZXRDb25maWcgdGFyZ2V0cz0ibGlnaHRuaW5nX19SZWNvcmRQYWdlIj4KICAgICAgICAgICAgICAgICAgICA8cHJvcGVydHkgbmFtZT0iZGVidWciIHR5cGU9IkJvb2xlYW4iLz4KICAgICAgICAgICAgICAgIDwvdGFyZ2V0Q29uZmlnPg==","targets":{"target":["lightning__RecordPage","lightning__AppPage","lightning__HomePage"]},"description":"","runtimeNamespace":""},"isRepeatable":false,"selectedCardsLabel":"selectedpatient","uniqueKey":"","xmlJson":[{"@attributes":{"targets":"lightning__AppPage"},"property":[{"@attributes":{"name":"debug","type":"Boolean"}},{"@attributes":{"name":"recordId","type":"String"}}]},{"@attributes":{"targets":"lightning__RecordPage"},"property":[{"@attributes":{"name":"debug","type":"Boolean"}}]}]} + 1 + diff --git a/OmniStudio-Components/main/default/omniUiCard/DataTable_EDRD_7.ouc-meta.xml b/OmniStudio-Components/main/default/omniUiCard/DataTable_EDRD_7.ouc-meta.xml new file mode 100644 index 000000000..783409e45 --- /dev/null +++ b/OmniStudio-Components/main/default/omniUiCard/DataTable_EDRD_7.ouc-meta.xml @@ -0,0 +1,10 @@ + + + EDRD + {"dataSource":{"type":null,"value":{},"orderBy":{},"contextVariables":[]}} + true + DataTable + Child + {"states":[{"fields":[],"conditions":{"id":"state-condition-object","isParent":true,"group":[]},"definedActions":{"actions":[]},"name":"Active","isSmartAction":false,"smartAction":{},"styleObject":{"padding":[{"type":"around","size":"x-small"}],"margin":[{"type":"around","size":"none"}],"container":{"class":"slds-card"},"size":{"isResponsive":false,"default":"12"},"sizeClass":"slds-size_12-of-12","class":"slds-card slds-p-around_x-small slds-m-bottom_x-small"},"components":{"layer-0":{"children":[{"name":"Block","element":"block","size":{"isResponsive":false,"default":"12"},"stateIndex":0,"class":"slds-col ","property":{"label":"Block","collapsible":false,"record":"{record}","collapsedByDefault":false,"card":"{card}"},"type":"block","styleObject":{"padding":[{"type":"around","size":"x-small"}],"class":"slds-p-around_x-small","sizeClass":"slds-size_12-of-12"},"children":[{"key":"element_element_block_1_0_action_0_0","name":"Action","element":"action","size":{"isResponsive":false,"default":"1"},"stateIndex":0,"class":"slds-col ","property":{"label":".","iconName":"standard-default","record":"{record}","card":"{card}","stateObj":"{record}","actionList":[{"stateAction":{"id":"flex-action-1734616115130","type":"cardAction","openUrlIn":"Current Window","subType":"Custom","eventName":"selectcards"},"key":"1734616074110-58kcxgvi5","label":"Action","draggable":true,"isOpen":true,"actionIndex":0}],"showSpinner":"false","hideActionIcon":true,"flyoutDetails":{}},"type":"element","styleObject":{"sizeClass":"slds-size_1-of-12 ","size":{"isResponsive":false,"default":"1"}},"parentElementKey":"element_block_1_0","elementLabel":"Block-1-Action-0"},{"key":"element_element_block_1_0_outputField_1_0","name":"Field","element":"outputField","size":{"isResponsive":false,"default":"2"},"stateIndex":0,"class":"slds-col ","property":{"placeholder":"","record":"{record}","type":"text","card":"{card}","label":"{firstName}"},"type":"element","styleObject":{"sizeClass":"slds-size_2-of-12 ","size":{"isResponsive":false,"default":"2"}},"parentElementKey":"element_block_1_0","elementLabel":"Block-1-Field-1"},{"key":"element_element_block_1_0_outputField_2_0","name":"Field","element":"outputField","size":{"isResponsive":false,"default":"2"},"stateIndex":0,"class":"slds-col ","property":{"placeholder":"","record":"{record}","type":"text","card":"{card}","label":"{lastName}"},"type":"element","styleObject":{"sizeClass":"slds-size_2-of-12 ","size":{"isResponsive":false,"default":"2"}},"parentElementKey":"element_block_1_0","elementLabel":"Block-1-Field-1-clone-0"},{"key":"element_element_block_1_0_outputField_3_0","name":"Field","element":"outputField","size":{"isResponsive":false,"default":"2"},"stateIndex":0,"class":"slds-col ","property":{"placeholder":"","record":"{record}","type":"text","card":"{card}","label":"{dateOfBirth}"},"type":"element","styleObject":{"sizeClass":"slds-size_2-of-12 ","size":{"isResponsive":false,"default":"2"}},"parentElementKey":"element_block_1_0","elementLabel":"Block-1-Field-2-clone-0"},{"key":"element_element_block_1_0_outputField_4_0","name":"Field","element":"outputField","size":{"isResponsive":false,"default":"2"},"stateIndex":0,"class":"slds-col ","property":{"placeholder":"","record":"{record}","type":"text","card":"{card}","label":"{gender}"},"type":"element","styleObject":{"sizeClass":"slds-size_2-of-12 ","size":{"isResponsive":false,"default":"2"}},"parentElementKey":"element_block_1_0","elementLabel":"Block-1-Field-3-clone-0"}],"elementLabel":"Block-1"}]}},"childCards":[],"actions":[],"omniscripts":[],"documents":[]}],"dataSource":{"type":null,"value":{},"orderBy":{},"contextVariables":[]},"title":"DataTable","enableLwc":true,"isFlex":true,"theme":"slds","selectableMode":"Single","lwc":{"DeveloperName":"cfRelatedCasesDataTable_3_BCMinistryofHealth","Id":"0RbAq000001B3hxKAC","MasterLabel":"cfRelatedCasesDataTable_3_BCMinistryofHealth","NamespacePrefix":"c","ManageableState":"unmanaged"},"osSupport":true,"events":[{"eventname":"selectcards_selectedpatient","channelname":"DataTable","element":"action","eventtype":"event","recordIndex":"0","actionList":[{"key":"1734451320593-ezyygtvg7","label":"Action","draggable":false,"isOpen":true,"card":"{card}","stateAction":{"id":"flex-action-1734955881262","type":"updateOmniScript","displayName":"Action","vlocityIcon":"standard-default","openUrlIn":"Current Window","elementId":"selectedPatient","hasExtraParams":true,"extraParams":{"selectedId":"{patientId}","selectedPatientAccountId":"{patientaccountId}"}},"actionIndex":0}],"showSpinner":"false","key":"event-0","displayLabel":"selectcards_selectedpatient","eventLabel":"custom event"}],"xmlObject":{"masterLabel":"DataTable","isExposed":true,"apiVersion":56},"isRepeatable":true,"selectedCardsLabel":"selectedpatient","uniqueKey":"patientId"} + 7 + diff --git a/force-app/main/default/classes/EDRD_EmpiIntegration.cls b/force-app/main/default/classes/EDRD_EmpiIntegration.cls new file mode 100644 index 000000000..ef2427c2d --- /dev/null +++ b/force-app/main/default/classes/EDRD_EmpiIntegration.cls @@ -0,0 +1,352 @@ +/*------------------------------------------------------------------- +Class Name : EDRD_EmpiIntegration +Test Class Name : EDRD_EmpiIntegrationTest +Referance Class : EDRD_EmpiIntegrationTest/EmpiIntegration/Patient/EDRD_EmpiWrapper/ESA_cls_constants +Purpose : Get the Patient Information and Validate/Update/Create in Salesforce. +Version : 1.0 +Devloper Name : Accenture. +Date : 19/Dec/2024 +--------------------------------------------------------------------------*/ +global without sharing class EDRD_EmpiIntegration implements Callable +{ + public Object call(String action, Map args){ + + Map output = (Map)args.get('output'); + Map options = (Map)args.get('options'); + return invokeMethod(action, args, output, options); + } + + global Boolean invokeMethod(String methodName, Map inputMap, Map outputMap, Map options) { + Boolean result = true; + String jsonInput = Json.serialize(inputMap.get('input')); + EDRD_EmpiWrapper.OutputWrapper patientOutputWrapper = new EDRD_EmpiWrapper.OutputWrapper(); + EDRD_EmpiWrapper.InputWrapper inputWrapper = (EDRD_EmpiWrapper.InputWrapper) JSON.deserialize(jsonInput, EDRD_EmpiWrapper.InputWrapper.class); + + switch on methodName { + when 'getEmpidata'{ + this.getEmpidata(inputWrapper,outputMap); + } + when 'createPatientInSF'{ + this.createPatientInSF(inputWrapper,outputMap); + } + when 'getSFdata'{ + this.getSFdata(inputWrapper,outputMap); + } + when 'createUpdatePatient'{ + this.createUpdatePatient(inputWrapper,outputMap); + } + when 'validatePHN'{ + this.validatePHN(inputWrapper,outputMap); + } + when 'createACR'{ + this.createACR(inputWrapper,outputMap); + } + when else { + result = false; + } + } + return result; + } +/*--------------------------------------------------------------------- +Method Name : validatePHN +Purpose : Check PHN is Exsit in salesforce Database or Not. +Version : 1.0 +Devloper Name : Accenture. +Date : 19/Dec/2024 +--------------------------------------------------------------------------*/ + public void validatePHN(EDRD_EmpiWrapper.InputWrapper inputWrapper,Map outputMap){ + EDRD_EmpiWrapper.OutputWrapper patientOutputWrapper= new EDRD_EmpiWrapper.OutputWrapper(); + List patientRecord = new Elevated().getSalesforceData(inputWrapper); + if(!patientRecord.isEmpty()){ + for(Account acc:patientRecord){ + patientOutputWrapper.firstName = acc.FirstName; + patientOutputWrapper.lastName = acc.LastName; + patientOutputWrapper.dateOfBirth = acc.PersonBirthdate; + patientOutputWrapper.gender = acc.PersonGender; + patientOutputWrapper.phn = acc.Patient_Identifier__pc; + patientOutputWrapper.isPatientFound = true; + patientOutputWrapper.patientaccountId = acc.Id; + patientOutputWrapper.patientId = acc.PersonContactId; + + } + } + else{ + patientOutputWrapper.isPatientFound = false; + } + patientOutputWrapper.isClickSFsearch = true; + patientOutputWrapper.isValidatePHNClick = true; + String result = Json.serialize(patientOutputWrapper); + outputMap.put('searchOutput',JSON.deserializeuntyped(result)); + return; + } +/*--------------------------------------------------------------------- +Method Name : getSFdata +Purpose : Get the Data from salesforce based on user input(it cloud be PHN or Patient details). +Version : 1.0 +Devloper Name : Accenture. +Date : 19/Dec/2024 +--------------------------------------------------------------------------*/ + public void getSFdata(EDRD_EmpiWrapper.InputWrapper inputWrapper, Map outputMap) { + List lstpatientOutputWrapper=new List(); + List patientRecord = new Elevated().getSalesforceData(inputWrapper); + if(!patientRecord.isEmpty()){ + for(Account acc:patientRecord){ + EDRD_EmpiWrapper.OutputWrapper patientOutputWrapper= new EDRD_EmpiWrapper.OutputWrapper(); + patientOutputWrapper = loopsPatientDeatils(acc); + patientOutputWrapper.isPatientFound = true; + patientOutputWrapper.isClickSFsearch = true; + patientOutputWrapper.patientaccountId = acc.Id; + patientOutputWrapper.patientId = acc.PersonContactId; + lstpatientOutputWrapper.add(patientOutputWrapper); + } + } + else{ + EDRD_EmpiWrapper.OutputWrapper patientOutputWrapper= new EDRD_EmpiWrapper.OutputWrapper(); + patientOutputWrapper.isPatientFound = false; + patientOutputWrapper.isClickSFsearch = true; + lstpatientOutputWrapper.add(patientOutputWrapper); + } + + String result = Json.serialize(lstpatientOutputWrapper); + outputMap.put('searchOutput',JSON.deserializeuntyped(result)); + + return; + + } +/*--------------------------------------------------------------------- +Method Name : validatePHN +Purpose : This common class, which we can call from any class to assine the patientOutputWrapper data +Version : 1.0 +Devloper Name : Accenture. +Date : 19/Dec/2024 +--------------------------------------------------------------------------*/ + public EDRD_EmpiWrapper.OutputWrapper loopsPatientDeatils(Account acc){ + + EDRD_EmpiWrapper.OutputWrapper patientOutputWrapper = new EDRD_EmpiWrapper.OutputWrapper(); + patientOutputWrapper.phn = acc.Patient_Identifier__pc; + patientOutputWrapper.firstName = acc.FirstName; + patientOutputWrapper.lastName = acc.LastName; + patientOutputWrapper.dateOfBirth = acc.PersonBirthdate; + patientOutputWrapper.patientId = acc.PersonContactId; + patientOutputWrapper.patientaccountId = acc.Id; + patientOutputWrapper.gender = acc.PersonGender; + return patientOutputWrapper; + + } +/*--------------------------------------------------------------------- +Method Name : createUpdatePatient +Purpose : If we found the Patient information in EMPI we update or create same dataCheck + PHN is Exsit in salesforce Database or Not. +Version : 1.0 +Devloper Name : Accenture. +Date : 19/Dec/2024 +--------------------------------------------------------------------------*/ + public void createUpdatePatient(EDRD_EmpiWrapper.InputWrapper inputWrapper, Map outputMap) { + EDRD_EmpiWrapper.OutputWrapper patientOutputWrapper = new EDRD_EmpiWrapper.OutputWrapper(); + List outAccRecord = new List(); + List patientRecord = new Elevated().getSalesforceData(inputWrapper); + if(!patientRecord.isEmpty()){ + for(Account acc : patientRecord){ + acc.FirstName = inputWrapper.firstName; + acc.LastName = inputWrapper.lastName; + acc.PersonBirthdate = inputWrapper.dateOfBirth; + acc.PersonGender = inputWrapper.gender; + patientOutputWrapper.patientId = acc.PersonContactId; + patientOutputWrapper.patientaccountId = acc.Id; + outAccRecord.add(acc); + createCareProgramEnrollee(acc.Id); + } + update outAccRecord; + + + String result = Json.serialize(patientOutputWrapper); + outputMap.put('searchOutput',JSON.deserializeuntyped(result)); + return; + } + else if(!ESA_cls_constants.EMPICreatedRenewal.equals(String.ValueOf(inputWrapper.clickBy))){ + createPatientInSF(inputWrapper,outputMap); + return; + } + } +/*--------------------------------------------------------------------- +Method Name : validatePHN +Purpose : Pass the PHN and get the Patient Infomation form EMPI database. +Version : 1.0 +Devloper Name : Accenture. +Date : 19/Dec/2024 +--------------------------------------------------------------------------*/ + public void getEmpidata(EDRD_EmpiWrapper.InputWrapper inputWrapper, Map outputMap) { + EDRD_EmpiWrapper.OutputWrapper patientOutputWrapper = new EDRD_EmpiWrapper.OutputWrapper(); + String phn = inputWrapper.phn; + Patient patientOutput = new Patient(); + patientOutput = EmpiIntegration.getPatient(phn); + String patientJSON = Json.serialize(patientOutput); + patientOutputWrapper = getOutput(patientJSON); + patientOutputWrapper.isClickEmpiSearch = true; + if(ESA_cls_constants.EMPICreatedRenewal.equals(String.ValueOf(inputWrapper.clickBy))) + { + List patientRecord = new Elevated().getSalesforceData(inputWrapper); + if(!patientRecord.isEmpty()){ + for(Account acc : patientRecord) + { + patientOutputWrapper.patientId = acc.PersonContactId; + patientOutputWrapper.patientaccountId = acc.Id; + patientOutputWrapper.isPatientFound = true; + patientOutputWrapper.isPatientInSF = true; + } + } + else{ + patientOutputWrapper.isPatientFound = false; + patientOutputWrapper.isPatientInSF = false; + } + } + + String result = Json.serialize(patientOutputWrapper); + outputMap.put('searchOutput',JSON.deserializeuntyped(result)); + return; + } +/*--------------------------------------------------------------------- +Method Name : getOutput +Purpose : Innter method. +Version : 1.0 +Devloper Name : Accenture. +Date : 19/Dec/2024 +--------------------------------------------------------------------------*/ + public EDRD_EmpiWrapper.OutputWrapper getOutput(String patientJSON){ + + EDRD_EmpiWrapper.OutputWrapper patientOutputWrapper = new EDRD_EmpiWrapper.OutputWrapper(); + EDRD_EmpiWrapper.Patient patient = (EDRD_EmpiWrapper.Patient) JSON.deserialize(patientJSON, EDRD_EmpiWrapper.Patient.class); + + if(String.isBlank(patient.dob) || String.isBlank(patient.gender) || patient.names.isEmpty()){ + patientOutputWrapper.firstName = null; + patientOutputWrapper.lastName = null; + patientOutputWrapper.dateOfBirth = null; + patientOutputWrapper.deceased = null; + patientOutputWrapper.gender = null; + patientOutputWrapper.isPatientFound = false; + patientOutputWrapper.isPatientInEMPI = false; + + }else{ + patientOutputWrapper.firstName = patient.names[0].givenNames[0]; + patientOutputWrapper.lastName = patient.names[0].familyName; + patientOutputWrapper.dateOfBirth = Date.valueOf(patient.dob); + patientOutputWrapper.deceased = patient.deceased; + patientOutputWrapper.gender = patient.gender.equals('F') ? 'Female' : 'Male'; + patientOutputWrapper.isPatientFound = true; + patientOutputWrapper.phn = patient.phn; + patientOutputWrapper.isPatientInEMPI = true; + } + return patientOutputWrapper; + } +/*--------------------------------------------------------------------- +Method Name : createPatientInSF +Purpose : Create Date in salesforce database. +Version : 1.0 +Devloper Name : Accenture. +Date : 19/Dec/2024 +--------------------------------------------------------------------------*/ + public void createPatientInSF(EDRD_EmpiWrapper.InputWrapper inputWrapper, Map outputMap) + { + EDRD_EmpiWrapper.OutputWrapper patientOutputWrapper = new EDRD_EmpiWrapper.OutputWrapper(); + Account patientAccount = new Account(); + patientAccount.Patient_Identifier__pc = inputWrapper.phn; + patientAccount.FirstName = inputWrapper.firstName; + patientAccount.LastName = inputWrapper.lastName; + patientAccount.PersonBirthdate = inputWrapper.dateOfBirth; + patientAccount.RecordTypeId = ESA_cls_constants.PatientRecordTypeId; + insert patientAccount; + + List patientRecord = new Elevated().selectAccountById(patientAccount.Id); + if(!patientRecord.isEmpty()){ + for(Account acc : patientRecord){ + patientOutputWrapper.patientId = acc.PersonContactId; + patientOutputWrapper.patientaccountId = acc.Id; + } + } + createCareProgramEnrollee(patientAccount.Id); + + if(ESA_cls_constants.ManullyCreated.equals(String.ValueOf(inputWrapper.clickBy))){ + patientOutputWrapper.isClickManulRecord = true; + } + if(ESA_cls_constants.EMPICreated.equals(String.ValueOf(inputWrapper.clickBy))){ + patientOutputWrapper.isClickEmpiSearch = true; + } + String result = Json.serialize(patientOutputWrapper); + outputMap.put('searchOutput',JSON.deserializeuntyped(result)); + return; + } +/*--------------------------------------------------------------------- +Method Name : createCareProgramEnrollee +Purpose : Create CareProgramEnrollee to associcated Account. +Version : 1.0 +Devloper Name : Accenture. +Date : 19/Dec/2024 +--------------------------------------------------------------------------*/ + public void createCareProgramEnrollee(Id patientId){ + List cpeRecords = new Elevated().creByAccountId(patientId); + if(cpeRecords.isEmpty()){ + List CareProgramName = new Elevated().CareProgramByName(ESA_cls_constants.EDRD_NAME); + CareProgramEnrollee careProgram = new CareProgramEnrollee(); + careProgram.AccountId = patientId; + careProgram.Name = 'test'; + careProgram.Status = 'Active'; + careProgram.CareProgramId = !CareProgramName.isEmpty() ? CareProgramName[0].Id : null; + insert careProgram; + } + } +/*--------------------------------------------------------------------- +Method Name : createACR +Purpose : Craete ACR +Version : 1.0 +Devloper Name : Accenture. +Date : 19/Dec/2024 +--------------------------------------------------------------------------*/ + public void createACR(EDRD_EmpiWrapper.InputWrapper inputWrapper,Map outputMap){ + + List acrListRecords = new Elevated().selectACR(Id.ValueOf(inputWrapper.LoginUserAccountId),Id.ValueOf(inputWrapper.PatientContactId)); + if(acrListRecords.isEmpty()){ + AccountContactRelation acrRecords = new AccountContactRelation(); + acrRecords.AccountId = inputWrapper.LoginUserAccountId; + acrRecords.ContactId = inputWrapper.PatientContactId; + acrRecords.Roles = ESA_cls_constants.EDRD_PHYSICIAN; + insert acrRecords; + } + } +/*--------------------------------------------------------------------- +Class Name : Elevated +Purpose : This is Elevated class to get the salesforce data on System mode. +Version : 1.0 +Devloper Name : Accenture. +Date : 19/Dec/2024 +--------------------------------------------------------------------------*/ + public without sharing class Elevated + { + + public List creByAccountId(Id accountId){ + return [SELECT Id FROM CareProgramEnrollee WHERE AccountId = :accountId Limit 1]; + } + public List CareProgramByName(String Name){ + return [Select Id from CareProgram where Name =: Name Limit 1]; + } + public List selectACR(Id LoginUserAccountId,Id PatientContactId){ + return [Select Id from AccountContactRelation where AccountId =: LoginUserAccountId AND ContactId =: PatientContactId]; + } + public List selectAccountById(Id accountId){ + return [Select Id, FirstName, LastName, Patient_is_Deceased__pc, PersonBirthdate,Patient_Identifier__pc,PersonGender,PersonContactId from Account where Id =: accountId]; + } + public List selectByPHN(String phn){ + return [Select Id, FirstName, LastName, Patient_is_Deceased__pc, PersonBirthdate,Patient_Identifier__pc,PersonGender,PersonContactId from Account where Patient_Identifier__pc =: phn]; + } + public List getSalesforceData(EDRD_EmpiWrapper.InputWrapper inputWrapper){ + if(String.isBlank(String.ValueOf(inputWrapper.phn))){ + return [Select Id,Patient_Identifier__pc, FirstName, LastName, Patient_is_Deceased__pc, PersonBirthdate,PersonGender,PersonContactId from Account where FirstName =: inputWrapper.firstName AND LastName =: inputWrapper.lastName AND PersonBirthdate =: inputWrapper.dateOfBirth]; + } + else{ + return [Select Id,Patient_Identifier__pc, FirstName, LastName, Patient_is_Deceased__pc, PersonBirthdate,PersonGender,PersonContactId from Account where Patient_Identifier__pc =: inputWrapper.phn]; + } + + } + + } + +} \ No newline at end of file diff --git a/force-app/main/default/classes/EDRD_EmpiIntegration.cls-meta.xml b/force-app/main/default/classes/EDRD_EmpiIntegration.cls-meta.xml new file mode 100644 index 000000000..998805a82 --- /dev/null +++ b/force-app/main/default/classes/EDRD_EmpiIntegration.cls-meta.xml @@ -0,0 +1,5 @@ + + + 62.0 + Active + diff --git a/force-app/main/default/classes/EDRD_EmpiIntegrationTest.cls b/force-app/main/default/classes/EDRD_EmpiIntegrationTest.cls new file mode 100644 index 000000000..9ded1e8dc --- /dev/null +++ b/force-app/main/default/classes/EDRD_EmpiIntegrationTest.cls @@ -0,0 +1,274 @@ +/*----------------------------------------- +Test Class Name : EDRD_EmpiIntegrationTest +Main Class Name : EDRD_EmpiIntegration +Version : 1.0 +Devloper Name : Accenture. +------------------------------------------*/ +@isTest +public class EDRD_EmpiIntegrationTest { + @testSetup + static void setupTestData() { + + // Step 1: Create and insert an Account + Account testAccountUser = new Account( + Name = 'TestAccountUser987' + ); + insert testAccountUser; + + // Step 2: Create and insert a Contact related to the Account + Contact testContactUser = new Contact( + FirstName = 'Test', + LastName = 'ContactUser987', + Email = 'test.contact@example.com', + AccountId = testAccountUser.Id + ); + insert testContactUser; + + // Step 3: Create a User with associated Account and Contact + Profile userProfile = [SELECT Id FROM Profile WHERE Name = 'EDRD Prescriber Community User' LIMIT 1]; + User testUser = new User( + FirstName = 'Test', + LastName = 'User', + Email = 'test.user@example.com', + Username = 'test.user00978@abc.xyz.com', + Alias = 'tuser', + ProfileId = userProfile.Id, + TimeZoneSidKey = 'America/New_York', + LocaleSidKey = 'en_US', + EmailEncodingKey = 'UTF-8', + LanguageLocaleKey = 'en_US', + ContactId = testContactUser.Id + ); + insert testUser; + + + // Step 1: Create CareProgram + CareProgram testCP = new CareProgram(); + testCP.Name = 'EDRD'; + testCP.Status = 'New'; + insert testCP; + + // Step 2: Create a test Account for Salesforce data mock + Account testAccount = new Account( + FirstName = 'John', + LastName = 'Doe', + Patient_Identifier__pc = '9879450112', + PersonBirthdate = Date.newInstance(1990, 01, 01), + PersonGender = 'Male', + RecordTypeId = ESA_cls_constants.PatientRecordTypeId + ); + insert testAccount; + + // Step 3: Create a CareProgramEnrollee + CareProgramEnrollee testCPERecords = new CareProgramEnrollee(); + testCPERecords.AccountId = testAccount.Id; + testCPERecords.Name = 'testCPE'; + testCPERecords.Status = 'Active'; + testCPERecords.CareProgramId = testCP.Id; + insert testCPERecords; + } +/*--------------------------------------------------------------------- +Method Name : testgetEMPIData +Method Calling for : getEMPIData +Purpose : Pass the PHN and get the Patient Infomation form EMPI database. +Version : 1.0 +Devloper Name : Accenture. +--------------------------------------------------------------------------*/ + @isTest + static void testgetEMPIData() { + // Instantiate the class + EDRD_EmpiIntegration integration = new EDRD_EmpiIntegration(); + + // Mock input data + Map inputMap = new Map{ + 'input' => new Map{ + 'elementName' => 'searchPatient', + 'omniScriptId' => '0jNAq000000VXJ3MAO', + 'phn' => '9879450112' + }, + 'options' => new Map{ + 'ignoreCache' => false, + 'postTransformBundle' => '', + 'preTransformBundle' => '', + 'useContinuation' => false, + 'useQueueableApexRemoting' => false, + 'vlcClass' => 'EDRD_EmpiIntegration' + }, + 'output' => new Map{} + }; + + // Call the method + Object result = integration.call('getEmpidata', inputMap); + + // Assert results + System.assertNotEquals(null, result, 'Result should not be null'); + } +/*--------------------------------------------------------------------- +Method Name : testValidatePHN +Method Calling for : ValidatePHN +Purpose : Check PHN is Exsit in salesforce Database or Not. +Version : 1.0 +Devloper Name : Accenture. +--------------------------------------------------------------------------*/ + @isTest + static void testValidatePHN() { + + EDRD_EmpiIntegration integration = new EDRD_EmpiIntegration(); + + // Mock data + Map inputMap = new Map{ + 'phn' => '9879450112' + }; + Map outputMap = new Map(); + Map outputMapMain = new Map(); + outputMapMain.put('input',inputMap); + String jsonInput = Json.serialize(outputMapMain.get('input')); + EDRD_EmpiWrapper.InputWrapper inputWrapper = (EDRD_EmpiWrapper.InputWrapper) JSON.deserialize(jsonInput, EDRD_EmpiWrapper.InputWrapper.class); + // Call the method + integration.validatePHN(inputWrapper, outputMap); + + // Assert output + System.assert(outputMap.containsKey('searchOutput'), 'Output should contain searchOutput'); + Map searchOutput = (Map) outputMap.get('searchOutput'); + System.assertEquals(true, searchOutput.get('isPatientFound'), 'Patient should be found'); + } + +/*--------------------------------------------------------------------- +Method Name : testCreateUpdatePatient +Method Calling for : CreateUpdatePatient +Purpose : If we found the Patient information in EMPI we update or create same dataCheck + PHN is Exsit in salesforce Database or Not. +Version : 1.0 +Devloper Name : Accenture. +--------------------------------------------------------------------------*/ + @isTest + static void testCreateUpdatePatient() { + // Instantiate the class + EDRD_EmpiIntegration integration = new EDRD_EmpiIntegration(); + + // Mock data + Map inputMap = new Map{ + 'firstName' => 'John', + 'lastName' => 'Doe', + 'dateOfBirth' => Date.newInstance(1990, 01, 01), + 'gender' => 'Male', + 'phn' => '9879450112' + }; + Map outputMap = new Map(); + Map inputMapMain = new Map(); + inputMapMain.put('input',inputMap); + String jsonInput = Json.serialize(inputMapMain.get('input')); + + EDRD_EmpiWrapper.InputWrapper inputWrapper = (EDRD_EmpiWrapper.InputWrapper) JSON.deserialize(jsonInput, EDRD_EmpiWrapper.InputWrapper.class); + // Call the method + integration.createUpdatePatient(inputWrapper, outputMap); + + // Assert results + System.assert(outputMap.containsKey('searchOutput'), 'Output should contain searchOutput'); + } +/*--------------------------------------------------------------------- +Method Name : testGetSFData +Method Calling for : GetSFData +Purpose : Get the Data from salesforce based on user input(it cloud be PHN or Patient details). +Version : 1.0 +Devloper Name : Accenture. +--------------------------------------------------------------------------*/ + @isTest + static void testGetSFData() { + // Instantiate the class + EDRD_EmpiIntegration integration = new EDRD_EmpiIntegration(); + + // Mock data + Map inputMap = new Map{ + 'firstName' => 'John', + 'lastName' => 'Doe', + 'dateOfBirth' => Date.newInstance(1990, 01, 01) + }; + Map outputMap = new Map(); + + Map inputMapMain = new Map(); + inputMapMain.put('input',inputMap); + String jsonInput = Json.serialize(inputMapMain.get('input')); + EDRD_EmpiWrapper.InputWrapper inputWrapper = (EDRD_EmpiWrapper.InputWrapper) JSON.deserialize(jsonInput, EDRD_EmpiWrapper.InputWrapper.class); + // Call the method + integration.getSFdata(inputWrapper, outputMap); + + // Assert results + System.assert(outputMap.containsKey('searchOutput'), 'Output should contain searchOutput'); + // List> searchOutput = (List>) outputMap.get('searchOutput'); + // System.assert(searchOutput.size() > 0, 'Search output should not be empty'); + } +/*--------------------------------------------------------------------- +Method Name : testCreatePatientInSF +Method Calling for : CreatePatientInSF +Purpose : Create Date in salesforce database. +Version : 1.0 +Devloper Name : Accenture. +--------------------------------------------------------------------------*/ + @isTest + static void testCreatePatientInSF() { + // Instantiate the class + EDRD_EmpiIntegration integration = new EDRD_EmpiIntegration(); + + // Mock data + + Map inputMap = new Map{ + 'firstName' => 'Jane', + 'lastName' => 'Smith', + 'dateOfBirth' => Date.newInstance(1985, 07, 15), + 'phn' => '1234567890', + 'clickBy' => ESA_cls_constants.ManullyCreated + }; + Map outputMap = new Map(); + + Map inputMapMain = new Map(); + inputMapMain.put('input',inputMap); + String jsonInput = Json.serialize(inputMapMain.get('input')); + system.debug('jsonInput=136='+jsonInput); + EDRD_EmpiWrapper.InputWrapper inputWrapper = (EDRD_EmpiWrapper.InputWrapper) JSON.deserialize(jsonInput, EDRD_EmpiWrapper.InputWrapper.class); + system.debug('inputWrapper=134='+inputWrapper); + // Call the method + integration.createPatientInSF(InputWrapper, outputMap); + + // Assert results + System.assert(outputMap.containsKey('searchOutput'), 'Output should contain searchOutput'); + Map searchOutput = (Map) outputMap.get('searchOutput'); + System.assertEquals(true, searchOutput.get('isClickManulRecord'), 'Click manual record should be true'); + } +/*--------------------------------------------------------------------- +Method Name : testCreateACR +Method Calling for : CreateACR +Purpose : Create ACR Recods. +Version : 1.0 +Devloper Name : Accenture. +--------------------------------------------------------------------------*/ + @isTest + static void testCreateACR() { + + User us =[Select AccountId from user where Username ='test.user00978@abc.xyz.com' Limit 1]; + Account acc =[Select PersonContactId from Account where Patient_Identifier__pc = '9879450112' Limit 1]; + + EDRD_EmpiWrapper.InputWrapper inputWrapper = new EDRD_EmpiWrapper.InputWrapper(); + inputWrapper.LoginUserAccountId = us.AccountId; + inputWrapper.PatientContactId = acc.PersonContactId; + + Map outputMap = new Map(); + + // Step 4: Call the createACR method + EDRD_EmpiIntegration controller = new EDRD_EmpiIntegration(); + Test.startTest(); + controller.createACR(inputWrapper, outputMap); + Test.stopTest(); + + // Step 5: Validate that the AccountContactRelation record is created + List acrList = [ + SELECT Id, AccountId, ContactId, Roles + FROM AccountContactRelation + WHERE AccountId = :us.AccountId AND ContactId =: acc.PersonContactId + ]; + + System.assertEquals(1, acrList.size(), 'One AccountContactRelation record should be created.'); + System.assertEquals(ESA_cls_constants.EDRD_PHYSICIAN, acrList[0].Roles, 'The Role should be EDRD_PHYSICIAN.'); + + } +} \ No newline at end of file diff --git a/force-app/main/default/classes/EDRD_EmpiIntegrationTest.cls-meta.xml b/force-app/main/default/classes/EDRD_EmpiIntegrationTest.cls-meta.xml new file mode 100644 index 000000000..998805a82 --- /dev/null +++ b/force-app/main/default/classes/EDRD_EmpiIntegrationTest.cls-meta.xml @@ -0,0 +1,5 @@ + + + 62.0 + Active + diff --git a/force-app/main/default/classes/EDRD_EmpiWrapper.cls b/force-app/main/default/classes/EDRD_EmpiWrapper.cls new file mode 100644 index 000000000..f05fc44d6 --- /dev/null +++ b/force-app/main/default/classes/EDRD_EmpiWrapper.cls @@ -0,0 +1,57 @@ +public class EDRD_EmpiWrapper { + public class InputWrapper + { + public String phn {get;set;} + public String firstName {get; set;} + public String lastName {get; set;} + public Date dateOfBirth {get; set;} + public String reason {get; set;} + public String gender {get; set;} + public String clickBy {get;set;} + public Id patientAccId {get;set;} + public Id providerConId {get;set;} + public Id LoginUserAccountId {get;set;} + public Id PatientContactId {get;set;} + + } + public class OutputWrapper + { + public String phn {get;set;} + public Boolean isPatientFound {get; set;} + public String firstName {get;set;} + public String lastName {get;set;} + public Date dateOfBirth {get;set;} + public Boolean deceased {get;set;} + public String responseMessage {get;set;} + public String gender {get; set;} + public Id patientId {get; set;} + public Id patientaccountId {get; set;} + public Id patientContactId {get; set;} + public Boolean isValidatePHNClick {get;set;} + public Boolean isClickEmpiSearch {get;set;} + public Boolean isClickSFsearch {get;set;} + public Boolean isClickManulRecord {get;set;} + public Boolean isPatientInSF {get;set;} + public Boolean isPatientInEMPI {get;set;} + + + } + + public class Patient { + public boolean deceased {get;set;} + public String dob {get;set;} + public String gender {get;set;} + public List names {get;set;} + public String phn {get;set;} + public String verified {get;set;} + public String verifiedDate {get;set;} + public String notes {get;set;} + } + public class PersonName { + public boolean declared; + public String familyName; + public List givenNames; + public String type; + } + +} \ No newline at end of file diff --git a/force-app/main/default/classes/EDRD_EmpiWrapper.cls-meta.xml b/force-app/main/default/classes/EDRD_EmpiWrapper.cls-meta.xml new file mode 100644 index 000000000..998805a82 --- /dev/null +++ b/force-app/main/default/classes/EDRD_EmpiWrapper.cls-meta.xml @@ -0,0 +1,5 @@ + + + 62.0 + Active + diff --git a/force-app/main/default/classes/ESA_cls_constants.cls b/force-app/main/default/classes/ESA_cls_constants.cls index 9b397358e..bf844ecff 100644 --- a/force-app/main/default/classes/ESA_cls_constants.cls +++ b/force-app/main/default/classes/ESA_cls_constants.cls @@ -33,4 +33,8 @@ public class ESA_cls_constants { public static final Id PatientRecordTypeId = Schema.SObjectType.Account.getRecordTypeInfosByDeveloperName().get('Patient').getRecordTypeId(); public static final String ManullyCreated = 'manullyCreated'; public static final String EMPICreated = 'EMPICreated'; + public static final String EMPICreatedRenewal = 'EMPICreatedRenewal'; + public static final String EMPISearchRenewal = 'EMPISearchRenewal'; + + } \ No newline at end of file