@alfadocs/ui-kit 1.145.0 → 1.147.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_chunks/prescription-history-CFs3JMIE.js +1773 -0
- package/dist/_chunks/registry-connection-panel-BEAkwivy.js +503 -0
- package/dist/agent-catalog.json +115 -1
- package/dist/agent-i18n/en.json +12 -0
- package/dist/browser-support.js +1 -1
- package/dist/components/_shared/medication.d.ts +4 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/registry-connection-panel/index.d.ts +3 -0
- package/dist/components/registry-connection-panel/index.js +5 -0
- package/dist/components/registry-connection-panel/registry-connection-panel.agent.d.ts +4 -0
- package/dist/components/registry-connection-panel/registry-connection-panel.d.ts +67 -0
- package/dist/i18n/locales/ar.d.ts +31 -0
- package/dist/i18n/locales/ar.js +32 -1
- package/dist/i18n/locales/de.d.ts +31 -0
- package/dist/i18n/locales/de.js +32 -1
- package/dist/i18n/locales/el.d.ts +31 -0
- package/dist/i18n/locales/el.js +32 -1
- package/dist/i18n/locales/en.d.ts +31 -0
- package/dist/i18n/locales/en.js +32 -1
- package/dist/i18n/locales/es.d.ts +31 -0
- package/dist/i18n/locales/es.js +32 -1
- package/dist/i18n/locales/fr.d.ts +31 -0
- package/dist/i18n/locales/fr.js +32 -1
- package/dist/i18n/locales/hi.d.ts +31 -0
- package/dist/i18n/locales/hi.js +32 -1
- package/dist/i18n/locales/it.d.ts +31 -0
- package/dist/i18n/locales/it.js +32 -1
- package/dist/i18n/locales/ja.d.ts +31 -0
- package/dist/i18n/locales/ja.js +32 -1
- package/dist/i18n/locales/nl.d.ts +31 -0
- package/dist/i18n/locales/nl.js +32 -1
- package/dist/i18n/locales/pl.d.ts +31 -0
- package/dist/i18n/locales/pl.js +32 -1
- package/dist/i18n/locales/pt.d.ts +31 -0
- package/dist/i18n/locales/pt.js +32 -1
- package/dist/i18n/locales/ro.d.ts +31 -0
- package/dist/i18n/locales/ro.js +32 -1
- package/dist/i18n/locales/ru.d.ts +31 -0
- package/dist/i18n/locales/ru.js +32 -1
- package/dist/i18n/locales/sq.d.ts +31 -0
- package/dist/i18n/locales/sq.js +32 -1
- package/dist/i18n/locales/sv.d.ts +31 -0
- package/dist/i18n/locales/sv.js +32 -1
- package/dist/i18n/locales/tr.d.ts +31 -0
- package/dist/i18n/locales/tr.js +32 -1
- package/dist/i18n/locales/zh.d.ts +31 -0
- package/dist/i18n/locales/zh.js +32 -1
- package/dist/index.js +859 -857
- package/dist/locales/ar.json +32 -1
- package/dist/locales/de.json +32 -1
- package/dist/locales/el.json +32 -1
- package/dist/locales/en.json +32 -1
- package/dist/locales/es.json +32 -1
- package/dist/locales/fr.json +32 -1
- package/dist/locales/hi.json +32 -1
- package/dist/locales/it.json +32 -1
- package/dist/locales/ja.json +32 -1
- package/dist/locales/nl.json +32 -1
- package/dist/locales/pl.json +32 -1
- package/dist/locales/pt.json +32 -1
- package/dist/locales/ro.json +32 -1
- package/dist/locales/ru.json +32 -1
- package/dist/locales/sq.json +32 -1
- package/dist/locales/sv.json +32 -1
- package/dist/locales/tr.json +32 -1
- package/dist/locales/zh.json +32 -1
- package/dist/patterns/prescription/index.js +1 -1
- package/dist/patterns/prescription/prescription-composer.d.ts +2 -0
- package/dist/patterns/prescription/prescription-sheet.d.ts +7 -1
- package/dist/patterns/prescription/prescription-validation.d.ts +7 -3
- package/package.json +5 -1
- package/dist/_chunks/prescription-history-CD3e3U3I.js +0 -1719
package/dist/locales/pl.json
CHANGED
|
@@ -5436,6 +5436,34 @@
|
|
|
5436
5436
|
"regenerate": "Wygeneruj ponownie",
|
|
5437
5437
|
"disclaimer": "Nie zastępuje oceny klinicznej · zweryfikuj poprawność przed użyciem klinicznym · BETA"
|
|
5438
5438
|
},
|
|
5439
|
+
"registryConnectionPanel": {
|
|
5440
|
+
"title": "Połączenie z {{registryName}}",
|
|
5441
|
+
"connectTitle": "Połącz z {{registryName}}",
|
|
5442
|
+
"status": {
|
|
5443
|
+
"connected": "Połączono",
|
|
5444
|
+
"connectedUntil": "Połączono do {{time}}",
|
|
5445
|
+
"disconnected": "Brak połączenia",
|
|
5446
|
+
"incomplete": "Brakuje ustawień"
|
|
5447
|
+
},
|
|
5448
|
+
"help": {
|
|
5449
|
+
"disconnected": "Połącz się z {{registryName}}, aby wysyłać recepty.",
|
|
5450
|
+
"incomplete": "Najpierw zapisz ustawienia {{registryName}}, a potem się połącz."
|
|
5451
|
+
},
|
|
5452
|
+
"connect": "Połącz",
|
|
5453
|
+
"connectAgain": "Połącz ponownie",
|
|
5454
|
+
"settings": "Ustawienia",
|
|
5455
|
+
"save": "Zapisz ustawienia",
|
|
5456
|
+
"secretStored": "Wartość jest zapisana. Zostaw to pole puste, aby ją zachować.",
|
|
5457
|
+
"choose": "Wybierz opcję",
|
|
5458
|
+
"back": "Wróć do ustawień",
|
|
5459
|
+
"codeLabel": "Kod",
|
|
5460
|
+
"sendCode": "Wyślij mi kod",
|
|
5461
|
+
"sendCodeAgain": "Wyślij kod ponownie",
|
|
5462
|
+
"errors": {
|
|
5463
|
+
"required": "Wypełnij to pole.",
|
|
5464
|
+
"codeRequired": "Wpisz kod."
|
|
5465
|
+
}
|
|
5466
|
+
},
|
|
5439
5467
|
"notesPanel": {
|
|
5440
5468
|
"title": "Notatki",
|
|
5441
5469
|
"placeholder": "Dodaj notatkę…",
|
|
@@ -7593,6 +7621,7 @@
|
|
|
7593
7621
|
},
|
|
7594
7622
|
"composer": {
|
|
7595
7623
|
"title": "Nowa recepta",
|
|
7624
|
+
"editTitle": "Edytuj receptę",
|
|
7596
7625
|
"patient": "Pacjent",
|
|
7597
7626
|
"patientPlaceholder": "Szukaj według imienia lub nazwiska",
|
|
7598
7627
|
"choosePatientTitle": "Wybierz pacjenta",
|
|
@@ -7625,7 +7654,8 @@
|
|
|
7625
7654
|
"quantity": "Wpisz liczbę opakowań.",
|
|
7626
7655
|
"quantityLine": "Lek {{number}}: wpisz liczbę opakowań.",
|
|
7627
7656
|
"quantityInvalid": "Wpisz całkowitą liczbę opakowań, 1 lub więcej.",
|
|
7628
|
-
"quantityInvalidLine": "Lek {{number}}: wpisz całkowitą liczbę opakowań, 1 lub więcej."
|
|
7657
|
+
"quantityInvalidLine": "Lek {{number}}: wpisz całkowitą liczbę opakowań, 1 lub więcej.",
|
|
7658
|
+
"quantityMax": "Maksymalna dozwolona liczba opakowań tego leku to {{max}}."
|
|
7629
7659
|
},
|
|
7630
7660
|
"treatment": "Zabieg",
|
|
7631
7661
|
"treatmentPlaceholder": "Wybierz zabieg",
|
|
@@ -7656,6 +7686,7 @@
|
|
|
7656
7686
|
"sendFailedTitle": "Recepta nie została wysłana",
|
|
7657
7687
|
"sendFailedBody": "Wyślij ją ponownie. Dopóki nie zostanie wysłana, nie można jej wydrukować ani udostępnić.",
|
|
7658
7688
|
"resend": "Wyślij ponownie",
|
|
7689
|
+
"edit": "Edytuj",
|
|
7659
7690
|
"sendSms": "Wyślij przez SMS",
|
|
7660
7691
|
"pin": "PIN",
|
|
7661
7692
|
"prescriber": "Lekarz wystawiający",
|
package/dist/locales/pt.json
CHANGED
|
@@ -5436,6 +5436,34 @@
|
|
|
5436
5436
|
"regenerate": "Gerar novamente",
|
|
5437
5437
|
"disclaimer": "Não substitui o juízo clínico · verifique a exatidão antes da utilização clínica · BETA"
|
|
5438
5438
|
},
|
|
5439
|
+
"registryConnectionPanel": {
|
|
5440
|
+
"title": "Ligação a {{registryName}}",
|
|
5441
|
+
"connectTitle": "Ligar a {{registryName}}",
|
|
5442
|
+
"status": {
|
|
5443
|
+
"connected": "Ligado",
|
|
5444
|
+
"connectedUntil": "Ligado até {{time}}",
|
|
5445
|
+
"disconnected": "Não ligado",
|
|
5446
|
+
"incomplete": "Faltam as definições"
|
|
5447
|
+
},
|
|
5448
|
+
"help": {
|
|
5449
|
+
"disconnected": "Ligue-se a {{registryName}} para enviar receitas.",
|
|
5450
|
+
"incomplete": "Guarde primeiro as suas definições de {{registryName}} e depois ligue-se."
|
|
5451
|
+
},
|
|
5452
|
+
"connect": "Ligar",
|
|
5453
|
+
"connectAgain": "Ligar novamente",
|
|
5454
|
+
"settings": "Definições",
|
|
5455
|
+
"save": "Guardar definições",
|
|
5456
|
+
"secretStored": "Existe um valor guardado. Deixe este campo vazio para o manter.",
|
|
5457
|
+
"choose": "Escolha uma opção",
|
|
5458
|
+
"back": "Voltar às definições",
|
|
5459
|
+
"codeLabel": "Código",
|
|
5460
|
+
"sendCode": "Enviar-me o código",
|
|
5461
|
+
"sendCodeAgain": "Enviar o código novamente",
|
|
5462
|
+
"errors": {
|
|
5463
|
+
"required": "Preencha este campo.",
|
|
5464
|
+
"codeRequired": "Introduza o código."
|
|
5465
|
+
}
|
|
5466
|
+
},
|
|
5439
5467
|
"notesPanel": {
|
|
5440
5468
|
"title": "Notas",
|
|
5441
5469
|
"placeholder": "Adicionar uma nota…",
|
|
@@ -7584,6 +7612,7 @@
|
|
|
7584
7612
|
},
|
|
7585
7613
|
"composer": {
|
|
7586
7614
|
"title": "Nova receita",
|
|
7615
|
+
"editTitle": "Editar receita",
|
|
7587
7616
|
"patient": "Paciente",
|
|
7588
7617
|
"patientPlaceholder": "Pesquisar por nome próprio ou apelido",
|
|
7589
7618
|
"choosePatientTitle": "Escolha um paciente",
|
|
@@ -7616,7 +7645,8 @@
|
|
|
7616
7645
|
"quantity": "Indique o número de embalagens.",
|
|
7617
7646
|
"quantityLine": "Medicamento {{number}}: indique o número de embalagens.",
|
|
7618
7647
|
"quantityInvalid": "Indique um número inteiro de embalagens, 1 ou mais.",
|
|
7619
|
-
"quantityInvalidLine": "Medicamento {{number}}: indique um número inteiro de embalagens, 1 ou mais."
|
|
7648
|
+
"quantityInvalidLine": "Medicamento {{number}}: indique um número inteiro de embalagens, 1 ou mais.",
|
|
7649
|
+
"quantityMax": "O número máximo de embalagens permitido para este medicamento é {{max}}."
|
|
7620
7650
|
},
|
|
7621
7651
|
"treatment": "Tratamento",
|
|
7622
7652
|
"treatmentPlaceholder": "Escolha um tratamento",
|
|
@@ -7647,6 +7677,7 @@
|
|
|
7647
7677
|
"sendFailedTitle": "A receita não foi enviada",
|
|
7648
7678
|
"sendFailedBody": "Envie-a novamente. Enquanto não for enviada, não pode ser impressa nem partilhada.",
|
|
7649
7679
|
"resend": "Enviar novamente",
|
|
7680
|
+
"edit": "Editar",
|
|
7650
7681
|
"sendSms": "Enviar por SMS",
|
|
7651
7682
|
"pin": "PIN",
|
|
7652
7683
|
"prescriber": "Prescritor",
|
package/dist/locales/ro.json
CHANGED
|
@@ -5433,6 +5433,34 @@
|
|
|
5433
5433
|
"regenerate": "Regenerează",
|
|
5434
5434
|
"disclaimer": "Nu înlocuiește judecata clinică · verificați acuratețea înainte de utilizarea clinică · BETA"
|
|
5435
5435
|
},
|
|
5436
|
+
"registryConnectionPanel": {
|
|
5437
|
+
"title": "Conexiune la {{registryName}}",
|
|
5438
|
+
"connectTitle": "Conectare la {{registryName}}",
|
|
5439
|
+
"status": {
|
|
5440
|
+
"connected": "Conectat",
|
|
5441
|
+
"connectedUntil": "Conectat până la {{time}}",
|
|
5442
|
+
"disconnected": "Neconectat",
|
|
5443
|
+
"incomplete": "Setări lipsă"
|
|
5444
|
+
},
|
|
5445
|
+
"help": {
|
|
5446
|
+
"disconnected": "Conectați-vă la {{registryName}} pentru a trimite rețete.",
|
|
5447
|
+
"incomplete": "Salvați mai întâi setările {{registryName}}, apoi conectați-vă."
|
|
5448
|
+
},
|
|
5449
|
+
"connect": "Conectează",
|
|
5450
|
+
"connectAgain": "Conectează din nou",
|
|
5451
|
+
"settings": "Setări",
|
|
5452
|
+
"save": "Salvează setările",
|
|
5453
|
+
"secretStored": "O valoare este salvată. Lăsați câmpul gol pentru a o păstra.",
|
|
5454
|
+
"choose": "Alegeți o opțiune",
|
|
5455
|
+
"back": "Înapoi la setări",
|
|
5456
|
+
"codeLabel": "Cod",
|
|
5457
|
+
"sendCode": "Trimite-mi codul",
|
|
5458
|
+
"sendCodeAgain": "Trimite codul din nou",
|
|
5459
|
+
"errors": {
|
|
5460
|
+
"required": "Completați acest câmp.",
|
|
5461
|
+
"codeRequired": "Introduceți codul."
|
|
5462
|
+
}
|
|
5463
|
+
},
|
|
5436
5464
|
"notesPanel": {
|
|
5437
5465
|
"title": "Note",
|
|
5438
5466
|
"placeholder": "Adaugă o notă…",
|
|
@@ -7590,6 +7618,7 @@
|
|
|
7590
7618
|
},
|
|
7591
7619
|
"composer": {
|
|
7592
7620
|
"title": "Rețetă nouă",
|
|
7621
|
+
"editTitle": "Editează rețeta",
|
|
7593
7622
|
"patient": "Pacient",
|
|
7594
7623
|
"patientPlaceholder": "Caută după prenume sau nume",
|
|
7595
7624
|
"choosePatientTitle": "Alegeți un pacient",
|
|
@@ -7622,7 +7651,8 @@
|
|
|
7622
7651
|
"quantity": "Introduceți numărul de cutii.",
|
|
7623
7652
|
"quantityLine": "Medicamentul {{number}}: introduceți numărul de cutii.",
|
|
7624
7653
|
"quantityInvalid": "Introduceți un număr întreg de cutii, 1 sau mai mult.",
|
|
7625
|
-
"quantityInvalidLine": "Medicamentul {{number}}: introduceți un număr întreg de cutii, 1 sau mai mult."
|
|
7654
|
+
"quantityInvalidLine": "Medicamentul {{number}}: introduceți un număr întreg de cutii, 1 sau mai mult.",
|
|
7655
|
+
"quantityMax": "Numărul maxim de cutii permis pentru acest medicament este {{max}}."
|
|
7626
7656
|
},
|
|
7627
7657
|
"treatment": "Tratament",
|
|
7628
7658
|
"treatmentPlaceholder": "Alege un tratament",
|
|
@@ -7653,6 +7683,7 @@
|
|
|
7653
7683
|
"sendFailedTitle": "Rețeta nu a fost trimisă",
|
|
7654
7684
|
"sendFailedBody": "Trimiteți-o din nou. Până când este trimisă, nu poate fi tipărită sau partajată.",
|
|
7655
7685
|
"resend": "Trimite din nou",
|
|
7686
|
+
"edit": "Editează",
|
|
7656
7687
|
"sendSms": "Trimite prin SMS",
|
|
7657
7688
|
"pin": "PIN",
|
|
7658
7689
|
"prescriber": "Medic prescriptor",
|
package/dist/locales/ru.json
CHANGED
|
@@ -5436,6 +5436,34 @@
|
|
|
5436
5436
|
"regenerate": "Сгенерировать заново",
|
|
5437
5437
|
"disclaimer": "Не заменяет клиническую оценку · проверьте точность перед клиническим использованием · BETA"
|
|
5438
5438
|
},
|
|
5439
|
+
"registryConnectionPanel": {
|
|
5440
|
+
"title": "Подключение к {{registryName}}",
|
|
5441
|
+
"connectTitle": "Подключиться к {{registryName}}",
|
|
5442
|
+
"status": {
|
|
5443
|
+
"connected": "Подключено",
|
|
5444
|
+
"connectedUntil": "Подключено до {{time}}",
|
|
5445
|
+
"disconnected": "Не подключено",
|
|
5446
|
+
"incomplete": "Настройки не заполнены"
|
|
5447
|
+
},
|
|
5448
|
+
"help": {
|
|
5449
|
+
"disconnected": "Подключитесь к {{registryName}}, чтобы отправлять рецепты.",
|
|
5450
|
+
"incomplete": "Сначала сохраните настройки {{registryName}}, затем подключитесь."
|
|
5451
|
+
},
|
|
5452
|
+
"connect": "Подключиться",
|
|
5453
|
+
"connectAgain": "Подключиться снова",
|
|
5454
|
+
"settings": "Настройки",
|
|
5455
|
+
"save": "Сохранить настройки",
|
|
5456
|
+
"secretStored": "Значение сохранено. Оставьте поле пустым, чтобы сохранить его.",
|
|
5457
|
+
"choose": "Выберите вариант",
|
|
5458
|
+
"back": "Назад к настройкам",
|
|
5459
|
+
"codeLabel": "Код",
|
|
5460
|
+
"sendCode": "Отправить мне код",
|
|
5461
|
+
"sendCodeAgain": "Отправить код снова",
|
|
5462
|
+
"errors": {
|
|
5463
|
+
"required": "Заполните это поле.",
|
|
5464
|
+
"codeRequired": "Введите код."
|
|
5465
|
+
}
|
|
5466
|
+
},
|
|
5439
5467
|
"notesPanel": {
|
|
5440
5468
|
"title": "Заметки",
|
|
5441
5469
|
"placeholder": "Добавить заметку…",
|
|
@@ -7593,6 +7621,7 @@
|
|
|
7593
7621
|
},
|
|
7594
7622
|
"composer": {
|
|
7595
7623
|
"title": "Новый рецепт",
|
|
7624
|
+
"editTitle": "Изменить рецепт",
|
|
7596
7625
|
"patient": "Пациент",
|
|
7597
7626
|
"patientPlaceholder": "Поиск по имени или фамилии",
|
|
7598
7627
|
"choosePatientTitle": "Выберите пациента",
|
|
@@ -7625,7 +7654,8 @@
|
|
|
7625
7654
|
"quantity": "Укажите количество упаковок.",
|
|
7626
7655
|
"quantityLine": "Препарат {{number}}: укажите количество упаковок.",
|
|
7627
7656
|
"quantityInvalid": "Укажите целое число упаковок, 1 или больше.",
|
|
7628
|
-
"quantityInvalidLine": "Препарат {{number}}: укажите целое число упаковок, 1 или больше."
|
|
7657
|
+
"quantityInvalidLine": "Препарат {{number}}: укажите целое число упаковок, 1 или больше.",
|
|
7658
|
+
"quantityMax": "Максимально допустимое количество упаковок этого препарата: {{max}}."
|
|
7629
7659
|
},
|
|
7630
7660
|
"treatment": "Услуга",
|
|
7631
7661
|
"treatmentPlaceholder": "Выберите услугу",
|
|
@@ -7656,6 +7686,7 @@
|
|
|
7656
7686
|
"sendFailedTitle": "Рецепт не отправлен",
|
|
7657
7687
|
"sendFailedBody": "Отправьте его ещё раз. Пока рецепт не отправлен, его нельзя напечатать или передать.",
|
|
7658
7688
|
"resend": "Отправить снова",
|
|
7689
|
+
"edit": "Изменить",
|
|
7659
7690
|
"sendSms": "Отправить по SMS",
|
|
7660
7691
|
"pin": "PIN",
|
|
7661
7692
|
"prescriber": "Врач",
|
package/dist/locales/sq.json
CHANGED
|
@@ -5430,6 +5430,34 @@
|
|
|
5430
5430
|
"regenerate": "Rigjenero",
|
|
5431
5431
|
"disclaimer": "Nuk zëvendëson gjykimin klinik · verifikoni saktësinë para përdorimit klinik · BETA"
|
|
5432
5432
|
},
|
|
5433
|
+
"registryConnectionPanel": {
|
|
5434
|
+
"title": "Lidhja me {{registryName}}",
|
|
5435
|
+
"connectTitle": "Lidhuni me {{registryName}}",
|
|
5436
|
+
"status": {
|
|
5437
|
+
"connected": "I lidhur",
|
|
5438
|
+
"connectedUntil": "I lidhur deri në {{time}}",
|
|
5439
|
+
"disconnected": "Nuk është i lidhur",
|
|
5440
|
+
"incomplete": "Mungojnë cilësimet"
|
|
5441
|
+
},
|
|
5442
|
+
"help": {
|
|
5443
|
+
"disconnected": "Lidhuni me {{registryName}} për të dërguar receta.",
|
|
5444
|
+
"incomplete": "Ruani së pari cilësimet e {{registryName}}, pastaj lidhuni."
|
|
5445
|
+
},
|
|
5446
|
+
"connect": "Lidh",
|
|
5447
|
+
"connectAgain": "Lidh përsëri",
|
|
5448
|
+
"settings": "Cilësimet",
|
|
5449
|
+
"save": "Ruaj cilësimet",
|
|
5450
|
+
"secretStored": "Një vlerë është ruajtur. Lëreni bosh që ta mbani.",
|
|
5451
|
+
"choose": "Zgjidhni një opsion",
|
|
5452
|
+
"back": "Kthehu te cilësimet",
|
|
5453
|
+
"codeLabel": "Kodi",
|
|
5454
|
+
"sendCode": "Më dërgo kodin",
|
|
5455
|
+
"sendCodeAgain": "Dërgo kodin përsëri",
|
|
5456
|
+
"errors": {
|
|
5457
|
+
"required": "Plotësoni këtë fushë.",
|
|
5458
|
+
"codeRequired": "Shkruani kodin."
|
|
5459
|
+
}
|
|
5460
|
+
},
|
|
5433
5461
|
"notesPanel": {
|
|
5434
5462
|
"title": "Shënime",
|
|
5435
5463
|
"placeholder": "Shto një shënim…",
|
|
@@ -7578,6 +7606,7 @@
|
|
|
7578
7606
|
},
|
|
7579
7607
|
"composer": {
|
|
7580
7608
|
"title": "Recetë e re",
|
|
7609
|
+
"editTitle": "Modifiko recetën",
|
|
7581
7610
|
"patient": "Pacienti",
|
|
7582
7611
|
"patientPlaceholder": "Kërko sipas emrit ose mbiemrit",
|
|
7583
7612
|
"choosePatientTitle": "Zgjidhni një pacient",
|
|
@@ -7610,7 +7639,8 @@
|
|
|
7610
7639
|
"quantity": "Shkruani numrin e kutive.",
|
|
7611
7640
|
"quantityLine": "Ilaçi {{number}}: shkruani numrin e kutive.",
|
|
7612
7641
|
"quantityInvalid": "Shkruani një numër të plotë kutish, 1 ose më shumë.",
|
|
7613
|
-
"quantityInvalidLine": "Ilaçi {{number}}: shkruani një numër të plotë kutish, 1 ose më shumë."
|
|
7642
|
+
"quantityInvalidLine": "Ilaçi {{number}}: shkruani një numër të plotë kutish, 1 ose më shumë.",
|
|
7643
|
+
"quantityMax": "Numri maksimal i lejuar i kutive për këtë ilaç është {{max}}."
|
|
7614
7644
|
},
|
|
7615
7645
|
"treatment": "Trajtimi",
|
|
7616
7646
|
"treatmentPlaceholder": "Zgjidhni një trajtim",
|
|
@@ -7641,6 +7671,7 @@
|
|
|
7641
7671
|
"sendFailedTitle": "Receta nuk u dërgua",
|
|
7642
7672
|
"sendFailedBody": "Dërgojeni përsëri. Derisa të dërgohet, nuk mund të printohet ose të ndahet.",
|
|
7643
7673
|
"resend": "Dërgo përsëri",
|
|
7674
|
+
"edit": "Modifiko",
|
|
7644
7675
|
"sendSms": "Dërgo me SMS",
|
|
7645
7676
|
"pin": "PIN",
|
|
7646
7677
|
"prescriber": "Mjeku përshkrues",
|
package/dist/locales/sv.json
CHANGED
|
@@ -5430,6 +5430,34 @@
|
|
|
5430
5430
|
"regenerate": "Generera igen",
|
|
5431
5431
|
"disclaimer": "Ersätter inte klinisk bedömning · verifiera noggrannheten före klinisk användning · BETA"
|
|
5432
5432
|
},
|
|
5433
|
+
"registryConnectionPanel": {
|
|
5434
|
+
"title": "Anslutning till {{registryName}}",
|
|
5435
|
+
"connectTitle": "Anslut till {{registryName}}",
|
|
5436
|
+
"status": {
|
|
5437
|
+
"connected": "Ansluten",
|
|
5438
|
+
"connectedUntil": "Ansluten till {{time}}",
|
|
5439
|
+
"disconnected": "Inte ansluten",
|
|
5440
|
+
"incomplete": "Inställningar saknas"
|
|
5441
|
+
},
|
|
5442
|
+
"help": {
|
|
5443
|
+
"disconnected": "Anslut till {{registryName}} för att skicka recept.",
|
|
5444
|
+
"incomplete": "Spara dina {{registryName}}-inställningar först och anslut sedan."
|
|
5445
|
+
},
|
|
5446
|
+
"connect": "Anslut",
|
|
5447
|
+
"connectAgain": "Anslut igen",
|
|
5448
|
+
"settings": "Inställningar",
|
|
5449
|
+
"save": "Spara inställningar",
|
|
5450
|
+
"secretStored": "Ett värde är sparat. Lämna fältet tomt för att behålla det.",
|
|
5451
|
+
"choose": "Välj ett alternativ",
|
|
5452
|
+
"back": "Tillbaka till inställningar",
|
|
5453
|
+
"codeLabel": "Kod",
|
|
5454
|
+
"sendCode": "Skicka koden till mig",
|
|
5455
|
+
"sendCodeAgain": "Skicka koden igen",
|
|
5456
|
+
"errors": {
|
|
5457
|
+
"required": "Fyll i det här fältet.",
|
|
5458
|
+
"codeRequired": "Ange koden."
|
|
5459
|
+
}
|
|
5460
|
+
},
|
|
5433
5461
|
"notesPanel": {
|
|
5434
5462
|
"title": "Anteckningar",
|
|
5435
5463
|
"placeholder": "Lägg till en anteckning…",
|
|
@@ -7578,6 +7606,7 @@
|
|
|
7578
7606
|
},
|
|
7579
7607
|
"composer": {
|
|
7580
7608
|
"title": "Nytt recept",
|
|
7609
|
+
"editTitle": "Redigera recept",
|
|
7581
7610
|
"patient": "Patient",
|
|
7582
7611
|
"patientPlaceholder": "Sök på förnamn eller efternamn",
|
|
7583
7612
|
"choosePatientTitle": "Välj en patient",
|
|
@@ -7610,7 +7639,8 @@
|
|
|
7610
7639
|
"quantity": "Ange antal förpackningar.",
|
|
7611
7640
|
"quantityLine": "Läkemedel {{number}}: ange antal förpackningar.",
|
|
7612
7641
|
"quantityInvalid": "Ange ett helt antal förpackningar, 1 eller fler.",
|
|
7613
|
-
"quantityInvalidLine": "Läkemedel {{number}}: ange ett helt antal förpackningar, 1 eller fler."
|
|
7642
|
+
"quantityInvalidLine": "Läkemedel {{number}}: ange ett helt antal förpackningar, 1 eller fler.",
|
|
7643
|
+
"quantityMax": "Det högsta tillåtna antalet förpackningar för detta läkemedel är {{max}}."
|
|
7614
7644
|
},
|
|
7615
7645
|
"treatment": "Behandling",
|
|
7616
7646
|
"treatmentPlaceholder": "Välj en behandling",
|
|
@@ -7641,6 +7671,7 @@
|
|
|
7641
7671
|
"sendFailedTitle": "Receptet skickades inte",
|
|
7642
7672
|
"sendFailedBody": "Skicka det igen. Det går inte att skriva ut eller dela det förrän det har skickats.",
|
|
7643
7673
|
"resend": "Skicka igen",
|
|
7674
|
+
"edit": "Redigera",
|
|
7644
7675
|
"sendSms": "Skicka via SMS",
|
|
7645
7676
|
"pin": "PIN",
|
|
7646
7677
|
"prescriber": "Förskrivare",
|
package/dist/locales/tr.json
CHANGED
|
@@ -5430,6 +5430,34 @@
|
|
|
5430
5430
|
"regenerate": "Yeniden oluştur",
|
|
5431
5431
|
"disclaimer": "Klinik muhakemenin yerini tutmaz · klinik kullanımdan önce doğruluğunu teyit edin · BETA"
|
|
5432
5432
|
},
|
|
5433
|
+
"registryConnectionPanel": {
|
|
5434
|
+
"title": "{{registryName}} bağlantısı",
|
|
5435
|
+
"connectTitle": "{{registryName}} ile bağlantı kur",
|
|
5436
|
+
"status": {
|
|
5437
|
+
"connected": "Bağlı",
|
|
5438
|
+
"connectedUntil": "{{time}} saatine kadar bağlı",
|
|
5439
|
+
"disconnected": "Bağlı değil",
|
|
5440
|
+
"incomplete": "Ayarlar eksik"
|
|
5441
|
+
},
|
|
5442
|
+
"help": {
|
|
5443
|
+
"disconnected": "Reçeteleri göndermek için {{registryName}} ile bağlantı kurun.",
|
|
5444
|
+
"incomplete": "Önce {{registryName}} ayarlarınızı kaydedin, sonra bağlanın."
|
|
5445
|
+
},
|
|
5446
|
+
"connect": "Bağlan",
|
|
5447
|
+
"connectAgain": "Tekrar bağlan",
|
|
5448
|
+
"settings": "Ayarlar",
|
|
5449
|
+
"save": "Ayarları kaydet",
|
|
5450
|
+
"secretStored": "Kayıtlı bir değer var. Korumak için bu alanı boş bırakın.",
|
|
5451
|
+
"choose": "Bir seçenek seçin",
|
|
5452
|
+
"back": "Ayarlara dön",
|
|
5453
|
+
"codeLabel": "Kod",
|
|
5454
|
+
"sendCode": "Kodu bana gönder",
|
|
5455
|
+
"sendCodeAgain": "Kodu tekrar gönder",
|
|
5456
|
+
"errors": {
|
|
5457
|
+
"required": "Bu alanı doldurun.",
|
|
5458
|
+
"codeRequired": "Kodu girin."
|
|
5459
|
+
}
|
|
5460
|
+
},
|
|
5433
5461
|
"notesPanel": {
|
|
5434
5462
|
"title": "Notlar",
|
|
5435
5463
|
"placeholder": "Not ekleyin…",
|
|
@@ -7578,6 +7606,7 @@
|
|
|
7578
7606
|
},
|
|
7579
7607
|
"composer": {
|
|
7580
7608
|
"title": "Yeni reçete",
|
|
7609
|
+
"editTitle": "Reçeteyi düzenle",
|
|
7581
7610
|
"patient": "Hasta",
|
|
7582
7611
|
"patientPlaceholder": "Ada veya soyada göre ara",
|
|
7583
7612
|
"choosePatientTitle": "Hasta seçin",
|
|
@@ -7610,7 +7639,8 @@
|
|
|
7610
7639
|
"quantity": "Kutu sayısını girin.",
|
|
7611
7640
|
"quantityLine": "İlaç {{number}}: kutu sayısını girin.",
|
|
7612
7641
|
"quantityInvalid": "Kutu sayısı olarak 1 veya daha büyük bir tam sayı girin.",
|
|
7613
|
-
"quantityInvalidLine": "İlaç {{number}}: kutu sayısı olarak 1 veya daha büyük bir tam sayı girin."
|
|
7642
|
+
"quantityInvalidLine": "İlaç {{number}}: kutu sayısı olarak 1 veya daha büyük bir tam sayı girin.",
|
|
7643
|
+
"quantityMax": "Bu ilaç için en fazla {{max}} kutuya izin verilir."
|
|
7614
7644
|
},
|
|
7615
7645
|
"treatment": "Tedavi",
|
|
7616
7646
|
"treatmentPlaceholder": "Bir tedavi seçin",
|
|
@@ -7641,6 +7671,7 @@
|
|
|
7641
7671
|
"sendFailedTitle": "Reçete gönderilmedi",
|
|
7642
7672
|
"sendFailedBody": "Yeniden gönderin. Gönderilene kadar yazdırılamaz veya paylaşılamaz.",
|
|
7643
7673
|
"resend": "Tekrar gönder",
|
|
7674
|
+
"edit": "Düzenle",
|
|
7644
7675
|
"sendSms": "SMS ile gönder",
|
|
7645
7676
|
"pin": "PIN",
|
|
7646
7677
|
"prescriber": "Reçete yazan hekim",
|
package/dist/locales/zh.json
CHANGED
|
@@ -5430,6 +5430,34 @@
|
|
|
5430
5430
|
"regenerate": "重新生成",
|
|
5431
5431
|
"disclaimer": "不能替代临床判断 · 临床使用前请核实准确性 · BETA"
|
|
5432
5432
|
},
|
|
5433
|
+
"registryConnectionPanel": {
|
|
5434
|
+
"title": "与 {{registryName}} 的连接",
|
|
5435
|
+
"connectTitle": "连接到 {{registryName}}",
|
|
5436
|
+
"status": {
|
|
5437
|
+
"connected": "已连接",
|
|
5438
|
+
"connectedUntil": "已连接至 {{time}}",
|
|
5439
|
+
"disconnected": "未连接",
|
|
5440
|
+
"incomplete": "缺少设置"
|
|
5441
|
+
},
|
|
5442
|
+
"help": {
|
|
5443
|
+
"disconnected": "连接到 {{registryName}} 后即可发送处方。",
|
|
5444
|
+
"incomplete": "请先保存 {{registryName}} 设置,然后再连接。"
|
|
5445
|
+
},
|
|
5446
|
+
"connect": "连接",
|
|
5447
|
+
"connectAgain": "重新连接",
|
|
5448
|
+
"settings": "设置",
|
|
5449
|
+
"save": "保存设置",
|
|
5450
|
+
"secretStored": "已保存一个值。留空则保持不变。",
|
|
5451
|
+
"choose": "请选择一个选项",
|
|
5452
|
+
"back": "返回设置",
|
|
5453
|
+
"codeLabel": "验证码",
|
|
5454
|
+
"sendCode": "给我发送验证码",
|
|
5455
|
+
"sendCodeAgain": "重新发送验证码",
|
|
5456
|
+
"errors": {
|
|
5457
|
+
"required": "请填写此字段。",
|
|
5458
|
+
"codeRequired": "请输入验证码。"
|
|
5459
|
+
}
|
|
5460
|
+
},
|
|
5433
5461
|
"notesPanel": {
|
|
5434
5462
|
"title": "备注",
|
|
5435
5463
|
"placeholder": "添加备注…",
|
|
@@ -7578,6 +7606,7 @@
|
|
|
7578
7606
|
},
|
|
7579
7607
|
"composer": {
|
|
7580
7608
|
"title": "新建处方",
|
|
7609
|
+
"editTitle": "编辑处方",
|
|
7581
7610
|
"patient": "患者",
|
|
7582
7611
|
"patientPlaceholder": "按姓或名搜索",
|
|
7583
7612
|
"choosePatientTitle": "请选择患者",
|
|
@@ -7610,7 +7639,8 @@
|
|
|
7610
7639
|
"quantity": "请填写盒数。",
|
|
7611
7640
|
"quantityLine": "药品 {{number}}:请填写盒数。",
|
|
7612
7641
|
"quantityInvalid": "请填写不小于 1 的整数盒数。",
|
|
7613
|
-
"quantityInvalidLine": "药品 {{number}}:请填写不小于 1 的整数盒数。"
|
|
7642
|
+
"quantityInvalidLine": "药品 {{number}}:请填写不小于 1 的整数盒数。",
|
|
7643
|
+
"quantityMax": "此药品最多可开 {{max}} 盒。"
|
|
7614
7644
|
},
|
|
7615
7645
|
"treatment": "治疗",
|
|
7616
7646
|
"treatmentPlaceholder": "选择治疗",
|
|
@@ -7641,6 +7671,7 @@
|
|
|
7641
7671
|
"sendFailedTitle": "处方未发送",
|
|
7642
7672
|
"sendFailedBody": "请重新发送。发送成功前,无法打印或分享。",
|
|
7643
7673
|
"resend": "重新发送",
|
|
7674
|
+
"edit": "编辑",
|
|
7644
7675
|
"sendSms": "通过短信发送",
|
|
7645
7676
|
"pin": "PIN",
|
|
7646
7677
|
"prescriber": "处方医生",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { E as s, P as a, a as t, b as e, c as o, i as P, d as n, n as p, v as c } from "../../_chunks/prescription-history-
|
|
1
|
+
import { E as s, P as a, a as t, b as e, c as o, i as P, d as n, n as p, v as c } from "../../_chunks/prescription-history-CFs3JMIE.js";
|
|
2
2
|
export {
|
|
3
3
|
s as EMPTY_PRESCRIPTION_ITEM,
|
|
4
4
|
a as PrescriptionComposer,
|
|
@@ -64,6 +64,8 @@ export interface PrescriptionComposerProps extends Omit<HTMLAttributes<HTMLDivEl
|
|
|
64
64
|
* normal picker shows. Default false.
|
|
65
65
|
*/
|
|
66
66
|
lockPatient?: boolean;
|
|
67
|
+
/** The form edits a saved prescription, for example one the registry refused. The heading reads "Edit prescription" instead of "New prescription". Nothing else changes: the submit label is still `submitLabel`. Default `false`. */
|
|
68
|
+
editing?: boolean;
|
|
67
69
|
/** Text of the submit button, already translated. Default "Save prescription". A host that sends on save passes, say, "Send to Sistema TS". */
|
|
68
70
|
submitLabel?: string;
|
|
69
71
|
id?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type HTMLAttributes, type ReactNode } from 'react';
|
|
2
2
|
import type { PrescriptionRecord } from './prescription-types';
|
|
3
|
-
export type PrescriptionSheetAction = 'resend' | 'print' | 'downloadPdf' | 'sendEmail' | 'sendSms' | 'sendWhatsApp';
|
|
3
|
+
export type PrescriptionSheetAction = 'resend' | 'edit' | 'print' | 'downloadPdf' | 'sendEmail' | 'sendSms' | 'sendWhatsApp';
|
|
4
4
|
type ActionHandler = (record: PrescriptionRecord) => void | Promise<void>;
|
|
5
5
|
export interface PrescriptionSheetProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
|
|
6
6
|
record: PrescriptionRecord;
|
|
@@ -52,6 +52,12 @@ export interface PrescriptionSheetProps extends Omit<HTMLAttributes<HTMLDivEleme
|
|
|
52
52
|
* record.
|
|
53
53
|
*/
|
|
54
54
|
onResend?: ActionHandler;
|
|
55
|
+
/**
|
|
56
|
+
* Given: a failed send also shows "Edit", beside "Send again". The host
|
|
57
|
+
* reopens the prescription in the composer, prefilled, and sends it again.
|
|
58
|
+
* Without it nothing changes. A promise puts the button in its loading state.
|
|
59
|
+
*/
|
|
60
|
+
onEdit?: ActionHandler;
|
|
55
61
|
id?: string;
|
|
56
62
|
}
|
|
57
63
|
export interface PrescriptionSheetHandle {
|
|
@@ -2,11 +2,13 @@ import type { PrescriptionDraft, PrescriptionItem, PrescriptionTreatmentOption }
|
|
|
2
2
|
/** Why a field was refused. `invalid` is a treatment that is not one of the
|
|
3
3
|
* patient's treatments. */
|
|
4
4
|
export type PrescriptionFieldError = 'required' | 'invalid';
|
|
5
|
+
/** A quantity error also covers `tooMany`: more packs than the medication's `maxPacks`. */
|
|
6
|
+
export type PrescriptionQuantityError = PrescriptionFieldError | 'tooMany';
|
|
5
7
|
export interface PrescriptionItemErrors {
|
|
6
8
|
medicationId?: 'required';
|
|
7
9
|
dosage?: 'required';
|
|
8
|
-
/** `required`: empty or not a number. `invalid`: below 1 or not whole. */
|
|
9
|
-
quantity?:
|
|
10
|
+
/** `required`: empty or not a number. `invalid`: below 1 or not whole. `tooMany`: above the medication's `maxPacks`. */
|
|
11
|
+
quantity?: PrescriptionQuantityError;
|
|
10
12
|
}
|
|
11
13
|
export interface PrescriptionDraftErrors {
|
|
12
14
|
patientId?: 'required';
|
|
@@ -27,6 +29,8 @@ export interface PrescriptionValidationOptions {
|
|
|
27
29
|
* differs from the draft's `patientId`, a non-empty treatment is `invalid`.
|
|
28
30
|
*/
|
|
29
31
|
treatmentOptionsPatientId?: string;
|
|
32
|
+
/** The most packs of a medication, by catalogue id (its `maxPacks`). A line with more packs is `tooMany`. */
|
|
33
|
+
maxPacksFor?: (medicationId: string) => number | undefined;
|
|
30
34
|
}
|
|
31
35
|
/** True for a line the user has not touched: nothing to validate or save. */
|
|
32
36
|
export declare function isBlankPrescriptionItem(item: PrescriptionItem): boolean;
|
|
@@ -35,7 +39,7 @@ export declare function isBlankPrescriptionItem(item: PrescriptionItem): boolean
|
|
|
35
39
|
*
|
|
36
40
|
* Rules: a patient, a prescriber, a treatment of the patient and
|
|
37
41
|
* at least one medication line. Every line that is not blank needs a
|
|
38
|
-
* medication, a dosage and a whole number of packs of 1 or more. Blank lines are ignored, except that a draft of
|
|
42
|
+
* medication, a dosage and a whole number of packs of 1 or more, and no more than the medication's `maxPacks` when it has one. Blank lines are ignored, except that a draft of
|
|
39
43
|
* only blank lines has no medication at all, and its first line is marked.
|
|
40
44
|
*/
|
|
41
45
|
export declare function validatePrescriptionDraft(draft: PrescriptionDraft, options?: PrescriptionValidationOptions): PrescriptionDraftErrors;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfadocs/ui-kit",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.147.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "AlfaDocs shared design system — tokens, components, patterns, and translations for platform, booking, and alfascribe.",
|
|
6
6
|
"license": "BUSL-1.1",
|
|
@@ -573,6 +573,10 @@
|
|
|
573
573
|
"types": "./dist/components/notes-panel/index.d.ts",
|
|
574
574
|
"import": "./dist/components/notes-panel/index.js"
|
|
575
575
|
},
|
|
576
|
+
"./registry-connection-panel": {
|
|
577
|
+
"types": "./dist/components/registry-connection-panel/index.d.ts",
|
|
578
|
+
"import": "./dist/components/registry-connection-panel/index.js"
|
|
579
|
+
},
|
|
576
580
|
"./number-input": {
|
|
577
581
|
"types": "./dist/components/number-input/index.d.ts",
|
|
578
582
|
"import": "./dist/components/number-input/index.js"
|