Skip to content

Commit

Permalink
Changes Related to EDRD-1175
Browse files Browse the repository at this point in the history
  • Loading branch information
deepakmulamalla committed Dec 12, 2024
1 parent 6d060fa commit e8dcab1
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
label="Patient Identifier"
value={patientIdentifierSearch}
type="text"
field-level-help="Personal Health Number"
onchange={handlePatientIdentifierChange}>
</lightning-input>
</div>
Expand Down Expand Up @@ -105,8 +106,7 @@
value={manualGender}
options={genderOptions.data.values}
onchange={handleManualInputChange}
data-id="manualGender"
required>
data-id="manualGender">
</lightning-combobox>
</div>
<div class="slds-col slds-var-p-horizontal_x-small slds-size_1-of-3">
Expand All @@ -126,6 +126,7 @@
value={manualPatientIdentifier}
onchange={handleManualInputChange}
data-id="manualPatientIdentifier"
field-level-help="Personal Health Number"
minlength="10"
maxlength="10">
</lightning-input>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,6 @@ export default class eDRD_lwc_SFPatientSearchComponent extends LightningElement
this.isNextDisable = !(
this.patientFirstName &&
this.patientLastName &&
this.patientGender &&
this.patientBirthdate &&
(!this.patient_IdentifierManual || !this.isPHNAvaiable)
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
type="search"
onchange={handlekeychange}
value={patientPHN}
field-level-help="Personal Health Number"
placeholder="Enter Identifier Number">
</lightning-input>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ RecordType.DeveloperName = &apos;EDRD&apos;,
ISCHANGED(Status),
ISBLANK(TEXT(EDRD_MOHFunding_Decision__c)),
OR(ISPICKVAL(Status,&apos;Funding Approved&apos;),
ISPICKVAL(Status,&apos;Funding Denied&apos;))
AND(ISPICKVAL(Status,&apos;Funding Denied&apos;),
NOT(ISPICKVAL(EDRD_Case_closure_reasons__c, &quot;SC Not Recommended&quot;)),
NOT(ISPICKVAL(EDRD_Case_closure_reasons__c, &quot;AC Not Recommended&quot;))) )
)</errorConditionFormula>
<errorMessage>The case cannot be closed without a funding decision.</errorMessage>
</ValidationRule>

0 comments on commit e8dcab1

Please sign in to comment.