Encounters HTML View.
Encounters
Section Code | Section Name | TPP | EMIS | INPS | Microtest |
---|---|---|---|---|---|
ENC | Encounters | Yes | Yes | Yes | Yes |
Purpose
A list of encounters related to a patient ordered by date descending (i.e. most recent date/time first).
Date Horizon
All relevant records SHALL be returned with-in Consumer supplied date range.
Table Construction
- Table header SHALL be “Encounters”.
- Table columns SHALL be ordered left-to-right (1..N).
- Table content SHALL NOT be truncated.
- Table rows SHALL be ordered by date descending (i.e. most recent date/time first).
Table Columns
- Date
- the date of the encounter.
- Title1
- a short human readable free-text title for the encounter.
- Details
- longer human readable free-text details for the encounter.
1 To be composed of a subset of the Practitioner
and Organization
details linked to the encounter (i.e. Miss Tanya Turnpike (Practice Nurse) - Dr Johnson and Partners (J12345))
HTML View
<div>
<h2>Encounters</h2>
<table ng-repeat="item in items">
<thead>
<tr>
<th>{{item.date}}</th>
<th>{{item.title}}</th>
</tr>
</thead>
<tbody>
<tr>
<td> </td>
<td>{{item.details}}</td>
</tr>
</tbody>
</table>
</div>
Important: AngularJS tags (e.g ng-repeat) are present merely to indicate to a developer the structure of the table content. Presence of these tags are not intended to imply use of any specific technology.
Tip: Please see CodePen for example of using AngularJS to generate table content