The Iconset used for the NDR application is the FlatICONS iconset. which can be found at flaticons.com
Some advantages of using a font for the icons are:
Easily style icon color, size, shadow, and anything that's possible with CSS.
Scalable vector graphics means every icon looks awesome at any size.
A font file is smaller than images.
Here are the icons that you should use for specific purposes, for consistency across the reference
application
Usage
Icon
Edit
Modifying an existing piece of data
icon-pencil
Add
Add a new piece of data (e.g. to a list)
icon-plus
Delete / Remove
Delete an item or remove it from a list
icon-remove
Admission
Patient is admitted to inpatient care
icon-signin
Transfer
Patient is transferred between two locations in the facility
icon-random
Exit / Discharge
Patient is discharged from inpatient care (may be okay to use for exits for reasons other than discharge)
icon-signout
Clinical encounter with provider
Referring to or capturing encounters where providers record clinical data about the patient
(e.g. writing visit notes, or consultation notes)
icon-stethoscope
A Comprehensive list of all icons can be found on this page
The .btn classes are designed to be used with the <button> element. However, you can also use these classes on <a> or <input> elements (though some browsers may apply a slightly different rendering).
When using button classes on <a> elements that are used to trigger in-page functionality (like collapsing content), rather than linking to new pages or sections within the current page, these links should be given a role="button" to appropriately convey their purpose to assistive technologies such as screen readers.
Button examples as used withing the NDR Application
Go to Recapture Analytics
The sample code below reflects this
Customized buttons are additional classes you can use to indicate types of buttons in the interface:
For actions: .confirm , .cancel
For icon sizes: .big, .medium
This will affect the icon size, not the button itself, but should be applied to the button level.
.disabled
Use it when a button in in an inactive mode, for example if the user needs to fill in an input to proceed.
.app
To create the apps buttons, all sized the same. Must come together with the .big class.
.task
For task buttons such as "Record Vitals". Usually used in the Patient Dashboard.
.arrow
For action buttons that needs a sense of direction. Usually used in the Archives room.
Buttons Groups
Set of Button Components that is combined and used either as toolbars or grouped-buttons components with the aid of utility classes.
Set of Button Components that is combined and used either as toolbars or grouped-buttons components with the aid of utility classes.
Dialog examples....
Dialog Example
Please confirm:
Patient
ER
Success Dialog
your text goes here, and your success information is rendered in this section.
Notifications
NDR uses toast-style Notifications that provides simple feedback about an operation in a small popup. It only fills the amount of space required for the message and the current activity
Notification Examples
This is a primary noticication
used to anchor error messages
used to show warning messages
<div class="w-500">
<div class="alert alert-success" role="alert">
<i class="fa fa-exclamation-triangle"></i> This is a primary noticication
</div>
<div class="alert alert-danger" role="alert">
<i class="fa fa-exclamation"></i> used to anchor error messages
</div>
<div class="alert alert-warning" role="alert">
<i class="fa fa-exclamation-circle"></i> used to show warning messages
</div>
</div>
</div>
Toast Messages
Toast messages are used to show instant messages to the user that disappears immediately after some seconds
Notification Examples, Click to try
Search Boxes and Filters
Toast messages are used to show instant messages to the user that disappears immediately after some seconds
Search
Tabs
Tabs utilize the jquery UI to render on the NDR platform
Tabs utilize the jquery UI to render on the NDR platform
Forms
Guidelines
Use top-aligned labels for input fields.
Use (required) after a label for required fields if the majority of the fields are optional.
Use (optional) after a label for optional fields if the majority of the fields are required.
If all your fields are either mandatory or optional, don't mark any.
Length of input fields should communicate the intended content.
Fields don't need to all be the same length. Mix long and short field length according to the content it is used for.
Validation
Use double visual emphasys for errors - Example: error message + red background in input.
Use descriptive error messages bellow the input fields.
if form is too long provide a summary of the errors on the top of the form.
Validation Short Forms
For short form validation use double visual emphasis on the input.
Validation Long Forms
For long form validation use double visual emphasis on the input and also provide a summary error message on the top.
Form Elements
Text Input element
Text Input for only emails
Password Inputs
Numbers input
input search element
Text Input
Date Picker Input
select options input
select options input
Checkbox input A Checkbox
select options input A Checked Radio
Tables
Tables in the application are automatically styled with zebra-striping. Make sure you use and
sections around your rows.
If each of a table rows have multiple possible actions associated with them, use an "Actions" column with icons for those actions. You should describe the action with a tooltip via the title attribute, rather than repeating words in every row of the table.