|
@@ -374,7 +374,8 @@ class CreatePatientController extends FControllerBase
|
|
|
if (result != null && result.success) {
|
|
|
final patient = result.patientInfo;
|
|
|
final hasConfirmed = await FaceResultDialog.show(patient, true);
|
|
|
- if (hasConfirmed) {
|
|
|
+ if (hasConfirmed &&
|
|
|
+ patient.createdOrgCode == Store.user.organizationCode) {
|
|
|
await _checkinPatient(patient, false);
|
|
|
}
|
|
|
} else {
|