Clinical narrative
During an emergency the Emergency codes section can be switched on and configured to display a known list of coded items, to enable a clinician to clearly see entries on the patient record associated with the emergency.
Purpose
The purpose of this section is to provide the clinician with a list of configurable coded items during an emergency.
Sections and subsections
There is a single main section for emergency codes with no subsections.
Section title
The section title MUST be ‘Emergency Codes’.
Date filter
Date filters are not supported for this section all relevant records shall be returned.
Section content banner
Provider message describing at a summary level how they have populated this section.
Table columns
Providers must return all the columns as described in the table below, sorted by Date
descending:
Order | Name | Description | Value details |
---|---|---|---|
1 | Date |
The date of entry of the coded item | dd-Mmm-yyyy |
2 | Entry |
Preferred term text for the coded item | free-text |
3 | Details |
Longer human readable details for the coded item | free-text |
4 | Location of further information |
The name of the HTML view(s) where this coded item is visible elsewhere in the record | free-text |
Additional functionality
The following requirements MUST be fulfilled without need of code release:
- The contents of this view MUST be based on a configurable list of codes.
- The configurable list MUST be able to group codes to allow a single code to be visible, if more than one code in the group exits on the patient record. The most recent code on the record MUST be displayed in the Emergency Codes view.
- The Emergency codes view MUST contain configuration to allow the provider to switch on and off as necessary.
- The section content banner text MUST be a configurable item.
Information associated with the current emergency can be found here nshconnect/gpconnect-emergency-codes
HTML view
<div>
<h1>Emergency Codes</h1>
<div class="content-banner">
<p>
<!-- Content banner -->
</p>
</div>
<table id="cli-tab">
<thead>
<tr>
<th>Date</th>
<th>Entry</th>
<th>Details</th>
<th>Location of further information</th>
</tr>
</thead>
<tbody>
<tr>
<!-- the <tr>...</tr> element will repeat for each emergency code configured-->
<td class="date-column">{{emergency.startdate}}</td>
<td>{{emergency.entry}}</td>
<td>{{emergency.details}}</td>
<td>{{emergency.location}}</td>
</tr>
</tbody>
</table>
</div>
Example view
See the Pen clinical items by gp_connect (@tford70) on CodePen.