<commit_before>---
title: Medications
keywords: getcarerecord, view, section, medications
tags: [view,getcarerecord]
sidebar: accessrecord_sidebar
permalink: accessrecord_view_medications.html
summary: "Medications HTML View."
---

## Medications ##

| Section Code | Section Name | TPP | EMIS | INPS | Microtest |
| ------------ | ------------ |-----|------|------|-----------|
| MED | Medications | Yes | Yes | Yes | Yes |

Contains three sections:

 - [Current Medication Issues](accessrecord_view_medications.html#current-medication-issues)
 - [Current Repeat Medications](accessrecord_view_medications.html#current-repeat-medications)
 - [Past Medications](accessrecord_view_medications.html#past-medications)


### Section Banner Content Message ###

Providers message describing at a summary level how they have populated this section, and also the warning message where medications prescribed elsewhere have been excluded:

| Provider | Message |
| ------------ | ------------ |
| EMIS| EMIS message here <br> Medications prescribed elsewhere have been excluded|
| TPP|  TPP message here <br> Medications prescribed elsewhere have been excluded|
| INPS| INPS message here <br> Medications prescribed elsewhere have been excluded|
| Microtest| Microtest message here <br> Medications prescribed elsewhere have been excluded|


## Current Medication Issues ##

### Purpose ###

A list of all current acute and repeat medications issued to a patient ordered by date descending (i.e. most recent date/time first).

{% include warning.html content="The current medications list will only contain those items prescribed by the patient's current GP organization. Hence, if the patient has been issued prescriptions elsewhere or has recently moved GP practice then this list may not be complete." %}

### Date Horizon ###

All relevant records **SHALL** be returned (i.e. no time limit/filtering is to be applied).

### Sub Section Banner Content Message ###

Providers message describing at a summary level how they have populated this section.

| Provider | Message |
| ------------ | ------------ |
| EMIS| message to be added here|
| TPP|  message to be added here|
| INPS| message to be added here|
| Microtest| message to be added here|

### Table Construction Requirements ###

Providers must adhere to the table construction requirements listed below:

- Table header **SHALL** be "Current Medication Issues".
- 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 ###

Providers must return all the columns as described in the table below:

| Order | Name | Description | Value Details &nbsp;&nbsp;&nbsp; |
| ------------ | ------------ | ------------ |
| <center>1</center> | `Start Date` | Start date of medication item issued | `dd-Mmm-yyyy` |
| <center>2</center> | `Medication Item` &nbsp;&nbsp;&nbsp;| Descriptive name of medication item (inculding dosage) | `free-text` |
| <center>3</center> | `Type` | Type of medication issued | `Repeat` <br> `Acute` |
| <center>4</center> | `Scheduled End` | Scheduled end date of medication issued | `dd-Mmm-yyyy` |
| <center>5</center> | `Days Duration` | Duration of medication issued | `integer` |
| <center>6</center> | `Details` | Longer human readable free-text details for the medication item &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | `free-text` |

Provider systems **SHALL** include all relevant clinical content in the `Details` free-text field. As a minimum the free-text narrative **SHALL** include these items: <br>
- `MedicationOrder.medication.code`
- `MedicationOrder.dosageInstruction.dose[x]`
- `MedicationOrder.dosageInstruction.schedule[x]`
- `MedicationOrder.dosageInstruction.rate`
- `MedicationOrder.dosageInstruction.maxDosePerPeriod`


### HTML View ###

{% raw %}
```html
<div ng-controller="ctrl">
	<h3>Current Medication Issues</h3>
		<table class="table">
			<thead>
				<tr>
					<th class="col-sm-2">Start Date</th>
					<th class="col-sm-2">Medication Item</th>
					<th class="col-sm-2">Type</th>
					<th class="col-sm-2">Scheduled End</th>
					<th class="col-sm-2">Days Duration</th>
					<th class="col-sm-2">Details</th>
				</tr>
			</thead>
				<tr ng-repeat="x in records" class="table">
					<td class="col-sm-2">{{x.date}}</td><commit_msg>Minor uplift for values in table<commit_after>---
title: Medications
keywords: getcarerecord, view, section, medications
tags: [view,getcarerecord]
sidebar: accessrecord_sidebar
permalink: accessrecord_view_medications.html
summary: "Medications HTML View."
---

## Medications ##

| Section Code | Section Name | TPP | EMIS | INPS | Microtest |
| ------------ | ------------ |-----|------|------|-----------|
| MED | Medications | Yes | Yes | Yes | Yes |

Contains three sections:

 - [Current Medication Issues](accessrecord_view_medications.html#current-medication-issues)
 - [Current Repeat Medications](accessrecord_view_medications.html#current-repeat-medications)
 - [Past Medications](accessrecord_view_medications.html#past-medications)


### Section Banner Content Message ###

Providers message describing at a summary level how they have populated this section, and also the warning message where medications prescribed elsewhere have been excluded:

| Provider | Message |
| ------------ | ------------ |
| EMIS| EMIS message here <br> Medications prescribed elsewhere have been excluded|
| TPP|  TPP message here <br> Medications prescribed elsewhere have been excluded|
| INPS| INPS message here <br> Medications prescribed elsewhere have been excluded|
| Microtest| Microtest message here <br> Medications prescribed elsewhere have been excluded|


## Current Medication Issues ##

### Purpose ###

A list of all current acute and repeat medications issued to a patient ordered by date descending (i.e. most recent date/time first).

{% include warning.html content="The current medications list will only contain those items prescribed by the patient's current GP organization. Hence, if the patient has been issued prescriptions elsewhere or has recently moved GP practice then this list may not be complete." %}

### Date Horizon ###

All relevant records **SHALL** be returned (i.e. no time limit/filtering is to be applied).

### Sub Section Banner Content Message ###

Providers message describing at a summary level how they have populated this section.

| Provider | Message |
| ------------ | ------------ |
| EMIS| message to be added here|
| TPP|  message to be added here|
| INPS| message to be added here|
| Microtest| message to be added here|

### Table Construction Requirements ###

Providers must adhere to the table construction requirements listed below:

- Table header **SHALL** be "Current Medication Issues".
- 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 ###

Providers must return all the columns as described in the table below:

| Order | Name | Description | Value Details &nbsp;&nbsp;&nbsp; |
| ------------ | ------------ | ------------ |
| <center>1</center> | `Start Date` | Start date of medication item issued | `dd-Mmm-yyyy` |
| <center>2</center> | `Medication Item` &nbsp;&nbsp;&nbsp;| Descriptive name of medication item (inculding dosage) | `free-text` |
| <center>3</center> | `Type` | Type of medication issued (values `Repeat` or `Acute`) | `free-text` |
| <center>4</center> | `Scheduled End` | Scheduled end date of medication issued | `dd-Mmm-yyyy` |
| <center>5</center> | `Days Duration` | Duration of medication issued | `integer` |
| <center>6</center> | `Details` | Longer human readable free-text details for the medication item &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | `free-text` |

Provider systems **SHALL** include all relevant clinical content in the `Details` free-text field. As a minimum the free-text narrative **SHALL** include these items: <br>
- `MedicationOrder.medication.code`
- `MedicationOrder.dosageInstruction.dose[x]`
- `MedicationOrder.dosageInstruction.schedule[x]`
- `MedicationOrder.dosageInstruction.rate`
- `MedicationOrder.dosageInstruction.maxDosePerPeriod`


### HTML View ###

{% raw %}
```html
<div ng-controller="ctrl">
	<h3>Current Medication Issues</h3>
		<table class="table">
			<thead>
				<tr>
					<th class="col-sm-2">Start Date</th>
					<th class="col-sm-2">Medication Item</th>
					<th class="col-sm-2">Type</th>
					<th class="col-sm-2">Scheduled End</th>
					<th class="col-sm-2">Days Duration</th>
					<th class="col-sm-2">Details</th>
				</tr>
			</thead>
				<tr ng-repeat="x in records" class="table">
					<td class="col-sm-2">{{x.date}}</td>
{'fraction_non_alphanumeric': 0.15361378384426047, 'fraction_numerical': 0.0035802192884314163, 'mean_word_length': 4.013460459899046, 'pattern_counts': {'":': 0, '<': 84, '<?xml version=': 0, '>': 84, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5101995', 'n_tokens_mistral': 2691, 'n_tokens_neox': 2507, 'n_words': 886}