diff --git a/OmniStudio-Components/main/default/omniScripts/EDRD_RenewForm_English_1.os-meta.xml b/OmniStudio-Components/main/default/omniScripts/EDRD_RenewForm_English_1.os-meta.xml index 35bd8d638..5763157e5 100644 --- a/OmniStudio-Components/main/default/omniScripts/EDRD_RenewForm_English_1.os-meta.xml +++ b/OmniStudio-Components/main/default/omniScripts/EDRD_RenewForm_English_1.os-meta.xml @@ -32,7 +32,7 @@ } } } - 15.0 + 23.0 OmniScript @@ -65,9 +65,70 @@ "message" : { }, "pubsub" : false } - 5.0 + 13.0 Set Errors + + 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" : "" +} + 50.0 + Remote Action + CrysvitaRenewalSubmission|CrysvitaRenewalSubmission|English true @@ -90,7 +151,7 @@ } } } - 22.0 + 30.0 OmniScript @@ -106,7 +167,7 @@ "Language" : "English", "show" : null } - 36.0 + 44.0 OmniScript @@ -131,7 +192,7 @@ } } } - 27.0 + 35.0 OmniScript @@ -190,7 +251,7 @@ "businessCategory" : "", "businessEvent" : "" } - 37.0 + 45.0 DataRaptor Post Action @@ -249,7 +310,7 @@ "label" : "DRcreateRequestNoDocEDRD", "controlWidth" : 12 } - 38.0 + 46.0 DataRaptor Post Action @@ -308,7 +369,7 @@ "label" : "DRcreateRequestWithNoEligiblityEDRD", "controlWidth" : 12 } - 39.0 + 47.0 DataRaptor Post Action @@ -367,7 +428,7 @@ "businessCategory" : "", "businessEvent" : "" } - 40.0 + 48.0 DataRaptor Post Action @@ -426,7 +487,7 @@ "businessCategory" : "", "businessEvent" : "" } - 41.0 + 49.0 DataRaptor Post Action @@ -751,13 +812,12 @@ { "controlWidth" : 6, "label" : "Requested Frequency Units", - "showInputWidth" : false, - "inputWidth" : 12, - "required" : true, + "required" : false, "repeat" : false, "repeatClone" : false, "repeatLimit" : null, "readOnly" : false, + "horizontalMode" : "displayWide", "defaultValue" : null, "help" : false, "helpText" : "", @@ -777,10 +837,14 @@ "accessibleInFutureSteps" : false, "HTMLTemplateId" : "", "hide" : false, + "optionWidth" : 100, + "optionHeight" : 100, + "imageCountInRow" : 3, + "enableCaption" : true, "disOnTplt" : false } 3.0 - Select + Radio true @@ -836,64 +900,6 @@ 5.0 Number - - true - false - 2.0 - RenewalFundingDurationUnits - 0.0 - { - "disOnTplt" : false, - "hide" : false, - "HTMLTemplateId" : "", - "accessibleInFutureSteps" : false, - "conditionType" : "Hide if False", - "show" : { - "group" : { - "operator" : "OR", - "rules" : [ { - "data" : "false", - "condition" : "=", - "field" : "RenewalIndefiniteFunding" - }, { - "group" : { - "operator" : "AND", - "rules" : [ { - "field" : "MedicationNameRenewal", - "condition" : "<>", - "data" : "cysteamine" - } ] - } - } ] - } - }, - "controllingField" : { - "source" : "", - "type" : "", - "element" : "" - }, - "optionSource" : { - "source" : "Medication.HC_Renewal_Funding_Duration_Unit__c", - "type" : "SObject" - }, - "options" : [ ], - "helpTextPos" : "", - "helpText" : "", - "help" : false, - "defaultValue" : null, - "readOnly" : false, - "repeatLimit" : null, - "repeatClone" : false, - "repeat" : false, - "required" : true, - "inputWidth" : 12, - "showInputWidth" : false, - "label" : "Requested Funding Duration Units", - "controlWidth" : 6 -} - 6.0 - Select - true false @@ -931,10 +937,53 @@ 4.0 Checkbox + + true + false + 2.0 + RequestedFundingDurationUnits + 0.0 + { + "controlWidth" : 6, + "label" : "Requested Funding Duration Units", + "required" : false, + "repeat" : false, + "repeatClone" : false, + "repeatLimit" : null, + "readOnly" : false, + "horizontalMode" : "displayWide", + "defaultValue" : null, + "help" : false, + "helpText" : "", + "helpTextPos" : "", + "options" : [ ], + "optionSource" : { + "type" : "SObject", + "source" : "Medication.HC_Renewal_Funding_Duration_Unit__c" + }, + "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 + Radio + true false 1.0 - RenewalDosageDetail + renewalDosageDetail 0.0 { "controlWidth" : 12, @@ -1235,7 +1284,7 @@ "validationRequired" : true, "label" : "DRUG AND DOSAGE" } - 6.0 + 14.0 Step @@ -1260,7 +1309,7 @@ } } } - 16.0 + 24.0 OmniScript @@ -1285,7 +1334,7 @@ } } } - 31.0 + 39.0 OmniScript @@ -1310,7 +1359,7 @@ } } } - 25.0 + 33.0 OmniScript @@ -1385,7 +1434,7 @@ } } } - 28.0 + 36.0 OmniScript @@ -1410,7 +1459,7 @@ } } } - 18.0 + 26.0 OmniScript @@ -1435,7 +1484,7 @@ } } } - 29.0 + 37.0 OmniScript @@ -1465,7 +1514,7 @@ "extraPayload" : { "CASENumber" : "%PleaseEnterCaseNumber%", "IndicationId" : "%IndicationId%", - "AccountId" : "%PatAccId%" + "AccountId" : "%PatientAccountId%" }, "inProgressMessage" : "In Progress", "postMessage" : "Done", @@ -1499,7 +1548,7 @@ "businessEvent" : "", "sendOnlyExtraPayload" : true } - 4.0 + 12.0 Integration Procedure Action @@ -1524,7 +1573,7 @@ } } } - 13.0 + 21.0 OmniScript @@ -1549,7 +1598,7 @@ } } } - 26.0 + 34.0 OmniScript @@ -1574,7 +1623,7 @@ } } } - 32.0 + 40.0 OmniScript @@ -1599,7 +1648,7 @@ } } } - 17.0 + 25.0 OmniScript @@ -1624,7 +1673,7 @@ } } } - 21.0 + 29.0 OmniScript @@ -1649,97 +1698,122 @@ } } } - 30.0 + 38.0 OmniScript - true - false - 0.0 - PatientIdentifierWrongError - 0.0 - { + + true + false + 1.0 + dataTableheaderrenewal + 0.0 + { "controlWidth" : 12, - "label" : "PatientIdentifierWrongError", - "validationRequired" : "Step", - "elementErrorMap" : { - "PatientIdentifier" : "Please click on Search Patient." - }, - "showPersistentComponent" : [ true, false ], - "show" : { - "group" : { - "operator" : "AND", - "rules" : [ { - "data" : null, - "condition" : "=", - "field" : "PatientName" - } ] - } - }, - "HTMLTemplateId" : "", - "wpm" : false, - "ssm" : false, - "message" : { }, - "pubsub" : false + "label" : "dataTableheaderrenewal", + "show" : null, + "conditionType" : "Hide if False", + "hide" : false, + "lwcName" : "cfDataTableHeading", + "bStandalone" : false, + "customAttributes" : [ { + "name" : "parent-data", + "source" : "true" + }, { + "name" : "records", + "source" : "%searchOutput%" + } ] } - 2.0 - Set Errors - - + 0.0 + Custom Lightning Web Component + true false 1.0 - CareProgramisInactive + showPatientData 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, + "label" : "PatientInformation", + "show" : null, + "conditionType" : "Hide if False", + "hide" : false, + "lwcName" : "cfDataTable", + "bStandalone" : false, + "customAttributes" : [ { + "name" : "parent-data", + "source" : "true" + }, { + "name" : "records", + "source" : "%searchOutput%" + } ] +} + 1.0 + Custom Lightning Web Component + + true + false + 0.0 + PatientDeatils + 0.0 + { + "label" : "Patient Search Information", + "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" : "PatientDeceasedCheck", - "condition" : "<>", - "data" : "true" - }, { - "field" : "PhnCount", - "condition" : "<>", - "data" : "0" + "field" : "reasonFormula" } ] } }, - "HTMLTemplateId" : "" + "conditionType" : "Hide if False", + "HTMLTemplateId" : "", + "instructionKey" : "", + "chartLabel" : null, + "allowSaveForLater" : true, + "errorMessage" : { + "custom" : [ ], + "default" : null + }, + "wpm" : false, + "ssm" : false, + "message" : { }, + "pubsub" : false, + "businessCategory" : "", + "businessEvent" : "" } - 15.0 - Validation - + 9.0 + Step + + true false @@ -1747,8 +1821,8 @@ CaseType 0.0 { - "controlWidth" : 2, - "label" : "Request Type", + "controlWidth" : 12, + "label" : "CaseType", "showInputWidth" : false, "inputWidth" : 12, "required" : false, @@ -1756,7 +1830,7 @@ "repeatClone" : false, "repeatLimit" : null, "readOnly" : true, - "defaultValue" : "Renewal", + "defaultValue" : "New", "help" : false, "helpText" : "", "helpTextPos" : "", @@ -1782,93 +1856,198 @@ 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" : "reasonFormula" + } ] + } + }, + "hideLabel" : true, + "messages" : [ { + "value" : true, + "type" : "Success", + "text" : "", + "active" : false + }, { + "value" : false, + "type" : "Warning", + "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" : [ { + "data" : "false", + "condition" : "=", + "field" : "searchOutput:deceased" + } ] + } + }, + "label" : "deceasedPatientErrorMessage", + "controlWidth" : 12 } - 4.0 - Line Break + 6.0 + Validation - true - false - 1.0 - LineBreak2 - 0.0 - { - "label" : "LineBreak2", - "padding" : 0, + + true + false + 2.0 + EMPIResultRenewal + 0.0 + { + "controlWidth" : 12, + "label" : "TextBlock11", + "text" : "<p>EMPI Serach Result.</p>", "show" : null, - "HTMLTemplateId" : "" + "dataJSON" : false, + "HTMLTemplateId" : "", + "textKey" : "", + "sanitize" : false } - 12.0 - Line Break - - - true - false - 1.0 - LineBreak3 - 0.0 - { - "label" : "LineBreak3", - "padding" : 2, + 0.0 + Text Block + + + true + false + 2.0 + Formula1 + 0.0 + { + "disOnTplt" : false, + "HTMLTemplateId" : "", + "dateFormat" : "MM-dd-yyyy", + "hideGroupSep" : false, + "dataType" : null, + "mask" : null, "show" : null, - "HTMLTemplateId" : "" + "hide" : false, + "expression" : "%searchOutput:dateOfBirth%", + "inputWidth" : 12, + "showInputWidth" : false, + "label" : "Birthdate", + "controlWidth" : 3 } - 8.0 - Line Break - - - true - false - 1.0 - LineBreak4 - 0.0 - { - "label" : "LineBreak4", - "padding" : 3, + 2.0 + Formula + + + true + false + 2.0 + gender + 0.0 + { + "controlWidth" : 3, + "label" : "Gender", + "showInputWidth" : false, + "inputWidth" : 12, + "expression" : "%searchOutput:gender%", + "hide" : false, "show" : null, - "HTMLTemplateId" : "" + "mask" : null, + "dataType" : null, + "hideGroupSep" : false, + "dateFormat" : "MM-dd-yyyy", + "HTMLTemplateId" : "", + "disOnTplt" : false } - 10.0 - Line Break - - + 3.0 + Formula + + + true + false + 2.0 + PatientName + 0.0 + { + "controlWidth" : 3, + "label" : "Declared Name", + "showInputWidth" : false, + "inputWidth" : 12, + "expression" : "%searchOutput:firstName%+' '+%searchOutput:lastName%", + "hide" : false, + "show" : null, + "mask" : null, + "dataType" : null, + "hideGroupSep" : false, + "dateFormat" : "MM-dd-yyyy", + "HTMLTemplateId" : "", + "disOnTplt" : false +} + 1.0 + Formula + true false 1.0 - LineBreak6 + PatientDeatilsRenewal 0.0 { - "label" : "LineBreak6", - "padding" : 0, - "show" : null, - "HTMLTemplateId" : "" + "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" + }, { + "field" : "searchOutput:isPatientInEMPI", + "condition" : "=", + "data" : "true" + } ] + } + }, + "conditionType" : "Hide if False", + "accessibleInFutureSteps" : false, + "HTMLTemplateId" : "", + "hide" : false } - 14.0 - Line Break + 4.0 + Block true false 1.0 - PatAccId + PatientIdentifierRenewal 0.0 { - "controlWidth" : 5, - "label" : "PatAccId", + "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" : "", @@ -1877,167 +2056,23 @@ "pattern" : "", "ptrnErrText" : "", "minLength" : 0, - "maxLength" : 255, + "maxLength" : 10, "placeholder" : "", - "show" : null, - "conditionType" : "Hide if False", - "accessibleInFutureSteps" : false, - "debounceValue" : 0, - "HTMLTemplateId" : "", - "hide" : true, - "disOnTplt" : false, - "autocomplete" : null -} - 3.0 - Text - - - true - false - 1.0 - PatientBirthDate - 0.0 - { - "controlWidth" : 3, - "label" : "Patient BirthDate", - "showInputWidth" : false, - "inputWidth" : 12, - "required" : false, - "repeat" : false, - "repeatClone" : false, - "repeatLimit" : null, - "readOnly" : true, - "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" : "" -} - 18.0 - Date - - - true - false - 1.0 - PatientDeceasedErrorMessage - 0.0 - { - "controlWidth" : null, - "label" : "PatientDeceasedErrorMessage", - "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, "show" : { "group" : { "operator" : "AND", "rules" : [ { - "data" : "true", + "data" : null, "condition" : "=", - "field" : "PatientDeceasedCheck" + "field" : "reasonRenewal" + }, { + "field" : "PatientIdentifierRenewal", + "condition" : ">=", + "data" : "0" } ] } }, - "HTMLTemplateId" : "" -} - 9.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" : "", - "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" : "", @@ -2045,119 +2080,122 @@ "disOnTplt" : false, "autocomplete" : null } - 17.0 + 2.0 Text true false 1.0 - PatientNotenrolledinCareprogram + patientNotInSFErrorMessage 0.0 { "controlWidth" : 12, - "label" : "PatientNotenrolledinCareprogram", + "label" : "patientNotInSFErrorMessage", "validateExpression" : { "group" : { "operator" : "AND", "rules" : [ { - "data" : "null", - "condition" : "<>", - "field" : "CareProgramCheck" + "data" : "true", + "condition" : "=", + "field" : "searchOutput:isPatientInEMPI" + }, { + "field" : "searchOutput:isClickEmpiSearch", + "condition" : "=", + "data" : "true" + }, { + "field" : "searchOutput:deceased", + "condition" : "=", + "data" : "false" + }, { + "field" : "reasonFormula", + "condition" : "=", + "data" : "false" + }, { + "field" : "searchOutput:isPatientInSF", + "condition" : "=", + "data" : "false" } ] } }, "messages" : [ { "value" : true, - "type" : "Success", - "text" : "", - "active" : false + "type" : "Warning", + "text" : "Patient doesn't have related Cases.", + "active" : true }, { "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 + "type" : "Warning", + "text" : "", + "active" : false } ], "hideLabel" : true, "show" : { "group" : { "operator" : "AND", "rules" : [ { - "data" : "null", - "condition" : "<>", - "field" : "PatientAvailabilityCheck" - }, { - "field" : "CareProgramCheck", + "field" : "searchOutput:isClickEmpiSearch", "condition" : "=", - "data" : "null" + "data" : "true" }, { - "field" : "PatientDeceasedCheck", - "condition" : "<>", + "field" : "searchOutput:isPatientInEMPI", + "condition" : "=", "data" : "true" }, { - "field" : "PhnCount", - "condition" : "<>", - "data" : "0" + "field" : "searchOutput:isPatientInSF", + "condition" : "=", + "data" : "false" } ] } }, "HTMLTemplateId" : "" } - 13.0 + 7.0 Validation true false 1.0 - PhnCount + PatientSearchTextRenewal 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, + "controlWidth" : 12, + "label" : "TextBlock4", + "text" : "<p><strong>Patient Search</strong></p>", "show" : null, - "conditionType" : "Hide if False", - "accessibleInFutureSteps" : false, - "debounceValue" : 0, + "dataJSON" : false, "HTMLTemplateId" : "", - "hide" : true, - "disOnTplt" : false, - "autocomplete" : null + "textKey" : "", + "sanitize" : false } - 6.0 - Number + 1.0 + Text Block true false 1.0 - PhnnotAvailableErrorMessage + phnNotFoundErrorMessage 0.0 { "controlWidth" : 12, - "label" : "PhnnotAvailableErrorMessage", + "label" : "phnNotFoundErrorMessage", "validateExpression" : { "group" : { "operator" : "AND", "rules" : [ { - "data" : "null", - "condition" : "<>", - "field" : "PatientAvailabilityCheck" + "field" : "reasonFormula", + "condition" : "=", + "data" : "true" + }, { + "field" : "searchOutput:isPatientInEMPI", + "condition" : "=", + "data" : "true" + }, { + "field" : "searchOutput:isPatientInSF", + "condition" : "=", + "data" : "true" } ] } }, @@ -2168,8 +2206,8 @@ "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.", + "type" : "Warning", + "text" : "NO RESULT FOUND", "active" : true } ], "hideLabel" : true, @@ -2177,125 +2215,110 @@ "group" : { "operator" : "AND", "rules" : [ { - "data" : "null", + "field" : "reasonFormula", "condition" : "=", - "field" : "PatientAvailabilityCheck" + "data" : "false" }, { - "field" : "PatientDeceasedCheck", + "field" : "searchOutput:deceased", "condition" : "<>", "data" : "true" + }, { + "field" : "searchOutput:isPatientInEMPI", + "condition" : "=", + "data" : "false" + }, { + "field" : "searchOutput:isPatientInSF", + "condition" : "=", + "data" : "false" } ] } }, "HTMLTemplateId" : "" } - 11.0 + 5.0 Validation true false 1.0 - PhnNotFoundErrorMessage + reasonFormula 0.0 { "controlWidth" : 12, - "label" : "PhnNotFoundErrorMessage", - "validateExpression" : { - "group" : { - "operator" : "AND", - "rules" : [ { - "data" : "0", - "condition" : "<>", - "field" : "PhnCount" - } ] - } - }, - "messages" : [ { - "value" : true, - "type" : "Success", - "text" : "", - "active" : false - }, { - "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.", - "active" : true - } ], - "hideLabel" : true, - "show" : { - "group" : { - "operator" : "AND", - "rules" : [ { - "data" : "0", - "condition" : "=", - "field" : "PhnCount" - }, { - "field" : "PatientAvailabilityCheck", - "condition" : "<>", - "data" : "null" - } ] - } - }, - "HTMLTemplateId" : "" + "label" : "reasonFormula", + "showInputWidth" : false, + "inputWidth" : 12, + "expression" : "IF(%reasonRenewal%, true, false)", + "hide" : true, + "show" : null, + "mask" : null, + "dataType" : null, + "hideGroupSep" : false, + "dateFormat" : "MM-dd-yyyy", + "HTMLTemplateId" : "", + "disOnTplt" : false } - 7.0 - Validation + 11.0 + Formula true false 1.0 - PrescriberId + reasonRenewal 0.0 { - "controlWidth" : 3, - "label" : "PrescriberId", - "showInputWidth" : false, - "inputWidth" : 12, + "controlWidth" : 12, + "label" : "Select Overrirde Reason", "required" : false, "repeat" : false, "repeatClone" : false, "repeatLimit" : null, - "readOnly" : true, + "readOnly" : false, + "horizontalMode" : false, "defaultValue" : null, "help" : false, "helpText" : "", "helpTextPos" : "", - "mask" : "", - "pattern" : "", - "ptrnErrText" : "", - "minLength" : 0, - "maxLength" : 255, - "placeholder" : "", + "options" : [ ], + "optionSource" : { + "type" : "SObject", + "source" : "Case.EDRD_EMPI_Override_Reason_Renewal__c" + }, + "controllingField" : { + "element" : "", + "type" : "", + "source" : "" + }, "show" : null, "conditionType" : "Hide if False", "accessibleInFutureSteps" : false, - "debounceValue" : 0, "HTMLTemplateId" : "", - "hide" : true, - "disOnTplt" : false, - "autocomplete" : null + "hide" : false, + "optionWidth" : 100, + "optionHeight" : 100, + "imageCountInRow" : 3, + "enableCaption" : true, + "disOnTplt" : false } - 2.0 - Text + 10.0 + Radio true false 1.0 - SearchPatient + searchPatientRenewalRM 0.0 { "controlWidth" : null, - "label" : "Search Patient", - "integrationProcedureKey" : "EDRDIP_SearchPatient", - "useContinuation" : false, + "label" : "Patient Search", + "remoteClass" : "EDRD_EmpiIntegration", + "remoteMethod" : "getEmpidata", "remoteOptions" : { "preTransformBundle" : "", - "postTransformBundle" : "", - "useFuture" : false, - "chainable" : false + "postTransformBundle" : "" }, "remoteTimeout" : 30000, "preTransformBundle" : "", @@ -2305,8 +2328,8 @@ "responseJSONPath" : "", "responseJSONNode" : "", "extraPayload" : { - "PatientIdentifier" : "%PatientIdentifier%", - "PrescriberId" : "%PrescriberId%" + "phn" : "%PatientIdentifierRenewal%", + "clickBy" : "EMPICreatedRenewal" }, "inProgressMessage" : "In Progress", "postMessage" : "Done", @@ -2314,7 +2337,7 @@ "failureAbortLabel" : "Abort", "failureGoBackLabel" : "Go Back", "failureAbortMessage" : "Are you sure?", - "validationRequired" : "None", + "validationRequired" : "Step", "redirectPageName" : "", "redirectTemplateUrl" : "vlcAcknowledge.html", "redirectNextLabel" : "Next", @@ -2336,104 +2359,124 @@ }, "enableDefaultAbort" : false, "enableActionMessage" : false, + "useContinuation" : false, "businessCategory" : "", - "businessEvent" : "" + "businessEvent" : "", + "sendOnlyExtraPayload" : true } - 5.0 - Integration Procedure Action + 3.0 + Remote Action true false 1.0 - TextBlock2 + TextBlock6 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" : "CareprogramStatusCheck", - "condition" : "=", - "data" : "Inactive" - }, { - "field" : "CareProgramCheck", - "condition" : "=", - "data" : "null" - } ] - } - }, + "label" : "TextBlock4", + "text" : "<p><strong>Override</strong></p>", + "show" : null, "dataJSON" : false, "HTMLTemplateId" : "", "textKey" : "", "sanitize" : false } - 16.0 + 8.0 + Text Block + + + true + false + 1.0 + TextBlock7 + 0.0 + { + "controlWidth" : 12, + "label" : "TextBlock4", + "text" : "<p>In case you don't have the patient information you can continue by providing a reason for the overrirde</p>", + "show" : null, + "dataJSON" : false, + "HTMLTemplateId" : "", + "textKey" : "", + "sanitize" : false +} + 9.0 Text Block + + true + false + 1.0 + validationFormula + 0.0 + { + "disOnTplt" : false, + "HTMLTemplateId" : "", + "dateFormat" : "MM-dd-yyyy", + "hideGroupSep" : false, + "dataType" : null, + "mask" : null, + "show" : null, + "hide" : true, + "expression" : "IF(%searchOutput:deceased% == true || %searchOutput:isPatientInEMPI%== false || %searchOutput:isPatientInSF%== false, true, false)", + "inputWidth" : 12, + "showInputWidth" : false, + "label" : "validation Formula", + "controlWidth" : 12 +} + 12.0 + Formula + true false 0.0 PatientInformation 0.0 { - "businessEvent" : "", - "businessCategory" : "", - "pubsub" : false, - "message" : { }, - "ssm" : false, - "wpm" : false, - "errorMessage" : { - "default" : null, - "custom" : [ ] - }, - "allowSaveForLater" : false, - "chartLabel" : null, - "instructionKey" : "", - "HTMLTemplateId" : "", - "conditionType" : "Hide if False", - "show" : null, + "label" : "PATIENT INFORMATION", + "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" : { - "typeFilter" : "", - "remoteTimeout" : 30000, - "dataCategoryCriteria" : "", - "keyword" : "", + "language" : "English", "publishStatus" : "Online", - "language" : "English" + "keyword" : "", + "dataCategoryCriteria" : "", + "remoteTimeout" : 30000, + "typeFilter" : "" }, - "remoteOptions" : { }, - "remoteTimeout" : 30000, - "remoteMethod" : "", - "remoteClass" : "", - "showPersistentComponent" : [ true, false ], - "instruction" : "", - "completeMessage" : "Are you sure you want to complete the script?", - "completeLabel" : "Complete", - "saveMessage" : "Are you sure you want to save it for later?", - "saveLabel" : "Save for later", - "cancelMessage" : "Are you sure?", - "cancelLabel" : "Cancel", - "nextWidth" : "6", - "nextLabel" : "Next", - "previousWidth" : "4", - "previousLabel" : "Previous", - "validationRequired" : true, - "label" : "PATIENT INFORMATION" + "show" : null, + "conditionType" : "Hide if False", + "HTMLTemplateId" : "", + "instructionKey" : "", + "chartLabel" : null, + "allowSaveForLater" : true, + "errorMessage" : { + "custom" : [ ], + "default" : null + }, + "wpm" : false, + "ssm" : false, + "message" : { }, + "pubsub" : false, + "businessCategory" : "", + "businessEvent" : "" } 1.0 Step @@ -2455,7 +2498,7 @@ "bStandalone" : false, "customAttributes" : [ { "name" : "record-id", - "source" : "%PatientInformation:PatAccId%" + "source" : "%PatientAccountId%" } ] } 1.0 @@ -2510,7 +2553,7 @@ "previousLabel" : "Previous", "previousWidth" : 3, "nextLabel" : "Next", - "nextWidth" : "8", + "nextWidth" : "3", "cancelLabel" : "Cancel", "cancelMessage" : "Are you sure?", "saveLabel" : "Save for later", @@ -2531,107 +2574,994 @@ "remoteTimeout" : 30000, "typeFilter" : "" }, - "show" : null, - "conditionType" : "Hide if False", - "HTMLTemplateId" : "", - "instructionKey" : "", - "chartLabel" : "", - "allowSaveForLater" : true, - "errorMessage" : { - "custom" : [ ], - "default" : null + "show" : null, + "conditionType" : "Hide if False", + "HTMLTemplateId" : "", + "instructionKey" : "", + "chartLabel" : "", + "allowSaveForLater" : true, + "errorMessage" : { + "custom" : [ ], + "default" : null + }, + "wpm" : false, + "ssm" : false, + "message" : { }, + "pubsub" : false, + "businessCategory" : "", + "businessEvent" : "" +} + 11.0 + Step + + + true + false + 0.0 + RemoteCreateAssessment + 0.0 + { + "controlWidth" : 12, + "label" : "RemoteCreateAssessment", + "remoteClass" : "omnistudio.StoreResponses", + "remoteMethod" : "invokeMethod", + "remoteOptions" : { + "preTransformBundle" : "", + "postTransformBundle" : "", + "Assessment.CaseId" : "%DRId_Case%", + "Assessment.AssessmentStatus" : "Completed" + }, + "remoteTimeout" : 30000, + "preTransformBundle" : "", + "postTransformBundle" : "", + "sendJSONPath" : "", + "sendJSONNode" : "", + "responseJSONPath" : "", + "responseJSONNode" : "", + "extraPayload" : { }, + "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" : "" +} + 51.0 + Remote Action + + + true + false + 0.0 + RenewalMedicationIdNullcheck + 0.0 + { + "controlWidth" : 12, + "label" : "RenewalMedicationIdNullcheck", + "validationRequired" : "Step", + "elementErrorMap" : { + "IndicationValueRenewal" : "Please click on the Select Dosage button below" + }, + "showPersistentComponent" : [ true, false ], + "show" : { + "group" : { + "operator" : "AND", + "rules" : [ { + "data" : null, + "condition" : "=", + "field" : "MedicationNameRenewal" + } ] + } + }, + "HTMLTemplateId" : "", + "wpm" : false, + "ssm" : false, + "message" : { }, + "pubsub" : false +} + 15.0 + Set Errors + + + true + false + 0.0 + RestartOmniscript + 0.0 + { + "controlWidth" : 12, + "label" : "RestartOmniscript", + "validationRequired" : "Submit", + "show" : null, + "HTMLTemplateId" : "", + "wpm" : false, + "ssm" : false, + "pubsub" : false, + "message" : { }, + "targetType" : "Restart OmniScript", + "objectAction" : "home", + "recordAction" : "view", + "loginAction" : "login", + "targetFilter" : "Recent", + "targetId" : "%ContextId%", + "variant" : "brand", + "iconName" : "", + "iconVariant" : "", + "iconPosition" : "left", + "replace" : false, + "targetLWCLayout" : "lightning", + "businessCategory" : "", + "businessEvent" : "" +} + 53.0 + Navigate Action + + + SandozMiglustatRenewalSubmission|SandozMiglustatRenewalSubmission|English + true + false + 0.0 + SANDOZMIGLUSTATRENEWALSUBMISSION + 0.0 + { + "Type" : "SandozMiglustatRenewalSubmission", + "Sub Type" : "SandozMiglustatRenewalSubmission", + "Language" : "English", + "show" : { + "group" : { + "operator" : "AND", + "rules" : [ { + "data" : "miglustat-Gaucher", + "condition" : "=", + "field" : "MedicationNameRenewal" + } ] + } + } +} + 42.0 + OmniScript + + + + + + true + false + 3.0 + firstNameRenewal + 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 +} + 1.0 + Text + + + true + false + 3.0 + lastNameRenewal + 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 + patientDOBRenewal + 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" : "" +} + 4.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:firstNameRenewal%", + "lastname" : "%SearchPatient:blockSearchMain:blockSearchByName:lastNameRenewal%", + "dateOfBirth" : "%SearchPatient:blockSearchMain:blockSearchByName:patientDOBRenewal%", + "clickBy" : "RenewalSFSearch" + }, + "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" : "Please Enter the Correct Details" + }, + "enableDefaultAbort" : false, + "enableActionMessage" : false, + "useContinuation" : false, + "businessCategory" : "", + "businessEvent" : "", + "sendOnlyExtraPayload" : true +} + 3.0 + Remote Action + + + true + false + 3.0 + TextBlock10 + 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 + phnRenewal + 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" : 10, + "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" : "Please Enter the Correct Details", + "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" : "In Progress", + "extraPayload" : { + "phn" : "%SearchPatient:blockSearchMain:blockSearchByPHN:phnRenewal%", + "clickBy" : "RenewalSFSearch" + }, + "responseJSONNode" : "", + "responseJSONPath" : "", + "sendJSONNode" : "", + "sendJSONPath" : "", + "postTransformBundle" : "", + "preTransformBundle" : "", + "remoteTimeout" : 30000, + "remoteOptions" : { + "preTransformBundle" : "", + "postTransformBundle" : "" + }, + "remoteMethod" : "validatePHN", + "remoteClass" : "EDRD_EmpiIntegration", + "label" : "Search by Identifier", + "controlWidth" : null +} + 2.0 + Remote Action + + + true + false + 3.0 + TextBlock9 + 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 + + 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 + LineBreak10 + 0.0 + { + "HTMLTemplateId" : "", + "show" : null, + "padding" : 0, + "label" : "LineBreak10" +} + 1.0 + Line Break + + + true + false + 1.0 + searchPatientResultMessage + 0.0 + { + "controlWidth" : 12, + "label" : "searchPatientResultMessage", + "validateExpression" : { + "group" : { + "operator" : "AND", + "rules" : [ { + "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" : [ { + "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" +} + 3.0 + Validation + + + true + false + 1.0 + serachPatientNotFound + 0.0 + { + "toastMode" : "sticky", + "showMessageAs" : "inline", + "HTMLTemplateId" : "", + "show" : { + "group" : { + "operator" : "AND", + "rules" : [ { + "group" : { + "operator" : "OR", + "rules" : [ { + "field" : "searchOutput:isPatientFound", + "condition" : "=", + "data" : "false" + }, { + "field" : "searchOutput|1:isPatientFound", + "condition" : "=", + "data" : "false" + } ] + } + }, { + "field" : "searchOutput", + "condition" : "<>", + "data" : null + }, { + "group" : { + "operator" : "OR", + "rules" : [ { + "field" : "searchOutput:isClickSFsearch", + "condition" : "=", + "data" : "true" + }, { + "field" : "searchOutput|1:isClickSFsearch", + "condition" : "=", + "data" : "true" + } ] + } + } ] + } + }, + "hideLabel" : true, + "messages" : [ { + "value" : true, + "type" : "Warning", + "text" : "NO RESULT FOUND", + "active" : true + }, { + "value" : false, + "type" : "Warning", + "text" : "", + "active" : false + } ], + "validateExpression" : { + "group" : { + "operator" : "AND", + "rules" : [ { + "group" : { + "operator" : "OR", + "rules" : [ { + "field" : "searchOutput:isPatientFound", + "condition" : "=", + "data" : "false" + }, { + "field" : "searchOutput|1:isPatientFound", + "condition" : "=", + "data" : "false" + } ] + } + }, { + "field" : "searchOutput", + "condition" : "<>", + "data" : null + }, { + "group" : { + "operator" : "OR", + "rules" : [ { + "field" : "searchOutput:isClickSFsearch", + "condition" : "=", + "data" : "true" + }, { + "field" : "searchOutput|1:isClickSFsearch", + "condition" : "=", + "data" : "true" + } ] + } + } ] + } + }, + "label" : "serachPatientNotFound", + "controlWidth" : 12, + "lwcComponentOverride" : "" +} + 4.0 + Validation + + + true + false + 1.0 + TextBlock8 + 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 + 1.0 + validatePatientFormula + 0.0 + { + "controlWidth" : 12, + "label" : "Validate Patient Formula", + "showInputWidth" : false, + "inputWidth" : 12, + "expression" : "IF((%searchOutput:isPatientSFRenewal% == true|| %searchOutput|1:isPatientSFRenewal% == true), true, false)", + "hide" : true, + "show" : null, + "mask" : null, + "dataType" : null, + "hideGroupSep" : false, + "dateFormat" : "MM-dd-yyyy", + "HTMLTemplateId" : "", + "disOnTplt" : false +} + 5.0 + Formula + + 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" : "reasonFormula" + } ] + } + }, + "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 + 0.0 + SetErrorSearchPatient + 0.0 + { + "controlWidth" : 12, + "label" : "SetErrorSearchPatient", + "validationRequired" : "Step", + "elementErrorMap" : { + "searchPatientResultMessage" : "=" + }, + "showPersistentComponent" : [ true, false ], + "show" : { + "group" : { + "operator" : "OR", + "rules" : [ { + "data" : "false", + "condition" : "=", + "field" : "validatePatientFormula" + }, { + "field" : "searchError", + "condition" : "=", + "data" : "false" + } ] + } + }, + "HTMLTemplateId" : "", + "wpm" : false, + "ssm" : false, + "message" : { }, + "pubsub" : false +} + 8.0 + Set Errors + + + true + false + 0.0 + SetErrorsForPatientValidation + 0.0 + { + "controlWidth" : 12, + "label" : "SetErrorsForPatient Validation", + "validationRequired" : "Step", + "elementErrorMap" : { + "phnNotFoundErrorMessage" : "=" + }, + "showPersistentComponent" : [ true, false ], + "show" : { + "group" : { + "operator" : "AND", + "rules" : [ { + "data" : "true", + "condition" : "=", + "field" : "validationFormula" + }, { + "field" : "reasonFormula", + "condition" : "=", + "data" : "false" + } ] + } }, + "HTMLTemplateId" : "", "wpm" : false, "ssm" : false, "message" : { }, - "pubsub" : false, - "businessCategory" : "", - "businessEvent" : "" + "pubsub" : false } - 3.0 - Step + 2.0 + Set Errors - true + false false 0.0 - RemoteCreateAssessment + SetMedName 0.0 { "controlWidth" : 12, - "label" : "RemoteCreateAssessment", - "remoteClass" : "omnistudio.StoreResponses", - "remoteMethod" : "invokeMethod", - "remoteOptions" : { - "preTransformBundle" : "", - "postTransformBundle" : "", - "Assessment.CaseId" : "%DRId_Case%", - "Assessment.AssessmentStatus" : "Completed" + "label" : "SetMedName", + "elementValueMap" : { + "eFormMedicationName" : "%MedicationNameRenewal%" }, - "remoteTimeout" : 30000, - "preTransformBundle" : "", - "postTransformBundle" : "", - "sendJSONPath" : "", - "sendJSONNode" : "", - "responseJSONPath" : "", - "responseJSONNode" : "", - "extraPayload" : { }, - "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" : "" + "pubsub" : false } - 42.0 - Remote Action + 20.0 + Set Values true false 0.0 - RenewalMedicationIdNullcheck + SetPatientIdByEmpiSearch 0.0 { "controlWidth" : 12, - "label" : "RenewalMedicationIdNullcheck", - "validationRequired" : "Step", - "elementErrorMap" : { - "IndicationValueRenewal" : "Please click on the Select Dosage button below" + "label" : "SetPatientIdByEmpiSearch(Account:PersonContactId)", + "elementValueMap" : { + "PatientIdentifier" : "%PatientIdentifierRenewal%", + "PatientId" : "%searchOutput:patientId%", + "PatAccId" : "%searchOutput:patientaccountId%", + "PatientAccountId" : "%searchOutput:patientaccountId%" }, "showPersistentComponent" : [ true, false ], "show" : { "group" : { "operator" : "AND", "rules" : [ { - "data" : null, + "data" : "false", "condition" : "=", - "field" : "MedicationNameRenewal" + "field" : "reasonFormula" } ] } }, @@ -2641,79 +3571,77 @@ "message" : { }, "pubsub" : false } - 7.0 - Set Errors + 4.0 + Set Values true false 0.0 - RestartOmniscript + SetPatientIdBySFSearch 0.0 { "controlWidth" : 12, - "label" : "RestartOmniscript", - "validationRequired" : "Submit", - "show" : null, + "label" : "SetPatientIdBySFSearch", + "elementValueMap" : { + "PatientAccountId" : "%PatientDeatils:showPatientData:selectedPatient:selectedPatientAccountId%", + "PatientId" : "%PatientDeatils:showPatientData:selectedPatient:selectedId%" + }, + "showPersistentComponent" : [ true, false ], + "show" : { + "group" : { + "operator" : "AND", + "rules" : [ { + "data" : "true", + "condition" : "=", + "field" : "reasonFormula" + } ] + } + }, "HTMLTemplateId" : "", "wpm" : false, "ssm" : false, - "pubsub" : false, "message" : { }, - "targetType" : "Restart OmniScript", - "objectAction" : "home", - "recordAction" : "view", - "loginAction" : "login", - "targetFilter" : "Recent", - "targetId" : "%ContextId%", - "variant" : "brand", - "iconName" : "", - "iconVariant" : "", - "iconPosition" : "left", - "replace" : false, - "targetLWCLayout" : "lightning", - "businessCategory" : "", - "businessEvent" : "" + "pubsub" : false } - 44.0 - Navigate Action + 10.0 + Set Values - SandozMiglustatRenewalSubmission|SandozMiglustatRenewalSubmission|English true false 0.0 - SANDOZMIGLUSTATRENEWALSUBMISSION + SetValues1 0.0 { - "Type" : "SandozMiglustatRenewalSubmission", - "Sub Type" : "SandozMiglustatRenewalSubmission", - "Language" : "English", - "show" : { - "group" : { - "operator" : "AND", - "rules" : [ { - "data" : "miglustat-Gaucher", - "condition" : "=", - "field" : "MedicationNameRenewal" - } ] - } - } + "controlWidth" : 12, + "label" : "SetValues1", + "elementValueMap" : { + "searchError" : "=IF(%searchOutput%, true, false)" + }, + "showPersistentComponent" : [ true, false ], + "show" : null, + "HTMLTemplateId" : "", + "wpm" : false, + "ssm" : false, + "message" : { }, + "pubsub" : false } - 34.0 - OmniScript + 7.0 + Set Values - false + true false 0.0 - SetMedName + SetValuesForProviderId 0.0 { "controlWidth" : 12, - "label" : "SetMedName", + "label" : "SetValuesForProviderId", "elementValueMap" : { - "eFormMedicationName" : "%MedicationNameRenewal%" + "ProviderId" : "%ProviderId%", + "PrescriberId" : "%PrescriberId%" }, "showPersistentComponent" : [ true, false ], "show" : null, @@ -2723,7 +3651,7 @@ "message" : { }, "pubsub" : false } - 12.0 + 3.0 Set Values @@ -2748,7 +3676,7 @@ } } } - 9.0 + 17.0 OmniScript @@ -2773,7 +3701,7 @@ } } } - 10.0 + 18.0 OmniScript @@ -2802,7 +3730,7 @@ } } } - 11.0 + 19.0 OmniScript @@ -2827,7 +3755,7 @@ } } } - 14.0 + 22.0 OmniScript @@ -2899,7 +3827,7 @@ "businessCategory" : "", "businessEvent" : "" } - 43.0 + 52.0 Step @@ -2924,7 +3852,7 @@ } } } - 20.0 + 28.0 OmniScript @@ -2949,7 +3877,7 @@ } } } - 19.0 + 27.0 OmniScript @@ -3086,7 +4014,7 @@ "businessCategory" : "", "businessEvent" : "" } - 8.0 + 16.0 Step @@ -3111,9 +4039,84 @@ } } } - 24.0 + 32.0 OmniScript + + true + false + 0.0 + updatePatientRenewal + 0.0 + { + "controlWidth" : 12, + "label" : "CreateUpdatePatient", + "remoteClass" : "EDRD_EmpiIntegration", + "remoteMethod" : "createUpdatePatient", + "remoteOptions" : { + "preTransformBundle" : "", + "postTransformBundle" : "" + }, + "remoteTimeout" : 30000, + "preTransformBundle" : "", + "postTransformBundle" : "", + "sendJSONPath" : "", + "sendJSONNode" : "", + "responseJSONPath" : "", + "responseJSONNode" : "", + "extraPayload" : { + "phn" : "%PatientIdentifierRenewal%", + "firstname" : "%searchOutput:firstName%", + "lastname" : "%searchOutput:lastName%", + "dateOfBirth" : "%searchOutput:dateOfBirth%", + "gender" : "%searchOutput:gender%", + "clickBy" : "EMPICreatedRenewal" + }, + "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" : "false", + "condition" : "=", + "field" : "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 +} + 5.0 + Remote Action + true @@ -3242,7 +4245,7 @@ "businessCategory" : "", "businessEvent" : "" } - 35.0 + 43.0 Step @@ -3267,7 +4270,7 @@ } } } - 33.0 + 41.0 OmniScript @@ -3296,14 +4299,14 @@ } } } - 23.0 + 31.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":false} + {"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":"EMP_Patient_UI_enhancement_V8","newportRtl":"","lightningRtl":""},"stepChartPlacement":"left","disableUnloadWarn":true,"scrollBehavior":"auto","currentLanguage":"en_US","isSeoEnabled":false,"scrollToTopWhenNavigatingBetweenStepsOnExperienceCloudSites":false} RenewForm EDRD - EDRD_RenewForm_English_1 - 1.0 - 32ab2f7a-a2be-abcf-413c-6ca9f6ba1445 + EDRD_RenewForm_English_7 + 7.0 + dca18a1a-3948-fcb0-be2d-16c2426f3b4c