@alfadocs/ui-kit 1.139.0 → 1.141.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/{anamnesis-summary-rows-BgfBnjp0.js → anamnesis-summary-rows-YJGs2uWD.js} +2 -2
- package/dist/_chunks/{appointment-card-CaxFXtSn.js → appointment-card-r0OZm77v.js} +170 -168
- package/dist/_chunks/appointment-timeline-Bs-rTMzi.js +689 -0
- package/dist/_chunks/{appointment-tray-DPpeR9JT.js → appointment-tray-t_ltp-Yi.js} +2 -2
- package/dist/_chunks/{balance-badge-cell-CRrIv2hy.js → balance-badge-cell-CRStPNDd.js} +2 -2
- package/dist/_chunks/{bill-line-table-DCqxhode.js → bill-line-table-DTqXdBED.js} +2 -2
- package/dist/_chunks/{bmi-calculator-rri5vvMt.js → bmi-calculator-rq3ZsKp0.js} +2 -2
- package/dist/_chunks/{calendar-appointment-editor-dialog-GdnaPIOV.js → calendar-appointment-editor-dialog-CuXpgLCw.js} +5 -5
- package/dist/_chunks/{calendar-waiting-list-panel-CkZBAv_E.js → calendar-waiting-list-panel-BNQrUndD.js} +2 -2
- package/dist/_chunks/{calendar.sheets-B0jP2Yt0.js → calendar.sheets-DcW8A3DI.js} +3 -3
- package/dist/_chunks/calls-panel-CJNQm7r8.js +1446 -0
- package/dist/_chunks/{cycle-calculator-WFhMfJHt.js → cycle-calculator-Cb66X2Pf.js} +2 -2
- package/dist/_chunks/{data-grid-bQ6iFm10.js → data-grid-CRUSZcVT.js} +2 -2
- package/dist/_chunks/{default-tabs-Dm_vk6hd.js → default-tabs-CRbVCDSU.js} +3 -3
- package/dist/_chunks/{due-date-calculator-CALlODZe.js → due-date-calculator-Dlqegxx9.js} +2 -2
- package/dist/_chunks/{fetal-weight-D0KofJJw.js → fetal-weight-DWj-_ME8.js} +2 -2
- package/dist/_chunks/{hcg-doubling-Dhdt3Jyd.js → hcg-doubling-Dqbj6PQj.js} +2 -2
- package/dist/_chunks/{invoice-upload-list-Dz3CXHPP.js → invoice-upload-list-BR6vycF7.js} +3 -3
- package/dist/_chunks/{kit-extensions-BB_ksnVl.js → kit-extensions-QddOSnIq.js} +6 -6
- package/dist/_chunks/{link-cell-renderer-CSA0KKPe.js → link-cell-renderer-hAJplRFF.js} +2 -2
- package/dist/_chunks/medication-line-BohqbCYD.js +238 -0
- package/dist/_chunks/{notes-panel-CnmQqhwq.js → notes-panel-C4HSUudf.js} +2 -2
- package/dist/_chunks/{number-input-DUSvP7Dq.js → number-input-Bi5Yk6PX.js} +135 -133
- package/dist/_chunks/{optical-prescription-C4jpDFOE.js → optical-prescription-GzeK_2cf.js} +2 -2
- package/dist/_chunks/{patient-account-settings-DfEPHmCh.js → patient-account-settings-nSvNKKOL.js} +2 -2
- package/dist/_chunks/{patient-check-in-resume-TWs8CPQr.js → patient-check-in-resume-Cj2wg_NQ.js} +4 -4
- package/dist/_chunks/{patient-details-DQTxSWY4.js → patient-details-D0PjzALT.js} +2 -2
- package/dist/_chunks/{patient-field-row-CXuWQeQJ.js → patient-field-row-DlpIModg.js} +2 -2
- package/dist/_chunks/{patient-summary-card-j5u7c5Us.js → patient-summary-card-BP_K7g_q.js} +2 -2
- package/dist/_chunks/{portal-details-VfeOI4PB.js → portal-details-Cnyqf9kY.js} +2 -2
- package/dist/_chunks/{portal-documents-hGHlwmbv.js → portal-documents-g109Dl0O.js} +2 -2
- package/dist/_chunks/{portal-parts-C99CreYO.js → portal-parts-DgDFuED8.js} +2 -2
- package/dist/_chunks/{pregnancy-dating-C-3NLI6K.js → pregnancy-dating-a6WIg4oy.js} +2 -2
- package/dist/_chunks/{pregnancy-weight-gain-DkGcEc_l.js → pregnancy-weight-gain-DmrVHk9y.js} +2 -2
- package/dist/_chunks/prescription-history-Bp_JHhdF.js +1719 -0
- package/dist/_chunks/{print-sheet-CSeqkM3_.js → print-sheet-gaxObGcm.js} +110 -100
- package/dist/_chunks/{rich-text-editor-DFsH5RAj.js → rich-text-editor-orJ-hPgm.js} +1323 -1308
- package/dist/_chunks/{toolbar-Dz_hAUIZ.js → toolbar-B7UHCMSr.js} +2 -2
- package/dist/_chunks/{unit-converter-CBy7S4Tl.js → unit-converter-OBhSDXee.js} +2 -2
- package/dist/_chunks/{use-appointment-details-read-CBSpX4DI.js → use-appointment-details-read-DeQnmmZw.js} +2 -2
- package/dist/agent-catalog.json +141 -16
- package/dist/agent-i18n/en.json +11 -5
- package/dist/appointment-editor-panel/index.js +1 -1
- package/dist/browser-support.js +1 -1
- package/dist/components/appointment-card/appointment-card.d.ts +4 -0
- package/dist/components/appointment-card/index.js +2 -2
- package/dist/components/appointment-details-panel/index.js +1 -1
- package/dist/components/appointment-timeline/appointment-timeline.d.ts +51 -0
- package/dist/components/appointment-timeline/index.d.ts +1 -1
- package/dist/components/appointment-timeline/index.js +1 -1
- package/dist/components/bill-line-table/index.js +1 -1
- package/dist/components/bill-table/index.js +1 -1
- package/dist/components/bmi-calculator/index.js +1 -1
- package/dist/components/calls-panel/calls-panel.d.ts +91 -0
- package/dist/components/calls-panel/index.d.ts +1 -1
- package/dist/components/calls-panel/index.js +1 -1
- package/dist/components/cycle-calculator/index.js +1 -1
- package/dist/components/data-grid/index.js +2 -2
- package/dist/components/data-table/index.js +1 -1
- package/dist/components/due-date-calculator/index.js +1 -1
- package/dist/components/fetal-weight/index.js +1 -1
- package/dist/components/hcg-doubling/index.js +1 -1
- package/dist/components/invoice-upload-list/index.js +1 -1
- package/dist/components/medication-line/index.js +1 -1
- package/dist/components/medication-line/medication-line.d.ts +6 -0
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/number-input/index.js +1 -1
- package/dist/components/optical-prescription/index.js +1 -1
- package/dist/components/patient-details/index.js +1 -1
- package/dist/components/patient-summary-card/index.js +1 -1
- package/dist/components/patient-table/index.js +1 -1
- package/dist/components/pregnancy-dating/index.js +1 -1
- package/dist/components/pregnancy-weight-gain/index.js +1 -1
- package/dist/components/print-sheet/index.js +1 -1
- package/dist/components/print-sheet/print-sheet.d.ts +7 -0
- package/dist/components/rich-text-editor/index.js +2 -2
- package/dist/components/unit-converter/index.js +1 -1
- package/dist/core.css +1 -1
- package/dist/find-free-slots-panel/index.js +1 -1
- package/dist/host-compat.css +18 -1
- package/dist/i18n/locales/ar.d.ts +72 -10
- package/dist/i18n/locales/ar.js +76 -17
- package/dist/i18n/locales/de.d.ts +72 -10
- package/dist/i18n/locales/de.js +76 -17
- package/dist/i18n/locales/el.d.ts +72 -10
- package/dist/i18n/locales/el.js +79 -17
- package/dist/i18n/locales/en.d.ts +64 -10
- package/dist/i18n/locales/en.js +71 -17
- package/dist/i18n/locales/es.d.ts +72 -10
- package/dist/i18n/locales/es.js +76 -17
- package/dist/i18n/locales/fr.d.ts +72 -10
- package/dist/i18n/locales/fr.js +76 -17
- package/dist/i18n/locales/hi.d.ts +72 -10
- package/dist/i18n/locales/hi.js +79 -17
- package/dist/i18n/locales/it.d.ts +72 -10
- package/dist/i18n/locales/it.js +76 -17
- package/dist/i18n/locales/ja.d.ts +72 -10
- package/dist/i18n/locales/ja.js +79 -17
- package/dist/i18n/locales/nl.d.ts +72 -10
- package/dist/i18n/locales/nl.js +76 -17
- package/dist/i18n/locales/pl.d.ts +72 -10
- package/dist/i18n/locales/pl.js +79 -17
- package/dist/i18n/locales/pt.d.ts +72 -10
- package/dist/i18n/locales/pt.js +76 -17
- package/dist/i18n/locales/ro.d.ts +72 -10
- package/dist/i18n/locales/ro.js +76 -17
- package/dist/i18n/locales/ru.d.ts +72 -10
- package/dist/i18n/locales/ru.js +76 -17
- package/dist/i18n/locales/sq.d.ts +72 -10
- package/dist/i18n/locales/sq.js +79 -17
- package/dist/i18n/locales/sv.d.ts +72 -10
- package/dist/i18n/locales/sv.js +76 -17
- package/dist/i18n/locales/tr.d.ts +72 -10
- package/dist/i18n/locales/tr.js +76 -17
- package/dist/i18n/locales/zh.d.ts +72 -10
- package/dist/i18n/locales/zh.js +76 -17
- package/dist/index.js +37 -37
- package/dist/locales/ar.json +79 -17
- package/dist/locales/de.json +79 -17
- package/dist/locales/el.json +79 -17
- package/dist/locales/en.json +71 -17
- package/dist/locales/es.json +79 -17
- package/dist/locales/fr.json +79 -17
- package/dist/locales/hi.json +79 -17
- package/dist/locales/it.json +79 -17
- package/dist/locales/ja.json +79 -17
- package/dist/locales/nl.json +79 -17
- package/dist/locales/pl.json +79 -17
- package/dist/locales/pt.json +79 -17
- package/dist/locales/ro.json +79 -17
- package/dist/locales/ru.json +79 -17
- package/dist/locales/sq.json +79 -17
- package/dist/locales/sv.json +79 -17
- package/dist/locales/tr.json +79 -17
- package/dist/locales/zh.json +79 -17
- package/dist/online-bookings-panel/index.js +1 -1
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/calendar/index.js +2 -2
- package/dist/patterns/patient-account-settings/index.js +1 -1
- package/dist/patterns/patient-check-in/index.js +1 -1
- package/dist/patterns/patient-portal/index.js +2 -2
- package/dist/patterns/prescription/index.d.ts +1 -1
- package/dist/patterns/prescription/index.js +1 -1
- package/dist/patterns/prescription/prescription-composer-item.d.ts +8 -1
- package/dist/patterns/prescription/prescription-composer.d.ts +14 -9
- package/dist/patterns/prescription/prescription-sheet.d.ts +23 -4
- package/dist/patterns/prescription/prescription-types.d.ts +35 -10
- package/dist/patterns/prescription/prescription-validation.d.ts +17 -11
- package/dist/tokens.css +1 -1
- package/dist/waiting-list-panel/index.js +2 -2
- package/package.json +1 -1
- package/dist/_chunks/appointment-timeline-BEwgbYyG.js +0 -455
- package/dist/_chunks/calls-panel-CtxJAzkJ.js +0 -1094
- package/dist/_chunks/medication-line-CHdlh-F7.js +0 -222
- package/dist/_chunks/prescription-history-748qDVwZ.js +0 -1544
package/dist/locales/tr.json
CHANGED
|
@@ -3299,7 +3299,8 @@
|
|
|
3299
3299
|
"flag": {
|
|
3300
3300
|
"bookedOnline": "Çevrimiçi alındı",
|
|
3301
3301
|
"highlightedAnamnesis": "İşaretli anamnez",
|
|
3302
|
-
"billable": "Faturalanabilir"
|
|
3302
|
+
"billable": "Faturalanabilir",
|
|
3303
|
+
"waitingList": "Bekleme listesi"
|
|
3303
3304
|
},
|
|
3304
3305
|
"state": {
|
|
3305
3306
|
"absent": "Gelmedi",
|
|
@@ -3393,6 +3394,24 @@
|
|
|
3393
3394
|
"empty": {
|
|
3394
3395
|
"title": "Randevu yok",
|
|
3395
3396
|
"description": "Bu aralıkta randevu yok."
|
|
3397
|
+
},
|
|
3398
|
+
"jumpTo": "Şuraya git",
|
|
3399
|
+
"print": "Yazdır",
|
|
3400
|
+
"download": "İndir",
|
|
3401
|
+
"range": {
|
|
3402
|
+
"label": "Randevuları göster",
|
|
3403
|
+
"past": "Geçmiş",
|
|
3404
|
+
"future": "Gelecek",
|
|
3405
|
+
"all": "Tümü"
|
|
3406
|
+
},
|
|
3407
|
+
"status": {
|
|
3408
|
+
"label": "Duruma göre filtrele",
|
|
3409
|
+
"placeholder": "Tüm durumlar"
|
|
3410
|
+
},
|
|
3411
|
+
"filteredEmpty": {
|
|
3412
|
+
"title": "Bu filtrelere uyan randevu yok",
|
|
3413
|
+
"description": "Başka filtreler deneyin veya tüm randevuları görmek için filtreleri temizleyin.",
|
|
3414
|
+
"clear": "Filtreleri temizle"
|
|
3396
3415
|
}
|
|
3397
3416
|
},
|
|
3398
3417
|
"appointmentTray": {
|
|
@@ -7492,7 +7511,33 @@
|
|
|
7492
7511
|
"loggedAutomatically": "Otomatik olarak kaydedildi",
|
|
7493
7512
|
"loggedAutomaticallyBy": "{{app}} tarafından otomatik olarak kaydedildi",
|
|
7494
7513
|
"recording": "Ses kaydı",
|
|
7495
|
-
"transcript": "Döküm"
|
|
7514
|
+
"transcript": "Döküm",
|
|
7515
|
+
"filtersLabel": "Aramaları filtrele",
|
|
7516
|
+
"outcomeFilterLabel": "Sonuca göre filtrele",
|
|
7517
|
+
"allOutcomes": "Tüm sonuçlar",
|
|
7518
|
+
"purposeFilterLabel": "Amaca göre filtrele",
|
|
7519
|
+
"allPurposes": "Tüm amaçlar",
|
|
7520
|
+
"directionFilterLabel": "Yöne göre filtrele",
|
|
7521
|
+
"allDirections": "Tüm yönler",
|
|
7522
|
+
"directionMissed": "Cevapsız",
|
|
7523
|
+
"dateRangeLabel": "Tarihe göre filtrele",
|
|
7524
|
+
"dateRangePlaceholder": "Tarih aralığı",
|
|
7525
|
+
"dateUntil": "{{date}} tarihine kadar",
|
|
7526
|
+
"clearFilters": "Filtreleri temizle",
|
|
7527
|
+
"filteredEmptyTitle": "Bu filtrelere uyan arama yok",
|
|
7528
|
+
"filteredEmptyDescription": "Başka filtreler deneyin veya tüm aramaları görmek için filtreleri temizleyin.",
|
|
7529
|
+
"filtersActive_zero": "{{count}} filtre açık",
|
|
7530
|
+
"filtersActive_one": "{{count}} filtre açık",
|
|
7531
|
+
"filtersActive_two": "{{count}} filtre açık",
|
|
7532
|
+
"filtersActive_few": "{{count}} filtre açık",
|
|
7533
|
+
"filtersActive_many": "{{count}} filtre açık",
|
|
7534
|
+
"filtersActive_other": "{{count}} filtre açık",
|
|
7535
|
+
"filteredCount_zero": "{{count}} arama eşleşiyor",
|
|
7536
|
+
"filteredCount_one": "{{count}} arama eşleşiyor",
|
|
7537
|
+
"filteredCount_two": "{{count}} arama eşleşiyor",
|
|
7538
|
+
"filteredCount_few": "{{count}} arama eşleşiyor",
|
|
7539
|
+
"filteredCount_many": "{{count}} arama eşleşiyor",
|
|
7540
|
+
"filteredCount_other": "{{count}} arama eşleşiyor"
|
|
7496
7541
|
},
|
|
7497
7542
|
"medicationSearch": {
|
|
7498
7543
|
"label": "İlaç",
|
|
@@ -7508,7 +7553,10 @@
|
|
|
7508
7553
|
"medicationLine": {
|
|
7509
7554
|
"dosage": "Dozaj",
|
|
7510
7555
|
"notes": "Notlar",
|
|
7511
|
-
"remove": "{{name}} öğesini kaldır"
|
|
7556
|
+
"remove": "{{name}} öğesini kaldır",
|
|
7557
|
+
"quantity": "Kutu sayısı",
|
|
7558
|
+
"duration": "Süre",
|
|
7559
|
+
"notSubstitutable": "Muadil verilemez"
|
|
7512
7560
|
},
|
|
7513
7561
|
"printSheet": {
|
|
7514
7562
|
"label": "Yazdırılabilir belge",
|
|
@@ -7529,11 +7577,6 @@
|
|
|
7529
7577
|
"patientPlaceholder": "Ada veya soyada göre ara",
|
|
7530
7578
|
"choosePatientTitle": "Hasta seçin",
|
|
7531
7579
|
"choosePatientBody": "Reçete oluşturmaya başlamak için ada veya soyada göre arayın.",
|
|
7532
|
-
"link": "Bağlı kayıt",
|
|
7533
|
-
"linkPlaceholder": "Bir tedavi veya tedavi planı seçin",
|
|
7534
|
-
"linkEmpty": "Bu hastanın tedavisi veya tedavi planı yok.",
|
|
7535
|
-
"treatments": "Tedaviler",
|
|
7536
|
-
"carePlans": "Tedavi planları",
|
|
7537
7580
|
"prescriber": "Reçete yazan hekim",
|
|
7538
7581
|
"prescriberPlaceholder": "Reçete yazan hekimi seçin",
|
|
7539
7582
|
"medications": "İlaçlar",
|
|
@@ -7551,15 +7594,28 @@
|
|
|
7551
7594
|
"errors": {
|
|
7552
7595
|
"patient": "Hasta seçin.",
|
|
7553
7596
|
"prescriber": "Reçete yazan hekimi seçin.",
|
|
7554
|
-
"link": "Bir tedavi veya tedavi planı seçin.",
|
|
7555
|
-
"linkInvalid": "Bu hastaya ait bir tedavi veya tedavi planı seçin.",
|
|
7556
7597
|
"items": "En az bir ilaç ekleyin.",
|
|
7557
7598
|
"medication": "Bir ilaç seçin.",
|
|
7558
7599
|
"dosage": "Dozajı girin.",
|
|
7559
7600
|
"medicationLine": "İlaç {{number}}: bir ilaç seçin.",
|
|
7560
7601
|
"dosageLine": "İlaç {{number}}: dozajı girin.",
|
|
7561
|
-
"submit": "Reçete kaydedilmedi. Tekrar deneyin."
|
|
7562
|
-
|
|
7602
|
+
"submit": "Reçete kaydedilmedi. Tekrar deneyin.",
|
|
7603
|
+
"treatment": "Bir tedavi seçin.",
|
|
7604
|
+
"treatmentInvalid": "Bu hastanın tedavilerinden birini seçin.",
|
|
7605
|
+
"quantity": "Kutu sayısını girin.",
|
|
7606
|
+
"quantityLine": "İlaç {{number}}: kutu sayısını girin.",
|
|
7607
|
+
"quantityInvalid": "Kutu sayısı olarak 1 veya daha büyük bir tam sayı girin.",
|
|
7608
|
+
"quantityInvalidLine": "İlaç {{number}}: kutu sayısı olarak 1 veya daha büyük bir tam sayı girin."
|
|
7609
|
+
},
|
|
7610
|
+
"treatment": "Tedavi",
|
|
7611
|
+
"treatmentPlaceholder": "Bir tedavi seçin",
|
|
7612
|
+
"treatmentEmpty": "Bu hastanın tedavisi yok. Reçete yazmadan önce bir tedavi ekleyin.",
|
|
7613
|
+
"treatmentsStandalone": "Tedavi planı dışında",
|
|
7614
|
+
"carePlanGroup": "Tedavi planı: {{label}}",
|
|
7615
|
+
"quantity": "Kutu sayısı",
|
|
7616
|
+
"duration": "Tedavi süresi",
|
|
7617
|
+
"notSubstitutable": "Muadil verilemez",
|
|
7618
|
+
"notSubstitutableNeedsCode": "Önce kodu olan bir ilaç seçin."
|
|
7563
7619
|
},
|
|
7564
7620
|
"sheet": {
|
|
7565
7621
|
"title": "Tıbbi reçete",
|
|
@@ -7580,18 +7636,22 @@
|
|
|
7580
7636
|
"sendFailedTitle": "Reçete gönderilmedi",
|
|
7581
7637
|
"sendFailedBody": "Yeniden gönderin. Gönderilene kadar yazdırılamaz veya paylaşılamaz.",
|
|
7582
7638
|
"resend": "Tekrar gönder",
|
|
7583
|
-
"sendSms": "SMS ile gönder"
|
|
7639
|
+
"sendSms": "SMS ile gönder",
|
|
7640
|
+
"pin": "PIN",
|
|
7641
|
+
"prescriber": "Reçete yazan hekim",
|
|
7642
|
+
"prescriberFiscalCode": "İtalyan vergi kimlik kodu",
|
|
7643
|
+
"registrationNumber": "Sicil numarası",
|
|
7644
|
+
"summaryNote": "Muayenehane için özet. Resmî reçete, reçete kayıt sisteminin düzenlediği belgedir.",
|
|
7645
|
+
"prescriberName": "Ad soyad"
|
|
7584
7646
|
},
|
|
7585
7647
|
"history": {
|
|
7586
7648
|
"caption": "Reçeteler",
|
|
7587
7649
|
"date": "Tarih",
|
|
7588
|
-
"link": "Bağlı kayıt",
|
|
7589
7650
|
"medications": "İlaçlar",
|
|
7590
7651
|
"prescriber": "Reçete yazan hekim",
|
|
7591
7652
|
"actions": "İşlemler",
|
|
7592
7653
|
"open": "Aç",
|
|
7593
7654
|
"reprint": "Yeniden yazdır",
|
|
7594
|
-
"notLinked": "Bağlı değil",
|
|
7595
7655
|
"rowLabel": "Reçete: {{date}}",
|
|
7596
7656
|
"emptyTitle": "Henüz reçete yok",
|
|
7597
7657
|
"emptyBody": "Bu hastanın kaydedilen reçeteleri burada görünür.",
|
|
@@ -7599,8 +7659,10 @@
|
|
|
7599
7659
|
"patient": "Hasta",
|
|
7600
7660
|
"number": "Numara",
|
|
7601
7661
|
"status": "Durum",
|
|
7602
|
-
"
|
|
7603
|
-
"
|
|
7662
|
+
"specialty": "Uzmanlık alanı",
|
|
7663
|
+
"treatment": "Tedavi",
|
|
7664
|
+
"carePlan": "Tedavi planı",
|
|
7665
|
+
"noCarePlan": "Tedavi planı yok"
|
|
7604
7666
|
},
|
|
7605
7667
|
"status": {
|
|
7606
7668
|
"label": "Durum",
|
package/dist/locales/zh.json
CHANGED
|
@@ -3299,7 +3299,8 @@
|
|
|
3299
3299
|
"flag": {
|
|
3300
3300
|
"bookedOnline": "在线预约",
|
|
3301
3301
|
"highlightedAnamnesis": "病史有重点标记",
|
|
3302
|
-
"billable": "可计费"
|
|
3302
|
+
"billable": "可计费",
|
|
3303
|
+
"waitingList": "等候名单"
|
|
3303
3304
|
},
|
|
3304
3305
|
"state": {
|
|
3305
3306
|
"absent": "缺席",
|
|
@@ -3393,6 +3394,24 @@
|
|
|
3393
3394
|
"empty": {
|
|
3394
3395
|
"title": "暂无预约",
|
|
3395
3396
|
"description": "此时间段内没有预约。"
|
|
3397
|
+
},
|
|
3398
|
+
"jumpTo": "跳转到",
|
|
3399
|
+
"print": "打印",
|
|
3400
|
+
"download": "下载",
|
|
3401
|
+
"range": {
|
|
3402
|
+
"label": "显示预约",
|
|
3403
|
+
"past": "过去",
|
|
3404
|
+
"future": "未来",
|
|
3405
|
+
"all": "全部"
|
|
3406
|
+
},
|
|
3407
|
+
"status": {
|
|
3408
|
+
"label": "按状态筛选",
|
|
3409
|
+
"placeholder": "所有状态"
|
|
3410
|
+
},
|
|
3411
|
+
"filteredEmpty": {
|
|
3412
|
+
"title": "没有符合这些筛选条件的预约",
|
|
3413
|
+
"description": "请尝试其他筛选条件,或清除筛选以查看所有预约。",
|
|
3414
|
+
"clear": "清除筛选"
|
|
3396
3415
|
}
|
|
3397
3416
|
},
|
|
3398
3417
|
"appointmentTray": {
|
|
@@ -7492,7 +7511,33 @@
|
|
|
7492
7511
|
"loggedAutomatically": "自动记录",
|
|
7493
7512
|
"loggedAutomaticallyBy": "由 {{app}} 自动记录",
|
|
7494
7513
|
"recording": "录音",
|
|
7495
|
-
"transcript": "转录"
|
|
7514
|
+
"transcript": "转录",
|
|
7515
|
+
"filtersLabel": "筛选通话",
|
|
7516
|
+
"outcomeFilterLabel": "按结果筛选",
|
|
7517
|
+
"allOutcomes": "所有结果",
|
|
7518
|
+
"purposeFilterLabel": "按目的筛选",
|
|
7519
|
+
"allPurposes": "所有目的",
|
|
7520
|
+
"directionFilterLabel": "按方向筛选",
|
|
7521
|
+
"allDirections": "所有方向",
|
|
7522
|
+
"directionMissed": "未接",
|
|
7523
|
+
"dateRangeLabel": "按日期筛选",
|
|
7524
|
+
"dateRangePlaceholder": "日期范围",
|
|
7525
|
+
"dateUntil": "截至 {{date}}",
|
|
7526
|
+
"clearFilters": "清除筛选",
|
|
7527
|
+
"filteredEmptyTitle": "没有符合这些筛选条件的通话",
|
|
7528
|
+
"filteredEmptyDescription": "请尝试其他筛选条件,或清除筛选以查看所有通话。",
|
|
7529
|
+
"filtersActive_zero": "已启用 {{count}} 个筛选",
|
|
7530
|
+
"filtersActive_one": "已启用 {{count}} 个筛选",
|
|
7531
|
+
"filtersActive_two": "已启用 {{count}} 个筛选",
|
|
7532
|
+
"filtersActive_few": "已启用 {{count}} 个筛选",
|
|
7533
|
+
"filtersActive_many": "已启用 {{count}} 个筛选",
|
|
7534
|
+
"filtersActive_other": "已启用 {{count}} 个筛选",
|
|
7535
|
+
"filteredCount_zero": "{{count}} 条通话符合",
|
|
7536
|
+
"filteredCount_one": "{{count}} 条通话符合",
|
|
7537
|
+
"filteredCount_two": "{{count}} 条通话符合",
|
|
7538
|
+
"filteredCount_few": "{{count}} 条通话符合",
|
|
7539
|
+
"filteredCount_many": "{{count}} 条通话符合",
|
|
7540
|
+
"filteredCount_other": "{{count}} 条通话符合"
|
|
7496
7541
|
},
|
|
7497
7542
|
"medicationSearch": {
|
|
7498
7543
|
"label": "药品",
|
|
@@ -7508,7 +7553,10 @@
|
|
|
7508
7553
|
"medicationLine": {
|
|
7509
7554
|
"dosage": "用法用量",
|
|
7510
7555
|
"notes": "备注",
|
|
7511
|
-
"remove": "删除 {{name}}"
|
|
7556
|
+
"remove": "删除 {{name}}",
|
|
7557
|
+
"quantity": "盒数",
|
|
7558
|
+
"duration": "疗程",
|
|
7559
|
+
"notSubstitutable": "不可替换"
|
|
7512
7560
|
},
|
|
7513
7561
|
"printSheet": {
|
|
7514
7562
|
"label": "可打印文档",
|
|
@@ -7529,11 +7577,6 @@
|
|
|
7529
7577
|
"patientPlaceholder": "按姓或名搜索",
|
|
7530
7578
|
"choosePatientTitle": "请选择患者",
|
|
7531
7579
|
"choosePatientBody": "按姓或名搜索,开始开具处方。",
|
|
7532
|
-
"link": "关联到",
|
|
7533
|
-
"linkPlaceholder": "选择治疗或诊疗计划",
|
|
7534
|
-
"linkEmpty": "该患者没有治疗或诊疗计划。",
|
|
7535
|
-
"treatments": "治疗",
|
|
7536
|
-
"carePlans": "诊疗计划",
|
|
7537
7580
|
"prescriber": "处方医生",
|
|
7538
7581
|
"prescriberPlaceholder": "选择处方医生",
|
|
7539
7582
|
"medications": "药品",
|
|
@@ -7551,15 +7594,28 @@
|
|
|
7551
7594
|
"errors": {
|
|
7552
7595
|
"patient": "请选择患者。",
|
|
7553
7596
|
"prescriber": "请选择处方医生。",
|
|
7554
|
-
"link": "请选择治疗或诊疗计划。",
|
|
7555
|
-
"linkInvalid": "请选择该患者的治疗或诊疗计划。",
|
|
7556
7597
|
"items": "请至少添加一种药品。",
|
|
7557
7598
|
"medication": "请选择药品。",
|
|
7558
7599
|
"dosage": "请填写用法用量。",
|
|
7559
7600
|
"medicationLine": "药品 {{number}}:请选择药品。",
|
|
7560
7601
|
"dosageLine": "药品 {{number}}:请填写用法用量。",
|
|
7561
|
-
"submit": "处方未保存,请重试。"
|
|
7562
|
-
|
|
7602
|
+
"submit": "处方未保存,请重试。",
|
|
7603
|
+
"treatment": "请选择治疗。",
|
|
7604
|
+
"treatmentInvalid": "请选择该患者的治疗之一。",
|
|
7605
|
+
"quantity": "请填写盒数。",
|
|
7606
|
+
"quantityLine": "药品 {{number}}:请填写盒数。",
|
|
7607
|
+
"quantityInvalid": "请填写不小于 1 的整数盒数。",
|
|
7608
|
+
"quantityInvalidLine": "药品 {{number}}:请填写不小于 1 的整数盒数。"
|
|
7609
|
+
},
|
|
7610
|
+
"treatment": "治疗",
|
|
7611
|
+
"treatmentPlaceholder": "选择治疗",
|
|
7612
|
+
"treatmentEmpty": "该患者暂无治疗。开具处方前请先添加治疗。",
|
|
7613
|
+
"treatmentsStandalone": "不在诊疗计划中",
|
|
7614
|
+
"carePlanGroup": "诊疗计划:{{label}}",
|
|
7615
|
+
"quantity": "盒数",
|
|
7616
|
+
"duration": "用药疗程",
|
|
7617
|
+
"notSubstitutable": "不可替换",
|
|
7618
|
+
"notSubstitutableNeedsCode": "请先选择有编码的药品。"
|
|
7563
7619
|
},
|
|
7564
7620
|
"sheet": {
|
|
7565
7621
|
"title": "医疗处方",
|
|
@@ -7580,18 +7636,22 @@
|
|
|
7580
7636
|
"sendFailedTitle": "处方未发送",
|
|
7581
7637
|
"sendFailedBody": "请重新发送。发送成功前,无法打印或分享。",
|
|
7582
7638
|
"resend": "重新发送",
|
|
7583
|
-
"sendSms": "通过短信发送"
|
|
7639
|
+
"sendSms": "通过短信发送",
|
|
7640
|
+
"pin": "PIN",
|
|
7641
|
+
"prescriber": "处方医生",
|
|
7642
|
+
"prescriberFiscalCode": "税号",
|
|
7643
|
+
"registrationNumber": "注册编号",
|
|
7644
|
+
"summaryNote": "供诊所使用的摘要。正式处方以处方登记系统出具的文件为准。",
|
|
7645
|
+
"prescriberName": "姓名"
|
|
7584
7646
|
},
|
|
7585
7647
|
"history": {
|
|
7586
7648
|
"caption": "处方",
|
|
7587
7649
|
"date": "日期",
|
|
7588
|
-
"link": "关联到",
|
|
7589
7650
|
"medications": "药品",
|
|
7590
7651
|
"prescriber": "处方医生",
|
|
7591
7652
|
"actions": "操作",
|
|
7592
7653
|
"open": "打开",
|
|
7593
7654
|
"reprint": "重新打印",
|
|
7594
|
-
"notLinked": "未关联",
|
|
7595
7655
|
"rowLabel": "{{date}} 的处方",
|
|
7596
7656
|
"emptyTitle": "暂无处方",
|
|
7597
7657
|
"emptyBody": "此患者已保存的处方会显示在这里。",
|
|
@@ -7599,8 +7659,10 @@
|
|
|
7599
7659
|
"patient": "患者",
|
|
7600
7660
|
"number": "编号",
|
|
7601
7661
|
"status": "状态",
|
|
7602
|
-
"
|
|
7603
|
-
"
|
|
7662
|
+
"specialty": "专科",
|
|
7663
|
+
"treatment": "治疗",
|
|
7664
|
+
"carePlan": "诊疗计划",
|
|
7665
|
+
"noCarePlan": "无诊疗计划"
|
|
7604
7666
|
},
|
|
7605
7667
|
"status": {
|
|
7606
7668
|
"label": "状态",
|
|
@@ -2,7 +2,7 @@ import { jsx as n } from "react/jsx-runtime";
|
|
|
2
2
|
import { useState as h, useMemo as g } from "react";
|
|
3
3
|
import { a as k } from "../_chunks/tooltip-uEBdD1-5.js";
|
|
4
4
|
import { C as v } from "../_chunks/calendar-editor-guard-9fShhNIA.js";
|
|
5
|
-
import { S as B, B as O } from "../_chunks/calendar.sheets-
|
|
5
|
+
import { S as B, B as O } from "../_chunks/calendar.sheets-DcW8A3DI.js";
|
|
6
6
|
import { c as P, o as S } from "../_chunks/calendar-workspace.model-B8yPwuBv.js";
|
|
7
7
|
function A({
|
|
8
8
|
rows: e,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as e, a as i, L as r, P as n, S as o, T as t, b as l, c as d, d as g, e as A, f as m, g as c, h as E, i as P, j as f, k as S, l as h, m as u, n as T, o as I, p as N, r as R, q as _, s as C, t as L, u as b } from "../../_chunks/anamnesis-summary-rows-
|
|
1
|
+
import { A as e, a as i, L as r, P as n, S as o, T as t, b as l, c as d, d as g, e as A, f as m, g as c, h as E, i as P, j as f, k as S, l as h, m as u, n as T, o as I, p as N, r as R, q as _, s as C, t as L, u as b } from "../../_chunks/anamnesis-summary-rows-YJGs2uWD.js";
|
|
2
2
|
export {
|
|
3
3
|
e as Anamnesis,
|
|
4
4
|
i as AnamnesisConfigEditor,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { A as r, C as s, i as o } from "../../_chunks/calendar-appointment-editor-dialog-
|
|
1
|
+
import { A as r, C as s, i as o } from "../../_chunks/calendar-appointment-editor-dialog-CuXpgLCw.js";
|
|
2
2
|
import { C, a as S, b as E } from "../../_chunks/calendar-editor-discard-host-BcMEgVEq.js";
|
|
3
3
|
import { C as i, u as A } from "../../_chunks/calendar-editor-guard-9fShhNIA.js";
|
|
4
|
-
import { C as d, S as p, u as D } from "../../_chunks/calendar.sheets-
|
|
4
|
+
import { C as d, S as p, u as D } from "../../_chunks/calendar.sheets-DcW8A3DI.js";
|
|
5
5
|
import { C as _, D as m, a as O, V as f, W as L, b as R, m as W, r as c, u as I } from "../../_chunks/calendar-workspace.model-B8yPwuBv.js";
|
|
6
6
|
export {
|
|
7
7
|
r as AppointmentEditorDialog,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as a, a as c, b as h, c as C, d as s, e as k, f as I, g as o, h as t } from "../../_chunks/patient-check-in-resume-
|
|
1
|
+
import { C as a, a as c, b as h, c as C, d as s, e as k, f as I, g as o, h as t } from "../../_chunks/patient-check-in-resume-Cj2wg_NQ.js";
|
|
2
2
|
export {
|
|
3
3
|
a as CheckInAppointmentChanged,
|
|
4
4
|
c as CheckInConnectionNotice,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { P as o, a as l, b as s, c as r, d as e } from "../../_chunks/portal-documents-
|
|
2
|
-
import { P as i, a as c, b as m } from "../../_chunks/portal-details-
|
|
1
|
+
import { P as o, a as l, b as s, c as r, d as e } from "../../_chunks/portal-documents-g109Dl0O.js";
|
|
2
|
+
import { P as i, a as c, b as m } from "../../_chunks/portal-details-Cnyqf9kY.js";
|
|
3
3
|
export {
|
|
4
4
|
o as PortalAppointments,
|
|
5
5
|
i as PortalDetails,
|
|
@@ -7,5 +7,5 @@ export type { PrescriptionHistoryProps } from './prescription-history';
|
|
|
7
7
|
export { validatePrescriptionDraft, isPrescriptionDraftValid, normalisePrescriptionDraft, isBlankPrescriptionItem, } from './prescription-validation';
|
|
8
8
|
export type { PrescriptionDraftErrors, PrescriptionItemErrors, PrescriptionFieldError, PrescriptionValidationOptions, } from './prescription-validation';
|
|
9
9
|
export { createEmptyPrescriptionDraft, EMPTY_PRESCRIPTION_ITEM, } from './prescription-types';
|
|
10
|
-
export type { PrescriptionDraft, PrescriptionItem,
|
|
10
|
+
export type { PrescriptionDraft, PrescriptionItem, PrescriptionTreatment, PrescriptionTreatmentOption, PrescriptionPatient, PrescriptionPrescriber, PrescriptionRecord, PrescriptionRecordItem, PrescriptionMedicationSearch, PrescriptionPatientSearch, } from './prescription-types';
|
|
11
11
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -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-Bp_JHhdF.js";
|
|
2
2
|
export {
|
|
3
3
|
s as EMPTY_PRESCRIPTION_ITEM,
|
|
4
4
|
a as PrescriptionComposer,
|
|
@@ -10,11 +10,14 @@ export interface PrescriptionComposerItemProps {
|
|
|
10
10
|
/** Ids the error summary links to. */
|
|
11
11
|
medicationFieldId: string;
|
|
12
12
|
dosageFieldId: string;
|
|
13
|
+
quantityFieldId: string;
|
|
13
14
|
medicationError?: string;
|
|
14
15
|
dosageError?: string;
|
|
16
|
+
quantityError?: string;
|
|
15
17
|
/** False while the error summary lists the field. */
|
|
16
18
|
announceMedicationError: boolean;
|
|
17
19
|
announceDosageError: boolean;
|
|
20
|
+
announceQuantityError: boolean;
|
|
18
21
|
searchMedications: PrescriptionMedicationSearch;
|
|
19
22
|
codeLabel?: string;
|
|
20
23
|
catalogueStatus: 'ready' | 'loading' | 'error';
|
|
@@ -23,6 +26,10 @@ export interface PrescriptionComposerItemProps {
|
|
|
23
26
|
onMedicationChange: (medication: MedicationOption | null) => void;
|
|
24
27
|
onDosageChange: (dosage: string) => void;
|
|
25
28
|
onNotesChange: (notes: string) => void;
|
|
29
|
+
/** Whole packs; NaN while the field is empty. */
|
|
30
|
+
onQuantityChange: (quantity: number) => void;
|
|
31
|
+
onDurationChange: (duration: string) => void;
|
|
32
|
+
onNotSubstitutableChange: (value: boolean) => void;
|
|
26
33
|
/** Structural id for the catalogue search. The free-text fields carry none: they are not registered with the agent runtime. */
|
|
27
34
|
medicationSearchId: string;
|
|
28
35
|
medicationRef: Ref<MedicationSearchHandle>;
|
|
@@ -30,5 +37,5 @@ export interface PrescriptionComposerItemProps {
|
|
|
30
37
|
/** A suggestion chip was chosen: the parent writes it, then moves focus. */
|
|
31
38
|
onSuggestionChosen: (text: string) => void;
|
|
32
39
|
}
|
|
33
|
-
export declare function PrescriptionComposerItem({ index, item, medication, medicationFieldId, dosageFieldId, medicationError, dosageError, announceMedicationError, announceDosageError, searchMedications, codeLabel, catalogueStatus, onCatalogueRetry, suggestions, onMedicationChange, onDosageChange, onNotesChange, medicationSearchId, medicationRef, dosageInputRef, onSuggestionChosen, }: PrescriptionComposerItemProps): import("react/jsx-runtime").JSX.Element;
|
|
40
|
+
export declare function PrescriptionComposerItem({ index, item, medication, medicationFieldId, dosageFieldId, quantityFieldId, medicationError, dosageError, quantityError, announceMedicationError, announceDosageError, announceQuantityError, searchMedications, codeLabel, catalogueStatus, onCatalogueRetry, suggestions, onMedicationChange, onDosageChange, onNotesChange, onQuantityChange, onDurationChange, onNotSubstitutableChange, medicationSearchId, medicationRef, dosageInputRef, onSuggestionChosen, }: PrescriptionComposerItemProps): import("react/jsx-runtime").JSX.Element;
|
|
34
41
|
//# sourceMappingURL=prescription-composer-item.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type HTMLAttributes } from 'react';
|
|
2
|
-
import { type MedicationOption, type PrescriptionDraft, type PrescriptionItem, type
|
|
2
|
+
import { type MedicationOption, type PrescriptionDraft, type PrescriptionItem, type PrescriptionTreatmentOption, type PrescriptionMedicationSearch, type PrescriptionPatient, type PrescriptionPatientSearch, type PrescriptionPrescriber, type PrescriptionRecord } from './prescription-types';
|
|
3
3
|
import { type PrescriptionDraftErrors } from './prescription-validation';
|
|
4
4
|
export interface PrescriptionComposerProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange' | 'onSubmit' | 'defaultValue' | 'children'> {
|
|
5
5
|
/** Patients to choose from, filtered on the client by first or last name. Also used to resolve a preselected `patientId`. */
|
|
@@ -7,12 +7,19 @@ export interface PrescriptionComposerProps extends Omit<HTMLAttributes<HTMLDivEl
|
|
|
7
7
|
/** Host typeahead. Wins over `patients` for listing. */
|
|
8
8
|
searchPatients?: PrescriptionPatientSearch;
|
|
9
9
|
/**
|
|
10
|
-
* Treatments
|
|
11
|
-
* after `onPatientChange`.
|
|
12
|
-
* with none cannot be saved:
|
|
13
|
-
*
|
|
10
|
+
* Treatments of the CHOSEN patient, each with its care plan when it has
|
|
11
|
+
* one. The host updates it after `onPatientChange`. Every prescription is
|
|
12
|
+
* for one treatment, so a patient with none cannot be saved: the host adds
|
|
13
|
+
* a treatment first.
|
|
14
14
|
*/
|
|
15
|
-
|
|
15
|
+
treatmentOptions?: readonly PrescriptionTreatmentOption[];
|
|
16
|
+
/**
|
|
17
|
+
* The patient `treatmentOptions` belongs to. After a patient change the list
|
|
18
|
+
* is still the previous patient's until your app swaps it: while this differs
|
|
19
|
+
* from the draft's patient, the Treatment select is disabled with no options
|
|
20
|
+
* and a chosen treatment is refused as invalid.
|
|
21
|
+
*/
|
|
22
|
+
treatmentOptionsPatientId?: string;
|
|
16
23
|
/** People allowed to prescribe. */
|
|
17
24
|
prescribers: readonly PrescriptionPrescriber[];
|
|
18
25
|
/**
|
|
@@ -42,8 +49,6 @@ export interface PrescriptionComposerProps extends Omit<HTMLAttributes<HTMLDivEl
|
|
|
42
49
|
/** Called with a valid, normalised draft. A promise keeps the Save button loading until it settles; a rejection shows the save error. */
|
|
43
50
|
onSubmit: (draft: PrescriptionDraft) => Promise<PrescriptionRecord | void> | PrescriptionRecord | void;
|
|
44
51
|
onPatientChange?: (patientId: string) => void;
|
|
45
|
-
/** A treatment or care plan must be chosen. Default true. */
|
|
46
|
-
requireLink?: boolean;
|
|
47
52
|
/** Whole-form loading state (skeleton). */
|
|
48
53
|
loading?: boolean;
|
|
49
54
|
/** A host error to show above the Save button, already translated. */
|
|
@@ -72,7 +77,7 @@ export interface PrescriptionComposerHandle {
|
|
|
72
77
|
getDraft(): PrescriptionDraft;
|
|
73
78
|
setPatient(patientId: string): void;
|
|
74
79
|
setPrescriber(prescriberId: string): void;
|
|
75
|
-
|
|
80
|
+
setTreatment(treatmentId: string): void;
|
|
76
81
|
/** Appends a line (blank when no argument) and returns its index. */
|
|
77
82
|
addItem(item?: Partial<PrescriptionItem>): number;
|
|
78
83
|
updateItem(index: number, patch: Partial<PrescriptionItem>): void;
|
|
@@ -17,15 +17,29 @@ export interface PrescriptionSheetProps extends Omit<HTMLAttributes<HTMLDivEleme
|
|
|
17
17
|
/**
|
|
18
18
|
* Print only this sheet when the user prints from the browser itself
|
|
19
19
|
* (Ctrl or Cmd+P). Off by default, so other prints on the page are not taken
|
|
20
|
-
* over.
|
|
20
|
+
* over. Only in `printMode="sheet"`: the Print button and `handle.print()`
|
|
21
|
+
* print only the sheet. In host mode the kit never prints, so this does
|
|
22
|
+
* nothing there (it is forced off).
|
|
21
23
|
*/
|
|
22
24
|
isolateBrowserPrint?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Who prints. `'host'`: the Print action only calls `onPrint(record)`, and
|
|
27
|
+
* your app opens the official document the registry issues; the kit does
|
|
28
|
+
* not print the sheet, which is an on-screen summary (a note says so).
|
|
29
|
+
* `'sheet'`: the kit prints the sheet through PrintSheet, then calls
|
|
30
|
+
* `onPrint(record)`. Default `'host'` when the record has a `sendStatus`
|
|
31
|
+
* (an electronic prescription) and `'sheet'` when it has none.
|
|
32
|
+
*/
|
|
33
|
+
printMode?: 'host' | 'sheet';
|
|
34
|
+
/** Replaces the label of the PIN line. Default "PIN". Already translated. */
|
|
35
|
+
pinLabel?: string;
|
|
23
36
|
/** Replaces the label of the prescription number line, for example "NRBE". Default "Prescription number". Already translated. */
|
|
24
37
|
numberLabel?: string;
|
|
25
38
|
/** Each share button renders ONLY when its callback is passed. */
|
|
26
39
|
/**
|
|
27
|
-
* Given: a Print button.
|
|
28
|
-
*
|
|
40
|
+
* Given: a Print button. In `'host'` print mode it only calls
|
|
41
|
+
* `onPrint(record)`. In `'sheet'` mode the kit prints this sheet through
|
|
42
|
+
* PrintSheet (the browser print dialog, only the sheet), then calls it.
|
|
29
43
|
*/
|
|
30
44
|
onPrint?: ActionHandler;
|
|
31
45
|
onDownloadPdf?: ActionHandler;
|
|
@@ -41,7 +55,12 @@ export interface PrescriptionSheetProps extends Omit<HTMLAttributes<HTMLDivEleme
|
|
|
41
55
|
id?: string;
|
|
42
56
|
}
|
|
43
57
|
export interface PrescriptionSheetHandle {
|
|
44
|
-
/**
|
|
58
|
+
/**
|
|
59
|
+
* Print mode `'sheet'`: prints only the sheet, whether or not `onPrint` is
|
|
60
|
+
* passed (and does not call it). Print mode `'host'`: calls `onPrint(record)`
|
|
61
|
+
* and does nothing without it; the kit prints nothing. In both modes it does
|
|
62
|
+
* nothing while the send is under way or failed.
|
|
63
|
+
*/
|
|
45
64
|
print(): void;
|
|
46
65
|
getRecordId(): string;
|
|
47
66
|
/** Moves focus to the sheet's title, after a change of view. */
|
|
@@ -18,18 +18,29 @@ export interface PrescriptionPrescriber {
|
|
|
18
18
|
/** Display name, with any title the host wants printed. */
|
|
19
19
|
name: string;
|
|
20
20
|
specialty?: string;
|
|
21
|
+
/** The prescriber's own tax code: platform `DoctorOperator.italianFiscalCode`. The host needs it to send to the registry; the kit only shows it. Staff data, not masked. */
|
|
22
|
+
fiscalCode?: string;
|
|
23
|
+
/** The prescriber's registration number with the professional order: platform `DoctorOperator.professionalRegistrationNumber`. The host needs it to send to the registry; the kit only shows it. */
|
|
24
|
+
registrationNumber?: string;
|
|
21
25
|
}
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
*
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
/** A treatment of the patient, as the Treatment select lists it. Every
|
|
27
|
+
* prescription is for one treatment.
|
|
28
|
+
* A treatment inside a care plan is the platform's `DoctorCarePlanEntry`,
|
|
29
|
+
* and `carePlan` its `DoctorCarePlan`. A treatment without a care plan is not
|
|
30
|
+
* yet mapped to a platform entity: the kit treats ids as opaque, and they
|
|
31
|
+
* must be unique within the list. */
|
|
32
|
+
export interface PrescriptionTreatmentOption {
|
|
27
33
|
id: string;
|
|
28
|
-
}
|
|
29
|
-
/** One choice in the "Linked to" select, for the chosen patient. */
|
|
30
|
-
export interface PrescriptionLinkOption extends PrescriptionLink {
|
|
31
34
|
label: string;
|
|
35
|
+
/** The care plan the treatment belongs to, when it belongs to one. */
|
|
36
|
+
carePlan?: {
|
|
37
|
+
id: string;
|
|
38
|
+
label: string;
|
|
39
|
+
};
|
|
32
40
|
}
|
|
41
|
+
/** The treatment a saved prescription is for: the same shape as the option
|
|
42
|
+
* the composer lists. */
|
|
43
|
+
export type PrescriptionTreatment = PrescriptionTreatmentOption;
|
|
33
44
|
/** One medication line of a draft. */
|
|
34
45
|
export interface PrescriptionItem {
|
|
35
46
|
/** Catalogue id. Empty while the line has no medication yet. */
|
|
@@ -38,6 +49,12 @@ export interface PrescriptionItem {
|
|
|
38
49
|
dosage: string;
|
|
39
50
|
/** Optional free text. */
|
|
40
51
|
notes: string;
|
|
52
|
+
/** Whole packs, at least 1. A new line starts at 1; required on every line that is not blank. */
|
|
53
|
+
quantity: number;
|
|
54
|
+
/** The medicine may not be replaced by another with the same active ingredient. Only possible when the medication has a code (the specification allows it only when the medicine is identified by its code). */
|
|
55
|
+
notSubstitutable: boolean;
|
|
56
|
+
/** Optional free text: how long the therapy lasts, for example "6 days". */
|
|
57
|
+
duration: string;
|
|
41
58
|
}
|
|
42
59
|
/** What the composer edits and hands to `onSubmit`. Ids only: the host
|
|
43
60
|
* resolves them. */
|
|
@@ -46,7 +63,8 @@ export interface PrescriptionDraft {
|
|
|
46
63
|
patientId: string;
|
|
47
64
|
/** Empty while no prescriber is chosen. */
|
|
48
65
|
prescriberId: string;
|
|
49
|
-
|
|
66
|
+
/** The treatment the prescription is for. Empty while none is chosen. Required to save. */
|
|
67
|
+
treatmentId: string;
|
|
50
68
|
items: PrescriptionItem[];
|
|
51
69
|
}
|
|
52
70
|
/** One line of a saved prescription, resolved so it can be shown and
|
|
@@ -55,6 +73,10 @@ export interface PrescriptionRecordItem {
|
|
|
55
73
|
medication: MedicationOption;
|
|
56
74
|
dosage: string;
|
|
57
75
|
notes?: string;
|
|
76
|
+
/** Whole packs. */
|
|
77
|
+
quantity: number;
|
|
78
|
+
notSubstitutable?: boolean;
|
|
79
|
+
duration?: string;
|
|
58
80
|
}
|
|
59
81
|
/** Where a prescription is in its send to the national registry. */
|
|
60
82
|
export type PrescriptionSendStatus = 'sending' | 'sent' | 'failed';
|
|
@@ -71,10 +93,13 @@ export interface PrescriptionRecord {
|
|
|
71
93
|
createdAt: string;
|
|
72
94
|
patient: PrescriptionPatient;
|
|
73
95
|
prescriber: PrescriptionPrescriber;
|
|
74
|
-
|
|
96
|
+
/** The treatment the prescription is for, resolved, with its care plan if it has one. */
|
|
97
|
+
treatment: PrescriptionTreatment;
|
|
75
98
|
items: PrescriptionRecordItem[];
|
|
76
99
|
/** The number the registry gave the prescription (Italy: NRBE). Present once it is sent. */
|
|
77
100
|
number?: string;
|
|
101
|
+
/** The PIN the registry returns with the number. With the number and the patient's tax code it is what the pharmacy needs. Sensitive: shown on the sheet only, never in a `data-*` attribute or agent state. */
|
|
102
|
+
pin?: string;
|
|
78
103
|
/** State of the send to the national registry (Italy: Sistema TS). Omit when the host sends prescriptions nowhere. */
|
|
79
104
|
sendStatus?: PrescriptionSendStatus;
|
|
80
105
|
/** ISO 8601 instant it was sent. */
|