From 5c395e756a54685bf8e97d7eb82ebe772d982b71 Mon Sep 17 00:00:00 2001 From: Quan Chau Date: Sun, 18 Dec 2016 09:53:46 -0800 Subject: [PATCH 1/2] script to sync translation files to English version --- .github/CONTRIBUTING.md | 22 +++++++++ package.json | 6 ++- script/translation/sync.js | 92 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 119 insertions(+), 1 deletion(-) create mode 100644 script/translation/sync.js diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 79c1bff9a6..55c6c2ee36 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -158,3 +158,25 @@ Travis CI is configured to run tests on GitHub, so when you open a pull requests To run the test suite locally, use `ember test` from the project root. New test should be added for any new features or views in the app. For more info about how to setup a new test, see the [Fixtures for Acceptance Tests](https://github.com/HospitalRun/hospitalrun-frontend#fixtures-for-acceptance-tests) section of the README. + +## Guidelines to edit translations +If you know a language other than English and would like to help translate this app, please follow the following steps: + +### Install necessary node modules +```npm install -g babel-cli eslint-cli``` + +### Run script to populate missing translation terms +```npm run translation-sync``` + +After this step, you may see some file changes due to mismatches in translations of different languages. This script will take the English translation as the standard and populate the missing translations in other languages with empty string. + +### Edit the translation file of your language +The translation files are in app/locales//translations.json + +Open the translation file of your language then search for the string ```''```. Afterwards you fill in the quotation with the translated terms and save the file. + +### Submit the pull request +Follow GitHub's guide to submit a pull request to the project. If you have trouble with this please post in Issues or contact a developer. + + + diff --git a/package.json b/package.json index 90b6dcce82..adf9257934 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,8 @@ "scripts": { "build": "./script/build", "start": "./script/server", - "test": "./script/test" + "test": "./script/test", + "translation-sync": "babel-node script/translation/sync.js --presets es2015,stage-2; eslint --fix app/locales" }, "repository": { "type": "git", @@ -30,6 +31,8 @@ ], "license": "GPL-3.0", "devDependencies": { + "babel-preset-es2015": "^6.18.0", + "babel-preset-stage-2": "^6.18.0", "body-parser": "^1.14.2", "broccoli-asset-rev": "^2.4.5", "broccoli-export-text": "0.0.2", @@ -93,6 +96,7 @@ "stylelint-config-concentric": "1.0.7", "stylelint-declaration-use-variable": "1.6.0", "stylelint-scss": "1.4.1", + "tosource-polyfill": "^0.3.1", "uuid": "^3.0.0" }, "ember-addon": { diff --git a/script/translation/sync.js b/script/translation/sync.js new file mode 100644 index 0000000000..db06c99e26 --- /dev/null +++ b/script/translation/sync.js @@ -0,0 +1,92 @@ +import tosource from 'tosource-polyfill'; +import fs from 'fs'; +import path from 'path'; +import rootTranslation from '../../app/locales/en/translations'; + +let translationsDir = path.join(__dirname, '..', '..', 'app', 'locales'); +let rootTranslationName = 'en'; +let allTranslations = getDirectories(translationsDir).sort(); + +console.log(`Detected the following languages: ${allTranslations.join(', ')}`); + +if (!allTranslations.includes(rootTranslationName)) + throw `Can't find root language ${rootTranslationName} in ${allTranslations.join(', ')}`; + +console.log(`Selecting ${rootTranslationName} as root language`); + +let sortedRootTranslation = recursiveSortObjectKeys(rootTranslation); + +for (let language of allTranslations) { + console.log(`Syncing translation of ${language} to ${rootTranslationName}`); + + // Because the path to import is dynamic, we can't use import of es6 + // And also the import object has the key default + let nonRootTranslation = require(`../../app/locales/${language}/translations`); + nonRootTranslation = nonRootTranslation.default; + + let syncedTranslation = recursiveSyncTranslation(sortedRootTranslation, nonRootTranslation); + + let fileToWrite = path.join(__dirname, `../../app/locales/${language}/translations.js`) + let contentToWrite = `export default ${stringifyObjectWithoutQuotes(syncedTranslation)};` + writeToFile(fileToWrite, contentToWrite); +} + +function getDirectories(srcpath) { + return fs.readdirSync(srcpath).filter((file) => { + return fs.statSync(path.join(srcpath, file)).isDirectory(); + }); +} + +function recursiveSortObjectKeys(obj){ + if (typeof(obj) !== 'object') return obj; + + if (obj.constructor === Object) { + let sortedObj = {}; + Object.keys(obj).sort().forEach((objKey) => { + sortedObj[objKey] = recursiveSortObjectKeys(obj[objKey]); + }); + return sortedObj; + } else if (obj.constructor === Array) { + return obj.map(recursiveSortObjectKeys); + } else { + return obj; + } +} + +function stringifyObjectWithoutQuotes(obj) { + return tosource(obj); +} + +function writeToFile(fileName, content) { + fs.writeFile(fileName, content, (err) => { + if(err) { return console.error(err); } + }); +} + +function recursiveSyncTranslation(src, dst) { + if (src.constructor === Object) { + let syncedObject = {}; + Object.keys(src).forEach((objKey) => { + syncedObject[objKey] = recursiveSyncTranslation(src[objKey], dst[objKey] || emptySameType(src[objKey])); + }); + return syncedObject; + } else if (src.constructor === Array) { + let syncedArray = []; + for (let idx = 0; idx < src.length; idx++) { + syncedArray.push(recursiveSyncTranslation(src[idx], dst[idx] || emptySameType(src[idx]))); + } + return syncedArray; + } else { + return dst; + } +} + +function emptySameType(obj) { + if (obj.constructor === Object) { + return {}; + } else if (obj.constructor === Array) { + return []; + } else { + return ''; + } +} From 5a229d1f7007455c556bb73b5d2f6667f2b00e8a Mon Sep 17 00:00:00 2001 From: Quan Chau Date: Wed, 29 Mar 2017 22:03:15 -0700 Subject: [PATCH 2/2] reorder the English translation file --- app/locales/en/translations.js | 2244 +++++++++++++++----------------- 1 file changed, 1063 insertions(+), 1181 deletions(-) diff --git a/app/locales/en/translations.js b/app/locales/en/translations.js index 2170106529..34e1185fb3 100644 --- a/app/locales/en/translations.js +++ b/app/locales/en/translations.js @@ -1,148 +1,21 @@ export default { - dashboard: { - title: 'What would you like to do?' - }, - errors: { - inclusion: 'is not included in the list', - exclusion: 'is reserved', - invalid: 'is invalid', - confirmation: 'doesn\'t match {{attribute}}', - accepted: 'must be accepted', - empty: 'can\'t be empty', - blank: 'can\'t be blank', - present: 'must be blank', - tooLong: 'is too long (maximum is {{count}} characters)', - tooShort: 'is too short (minimum is {{count}} characters)', - wrongLength: 'is the wrong length (should be {{count}} characters)', - notANumber: 'is not a number', - notAnInteger: 'must be an integer', - greaterThan: 'must be greater than {{count}}', - greaterThanOrEqualTo: 'must be greater than or equal to {{count}}', - equalTo: 'must be equal to {{count}}', - lessThan: 'must be less than {{count}}', - lessThanOrEqualTo: 'must be less than or equal to {{count}}', - otherThan: 'must be other than {{count}}', - odd: 'must be odd', - even: 'must be even', - invalidNumber: 'not a valid number', - result: 'Please enter a result before completing' - }, - dates: { - long: '{{years}} year {{months}} months {{days}} days', - longPlural: '{{years}} years {{months}} months {{days}} days', - longOmitYears: '{{months}} months {{days}} days', - longOmitDays: '{{years}} year {{months}} months', - longOmitDaysPlural: '{{years}} years {{months}} months', - longOmitDaysYears: '{{months}} months', - shortOmitYears: '{{months}}m {{days}}d', - short: '{{years}}y {{months}}m {{days}}d' - }, - navigation: { - imaging: 'Imaging', - inventory: 'Inventory', - patients: 'Patients', - scheduling: 'Scheduling', - medication: 'Medication', - labs: 'Labs', - billing: 'Billing', - administration: 'Administration', - incident: 'Incident', - subnav: { - actions: 'Actions', - requests: 'Requests', - items: 'Items', - completed: 'Completed', - newRequest: 'New Request', - inventoryReceived: 'Inventory Received', - reports: 'Reports', - patientListing: 'Patient Listing', - newPatient: 'New Patient', - appointmentsThisWeek: 'Appointments This Week', - "today'sAppointments": 'Today\'s Appointments', - appointmentSearch: 'Appointment Search', - addAppointment: 'Add Appointment', - dispense: 'Dispense', - returnMedication: 'Return Medication', - invoices: 'Invoices', - newInvoice: 'New Invoice', - prices: 'Prices', - priceProfiles: 'Price Profiles', - lookupLists: 'Lookup Lists', - addressFields: 'Address Fields', - loadDB: 'Load DB', - users: 'Users', - newUser: 'New User', - admittedPatients: 'Admitted Patients', - missedAppointments: 'Missed Appointments', - userRoles: 'User Roles', - workflow: 'Workflow', - outpatient: 'Outpatient', - customForms: 'Custom Forms', - appointmentsCalendar: 'Appointments Calendar', - theaterSchedule: 'Theater Schedule', - scheduleSurgery: 'Schedule Surgery', - printHeader: 'Print Header', - currentIncidents: 'Current Incidents', - newIncident: 'New Incident', - history: 'History', - incidentCategories: 'Incident Categories' - }, - actions: { - logout: 'Logout', - login: 'Login' - }, - about: 'About HospitalRun' - }, - user: { - plusNewUser: '+ new user', - usersPageTile: 'User Listing' - }, admin: { - addressOptions: 'Address Options', - lookupLists: 'Lookup Lists', - loadDb: 'Load DB', - userRoles: 'User Roles', - users: 'Users', address: { address1Label: 'Address 1 Label', address2Label: 'Address 2 Label', address3Label: 'Address 3 Label', address4Label: 'Address 4 Label', + addressLabel: 'Address', + editTitle: 'Address Options', include1Label: 'Include 1 Label', include2Label: 'Include 2 Label', include3Label: 'Include 3 Label', include4Label: 'Include 4 Label', - titles: { - optionsSaved: 'Options Saved' - }, - messages: { - addressSaved: 'The address options have been saved' - }, + messages: { addressSaved: 'The address options have been saved' }, newTitle: 'Address Options', - editTitle: 'Address Options', - addressLabel: 'Address' - }, - header: { - facilityName: 'Facility Name', - headerLine1: 'Header Line 1', - headerLine2: 'Header Line 2', - headerLine3: 'Header Line 3', - logoURL: 'Logo URL', - includeFacilityName: 'Include Facility Name', - includeHeaderLine1: 'Include Header Line 1', - includeHeaderLine2: 'Include Header Line 2', - includeHeaderLine3: 'Include Header Line 3', - includeLogoURL: 'Include Logo URL', - titles: { - optionsSaved: 'Options Saved' - }, - messages: { - headerSaved: 'The header options have been saved' - }, - newTitle: 'Header Options', - editTitle: 'Header Options', - headerLabel: 'Header' + titles: { optionsSaved: 'Options Saved' } }, + addressOptions: 'Address Options', customForms: { buttons: { addField: 'Add Field', @@ -150,20 +23,22 @@ export default { moveUp: 'Move Up', newForm: '+ new form', preview: 'Preview' - }, labels: { alwaysInclude: 'Always Include', checkbox: 'Checkbox', - columns: 'Columns', colSpan: 'Number of Columns To Span', + columns: 'Columns', customForm: 'Custom Form', + dischargeReportFormType: 'Discharge Report', formName: 'Form Name', formType: 'Form Type', - includeOtherOption: 'Include Other Option', incidentFormType: 'Incident', + includeOtherOption: 'Include Other Option', + labFormType: 'Lab', label: 'Label', newForm: 'New Form', + opdReportFormType: 'Outpatient Report', operativePlanFormType: 'Operative Plan and Report', otherOptionLabel: 'Other Option Label', patientFormType: 'Patient', @@ -173,162 +48,170 @@ export default { socialworkFormType: 'Social Work', text: 'Text', textarea: 'Large Text', - visitFormType: 'Visit', - opdReportFormType: 'Outpatient Report', - dischargeReportFormType: 'Discharge Report', - labFormType: 'Lab' - }, - messages: { - formSaved: 'The {{name}} form has been saved.' + visitFormType: 'Visit' }, + messages: { formSaved: 'The {{name}} form has been saved.' }, titles: { + checkboxValues: 'Checkbox Values', customForms: 'Custom Forms', deleteForm: 'Delete Custom Form', + dropDownValues: 'Dropdown Values', editCustomForm: 'Edit Custom Form', fields: 'Fields', formSaved: 'Form Saved', - checkboxValues: 'Checkbox Values', - dropDownValues: 'Dropdown Values', newCustomForm: 'New Custom Form', radioValues: 'Radio Values' } }, + header: { + editTitle: 'Header Options', + facilityName: 'Facility Name', + headerLabel: 'Header', + headerLine1: 'Header Line 1', + headerLine2: 'Header Line 2', + headerLine3: 'Header Line 3', + includeFacilityName: 'Include Facility Name', + includeHeaderLine1: 'Include Header Line 1', + includeHeaderLine2: 'Include Header Line 2', + includeHeaderLine3: 'Include Header Line 3', + includeLogoURL: 'Include Logo URL', + logoURL: 'Logo URL', + messages: { headerSaved: 'The header options have been saved' }, + newTitle: 'Header Options', + titles: { optionsSaved: 'Options Saved' } + }, + loadDb: 'Load DB', loaddb: { - progressMessage: 'Please wait while your database is loaded.', - progressTitle: 'Loading Database', - displayAlertTitle: 'Select File To Load', displayAlertMessage: 'Please select file to load.', - errorDisplayAlertTitle: 'Error Loading', + displayAlertTitle: 'Select File To Load', + editTitle: 'Load DB', errorDisplayAlertMessage: 'The database could not be imported. The error was: {{error}}', - editTitle: 'Load DB' + errorDisplayAlertTitle: 'Error Loading', + progressMessage: 'Please wait while your database is loaded.', + progressTitle: 'Loading Database' }, lookup: { - alertImportListTitle: 'Select File To Import', + aisleLocationList: 'Inventory Aisle Locations', alertImportListMessage: 'Please select file to import.', - alertImportListSaveTitle: 'List Imported', alertImportListSaveMessage: 'The lookup list has been imported.', - alertImportListUpdateTitle: 'List Saved', + alertImportListSaveTitle: 'List Imported', + alertImportListTitle: 'Select File To Import', alertImportListUpdateMessage: 'The lookup list has been saved.', - pageTitle: 'Lookup Lists', - edit: { - template: { - addTitle: 'Add Value', - editTitle: 'Edit Value', - updateButtonTextAdd: 'Add', - updateButtonTextUpdate: 'Update', - labelTitle: 'Value' - } - }, + alertImportListUpdateTitle: 'List Saved', anesthesiaTypes: 'Anesthesia Types', anesthesiologists: 'Anesthesiologists', billingCategories: 'Billing Categories', clinicList: 'Clinic Locations', countryList: 'Countries', - diagnosisList: 'Diagnoses', cptCodeList: 'CPT Codes', + diagnosisList: 'Diagnoses', + edit: { template: { + addTitle: 'Add Value', + editTitle: 'Edit Value', + labelTitle: 'Value', + updateButtonTextAdd: 'Add', + updateButtonTextUpdate: 'Update' + } }, expenseAccountList: 'Expense Accounts', - aisleLocationList: 'Inventory Aisle Locations', - warehouseList: 'Inventory Locations', + imagingPricingTypes: 'Imaging Pricing Types', incidentDepartments: 'Incident Departments', inventoryTypes: 'Inventory Types', - imagingPricingTypes: 'Imaging Pricing Types', labPricingTypes: 'Lab Pricing Types', + pageTitle: 'Lookup Lists', patientStatusList: 'Patient Status List', physicianList: 'Physicians', procedureList: 'Procedures', procedureLocations: 'Procedures Locations', procedurePricingTypes: 'Procedure Pricing Types', radiologists: 'Radiologists', + titles: { deleteLookupValue: 'Delete Value' }, unitTypes: 'Unit Types', vendorList: 'Vendor', visitLocationList: 'Visit Locations', visitTypes: 'Visit Types', wardPricingTypes: 'Ward Pricing Types', - titles: { - deleteLookupValue: 'Delete Value' - } + warehouseList: 'Inventory Locations' }, + lookupLists: 'Lookup Lists', roles: { capability: { - admin: 'Administration', - loadDb: 'Load Database', - updateConfig: 'Update Configurations', - appointments: 'Appointments', + addAllergy: 'Add Allergy', addAppointment: 'Add Appointment', - billing: 'Billing', + addBillingDiagnosis: 'Add Billing Diagnosis', addCharge: 'Add Charge', - addPricing: 'Add Pricing', - addPricingProfile: 'Add Pricing Profile', + addDiagnosis: 'Add Diagnosis', + addImaging: 'Add Imaging', + addIncident: 'Add Incident', + addIncidentCategory: 'Add Incident Category', + addInventoryItem: 'Add Inventory Item', + addInventoryPurchase: 'Add Inventory Purchase', + addInventoryRequest: 'Add Inventory Request', addInvoice: 'Add Invoice', + addLab: 'Add Lab', + addMedication: 'Add Medication', + addNote: 'Add Note', + addOperationReport: 'Add Operation Report', + addOperativePlan: 'Add Operative Plan', + addPatient: 'Add Patient', addPayment: 'Add Payment', - deleteInvoice: 'Delete Invoice', - deletePricing: 'Delete Pricing', - deletePricingProfile: 'Delete Pricing Profile', - editInvoice: 'Edit Invoice', - invoices: 'Invoices', - overrideInvoice: 'Override Invoice', - pricing: 'Pricing', - patients: 'Patients', - addDiagnosis: 'Add Diagnosis', addPhoto: 'Add Photo', - addPatient: 'Add Patient', + addPricing: 'Add Pricing', + addPricingProfile: 'Add Pricing Profile', addProcedure: 'Add Procedure', + addSocialwork: 'Add Social Work', addVisit: 'Add Visit', addVitals: 'Add Vitals', + adjustInventoryLocation: 'Adjust Inventory Location', + admin: 'Administration', admitPatient: 'Admit Patient', - deletePhoto: 'Delete Photo', - deletePatient: 'Delete Patient', + appointments: 'Appointments', + billing: 'Billing', + completeImaging: 'Complete Imaging', + completeLab: 'Complete Lab', + defineUserRoles: 'Define User Roles', deleteAppointment: 'Delete Appointment', deleteDiagnosis: 'Delete Diagnosis', + deleteImaging: 'Delete Imaging', + deleteIncident: 'Delete Incident', + deleteIncidentCategory: 'Delete Incident Category', + deleteInventoryItem: 'Delete Inventory Item', + deleteInvoice: 'Delete Invoice', + deleteLab: 'Delete Lab', + deleteMedication: 'Delete Medication', + deleteNote: 'Delete Note', + deletePatient: 'Delete Patient', + deletePhoto: 'Delete Photo', + deletePricing: 'Delete Pricing', + deletePricingProfile: 'Delete Pricing Profile', deleteProcedure: 'Delete Procedure', deleteSocialwork: 'Delete Social Work', - deleteVitals: 'Delete Vitals', deleteVisit: 'Delete Visit', + deleteVitals: 'Delete Vitals', dischargePatient: 'Discharge Patient', - patientReports: 'Patient Reports', - visits: 'Visits', - medication: 'Medication', - addMedication: 'Add Medication', - deleteMedication: 'Delete Medication', + editInvoice: 'Edit Invoice', + fulfillInventory: 'Fulfill Inventory', fulfillMedication: 'Fulfill Medication', - labs: 'Labs', - addLab: 'Add Lab', - completeLab: 'Complete Lab', - deleteLab: 'Delete Lab', + generateIncidentReport: 'Generate Incident Report', imaging: 'Imaging', - addImaging: 'Add Imaging', - completeImaging: 'Complete Imaging', - deleteImaging: 'Delete Imaging', - inventory: 'Inventory', - addInventoryRequest: 'Add Inventory Request', - addInventoryItem: 'Add Inventory Item', - addInventoryPurchase: 'Add Inventory Purchase', - adjustInventoryLocation: 'Adjust Inventory Location', - deleteInventoryItem: 'Delete Inventory Item', - fulfillInventory: 'Fulfill Inventory', - defineUserRoles: 'Define User Roles', - addBillingDiagnosis: 'Add Billing Diagnosis', - addNote: 'Add Note', - addSocialwork: 'Add Social Work', - deleteNote: 'Delete Note', - addOperativePlan: 'Add Operative Plan', - addAllergy: 'Add Allergy', - addOperationReport: 'Add Operation Report', incident: 'Incident', - addIncident: 'Add Incident', - addIncidentCategory: 'Add Incident Category', - deleteIncident: 'Delete Incident', - deleteIncidentCategory: 'Delete Incident Category', - generateIncidentReport: 'Generate Incident Report', - manageIncidents: 'Manage Incidents' - }, - messages: { - roleSaved: 'The {{roleName}} role has been saved.' - }, - titles: { - roleSaved: 'Role Saved' - } + inventory: 'Inventory', + invoices: 'Invoices', + labs: 'Labs', + loadDb: 'Load Database', + manageIncidents: 'Manage Incidents', + medication: 'Medication', + overrideInvoice: 'Override Invoice', + patientReports: 'Patient Reports', + patients: 'Patients', + pricing: 'Pricing', + updateConfig: 'Update Configurations', + visits: 'Visits' + }, + messages: { roleSaved: 'The {{roleName}} role has been saved.' }, + titles: { roleSaved: 'Role Saved' } }, + userRoles: 'User Roles', + users: 'Users', visitForms: { labels: { followup: 'Followup', @@ -336,227 +219,358 @@ export default { initial: 'Initial', visitType: 'Visit Type' }, - titles: { - visitForms: 'Visit Forms' - } + titles: { visitForms: 'Visit Forms' } }, workflow: { admissionDepositLabel: 'Admission deposit required', clinicPrepaymentLabel: 'Clinic prepayment required', + editTitle: 'Workflow Options', followupPrepaymentLabel: 'Followup prepayment required', - outpatientLabLabel: 'Outpatient Lab prepayment required', + messages: { optionsSaved: 'The workflow options have been saved' }, + newTitle: 'Workflow Options', outpatientImagingLabel: 'Outpatient Imaging prepayment required', + outpatientLabLabel: 'Outpatient Lab prepayment required', outpatientMedicationLabel: 'Outpatient Medication prepayment required', - - titles: { - optionsSaved: 'Options Saved' - }, - messages: { - optionsSaved: 'The workflow options have been saved' - }, - - newTitle: 'Workflow Options', - editTitle: 'Workflow Options', + titles: { optionsSaved: 'Options Saved' }, workflowLabel: 'Workflow' - } }, - labels: { - cptcode: 'CPT Code', - loading: 'Loading', - name: 'Name', - note: 'Note', - patient: 'Patient', - prescriber: 'Prescriber', - quantity: 'Quantity', - requestedOn: 'Requested On', - takenBy: 'Taken By', - date: 'Date', - dateOfBirth: 'Date of Birth', - dateOfBirthShort: 'DoB', - dateRequested: 'Date Requested', - dateCompleted: 'Date Completed', - description: 'Description', - requestedBy: 'Requested By', - fulfill: 'Fulfill', - fulfillRequest: 'Fulfill Request', - fulfillRequestNow: 'Fulfill Request Now', - actions: 'Actions', - action: 'Action', - notes: 'Notes', - edit: 'Edit', - view: 'View', - print: 'Print', - imageOrders: 'Image Orders', - labOrders: 'Lab Orders', - imagingType: 'Imaging Type', - result: 'Result', - results: 'Results', - visit: 'Visit', - requests: 'Requests', - completed: 'Completed', - id: 'Id', - on: 'on', - type: 'Type', - sex: 'Sex', - age: 'Age', - search: 'Search', - username: 'Username', - email: 'Email', - role: 'Role', - delete: 'Delete', - userCanAddNewValue: 'User Can Add New Values', - value: 'Value', - lookupType: 'Lookup Type', - importFile: 'Import File', - fileLoadSuccessful: 'File To Load Successful', - fileToLoad: 'File Load', - fileName: 'File Name', - startTime: 'Start Time', - startDate: 'Start Date', - endTime: 'End Time', - endDate: 'End Date', - docRead: 'Docs Read', - docWritten: 'Docs Written', - displayName: 'Display Name', - password: 'Password', - editUser: 'Edit User', - newUser: 'New User', - deleteUser: 'Delete User', - medication: 'Medication', - status: 'Status', - addNewOutpatientVisit: '--Add New Outpatient Visit--', - prescription: 'Prescription', - prescriptionDate: 'Prescription Date', - billTo: 'Bill To', - pullFrom: 'Pull From', - fulfilled: 'Fulfilled', - deleteRequest: 'Delete Request', - location: 'Location', - provider: 'Provider', - with: 'With', - allDay: 'All Day', - physician: 'Physician', - assisting: 'Assisting', - anesthesia: 'Anesthesia', - procedures: 'Procedures', - number: 'Number', - billDate: 'Bill Date', - balanceDue: 'Balance Due', - amount: 'Amount', - datePaid: 'Date Paid', - creditTo: 'Credit To', - invoiceId: 'Invoice ID', - lineItems: 'Line Items', - discount: 'Discount', - excess: 'Excess', - price: 'Price', - total: 'Total', - expenseTo: 'Expense To', - grandTotal: 'Grand Total', - remarks: 'Remarks', - payments: 'Payments', - category: 'Category', - department: 'Department', - address: 'Address', - country: 'Country' - }, - messages: { - noItemsFound: 'No items found.', - noHistoryAvailable: 'No history available.', - createNewRecord: 'Create a new record?', - createNewUser: 'Create a new user?', - noUsersFound: 'No users found.', - userHasBeenSaved: 'The user has been saved.', - userSaved: 'User Saved', - onBehalfOf: 'on behalf of', - newPatientHasToBeCreated: 'A new patient needs to be created...Please wait..', - noNotesAvailable: 'No additional clinical notes are available for this visit.', - sorry: 'Sorry, something went wrong...', - forAuthorizedPersons: 'This report is for authorized persons only.', - requiredFieldsCorrectErrors: 'Please fill in required fields (marked with *) and correct the errors before saving.', - saveActionException: 'An error occurred while attempting to save: {{message}}', - reportError: 'An error was encountered while generating the requested report. Please let your system administrator know that you have encountered an error.', - delete: 'Are you sure you wish to delete {{name}}?', - delete_singular: 'Are you sure you wish to delete this {{name}}?', - delete_plural: 'Are you sure you wish to delete these {{name}}?' - }, alerts: { - pleaseWait: 'Please Wait', - warningExclamation: 'Warning!!!!', errorExclamation: 'Error!!!!', - reportError: 'Error Generating Report' + pleaseWait: 'Please Wait', + reportError: 'Error Generating Report', + warningExclamation: 'Warning!!!!' + }, + allergies: { + buttons: { addAllergy: 'Add Allergy' }, + labels: { + allergyName: 'Name', + patientAllergy: 'Patient Allergies' + }, + titles: { + addAllergy: 'Add Allergy', + editAllergy: 'Edit Allergy' + } + }, + application: { + messages: { sessionExpired: 'Your session has expired. Please login to continue.' }, + titles: { sessionExpired: 'Session Expired' } + }, + appointments: { + buttons: { + newButton: '+ new appointment', + scheduleSurgery: '+ schedule surgery' + }, + calendarTitle: 'Appointments Calendar', + currentScreenTitle: 'Appointment List', + editTitle: 'Edit Appointment', + labels: { + noLocation: 'No Location', + selectedStartingDate: 'Show Appointments On Or After' + }, + messages: { + appointmentSaved: 'The appointment for {{patient}} has been saved.', + endTimeLaterThanStart: 'Please select an end time later than the start time.' + }, + missed: 'Missed Appointments', + newTitle: 'New Appointment', + searchTitle: 'Search Appointments', + sectionTitle: 'Appointments', + thisWeek: 'Appointments This Week', + titles: { + appointmentSaved: 'Appointment Saved', + editSurgicalAppointment: 'Edit Surgical Appointment', + newSurgicalAppointment: 'New Surgical Appointment', + theaterSchedule: 'Theater Schedule' + }, + todayTitle: "Today's Appointments" }, - headings: { - chargedItems: 'Charged Items' + billing: { + alerts: { + noInvoiceFound: 'No invoices found', + noPricingItems: 'No pricing items found.', + noPricingProfiles: 'No pricing profiles found.' + }, + buttons: { + addOverride: 'Add Override', + createInvoice: 'Create an invoice?' + }, + labels: { + actualCharges: 'Actual Charges', + discountAmount: 'Discount Amount', + discountPercentage: 'Discount Percentage', + externalInvoiceNumber: 'External Invoice #', + hmoCom: 'HMO/COM', + insurance: 'National Insurance', + paymentProfile: 'Payment Profile', + paymentsDeposits: 'Payments/Deposits', + pricingPanelOverrides: 'Pricing profile overrides', + pricingProfile: 'Pricing Profile' + } }, buttons: { + add: 'Add', addItem: 'Add Item', - complete: 'Complete', + addLineItem: 'Add Line Item', + addValue: 'Add Value', + addVisit: 'Add Visit', + allRequests: 'All Requests', + barcode: 'Barcode', cancel: 'Cancel', + clear: 'Clear', close: 'Close', - returnButton: 'Return', - barcode: 'Barcode', - add: 'Add', - update: 'Update', - ok: 'Ok', + complete: 'Complete', + 'delete': 'Delete', + dispense: 'Dispense', + edit: 'Edit', + filter: 'Filter', fulfill: 'Fulfill', - remove: 'Remove', - delete: 'Delete', - newUser: 'New User', - addValue: 'Add Value', - newNote: 'New Note', - import: 'Import', + 'import': 'Import', loadFile: 'Load File', - newRequest: 'New Request', - allRequests: 'All Requests', - dispense: 'Dispense', newItem: '+ new item', + newNote: 'New Note', + newRequest: 'New Request', newRequestPlus: '+ new request', - addVisit: 'Add Visit', + newUser: 'New User', + ok: 'Ok', + remove: 'Remove', + returnButton: 'Return', search: 'Search', - filter: 'Filter', - clear: 'Clear', - edit: 'Edit', - addLineItem: 'Add Line Item', + showAll: 'Show All', showFewer: 'Show Fewer', - showAll: 'Show All' + update: 'Update' }, - login: { - messages: { - signIn: 'please sign in', - error: 'Username or password is incorrect.' + components: { + chargesByTypeTab: { charges: 'charges' }, + customFormManager: { buttons: { addForm: 'Add Form' } }, + dateTimePicker: { + amHour: '{{hour}} AM', + midnight: 'Midnight', + noon: 'Noon', + pmHour: '{{hour}} PM' }, - labels: { - password: 'Password', - username: 'Username', - signIn: 'Sign in' - } - }, - loading: { - progressBar: { - progress: '{{progressBarValue}}% Complete' + imageUpload: { messages: { selectValidImageFile: 'Please select a valid image file.' } }, + operativeProcedures: { + buttons: { addProcedure: 'Add Procedure' }, + labels: { procedure: 'Procedure' }, + titles: { procedures: 'Procedures' } }, - messages: { - 0: 'The top butterfly flight speed is 12 miles per hour. Some moths can fly 25 miles per hour!', - 1: 'Owls are the only birds that can see the color blue.', - 2: 'Cats have over 100 vocal sounds; dogs only have 10.', - 3: 'Humans use a total of 72 different muscles in speech.', - 4: 'More than 1,000 different languages are spoken on the continent of Africa.', - 5: 'An erythrophobe is someone who blushes easily.', - 6: 'The most common phobia in the world is odynophobia which is the fear of pain.', - 7: 'Your body uses 300 muscles to balance itself when you are standing still.', - 8: 'Certain frogs can be frozen solid then thawed, and continue living.', - 9: 'Our eyes are always the same size from birth, but our nose and ears never stop growing.', - 10: 'Your tongue is the only muscle in your body that is attached at only one end.', - 11: 'Camels have three eyelids to protect themselves from blowing sand.' - } - }, - inventory: { - edit: { - cost: 'Cost Per Unit:', - delivered: 'Delievered To:', - location: 'Location Adjusted:', + patientOrders: { + buttons: { + newImaging: 'New Imaging', + newLab: 'New Lab', + newMedication: 'New Medication' + }, + labels: { + imagingOrderType: 'Imaging', + labOrderType: 'Lab', + medicationOrderType: 'Medication', + orderType: 'Order Type' + } + }, + priceList: { charges: '{{pricingType}} charges' }, + quantityCalc: { result: '{{targetUnit}} total: {{calculated}}' }, + quantityConv: { + conversion: 'What does 1 {{name}} contain?', + unit: 'Unit' + }, + sortableColumn: { labels: { selectAll: '(Select All)' } }, + takePhoto: { + camera: 'Camera', + how: 'How Do You Want To Add A Photo?', + labels: { + takeAPicture: 'Take a Picture', + uploadAFile: 'Upload a File' + }, + photo: 'photo', + preview: 'preview', + takePhoto: 'Take photo', + uploadFile: 'Upload File' + }, + upcomingAppointments: { + labels: { + date: 'Date', + location: 'Location', + type: 'Type', + 'with': 'With' + }, + titles: { upcomingAppointments: 'Upcoming Appointments' } + } + }, + customForms: { + buttons: { addForm: 'Add Form' }, + labels: { formToAdd: 'Form To Add' }, + titles: { addCustomForm: 'Add Custom Form' } + }, + dashboard: { title: 'What would you like to do?' }, + dates: { + 'long': '{{years}} year {{months}} months {{days}} days', + longOmitDays: '{{years}} year {{months}} months', + longOmitDaysPlural: '{{years}} years {{months}} months', + longOmitDaysYears: '{{months}} months', + longOmitYears: '{{months}} months {{days}} days', + longPlural: '{{years}} years {{months}} months {{days}} days', + 'short': '{{years}}y {{months}}m {{days}}d', + shortOmitYears: '{{months}}m {{days}}d' + }, + diagnosis: { + labels: { + activeDiagnosis: 'Active Diagnosis', + date: 'Date', + diagnosis: 'Diagnosis', + secondaryDiagnosis: 'Secondary Diagnosis' + }, + titles: { + addDiagnosis: 'Add Diagnosis', + editDiagnosis: 'Edit Diagnosis' + } + }, + errors: { + accepted: 'must be accepted', + blank: "can't be blank", + confirmation: "doesn't match {{attribute}}", + empty: "can't be empty", + equalTo: 'must be equal to {{count}}', + even: 'must be even', + exclusion: 'is reserved', + greaterThan: 'must be greater than {{count}}', + greaterThanOrEqualTo: 'must be greater than or equal to {{count}}', + inclusion: 'is not included in the list', + invalid: 'is invalid', + invalidNumber: 'not a valid number', + lessThan: 'must be less than {{count}}', + lessThanOrEqualTo: 'must be less than or equal to {{count}}', + notANumber: 'is not a number', + notAnInteger: 'must be an integer', + odd: 'must be odd', + otherThan: 'must be other than {{count}}', + present: 'must be blank', + result: 'Please enter a result before completing', + tooLong: 'is too long (maximum is {{count}} characters)', + tooShort: 'is too short (minimum is {{count}} characters)', + wrongLength: 'is the wrong length (should be {{count}} characters)' + }, + headings: { chargedItems: 'Charged Items' }, + imaging: { + alerts: { + completedMessage: 'The imaging request has been completed.', + completedTitle: 'Imaging Request Completed', + savedMessage: 'The imaging request has been saved.', + savedTitle: 'Imaging Request Saved' + }, + buttons: { newButton: '+ new imaging' }, + labels: { + addNewVisit: '--Add New Visit--', + radiologist: 'Radiologist' + }, + messages: { noCompleted: 'No completed items found.' }, + pageTitle: 'Imaging Requests', + sectionTitle: 'Imaging', + titles: { + completedImaging: 'Completed Imaging', + editTitle: 'Edit Imaging Request', + newTitle: 'New Imaging Request' + } + }, + incident: { + buttons: { + add: 'Add', + addForm: '+ Add Form', + addItem: 'Add Item', + cancel: 'Cancel', + 'delete': 'Delete', + download: 'Download', + edit: 'Edit', + 'export': 'Export Report', + generateRep: 'Generate Report', + newAttachment: '+ New Attachment', + newCategory: '+ new category', + newIncident: '+ new incident', + newNote: '+ New Note' + }, + labels: { + actions: 'Actions', + addedBy: 'Added By', + category: 'Category', + categoryItem: 'Category Item', + date: 'Date', + dateRecorded: 'Date Recorded', + department: 'Department', + description: 'Incident Description', + endDate: 'End Date', + givenBy: 'Given By', + howToAddAttachment: 'How Do You Want To Add An Attachment?', + incidentDate: 'Date of Incident', + incidentId: 'Incident ID', + item: 'Item', + lastUpdated: 'Last Updated', + note: 'Note', + patientId: 'Patient Id', + patientImpacted: 'Patient Impacted', + reportType: 'Report Type', + reportedBy: 'Reported By', + reportedDate: 'Reported Date', + reportedTo: 'Incident Reported to (Full Name)', + sentinelEvent: 'Sentinel Event', + startDate: 'Start Date', + status: 'Status', + statusActive: 'Active', + statusClosed: 'Closed', + statusFollowup: 'Follow-up', + statusReported: 'Reported', + title: 'Title', + total: 'Total', + updatedBy: 'Updated By' + }, + messages: { + attachmentFileRequired: 'Please upload a file or take a picture or before saving this attachment.', + createNew: 'Create a new incident?', + createNewIncidentCategory: 'Create a new Incident Category?', + fillIn: 'Fill in the above options to calculate score', + incidentCategorySaved: 'The {{name}} category has been saved.', + noClosedIncidents: 'No closed incidents found.', + noIncidentCategoriesFound: 'No Incident Categories found.', + noIncidents: 'No incidents found.', + saved: 'The incident report has been saved.', + selectExistingPatient: 'Please select an existing patient or leave this field blank.' + }, + titles: { + addAttachment: 'Add Attachment', + addCategoryItem: 'Add Category Item', + addNote: 'Add Note', + attachments: 'Attachments', + closed: 'Closed Incidents', + current: 'Current', + deleteAttachment: 'Delete Attachment', + deleteIncident: 'Delete Incident', + deleteIncidentCategory: 'Delete Incident Category', + deleteItem: 'Delete Item', + deleteNote: 'Delete Note', + editAttachment: 'Edit Attachment', + editIncident: 'Edit Incident', + editIncidentCategory: 'Edit Incident Category', + editNote: 'Edit Note', + general: 'General Information', + history: 'History', + incidentCategories: 'Incident Categories', + incidentCategoryItem: 'Incident Category Item', + incidentCategoryName: 'Incident Category Name', + incidentCategorySaved: 'Incident Category Saved', + incidentSaved: 'Incident Saved', + incidents: 'Incidents', + incidentsByCategory: 'Incidents By Category', + incidentsByDepartment: 'Incidents By Department', + newIncident: 'New Incident', + newIncidentCategory: 'New Incident Category', + notes: 'Notes', + reports: 'Reports' + } + }, + inventory: { + edit: { + cost: 'Cost Per Unit:', + delivered: 'Delievered To:', + location: 'Location Adjusted:', prescription: 'Prescription For:', pulled: 'Pulled From:', quantity: 'Quantity at Completion:', @@ -575,6 +589,7 @@ export default { aisle: 'Aisle', aisleLocation: 'Aisle Location', allInventory: 'All Inventory', + allItems: 'All Items', availableQuantity: '{{quantity}} available', billTo: 'Bill To', consumePurchases: 'Consume Purchases', @@ -586,24 +601,24 @@ export default { dateCompleted: 'Date Completed', dateEffective: 'Effective Date', dateEnd: 'End Date', - dateStart: 'Start Date', dateReceived: 'Date Received', + dateStart: 'Start Date', dateTransferred: 'Date Transferred', daysLeft: 'Days Left', + deleteItem: 'Delete Item', deliveryAisle: 'Delivery Aisle', deliveryLocation: 'Delivery Location', - distributionUnit: 'Distribution Unit', - deleteItem: 'Delete Item', details: 'Details', + distributionUnit: 'Distribution Unit', editItem: 'Edit Item', expense: 'Expense To', expirationDate: 'Expiration Date', fulfillRequest: 'Fulfill Request', fulfillRequestNow: 'Fulfill Request Now', gift: 'Gift in Kind', - giftUsage: 'Gift in Kind Usage', giftInKindNo: 'N', giftInKindYes: 'Y', + giftUsage: 'Gift in Kind Usage', inventoryConsumed: 'Inventory Consumed', inventoryItem: 'Inventory Item', inventoryObsolence: 'Inventory Obsolence', @@ -611,22 +626,21 @@ export default { invoiceLineItem: 'Invoice Line Item', invoiceNumber: 'Invoice Number', item: 'Item', - items: 'Items', itemNumber: 'Item Number', + items: 'Items', location: 'Location', locations: 'Locations', - name: 'Name', markAsConsumed: 'Mark as Consumed', + name: 'Name', newItem: 'New Item', - allItems: 'All Items', originalQuantity: 'Original Quantity', print: 'Print', printBarcode: 'Print Barcode', printer: 'Printer', pullFrom: 'Pull From', - purchases: 'Purchases', purchaseCost: 'Purchase Cost', purchaseInfo: 'Purchase Information', + purchases: 'Purchases', quantity: 'Quantity ({{unit}})', quantityAvailable: 'Quantity Available', quantityOnHand: 'Quantity on Hand', @@ -659,9 +673,9 @@ export default { createRequest: 'Create a new request?', itemNotFound: 'The inventory item {{item}} could not be found.
If you would like to create a new inventory item, fill in the information below.
Otherwise, press the Cancel button to return.', loading: 'Loading transactions ...', - purchaseSaved: 'The inventory purchases have been successfully saved.', - noRequests: 'No requests found.', noItems: 'No items found.', + noRequests: 'No requests found.', + purchaseSaved: 'The inventory purchases have been successfully saved.', quantity: 'The total quantity of ({{quantity}}) does not match the total quantity in the locations ({{locationQuantity}}).', removeItem: 'Are you sure you want to remove this item from this invoice?', removeItemRequest: 'Are you sure you want to remove this item from this request?', @@ -670,6 +684,20 @@ export default { warning: 'Please fill in required fields (marked with *) and correct the errors before adding.' }, reports: { + adjustment: 'Detailed Adjustment', + daysSupply: 'Days Supply Left In Stock', + expenseDetail: 'Detailed Expenses', + expenseSum: 'Summary Expenses', + expiration: 'Expiration Date', + 'export': 'Export Report', + fields: 'Fields to Include', + finance: 'Finance Summary', + generate: 'Generate Report', + invLocation: 'Inventory By Location', + invValuation: 'Inventory Valuation', + purchaseDetail: 'Detailed Purchase', + purchaseSum: 'Summary Purchase', + reportType: 'Report Type', rows: { adjustments: 'Adjustments', adjustmentsTotal: 'Total Adjustments', @@ -695,26 +723,12 @@ export default { transfer1: '{{quantity}} from {{location}}', trasnfer2: 'From: {{source}} To: {{target}}' }, - adjustment: 'Detailed Adjustment', - daysSupply: 'Days Supply Left In Stock', - expenseDetail: 'Detailed Expenses', - expenseSum: 'Summary Expenses', - expiration: 'Expiration Date', - export: 'Export Report', - fields: 'Fields to Include', - finance: 'Finance Summary', - generate: 'Generate Report', - invLocation: 'Inventory By Location', - invValuation: 'Inventory Valuation', - purchaseDetail: 'Detailed Purchase', - purchaseSum: 'Summary Purchase', - reportType: 'Report Type', stockTransferDetail: 'Detailed Stock Transfer', stockTransferSum: 'Summary Stock Transfer', stockUsageDetail: 'Detailed Stock Usage', stockUsageSum: 'Summary Stock Usage', - titleSingleDate: '{{name}} Report {{date}}', - titleDateRange: '{{name}} Report {{startDate}} - {{endDate}}' + titleDateRange: '{{name}} Report {{startDate}} - {{endDate}}', + titleSingleDate: '{{name}} Report {{date}}' }, titles: { addPurchase: 'Add Purchase', @@ -733,820 +747,688 @@ export default { warning: 'Warning!!!!!' } }, - imaging: { - pageTitle: 'Imaging Requests', - sectionTitle: 'Imaging', - buttons: { - newButton: '+ new imaging' - }, - labels: { - radiologist: 'Radiologist', - addNewVisit: '--Add New Visit--' - }, - messages: { - noCompleted: 'No completed items found.' - }, - titles: { - completedImaging: 'Completed Imaging', - editTitle: 'Edit Imaging Request', - newTitle: 'New Imaging Request' - }, - alerts: { - completedTitle: 'Imaging Request Completed', - completedMessage: 'The imaging request has been completed.', - savedTitle: 'Imaging Request Saved', - savedMessage: 'The imaging request has been saved.' - } - }, - incident: { - buttons: { - add: 'Add', - addForm: '+ Add Form', - addItem: 'Add Item', - cancel: 'Cancel', - delete: 'Delete', - download: 'Download', - edit: 'Edit', - export: 'Export Report', - generateRep: 'Generate Report', - newAttachment: '+ New Attachment', - newCategory: '+ new category', - newIncident: '+ new incident', - newNote: '+ New Note' + labels: { + action: 'Action', + actions: 'Actions', + addNewOutpatientVisit: '--Add New Outpatient Visit--', + address: 'Address', + age: 'Age', + allDay: 'All Day', + amount: 'Amount', + anesthesia: 'Anesthesia', + assisting: 'Assisting', + balanceDue: 'Balance Due', + billDate: 'Bill Date', + billTo: 'Bill To', + category: 'Category', + completed: 'Completed', + country: 'Country', + cptcode: 'CPT Code', + creditTo: 'Credit To', + date: 'Date', + dateCompleted: 'Date Completed', + dateOfBirth: 'Date of Birth', + dateOfBirthShort: 'DoB', + datePaid: 'Date Paid', + dateRequested: 'Date Requested', + 'delete': 'Delete', + deleteRequest: 'Delete Request', + deleteUser: 'Delete User', + department: 'Department', + description: 'Description', + discount: 'Discount', + displayName: 'Display Name', + docRead: 'Docs Read', + docWritten: 'Docs Written', + edit: 'Edit', + editUser: 'Edit User', + email: 'Email', + endDate: 'End Date', + endTime: 'End Time', + excess: 'Excess', + expenseTo: 'Expense To', + fileLoadSuccessful: 'File To Load Successful', + fileName: 'File Name', + fileToLoad: 'File Load', + fulfill: 'Fulfill', + fulfillRequest: 'Fulfill Request', + fulfillRequestNow: 'Fulfill Request Now', + fulfilled: 'Fulfilled', + grandTotal: 'Grand Total', + id: 'Id', + imageOrders: 'Image Orders', + imagingType: 'Imaging Type', + importFile: 'Import File', + invoiceId: 'Invoice ID', + labOrders: 'Lab Orders', + lineItems: 'Line Items', + loading: 'Loading', + location: 'Location', + lookupType: 'Lookup Type', + medication: 'Medication', + name: 'Name', + newUser: 'New User', + note: 'Note', + notes: 'Notes', + number: 'Number', + on: 'on', + password: 'Password', + patient: 'Patient', + payments: 'Payments', + physician: 'Physician', + prescriber: 'Prescriber', + prescription: 'Prescription', + prescriptionDate: 'Prescription Date', + price: 'Price', + print: 'Print', + procedures: 'Procedures', + provider: 'Provider', + pullFrom: 'Pull From', + quantity: 'Quantity', + remarks: 'Remarks', + requestedBy: 'Requested By', + requestedOn: 'Requested On', + requests: 'Requests', + result: 'Result', + results: 'Results', + role: 'Role', + search: 'Search', + sex: 'Sex', + startDate: 'Start Date', + startTime: 'Start Time', + status: 'Status', + takenBy: 'Taken By', + total: 'Total', + type: 'Type', + userCanAddNewValue: 'User Can Add New Values', + username: 'Username', + value: 'Value', + view: 'View', + visit: 'Visit', + 'with': 'With' + }, + labs: { + alerts: { + requestCompletedMessage: 'The lab request has been completed.', + requestCompletedTitle: 'Lab Request Completed', + requestSavedMessage: 'The lab request has been saved.', + requestSavedTitle: 'Lab Request Saved' }, + buttons: { newButton: '+ new lab' }, + completedTitle: 'Completed Labs', + deleteTitle: 'Delete Request', + editTitle: 'Edit Lab Request', labels: { - actions: 'Actions', - addedBy: 'Added By', - category: 'Category', - categoryItem: 'Category Item', - date: 'Date', - dateRecorded: 'Date Recorded', - department: 'Department', - description: 'Incident Description', - endDate: 'End Date', - givenBy: 'Given By', - howToAddAttachment: 'How Do You Want To Add An Attachment?', - incidentDate: 'Date of Incident', - incidentId: 'Incident ID', - item: 'Item', - lastUpdated: 'Last Updated', - note: 'Note', - patientId: 'Patient Id', - patientImpacted: 'Patient Impacted', - reportType: 'Report Type', - reportedBy: 'Reported By', - reportedDate: 'Reported Date', - reportedTo: 'Incident Reported to (Full Name)', - sentinelEvent: 'Sentinel Event', - startDate: 'Start Date', - status: 'Status', - statusActive: 'Active', - statusClosed: 'Closed', - statusFollowup: 'Follow-up', - statusReported: 'Reported', - title: 'Title', - total: 'Total', - updatedBy: 'Updated By' + addNewVisit: '--Add New Visit--', + labType: 'Lab Type' }, messages: { - attachmentFileRequired: 'Please upload a file or take a picture or before saving this attachment.', - createNew: 'Create a new incident?', - createNewIncidentCategory: 'Create a new Incident Category?', - fillIn: 'Fill in the above options to calculate score', - incidentCategorySaved: 'The {{name}} category has been saved.', - noClosedIncidents: 'No closed incidents found.', - noIncidentCategoriesFound: 'No Incident Categories found.', - noIncidents: 'No incidents found.', - saved: 'The incident report has been saved.', - selectExistingPatient: 'Please select an existing patient or leave this field blank.' + createNewRecord: 'Create a new record?', + noCompleted: 'No completed items found.', + noItemsFound: 'No labs found.' }, - titles: { - addAttachment: 'Add Attachment', - addCategoryItem: 'Add Category Item', - addNote: 'Add Note', - attachments: 'Attachments', - closed: 'Closed Incidents', - current: 'Current', - deleteAttachment: 'Delete Attachment', - deleteIncident: 'Delete Incident', - deleteIncidentCategory: 'Delete Incident Category', - deleteItem: 'Delete Item', - deleteNote: 'Delete Note', - editAttachment: 'Edit Attachment', - editIncident: 'Edit Incident', - editIncidentCategory: 'Edit Incident Category', - editNote: 'Edit Note', - general: 'General Information', - history: 'History', - incidentCategories: 'Incident Categories', - incidentCategoryItem: 'Incident Category Item', - incidentCategoryName: 'Incident Category Name', - incidentCategorySaved: 'Incident Category Saved', - incidentSaved: 'Incident Saved', - incidents: 'Incidents', - incidentsByCategory: 'Incidents By Category', - incidentsByDepartment: 'Incidents By Department', - newIncident: 'New Incident', - newIncidentCategory: 'New Incident Category', - notes: 'Notes', - reports: 'Reports' + newTitle: 'New Lab Request', + requestsTitle: 'Lab Requests', + sectionTitle: 'Labs' + }, + loading: { + messages: { + '0': 'The top butterfly flight speed is 12 miles per hour. Some moths can fly 25 miles per hour!', + '1': 'Owls are the only birds that can see the color blue.', + '2': 'Cats have over 100 vocal sounds; dogs only have 10.', + '3': 'Humans use a total of 72 different muscles in speech.', + '4': 'More than 1,000 different languages are spoken on the continent of Africa.', + '5': 'An erythrophobe is someone who blushes easily.', + '6': 'The most common phobia in the world is odynophobia which is the fear of pain.', + '7': 'Your body uses 300 muscles to balance itself when you are standing still.', + '8': 'Certain frogs can be frozen solid then thawed, and continue living.', + '9': 'Our eyes are always the same size from birth, but our nose and ears never stop growing.', + '10': 'Your tongue is the only muscle in your body that is attached at only one end.', + '11': 'Camels have three eyelids to protect themselves from blowing sand.' + }, + progressBar: { progress: '{{progressBarValue}}% Complete' } + }, + login: { + labels: { + password: 'Password', + signIn: 'Sign in', + username: 'Username' + }, + messages: { + error: 'Username or password is incorrect.', + signIn: 'please sign in' } }, medication: { - pageTitle: 'Medication Requests', - sectionTitle: 'Medication', - returnMedication: 'Return Medication', + alerts: { + fulfilledTitle: 'Medication Request Fulfilled', + returnedMessage: 'The medication has been marked as returned.', + returnedTitle: 'Medication Returned', + savedMessage: 'The medication record has been saved.', + savedTitle: 'Medication Request Saved' + }, buttons: { dispenseMedication: 'dispense medication', newButton: '+ new request', returnMedication: 'return medication' }, - titles: { - completedMedication: 'Completed Medication', - editMedicationRequest: 'Edit Medication Request', - newMedicationRequest: 'New Medication Request' - }, - messages: { - createNew: 'Create a new medication request?' - }, labels: { - refills: 'Refills', - quantityRequested: 'Quantity Requested', + adjustmentDate: 'Adjustment Date', + creditToAccount: 'Credit To Account', quantityDispensed: 'Quantity Dispensed', quantityDistributed: 'Quantity Distributed', + quantityRequested: 'Quantity Requested', quantityToReturn: 'Quantity To Return', - returnLocation: 'Return Location', + refills: 'Refills', returnAisle: 'Return Aisle', - returnReason: 'Return Reason/Notes', - adjustmentDate: 'Adjustment Date', - creditToAccount: 'Credit To Account' - }, - alerts: { - returnedTitle: 'Medication Returned', - returnedMessage: 'The medication has been marked as returned.', - savedTitle: 'Medication Request Saved', - savedMessage: 'The medication record has been saved.', - fulfilledTitle: 'Medication Request Fulfilled' - } - }, - appointments: { - currentScreenTitle: 'Appointment List', - editTitle: 'Edit Appointment', - newTitle: 'New Appointment', - sectionTitle: 'Appointments', - thisWeek: 'Appointments This Week', - missed: 'Missed Appointments', - searchTitle: 'Search Appointments', - todayTitle: 'Today\'s Appointments', - calendarTitle: 'Appointments Calendar', - messages: { - appointmentSaved: 'The appointment for {{patient}} has been saved.', - endTimeLaterThanStart: 'Please select an end time later than the start time.' - }, - buttons: { - newButton: '+ new appointment', - scheduleSurgery: '+ schedule surgery' - }, - labels: { - noLocation: 'No Location', - selectedStartingDate: 'Show Appointments On Or After' + returnLocation: 'Return Location', + returnReason: 'Return Reason/Notes' }, + messages: { createNew: 'Create a new medication request?' }, + pageTitle: 'Medication Requests', + returnMedication: 'Return Medication', + sectionTitle: 'Medication', titles: { - appointmentSaved: 'Appointment Saved', - editSurgicalAppointment: 'Edit Surgical Appointment', - newSurgicalAppointment: 'New Surgical Appointment', - theaterSchedule: 'Theater Schedule' + completedMedication: 'Completed Medication', + editMedicationRequest: 'Edit Medication Request', + newMedicationRequest: 'New Medication Request' } }, - vitals: { - labels: { - dateRecorded: 'Date Recorded', - temperature: 'Temperature', - weight: 'Weight', - height: 'Height', - sbp: 'SBP', - dbp: 'DBP', - heartRate: 'Heart Rate', - respiratoryRate: 'Respiratory Rate' - } + messages: { + createNewRecord: 'Create a new record?', + createNewUser: 'Create a new user?', + 'delete': 'Are you sure you wish to delete {{name}}?', + delete_plural: 'Are you sure you wish to delete these {{name}}?', + delete_singular: 'Are you sure you wish to delete this {{name}}?', + forAuthorizedPersons: 'This report is for authorized persons only.', + newPatientHasToBeCreated: 'A new patient needs to be created...Please wait..', + noHistoryAvailable: 'No history available.', + noItemsFound: 'No items found.', + noNotesAvailable: 'No additional clinical notes are available for this visit.', + noUsersFound: 'No users found.', + onBehalfOf: 'on behalf of', + reportError: 'An error was encountered while generating the requested report. Please let your system administrator know that you have encountered an error.', + requiredFieldsCorrectErrors: 'Please fill in required fields (marked with *) and correct the errors before saving.', + saveActionException: 'An error occurred while attempting to save: {{message}}', + sorry: 'Sorry, something went wrong...', + userHasBeenSaved: 'The user has been saved.', + userSaved: 'User Saved' }, - visits: { - titles: { - additionalDiagnoses: 'Additional Diagnoses', - checkedIn: 'Patient Checked In', - checkOut: 'Patient Check Out', - checkedOut: 'Patient Checked Out', - discharged: 'Patient Discharged', - editVisit: 'Edit Visit', - newVisit: 'New Visit', - patientCheckIn: 'Patient Check In', - visitSaved: 'Visit Saved' + models: { + appointment: { + labels: { + allDay: 'All Day', + appointmentDate: 'Date', + appointmentType: 'Type', + endDate: 'End Date', + location: 'Location', + notes: 'Notes', + patient: 'Patient', + provider: 'With', + startDate: 'Start Date', + status: 'Status', + type: 'Type' + }, + names: { + plural: 'appointments', + singular: 'appointment' + } }, - messages: { - checkOut: 'Are you sure you wish to check out {{patientName}}?', - checkedOut: '{{patientName}} has been checked out.', - discharged: '{{patientName}} has been discharged.', - patientCheckedIn: '{{patientName}} has been checked in.', - patientCreatedAndCheckedIn: '{{patientName}} has been created and checked in.', - visitAndPatientSaved: 'The visit and patient records have been saved.', - visitSaved: 'The visit record has been saved.' + attachment: { names: { + plural: 'attachments', + singular: 'attachment' + } }, + form: { names: { + plural: 'forms', + singular: 'form' + } }, + imaging: { + names: 'imaging', + request: { + plural: 'imaging requests', + singular: 'imaging request' + } }, - buttons: { - newProcedure: 'New Procedure', - newAppointment: 'New Appointment', - addDiagnosis: 'Add Diagnosis', - newVitals: 'New Vitals', - checkIn: 'Check In', - checkOut: 'Check Out', - discharge: 'Discharge', - newOPDReport: 'New OPD Report', - newDischargeReport: 'New Discharge Report' + incident: { names: { + plural: 'incidents', + singular: 'incident' + } }, + item: { names: { + plural: 'items', + singular: 'item' + } }, + lab: { + names: { + plural: 'labs', + singular: 'lab' + }, + request: { + plural: 'lab requests', + singular: 'lab request' + } }, - labels: { - diagnosis: 'Diagnosis', - procedure: 'Procedure', - procedureDate: 'Procedure Date', - authoredBy: 'Authored By', - visitInformation: 'Visit Information', - examiner: 'Examiner', - status: 'Visit Status', - finalDiagnosis: 'Final/Billing Diagnosis', - visitDate: 'Visit Date', - visitType: 'Visit Type', - patientToCheckIn: 'Patient To Check In', - checkInTime: 'Check In', - checkOutTime: 'Check Out', - appointment: 'Appointment', - haveAppointment: 'Y', - noAppointment: 'N', - ordersDone: 'Orders Done', - haveDoneOrders: 'Y', - ordersNotDone: 'N', - reasonForVisit: 'Reason For Visit', - statusAdmitted: 'Admitted', - statusDischarged: 'Discharged', - statusCheckedIn: 'Checked In', - statusCheckedOut: 'Checked Out', - createNewPatient: 'Create New Patient', - reportType: 'Report type' + medication: { + names: { + plural: 'medications', + singular: 'medication' + }, + request: { + plural: 'medication requests', + singular: 'medication request' + } }, - navigation: { - charges: 'Charges', - notes: 'Notes', - orders: 'Orders', - procedures: 'Procedures', - vitals: 'Vitals', - reports: 'Reports' - } + note: { names: { + plural: 'notes', + singular: 'note' + } }, + patient: { + labels: { name: 'Name' }, + names: { singular: 'Patient' } + }, + procedure: { names: { + plural: 'procedures', + singular: 'procedure' + } }, + user: { names: { + plural: 'users', + singular: 'user' + } }, + visit: { names: { + plural: 'visits', + singular: 'visit' + } }, + vital: { names: { + plural: 'vitals', + singular: 'vital' + } } }, - labs: { - sectionTitle: 'Labs', - requestsTitle: 'Lab Requests', - editTitle: 'Edit Lab Request', - newTitle: 'New Lab Request', - deleteTitle: 'Delete Request', - completedTitle: 'Completed Labs', - labels: { - labType: 'Lab Type', - addNewVisit: '--Add New Visit--' - }, - messages: { - noItemsFound: 'No labs found.', - createNewRecord: 'Create a new record?', - noCompleted: 'No completed items found.' - }, - buttons: { - newButton: '+ new lab' + navigation: { + about: 'About HospitalRun', + actions: { + login: 'Login', + logout: 'Logout' }, - alerts: { - requestCompletedTitle: 'Lab Request Completed', - requestCompletedMessage: 'The lab request has been completed.', - requestSavedTitle: 'Lab Request Saved', - requestSavedMessage: 'The lab request has been saved.' + administration: 'Administration', + billing: 'Billing', + imaging: 'Imaging', + incident: 'Incident', + inventory: 'Inventory', + labs: 'Labs', + medication: 'Medication', + patients: 'Patients', + scheduling: 'Scheduling', + subnav: { + actions: 'Actions', + addAppointment: 'Add Appointment', + addressFields: 'Address Fields', + admittedPatients: 'Admitted Patients', + appointmentSearch: 'Appointment Search', + appointmentsCalendar: 'Appointments Calendar', + appointmentsThisWeek: 'Appointments This Week', + completed: 'Completed', + currentIncidents: 'Current Incidents', + customForms: 'Custom Forms', + dispense: 'Dispense', + history: 'History', + incidentCategories: 'Incident Categories', + inventoryReceived: 'Inventory Received', + invoices: 'Invoices', + items: 'Items', + loadDB: 'Load DB', + lookupLists: 'Lookup Lists', + missedAppointments: 'Missed Appointments', + newIncident: 'New Incident', + newInvoice: 'New Invoice', + newPatient: 'New Patient', + newRequest: 'New Request', + newUser: 'New User', + outpatient: 'Outpatient', + patientListing: 'Patient Listing', + priceProfiles: 'Price Profiles', + prices: 'Prices', + printHeader: 'Print Header', + reports: 'Reports', + requests: 'Requests', + returnMedication: 'Return Medication', + scheduleSurgery: 'Schedule Surgery', + theaterSchedule: 'Theater Schedule', + "today'sAppointments": "Today's Appointments", + userRoles: 'User Roles', + users: 'Users', + workflow: 'Workflow' } }, - patients: { - navigation: { - photos: 'Photos', - general: 'General', - history: 'History', - appointments: 'Appointments', - visits: 'Visits', - medication: 'Medication', - imaging: 'Imaging', - labs: 'Labs', - socialWork: 'Social Work' + operationReport: { + labels: { + additionalNotes: 'Additional Notes', + assistant: 'Assistant', + caseComplexity: 'Case Complexity', + operationDescription: 'Operation Description', + preOpPrimaryDiagnosis: 'Pre-op Primary Diagnosis', + preOpSecondaryDiagnosis: 'Pre-op Secondary Diagnosis', + surgeon: 'Surgeon', + surgeryDate: 'Surgery Date' }, + messages: { reportSaved: 'The operation report has been saved.' }, titles: { - addContact: 'Add Contact', - admittedPatients: 'Admitted Patients', - expenses: 'Expenses', - additionalContacts: 'Additional Contacts', - familyInformation: 'Family Information', - delete: 'Delete Patient', - new: 'New Patient', - edit: 'Edit Patient', - patient: 'Patient Report', - patientListing: 'Patient Listing', - patientReport: 'Patient Report', - addPhoto: 'Add Photo', - editPhoto: 'Edit Photo', - socialWork: 'Expense', - familyInfo: 'Family Info', - deleteFamilyMember: 'Delete Family Member', - deleteExpense: 'Delete Expense', - deletePhoto: 'Delete Photo', - deleteContact: 'Delete Contact', - savedPatient: 'Patient Saved', - todaysOutpatients: 'Today\'s Outpatients', - admissionsDetail: 'Admissions Detail', - admissionsSummary: 'Admissions Summary', - diagnosticTesting: 'Diagnostic Testing', - dischargesDetail: 'Discharges Detail', - dischargesSummary: 'Discharges Summary', - proceduresDetail: 'Procedures Detail', - proceduresSummary: 'Procedures Summary', - patientStatus: 'Patient Status', - totalPatientDays: 'Total Patient Days', - totalPatientDaysDetailed: 'Total Patient Days (Detailed)', - visit: 'Visit', - deletePatientRecord: 'Delete Patient Record', - outpatientsForDate: 'Outpatients for {{visitDate}}' + editTitle: 'Edit Operation Report', + newTitle: 'New Operation Report', + reportSaved: 'Report Saved' + } + }, + operativePlan: { + buttons: { completePlan: 'Complete Plan' }, + labels: { + additionalNotes: 'Additional Notes', + admissionInstructions: 'Instructions Upon Admission', + caseComplexity: 'Case Complexity', + completedStatus: 'Completed', + droppedStatus: 'Dropped', + operationDescription: 'Operation Description', + plannedStatus: 'Planned', + status: 'Status', + surgeon: 'Surgeon' }, messages: { - areYouSureDelete: 'Are you sure you want to delete this {{object}}?', - noPatientsFound: 'No patients found.', - savedPatient: 'The patient record for {{displayName}} has been saved.', - notFoundQuickAdd: 'The patient {{patientFullName}} could not be found. If you would like to create a new patient, fill in the information below. Otherwise press the Cancel button to return.', - createNewPatient: 'Create a new patient record?', - deletingPatient: 'Deleting patient and all associated records', - photoFileRequired: 'Please take a picture or upload a file before saving this photo.' + planCompleted: 'The operative plan has been completed. You will now be directed to the operation report.', + planSaved: 'The operative plan has been saved.' }, + titles: { + editTitle: 'Edit Operative Plan', + newTitle: 'New Operative Plan', + planCompleted: 'Plan Completed', + planSaved: 'Plan Saved' + } + }, + patients: { buttons: { - addExpense: 'Add Expense', addContact: 'Add Contact', + addExpense: 'Add Expense', + addFamilyMember: 'Add Family Member', addOperativePlan: 'Add Operative Plan', - editOperativePlan: 'Current Operative Plan', + backToPatients: 'Back to Patient List', download: 'Download', + editOperativePlan: 'Current Operative Plan', + newAppointment: 'New Appointment', + newImaging: 'New Imaging', newLab: 'New Lab', - newVisit: 'New Visit', newMedication: 'New Medication', - newImaging: 'New Imaging', - addFamilyMember: 'Add Family Member', - newPhoto: 'New Photo', - newAppointment: 'New Appointment', - backToPatients: 'Back to Patient List', newPatient: '+ new patient', + newPhoto: 'New Photo', + newVisit: 'New Visit', patientCheckIn: 'Patient Check In', scheduleSurgery: 'Schedule Surgery' }, labels: { - primaryDiagnosis: 'Primary Diagnoses', - secondaryDiagnosis: 'Secondary Diagnoses', - monthlyCost: 'Monthly Cost', - totalMontlyExpense: 'Total Monthly Expenses', - patientType: 'Patient Type', admissionDate: 'Admission Date', - patientDays: 'Patient Days', - dischargeDate: 'Discharge Date', admit: 'Admit', - relationships: 'Relationships', - phone: 'Phone', - email: 'Email', - firstName: 'First Name', - middleName: 'Middle Name', - lastName: 'Last Name', - sex: 'Sex', - dob: 'DOB', - dateOfBirth: 'Date Of Birth', - placeOfBirth: 'Place Of Birth', - sources: 'Sources', - cost: 'Cost', + bloodType: 'Blood Type', + caption: 'Caption', civilStatus: 'Civil Status', - relationship: 'Relationship To Patient', + clinic: 'Clinic Site', + contacts: 'Contacts', + cost: 'Cost', + dateOfBirth: 'Date Of Birth', + dateProcessed: 'Date Processed', + dischargeDate: 'Discharge Date', + dob: 'DOB', education: 'Education', - occupation: 'Occupation', + email: 'Email', + externalPatientId: 'External Patient Id', + firstName: 'First Name', income: 'Income', insurance: 'Insurance', - dateProcessed: 'Date Processed', - status: 'Patient Status', - externalPatientId: 'External Patient Id', - bloodType: 'Blood Type', - clinic: 'Clinic Site', + lastName: 'Last Name', + middleName: 'Middle Name', + monthlyCost: 'Monthly Cost', + occupation: 'Occupation', + operativePlan: 'Operative Plan', + parent: 'Parent/Guardian', + patientDays: 'Patient Days', + patientType: 'Patient Type', + patientTypeCharity: 'Charity', + patientTypePrivate: 'Private', + phone: 'Phone', + placeOfBirth: 'Place Of Birth', + primaryDiagnosis: 'Primary Diagnoses', referredBy: 'Referred By', referredDate: 'Referred Date', + relationship: 'Relationship To Patient', + relationships: 'Relationships', religion: 'Religion', - parent: 'Parent/Guardian', - contacts: 'Contacts', + secondaryDiagnosis: 'Secondary Diagnoses', + sex: 'Sex', sexNotEntered: 'Sex Not Entered', - operativePlan: 'Operative Plan', - caption: 'Caption', - patientTypeCharity: 'Charity', - patientTypePrivate: 'Private' - }, - notes: { - newNote: 'New Note for', - updateNote: 'Updating Note from', - onBehalfOfLabel: 'On Behalf Of', - onBehalfOfCopy: 'on behalf of', - pleaseSelectAVisit: 'Please select a visit' - } - }, - billing: { - alerts: { - noInvoiceFound: 'No invoices found', - noPricingItems: 'No pricing items found.', - noPricingProfiles: 'No pricing profiles found.' - }, - buttons: { - createInvoice: 'Create an invoice?', - addOverride: 'Add Override' - }, - labels: { - externalInvoiceNumber: 'External Invoice #', - paymentProfile: 'Payment Profile', - actualCharges: 'Actual Charges', - insurance: 'National Insurance', - hmoCom: 'HMO/COM', - paymentsDeposits: 'Payments/Deposits', - pricingPanelOverrides: 'Pricing profile overrides', - pricingProfile: 'Pricing Profile', - discountAmount: 'Discount Amount', - discountPercentage: 'Discount Percentage' - } - }, - print: { - invoice: { - labels: { - patientName: 'NAME OF PATIENT:', - patientId: 'PATIENT #:', - patientAge: 'AGE:', - patientAddress: 'ADDRESS:', - dateAdmitted: 'ADMITTED:', - dateDischarged: 'DISCHARGE:', - dischargeNotes: 'Discharge Notes:', - remarks: 'Remarks:', - billedBy: 'Billed by:', - billedDate: 'Bill Date:', - spacer: '__________________________________________' - }, - messages: { - whereConducted: 'were deducted during my confinement' - }, - titles: { - patientMember: 'Patient-Member', - relContact: 'Relationship/Contact no.', - patients: 'PATIENT\'S', - billingStatement: 'BILLING STATEMENT' - } - } - }, - procedures: { - titles: { - addChargeItem: 'Add Charge Item', - deleteChargeItem: 'Delete Charge Item', - editChargeItem: 'Edit Charge Item', - medicationUsed: 'Medication Used', - deleteMedicationUsed: 'Delete Medication Used', - addMedicationUsed: 'Add Medication Used', - editMedicationUsed: 'Edit Medication Used', - edit: 'Edit Procedure', - saved: 'Procedure Saved', - new: 'New Procedure' - }, - labels: { - medicationUsed: 'Medication Used' - }, - messages: { - saved: 'The procedure record has been saved.' - }, - buttons: { - addMedication: 'Add Medication' - } - }, - reports: { - titles: { - saved: 'Report saved', - opdReport: 'OPD Report', - newOPDReport: 'New OPD Report', - dischargeReport: 'Discharge Report', - newDischargeReport: 'New Discharge Report' - }, - labels: { - visitDate: 'Date of Visit', - admissionDate: 'Admission Date', - dischargeDate: 'Discharge Date', - notes: { - title: 'Notes', - date: 'Date', - author: 'Author' - }, - visitType: 'Visit Type', - examiner: 'Examiner', - location: 'Visit Location', - primaryDiagnosis: 'Primary Diagnosis', - secondaryDiagnosis: 'Secondary Diagnosis', - procedures: 'Procedures', - allProcedures: 'All Procedures Performed', - labs: 'Labs', - images: 'Images', - medications: 'Medications', - nextAppointment: 'Next Appointment', - nextAppointments: 'Next Appointments', - operativePlan: { - title: 'Operative Plan', - description: 'Operation Description', - procedures: 'Planned Procedures', - instructions: 'Instructions upon Admission' - }, - completedBy: 'Completed By' + sources: 'Sources', + status: 'Patient Status', + totalMontlyExpense: 'Total Monthly Expenses' }, messages: { - delete: 'Are you sure you wish to delete this report?', - saved: 'The report has been saved.' - } - }, - components: { - chargesByTypeTab: { - charges: 'charges' - }, - customFormManager: { - buttons: { - addForm: 'Add Form' - } - }, - sortableColumn: { - labels: { - selectAll: '(Select All)' - } - }, - imageUpload: { - messages: { - selectValidImageFile: 'Please select a valid image file.' - } - }, - dateTimePicker: { - amHour: '{{hour}} AM', - midnight: 'Midnight', - noon: 'Noon', - pmHour: '{{hour}} PM' - }, - takePhoto: { - how: 'How Do You Want To Add A Photo?', - takePhoto: 'Take photo', - uploadFile: 'Upload File', - camera: 'Camera', - photo: 'photo', - preview: 'preview', - labels: { - takeAPicture: 'Take a Picture', - uploadAFile: 'Upload a File' - } - }, - quantityConv: { - unit: 'Unit', - conversion: 'What does 1 {{name}} contain?' - }, - quantityCalc: { - result: '{{targetUnit}} total: {{calculated}}' - }, - patientOrders: { - buttons: { - newImaging: 'New Imaging', - newLab: 'New Lab', - newMedication: 'New Medication' - }, - labels: { - imagingOrderType: 'Imaging', - labOrderType: 'Lab', - medicationOrderType: 'Medication', - orderType: 'Order Type' - } - }, - priceList: { - charges: '{{pricingType}} charges' - }, - operativeProcedures: { - buttons: { - addProcedure: 'Add Procedure' - }, - labels: { - procedure: 'Procedure' - }, - titles: { - procedures: 'Procedures' - } - }, - upcomingAppointments: { - labels: { - date: 'Date', - with: 'With', - location: 'Location', - type: 'Type' - }, - titles: { - upcomingAppointments: 'Upcoming Appointments' - } - } - }, - customForms: { - buttons: { - addForm: 'Add Form' + areYouSureDelete: 'Are you sure you want to delete this {{object}}?', + createNewPatient: 'Create a new patient record?', + deletingPatient: 'Deleting patient and all associated records', + noPatientsFound: 'No patients found.', + notFoundQuickAdd: 'The patient {{patientFullName}} could not be found. If you would like to create a new patient, fill in the information below. Otherwise press the Cancel button to return.', + photoFileRequired: 'Please take a picture or upload a file before saving this photo.', + savedPatient: 'The patient record for {{displayName}} has been saved.' }, - labels: { - formToAdd: 'Form To Add' + navigation: { + appointments: 'Appointments', + general: 'General', + history: 'History', + imaging: 'Imaging', + labs: 'Labs', + medication: 'Medication', + photos: 'Photos', + socialWork: 'Social Work', + visits: 'Visits' + }, + notes: { + newNote: 'New Note for', + onBehalfOfCopy: 'on behalf of', + onBehalfOfLabel: 'On Behalf Of', + pleaseSelectAVisit: 'Please select a visit', + updateNote: 'Updating Note from' }, titles: { - addCustomForm: 'Add Custom Form' + addContact: 'Add Contact', + addPhoto: 'Add Photo', + additionalContacts: 'Additional Contacts', + admissionsDetail: 'Admissions Detail', + admissionsSummary: 'Admissions Summary', + admittedPatients: 'Admitted Patients', + 'delete': 'Delete Patient', + deleteContact: 'Delete Contact', + deleteExpense: 'Delete Expense', + deleteFamilyMember: 'Delete Family Member', + deletePatientRecord: 'Delete Patient Record', + deletePhoto: 'Delete Photo', + diagnosticTesting: 'Diagnostic Testing', + dischargesDetail: 'Discharges Detail', + dischargesSummary: 'Discharges Summary', + edit: 'Edit Patient', + editPhoto: 'Edit Photo', + expenses: 'Expenses', + familyInfo: 'Family Info', + familyInformation: 'Family Information', + 'new': 'New Patient', + outpatientsForDate: 'Outpatients for {{visitDate}}', + patient: 'Patient Report', + patientListing: 'Patient Listing', + patientReport: 'Patient Report', + patientStatus: 'Patient Status', + proceduresDetail: 'Procedures Detail', + proceduresSummary: 'Procedures Summary', + savedPatient: 'Patient Saved', + socialWork: 'Expense', + todaysOutpatients: "Today's Outpatients", + totalPatientDays: 'Total Patient Days', + totalPatientDaysDetailed: 'Total Patient Days (Detailed)', + visit: 'Visit' } }, - diagnosis: { + print: { invoice: { labels: { - activeDiagnosis: 'Active Diagnosis', - date: 'Date', - diagnosis: 'Diagnosis', - secondaryDiagnosis: 'Secondary Diagnosis' - }, + billedBy: 'Billed by:', + billedDate: 'Bill Date:', + dateAdmitted: 'ADMITTED:', + dateDischarged: 'DISCHARGE:', + dischargeNotes: 'Discharge Notes:', + patientAddress: 'ADDRESS:', + patientAge: 'AGE:', + patientId: 'PATIENT #:', + patientName: 'NAME OF PATIENT:', + remarks: 'Remarks:', + spacer: '__________________________________________' + }, + messages: { whereConducted: 'were deducted during my confinement' }, titles: { - addDiagnosis: 'Add Diagnosis', - editDiagnosis: 'Edit Diagnosis' + billingStatement: 'BILLING STATEMENT', + patientMember: 'Patient-Member', + patients: "PATIENT'S", + relContact: 'Relationship/Contact no.' } - }, - allergies: { - buttons: { - addAllergy: 'Add Allergy' - }, + } }, + procedures: { + buttons: { addMedication: 'Add Medication' }, + labels: { medicationUsed: 'Medication Used' }, + messages: { saved: 'The procedure record has been saved.' }, titles: { - addAllergy: 'Add Allergy', - editAllergy: 'Edit Allergy' - }, - labels: { - allergyName: 'Name', - patientAllergy: 'Patient Allergies' + addChargeItem: 'Add Charge Item', + addMedicationUsed: 'Add Medication Used', + deleteChargeItem: 'Delete Charge Item', + deleteMedicationUsed: 'Delete Medication Used', + edit: 'Edit Procedure', + editChargeItem: 'Edit Charge Item', + editMedicationUsed: 'Edit Medication Used', + medicationUsed: 'Medication Used', + 'new': 'New Procedure', + saved: 'Procedure Saved' } }, - operativePlan: { - buttons: { - completePlan: 'Complete Plan' - }, + reports: { labels: { - additionalNotes: 'Additional Notes', - admissionInstructions: 'Instructions Upon Admission', - caseComplexity: 'Case Complexity', - completedStatus: 'Completed', - droppedStatus: 'Dropped', - operationDescription: 'Operation Description', - plannedStatus: 'Planned', - status: 'Status', - surgeon: 'Surgeon' + admissionDate: 'Admission Date', + allProcedures: 'All Procedures Performed', + completedBy: 'Completed By', + dischargeDate: 'Discharge Date', + examiner: 'Examiner', + images: 'Images', + labs: 'Labs', + location: 'Visit Location', + medications: 'Medications', + nextAppointment: 'Next Appointment', + nextAppointments: 'Next Appointments', + notes: { + author: 'Author', + date: 'Date', + title: 'Notes' + }, + operativePlan: { + description: 'Operation Description', + instructions: 'Instructions upon Admission', + procedures: 'Planned Procedures', + title: 'Operative Plan' + }, + primaryDiagnosis: 'Primary Diagnosis', + procedures: 'Procedures', + secondaryDiagnosis: 'Secondary Diagnosis', + visitDate: 'Date of Visit', + visitType: 'Visit Type' }, messages: { - planSaved: 'The operative plan has been saved.', - planCompleted: 'The operative plan has been completed. You will now be directed to the operation report.' + 'delete': 'Are you sure you wish to delete this report?', + saved: 'The report has been saved.' }, titles: { - editTitle: 'Edit Operative Plan', - newTitle: 'New Operative Plan', - planCompleted: 'Plan Completed', - planSaved: 'Plan Saved' + dischargeReport: 'Discharge Report', + newDischargeReport: 'New Discharge Report', + newOPDReport: 'New OPD Report', + opdReport: 'OPD Report', + saved: 'Report saved' } }, - operationReport: { + user: { + plusNewUser: '+ new user', + usersPageTile: 'User Listing' + }, + visits: { + buttons: { + addDiagnosis: 'Add Diagnosis', + checkIn: 'Check In', + checkOut: 'Check Out', + discharge: 'Discharge', + newAppointment: 'New Appointment', + newDischargeReport: 'New Discharge Report', + newOPDReport: 'New OPD Report', + newProcedure: 'New Procedure', + newVitals: 'New Vitals' + }, labels: { - additionalNotes: 'Additional Notes', - assistant: 'Assistant', - caseComplexity: 'Case Complexity', - operationDescription: 'Operation Description', - preOpPrimaryDiagnosis: 'Pre-op Primary Diagnosis', - preOpSecondaryDiagnosis: 'Pre-op Secondary Diagnosis', - surgeon: 'Surgeon', - surgeryDate: 'Surgery Date' + appointment: 'Appointment', + authoredBy: 'Authored By', + checkInTime: 'Check In', + checkOutTime: 'Check Out', + createNewPatient: 'Create New Patient', + diagnosis: 'Diagnosis', + examiner: 'Examiner', + finalDiagnosis: 'Final/Billing Diagnosis', + haveAppointment: 'Y', + haveDoneOrders: 'Y', + noAppointment: 'N', + ordersDone: 'Orders Done', + ordersNotDone: 'N', + patientToCheckIn: 'Patient To Check In', + procedure: 'Procedure', + procedureDate: 'Procedure Date', + reasonForVisit: 'Reason For Visit', + reportType: 'Report type', + status: 'Visit Status', + statusAdmitted: 'Admitted', + statusCheckedIn: 'Checked In', + statusCheckedOut: 'Checked Out', + statusDischarged: 'Discharged', + visitDate: 'Visit Date', + visitInformation: 'Visit Information', + visitType: 'Visit Type' }, messages: { - reportSaved: 'The operation report has been saved.' + checkOut: 'Are you sure you wish to check out {{patientName}}?', + checkedOut: '{{patientName}} has been checked out.', + discharged: '{{patientName}} has been discharged.', + patientCheckedIn: '{{patientName}} has been checked in.', + patientCreatedAndCheckedIn: '{{patientName}} has been created and checked in.', + visitAndPatientSaved: 'The visit and patient records have been saved.', + visitSaved: 'The visit record has been saved.' }, - titles: { - editTitle: 'Edit Operation Report', - newTitle: 'New Operation Report', - reportSaved: 'Report Saved' - } - }, - application: { - messages: { - sessionExpired: 'Your session has expired. Please login to continue.' + navigation: { + charges: 'Charges', + notes: 'Notes', + orders: 'Orders', + procedures: 'Procedures', + reports: 'Reports', + vitals: 'Vitals' }, titles: { - sessionExpired: 'Session Expired' + additionalDiagnoses: 'Additional Diagnoses', + checkOut: 'Patient Check Out', + checkedIn: 'Patient Checked In', + checkedOut: 'Patient Checked Out', + discharged: 'Patient Discharged', + editVisit: 'Edit Visit', + newVisit: 'New Visit', + patientCheckIn: 'Patient Check In', + visitSaved: 'Visit Saved' } }, - models: { - appointment: { - labels: { - status: 'Status', - appointmentType: 'Type', - provider: 'With', - location: 'Location', - patient: 'Patient', - startDate: 'Start Date', - endDate: 'End Date', - allDay: 'All Day', - type: 'Type', - notes: 'Notes', - appointmentDate: 'Date' - }, - names: { - singular: 'appointment', - plural: 'appointments' - } - }, - attachment: { - names: { - singular: 'attachment', - plural: 'attachments' - } - }, - form: { - names: { - singular: 'form', - plural: 'forms' - } - }, - incident: { - names: { - singular: 'incident', - plural: 'incidents' - } - }, - item: { - names: { - singular: 'item', - plural: 'items' - } - }, - imaging: { - request: { - singular: 'imaging request', - plural: 'imaging requests' - }, - names: 'imaging' - }, - medication: { - request: { - singular: 'medication request', - plural: 'medication requests' - }, - names: { - singular: 'medication', - plural: 'medications' - } - }, - note: { - names: { - singular: 'note', - plural: 'notes' - } - }, - lab: { - request: { - singular: 'lab request', - plural: 'lab requests' - }, - names: { - singular: 'lab', - plural: 'labs' - } - }, - procedure: { - names: { - singular: 'procedure', - plural: 'procedures' - } - }, - user: { - names: { - singular: 'user', - plural: 'users' - } - }, - visit: { - names: { - singular: 'visit', - plural: 'visits' - } - }, - vital: { - names: { - singular: 'vital', - plural: 'vitals' - } - }, - patient: { - labels: { - name: 'Name' - }, - names: { - singular: 'Patient' - } - } - } -}; + vitals: { labels: { + dateRecorded: 'Date Recorded', + dbp: 'DBP', + heartRate: 'Heart Rate', + height: 'Height', + respiratoryRate: 'Respiratory Rate', + sbp: 'SBP', + temperature: 'Temperature', + weight: 'Weight' + } } +}; \ No newline at end of file