This repository has been archived by the owner on Jan 9, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
/
index.ts
92 lines (92 loc) · 2.7 KB
/
index.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
export default {
patient: {
firstName: 'First Name',
lastName: 'Last Name',
suffix: 'Suffix',
prefix: 'Prefix',
givenName: 'Given Name',
familyName: 'Family Name',
dateOfBirth: 'Date of Birth',
approximateDateOfBirth: 'Approximate Date of Birth',
age: 'Age',
approximateAge: 'Approximate Age',
placeOfBirth: 'Place of Birth',
sex: 'Sex',
phoneNumber: 'Phone Number',
email: 'Email',
address: 'Address',
occupation: 'Occupation',
type: 'Patient Type',
preferredLanguage: 'Preferred Language',
basicInformation: 'Basic Information',
generalInformation: 'General Information',
contactInformation: 'Contact Information',
unknownDateOfBirth: 'Unknown',
relatedPerson: 'Related Person',
relatedPersons: {
error: {
relatedPersonRequired: 'Related Person is required.',
relationshipTypeRequired: 'Relationship Type is required.',
},
label: 'Related Persons',
new: 'New Related Person',
add: 'Add Related Person',
relationshipType: 'Relationship Type',
warning: {
noRelatedPersons: 'No related persons',
},
addRelatedPersonAbove: 'Add a related person using the button above.',
},
allergies: {
label: 'Allergies',
allergyName: 'Allergy Name',
new: 'Add Allergy',
error: {
nameRequired: 'Name is required.',
unableToAdd: 'Unable to add allergy.',
},
warning: {
noAllergies: 'No Allergies',
},
addAllergyAbove: 'Add an allergy using the button above.',
successfullyAdded: 'Successfully added a new allergy!',
},
diagnoses: {
label: 'Diagnoses',
new: 'Add Diagnosis',
diagnosisName: 'Diagnosis Name',
diagnosisDate: 'Diagnosis Date',
warning: {
noDiagnoses: 'No Diagnoses',
},
error: {
nameRequired: 'Diagnosis Name is required.',
dateRequired: 'Diagnosis Date is required.',
},
addDiagnosisAbove: 'Add a diagnosis using the button above.',
successfullyAdded: 'Successfully added a new diagnosis!',
},
note: 'Note',
notes: {
label: 'Notes',
new: 'Add New Note',
warning: {
noNotes: 'No Notes',
},
error: {
noteRequired: 'Note is required.',
unableToAdd: 'Unable to add new note.',
},
addNoteAbove: 'Add a note using the button above.',
},
types: {
charity: 'Charity',
private: 'Private',
},
errors: {
patientGivenNameRequiredOnCreate: 'Could not create new patient.',
patientGivenNameRequiredOnUpdate: 'Could not update patient.',
patientGivenNameFeedback: 'Given Name is required.',
},
},
}