release 1.1

This commit is contained in:
2026-02-22 09:40:08 +03:00
parent ea28427c3d
commit e269425fe0
10 changed files with 1173 additions and 410 deletions
+3 -8
View File
@@ -37,7 +37,7 @@
patientPhone = window.gon.specific.client.phone;
const patientPhoneNormalized = `+7${patientPhone.replace(/[^\d]/g, '').slice(1, 12)}`;
metaData.patients = [{
metaData.patient = {
idPatientMis: window.gon.specific.client.id,
familyName: window.gon.specific.client.surname,
givenName: window.gon.specific.client.name,
@@ -55,10 +55,10 @@
documentName: 'СНИЛС',
idDocumentType: 223
}]
}]
}
if (window.gon.specific.client.email) {
metaData.patients[0].telecom.push({
metaData.patient.telecom.push({
system: 'Email',
value: window.gon.specific.client.email
});
@@ -73,11 +73,6 @@
data: doc.data
}));
metaData.userData = {
id: window.gon.application.current_user.id,
login: window.gon.application.current_user.username,
};
// Отправляем только один раз
window.postMessage(
{