D18A

Message D18A/MEDPRE

Medical prescription message

The MEDPRE message is sent from a prescriber (issuer) of prescriptions (healthcare professionals, i.e. physician, dentist, or veterinarian) to a dispensing agent (i.e. pharmacy) in order to allow the dispenser to deliver dispensed medicines(s) for the treatment of a subject of care (patient, patient group, animal or animal group). The MEDPRE message may also be sent via a relaying agent for storage until it is requested by a dispenser. Copies of the message may also be sent to parties entitled to receive a copy. The MEDPRE message can also be used as a request for a prescription from a dispensing agent to a prescriber.

Message description

UNH

M(1) : Message header

A service segment starting and uniquely identifying a message. The message type code for the Medical prescription message is MEDPRE. Note: Medical prescription messages conforming to this document must contain the following data in segment UNH, composite S009: Data element 0065 MEDPRE 0052 D 0054 18A 0051 UN

BGM

M(1) : Beginning of message

To indicate the type and function of a message and to transmit the identification of the message.

DTM

C(9) : Date/time/period

To specify date and/or time relating to the message, such as the date and time the message is generated.

FTX

C(9) : Free text

A segment with free text information, in coded or clear form, to provide information related to the message.

SG1 M(99) : SEQ-PNA-IDE-SPR-QUA-EMP-ADR-COM-RFF-SG2

To represent information about involved healthcare parties.

SEQ

M(1) : Sequence details

To allocate a unique reference number to an individual party allowing each party to be referenced from other locations within the message.

PNA

C(9) : Party identification

To specify information necessary to establish the identity of a healthcare party. One occurrence of the segment is used to specify the identity details at one level. If both organisation, department and/or physician are to be specified then a separate occurrence of this segment has to be used for each of them.

IDE

C(9) : Identity

To specify alternative identification numbers of a healthcare party.

SPR

C(9) : Organisation classification details

To specify the medical speciality and type of a healthcare organisation.

QUA

C(9) : Qualification

To specify the qualification of a healthcare professional.

EMP

C(1) : Employment details

A segment to specify the type, medical speciality and the position or military rank of a healthcare professional.

ADR

C(1) : Address

To specify an address of a healthcare party.

COM

C(9) : Communication contact

To specify a communication number of a party.

RFF

C(1) : Reference

A segment to specify a link to a higher level healthcare organisation which the actual healthcare organisation or healthcare professional is a part of. This segment is only used if multiple occurrences of this segment group is needed to express the information of a healthcare party.

SG2 C(9) : DOC-COM

To specify a document or message to be returned to the actual party as a response to this message.

DOC

M(1) : Document/message details

To specify the type of the requested document or message.

COM

C(1) : Communication contact

To identify the requested communication method.

SG3 C(1) : ATT-PNA-PDI-IDE-DTM-NAT-AGR-CCI-STS-FTX-LAN-CAV-

SG4-SG5-SG6-SG7 A group of segments to describe the subject of care.

ATT

M(1) : Attribute

To specify the type of subject of care such as a person, group of persons, an animal or a group of animals.

PNA

C(9) : Party identification

To specify the name and official ID of the person or the identification of a group of persons, animal or animal group.

PDI

C(1) : Person demographic information

To specify the gender of the person or animal.

IDE

C(9) : Identity

To specify an alternative identification numbers for the subject of care.

DTM

C(2) : Date/time/period

To specify a date and/or time related to the subject of care such as date and time of birth or age.

NAT

C(1) : Nationality

To specify the nationality of the person.

AGR

C(9) : Agreement identification

To specify the basis of entitlement to health services and any confidentiality constraint that applies to the handling of information about the subject of care.

CCI

C(2) : Characteristic/class id

To specify the breed and species of an animal.

STS

C(1) : Status

To specify the authenticity of the person's identity by the prescriber, such as person known by prescriber, person unknown, etc.

FTX

C(9) : Free text

A segment with free text information, in coded or clear form, to provide information relating to the subject of care, such as a confidentiality constraint concerning a person or age of a group of animals.

LAN

C(1) : Language

To specify the language of the person.

CAV

C(1) : Characteristic value

To specify the person's ability in the language.

SG4 C(9) : HAN-FTX-DTM

A group of segments to specify any precaution advice concerning the subject of care.

HAN

M(1) : Handling instructions

To specify a precaution as a code.

FTX

C(9) : Free text

A segment with free text information, in coded or clear form, to specify a precaution.

DTM

C(2) : Date/time/period

To specify an associated date for the precaution such as start or end date and/or time.

SG5 C(9) : ADR-COM

A group of segments to specify an address and related communication number(s) of the actual party.

ADR

M(1) : Address

To specify an address of the subject of care.

COM

C(9) : Communication contact

To specify a communication number for the subject of care at the specific address.

SG6 C(99) : REL-PNA-PDI-ADR-COM-LAN-CAV

A segment group to provide information about a related party such as next-of-kin or animal carer.

REL

M(1) : Relationship

To specify the type of relationship between the subject of care and the related party.

PNA

M(9) : Party identification

To specify information necessary to establish the identity of a related party.

PDI

C(1) : Person demographic information

To specify the gender of the person.

ADR

C(1) : Address

To specify an address of a patient related party.

COM

C(9) : Communication contact

To specify a communication number of a patient related party.

LAN

C(1) : Language

To specify a language of the person.

CAV

C(1) : Characteristic value

To specify the person's ability in the language.

SG7 C(999) : LIN-CIN-DTM-PNA-LAN-FTX-RSL-CLI-CCI-SG8

This segment group contains clinical information about the patient such as medical history, investigation results, medication records or allergies. Each occurrence of this segment group provides information concerning a single clinical information item.

LIN

M(1) : Line item

To allocate an identification number to the clinical information item.

CIN

C(9) : Clinical information

To specify the type of clinical information item and possibly a medical diagnosis.

DTM

C(9) : Date/time/period

To specify start and/or end date and/or time for the clinical information item and/or date and/or time of the origin of the clinical information item.

PNA

C(9) : Party identification

To specify information necessary to establish the identity of the party providing the clinical information item. One occurrence of the segment is used to specify the identity details at one level. If both organisation, department and/or physician are to be specified then a separate occurrence of this segment has to be used for each of them.

LAN

C(1) : Language

To specify the language of the clinical information item.

FTX

C(99) : Free text

A segment with free text information, in coded or clear form, to specify an item of clinical information.

RSL

C(1) : Result

To specify a clinical investigation result item, such as the height or weight of the subject of care or the result of a laboratory investigation.

CLI

C(9) : Clinical intervention

To specify a clinical examination such as a height measurement. Multiple occurrences of this segment may be needed if a multi-axial coding scheme is being used.

CCI

C(9) : Characteristic/class id

To specify a characteristic of a laboratory investigation. Multiple occurrences of this segment may be needed if a multi-axial coding scheme is being used.

SG8 C(1) : IMD-STS-DSG-INP-FTX-SCC-QTY

A group of segments to specify current or past medication or known allergy.

IMD

M(1) : Item description

A segment to identify a medicinal product item.

STS

M(1) : Status

To specify the medicinal treatment status such as commenced, stopped or a patient allergy.

DSG

C(9) : Dosage administration

To specify the form of presentation or the route of administration of the medicinal product as well as dosage administration or trigger for administration.

INP

C(9) : Parties and instruction

To specify an instruction for use.

FTX

C(9) : Free text

A segment with free text information, in coded or clear form, to provide comments to dosage administration.

SCC

C(9) : Scheduling conditions

To specify a dosage pattern as structured information.

QTY

C(9) : Quantity

To specify a quantity concerning the medicine such as a single dose or strength of tablet.

SG9 M(1) : GEI-IDE-DTM-PTY-AGR-LAN-STS-FTX-SG10-SG11-SG12-

SG14 A group of segments to specify a set of prescriptions issued for a subject of care.

GEI

M(1) : Processing information

To specify the service type of the prescription set such as a new prescription, a modification of an earlier prescription or cancellation of a prescription.

IDE

M(9) : Identity

To identify the prescription set and the coding scheme used for identification of the medicinal product(s).

DTM

M(9) : Date/time/period

A segment to specify a date and/or time relevant for the prescription set such as issue date of prescription set or requested date and time of dispensing.

PTY

C(1) : Priority

A segment to specify the requested priority for dispensing.

AGR

C(1) : Agreement identification

To specify the agreed disposal of the prescribed medicinal product(s) such as to be used by the client or for distribution.

LAN

C(1) : Language

A segment to specify the language of the prescription set.

STS

C(1) : Status

To specify the status of the prescription set such as requested, prescribed or dispensed.

FTX

C(99) : Free text

A segment with free text information, in coded or clear form, to provide comments to the prescription set.

SG10 C(9) : DOC-IDE-DTM

A group of segments to specify a reference to a related message or document.

DOC

M(1) : Document/message details

To specify the type of message or document being referenced.

IDE

C(1) : Identity

To identify a referenced message or document.

DTM

C(1) : Date/time/period

To specify issue date and/or time for a referenced message or document.

SG11 C(1) : TOD-TDT-FTX-DTM-ADR-COM-PNA-PTY-PAC

A group of segments to specify where the dispensed medicine is to be delivered or collected.

TOD

M(1) : Terms of delivery or transport

To specify how the dispensed medicine(s) will be delivered or collected.

TDT

C(1) : Transport information

A segment to specify the mode of transport for the delivery of dispensed medicine(s).

FTX

C(9) : Free text

A segment with free text information, in coded or clear form, to specify the delivery of the dispensed medicine(s).

DTM

C(9) : Date/time/period

A segment to specify a date and/or time relevant for the delivery of the dispensed medicine(s) such as date and time of delivery.

ADR

C(1) : Address

A segment to specify the address for delivery of the dispensed medicine(s).

COM

C(9) : Communication contact

A segment to identify a telecommunication number for the receiver at the dispensed medicine delivery point.

PNA

C(9) : Party identification

A segment to identify the receiver of a dispensed medicine.

PTY

C(1) : Priority

A segment to specify the requested priority for the delivery of the dispensed medicine(s).

PAC

C(1) : Package

To specify if special packaging is required.

SG12 C(9) : FCA-PNA-IDE-RCS-SG13

A group of segments to specify the party responsible in part or in whole for the payment and the related payment conditions for the dispensed medicine(s) in the actual prescription set.

FCA

M(1) : Financial charges allocation

To specify the responsibility for the settlement of charges, i.e. whether the costs are to be paid by the patient, by private insurance, etc.

PNA

C(9) : Party identification

To specify information necessary to establish the identity of the payer. One occurrence of the segment is used to specify the identity details at one level. Thus two occurrences of this segment may be needed if both organisation and department are being used.

IDE

C(9) : Identity

To identify a payer.

RCS

C(9) : Requirements and conditions

To specify a national requirement or condition.

SG13 C(9) : ICD-ALC-PCD-MOA-IDE-DTM

A group of segments to specify a payment condition.

ICD

M(1) : Insurance cover description

To specify insurance cover type and care coverage.

ALC

C(9) : Allowance or charge

To specify a reason for reduced or no payment.

PCD

C(1) : Percentage details

To specify percentage to be paid as the contribution of the payer.

MOA

C(9) : Monetary amount

To specify a monetary amount as the contribution of the payer.

IDE

C(9) : Identity

To specify a reference for the authorisation of this service.

DTM

C(9) : Date/time/period

A segment to specify a date and/or time relevant to this payment condition such as date of authorisation.

SG14 C(99) : LIN-DSG-IMD-QTY-PGI-PNA-PAC-IDE-DLM-EQN-PRC-

DTM-STS-CIN-FTX-SG15-SG16-SG17 A group of segments to specify the information about a single prescription item.

LIN

M(1) : Line item

A segment to specify a prescription item identification and request for notification information related to variation in delivery such as a substituted item or delivery failure.

DSG

C(9) : Dosage administration

A segment to specify the form of presentation of the medicinal product.

IMD

M(1) : Item description

A segment to identify a medicinal product item and the type of the item.

QTY

C(9) : Quantity

To specify a quantity concerning the medicine regime such as number of units of supply or strength of tablet.

PGI

C(9) : Product group information

A segment to specify the group in which the medicine belongs such as legal category or price category.

PNA

C(9) : Party identification

A segment to specify the supplier of the medicinal product, the manufacturer of the medicinal product or the initial prescriber of the treatment.

PAC

C(1) : Package

A segment to specify the type of package and the number of physical units.

IDE

C(9) : Identity

To identify the package or to give an alternative identification of the initial authoriser.

DLM

C(9) : Delivery limitations

To specify limitations on dispensing such as allowed substitution type if any.

EQN

C(1) : Number of units

To specify the number of times dispensing to be repeated.

PRC

C(9) : Process identification

A segment to specify information about the preparation of an extemporaneously dispensed medicine.

DTM

C(9) : Date/time/period

A segment to specify a date and/or time or period concerning the prescribing of the dispensed medicine such as dispensing interval or initial date of treatment.

STS

C(1) : Status

To specify the status of the dispensed medicine provided such as requested, dispensed, etc.

CIN

C(99) : Clinical information

To specify the indication for the prescribed item and/or comments concerning the prescribed item expressed as a clinical code.

FTX

C(99) : Free text

A segment with free text information, in coded or clear form, expressing the indication for the prescribed item, package description, comments concerning the prescribed item or other information about this prescription item.

SG15 C(99) : CAV-IMD-QTY-FTX

A group of segments to specify information about a single ingredient.

CAV

M(1) : Characteristic value

A segment to specify the function of the ingredient such as active or excipient ingredient.

IMD

M(1) : Item description

A segment to identify the ingredient.

QTY

C(9) : Quantity

A segment to specify the quantity for an ingredient.

FTX

C(99) : Free text

A segment with free text information, in coded or clear form, to provide comments about the ingredient.

SG16 C(99) : SEQ-DSG-QTY-INP-DTM-FTX-SCC-CIN-PCI-LAN-EQA

A group of segments to specify how the dispensed medicine should be administered and used.

SEQ

M(1) : Sequence details

To allocate a sequential regimen phase number.

DSG

C(9) : Dosage administration

To specify how the dispensed medicine is administered. If this information is provided in a structured way then this segment is used for route of administration or trigger for administration.

QTY

C(9) : Quantity

A segment to specify a quantity related to dosage of the dispensed medicine such as the single dose or maximum daily dose.

INP

C(9) : Parties and instruction

To instruct the dispenser that an exceptional dosage regimen is intended.

DTM

C(9) : Date/time/period

A segment to specify a date and/or time or period concerning dosage of the dispensed medicine such as duration of treatment or time of administration.

FTX

C(9) : Free text

A segment with free text information, in coded or clear form, to provide information relating to the medicine dosage and administration.

SCC

C(9) : Scheduling conditions

To specify a dosage pattern and dosage frequency as structured information.

CIN

C(9) : Clinical information

A segment to specify the indication for the use of the dispensed medicine.

PCI

C(9) : Package identification

To specify a cautionary or advisory label.

LAN

C(1) : Language

A segment to specify the language of the instructions.

EQA

C(9) : Attached equipment

To specify device or equipment to be used for the administration of the dispensed medicine.

SG17 C(9) : FCA-PNA-IDE-RCS-SG18

A group of segments to specify the party that is responsible in part or in whole for the payment of the actual prescription item and the related payment conditions.

FCA

M(1) : Financial charges allocation

To specify the responsibility for the settlement of charges, i.e. whether the costs are to be paid by the patient, by private insurance, etc.

PNA

C(9) : Party identification

To specify information necessary to establish the identity of the payer. One occurrence of the segment is used to specify the identity details at one level. Thus two occurrences of this segment may be needed if both organisation and department are being used.

IDE

C(9) : Identity

To identify a payer.

RCS

C(9) : Requirements and conditions

To specify a national requirement or condition.

SG18 C(9) : ICD-ALC-PCD-MOA-IDE-DTM

A group of segments to specify a payment condition.

ICD

M(1) : Insurance cover description

To specify the insurance cover type and care coverage.

ALC

C(9) : Allowance or charge

To specify a reason for reduced or no payment.

PCD

C(1) : Percentage details

To specify percentage to be paid as the contribution of the payer.

MOA

C(9) : Monetary amount

To specify a monetary amount as the contribution of the payer.

IDE

C(9) : Identity

To specify a reference for the authorisation of this service.

DTM

C(9) : Date/time/period

A segment to specify a date and/or time relevant to this payment condition such as date of authorisation.

CNT

C(1) : Control total

A segment to provide the number of prescription items in the message.

UNT

M(1) : Message trailer

A service segment ending a message, giving the total number of segments in the message (including the UNH & UNT) and the control reference number of the message.

Message structure

UNH, Message header                           M        1
BGM, Beginning of message                     M        1
DTM, Date/time/period                         C        9
FTX, Free text                                C        9

--- Segment Group 1 ------------------------- M       99 -------+
SEQ, Sequence details                         M        1        |
PNA, Party identification                     C        9        |
IDE, Identity                                 C        9        |
SPR, Organisation classification details      C        9        |
QUA, Qualification                            C        9        |
EMP, Employment details                       C        1        |
ADR, Address                                  C        1        |
COM, Communication contact                    C        9        |
RFF, Reference                                C        1        |
                                                                |
--- Segment Group 2 ------------------------- C        9 ------+|
DOC, Document/message details                 M        1       ||
COM, Communication contact                    C        1       ||
---- ----------------------------------------------------------++

--- Segment Group 3 ------------------------- C        1 -------+
ATT, Attribute                                M        1        |
PNA, Party identification                     C        9        |
PDI, Person demographic information           C        1        |
IDE, Identity                                 C        9        |
DTM, Date/time/period                         C        2        |
NAT, Nationality                              C        1        |
AGR, Agreement identification                 C        9        |
CCI, Characteristic/class id                  C        2        |
STS, Status                                   C        1        |
FTX, Free text                                C        9        |
LAN, Language                                 C        1        |
CAV, Characteristic value                     C        1        |
                                                                |
--- Segment Group 4 ------------------------- C        9 ------+|
HAN, Handling instructions                    M        1       ||
FTX, Free text                                C        9       ||
DTM, Date/time/period                         C        2       ||
---- ----------------------------------------------------------+|
                                                                |
--- Segment Group 5 ------------------------- C        9 ------+|
ADR, Address                                  M        1       ||
COM, Communication contact                    C        9       ||
---- ----------------------------------------------------------+|
                                                                |
--- Segment Group 6 ------------------------- C       99 ------+|
REL, Relationship                             M        1       ||
PNA, Party identification                     M        9       ||
PDI, Person demographic information           C        1       ||
ADR, Address                                  C        1       ||
COM, Communication contact                    C        9       ||
LAN, Language                                 C        1       ||
CAV, Characteristic value                     C        1       ||
---- ----------------------------------------------------------+|
                                                                |
--- Segment Group 7 ------------------------- C      999 ------+|
LIN, Line item                                M        1       ||
CIN, Clinical information                     C        9       ||
DTM, Date/time/period                         C        9       ||
PNA, Party identification                     C        9       ||
LAN, Language                                 C        1       ||
FTX, Free text                                C       99       ||
RSL, Result                                   C        1       ||
CLI, Clinical intervention                    C        9       ||
CCI, Characteristic/class id                  C        9       ||
                                                               ||
--- Segment Group 8 ------------------------- C        1 -----+||
IMD, Item description                         M        1      |||
STS, Status                                   M        1      |||
DSG, Dosage administration                    C        9      |||
INP, Parties and instruction                  C        9      |||
FTX, Free text                                C        9      |||
SCC, Scheduling conditions                    C        9      |||
QTY, Quantity                                 C        9      |||
---- ---------------------------------------------------------+++

--- Segment Group 9 ------------------------- M        1 -------+
GEI, Processing information                   M        1        |
IDE, Identity                                 M        9        |
DTM, Date/time/period                         M        9        |
PTY, Priority                                 C        1        |
AGR, Agreement identification                 C        1        |
LAN, Language                                 C        1        |
STS, Status                                   C        1        |
FTX, Free text                                C       99        |
                                                                |
--- Segment Group 10 ------------------------ C        9 ------+|
DOC, Document/message details                 M        1       ||
IDE, Identity                                 C        1       ||
DTM, Date/time/period                         C        1       ||
---- ----------------------------------------------------------+|
                                                                |
--- Segment Group 11 ------------------------ C        1 ------+|
TOD, Terms of delivery or transport           M        1       ||
TDT, Transport information                    C        1       ||
FTX, Free text                                C        9       ||
DTM, Date/time/period                         C        9       ||
ADR, Address                                  C        1       ||
COM, Communication contact                    C        9       ||
PNA, Party identification                     C        9       ||
PTY, Priority                                 C        1       ||
PAC, Package                                  C        1       ||
---- ----------------------------------------------------------+|
                                                                |
--- Segment Group 12 ------------------------ C        9 ------+|
FCA, Financial charges allocation             M        1       ||
PNA, Party identification                     C        9       ||
IDE, Identity                                 C        9       ||
RCS, Requirements and conditions              C        9       ||
                                                               ||
--- Segment Group 13 ------------------------ C        9 -----+||
ICD, Insurance cover description              M        1      |||
ALC, Allowance or charge                      C        9      |||
PCD, Percentage details                       C        1      |||
MOA, Monetary amount                          C        9      |||
IDE, Identity                                 C        9      |||
DTM, Date/time/period                         C        9      |||
---- ---------------------------------------------------------++|
                                                                |
--- Segment Group 14 ------------------------ C       99 ------+|
LIN, Line item                                M        1       ||
DSG, Dosage administration                    C        9       ||
IMD, Item description                         M        1       ||
QTY, Quantity                                 C        9       ||
PGI, Product group information                C        9       ||
PNA, Party identification                     C        9       ||
PAC, Package                                  C        1       ||
IDE, Identity                                 C        9       ||
DLM, Delivery limitations                     C        9       ||
EQN, Number of units                          C        1       ||
PRC, Process identification                   C        9       ||
DTM, Date/time/period                         C        9       ||
STS, Status                                   C        1       ||
CIN, Clinical information                     C       99       ||
FTX, Free text                                C       99       ||
                                                               ||
--- Segment Group 15 ------------------------ C       99 -----+||
CAV, Characteristic value                     M        1      |||
IMD, Item description                         M        1      |||
QTY, Quantity                                 C        9      |||
FTX, Free text                                C       99      |||
---- ---------------------------------------------------------+||
                                                               ||
--- Segment Group 16 ------------------------ C       99 -----+||
SEQ, Sequence details                         M        1      |||
DSG, Dosage administration                    C        9      |||
QTY, Quantity                                 C        9      |||
INP, Parties and instruction                  C        9      |||
DTM, Date/time/period                         C        9      |||
FTX, Free text                                C        9      |||
SCC, Scheduling conditions                    C        9      |||
CIN, Clinical information                     C        9      |||
PCI, Package identification                   C        9      |||
LAN, Language                                 C        1      |||
EQA, Attached equipment                       C        9      |||
---- ---------------------------------------------------------+||
                                                               ||
--- Segment Group 17 ------------------------ C        9 -----+||
FCA, Financial charges allocation             M        1      |||
PNA, Party identification                     C        9      |||
IDE, Identity                                 C        9      |||
RCS, Requirements and conditions              C        9      |||
                                                              |||
--- Segment Group 18 ------------------------ C        9 ----+|||
ICD, Insurance cover description              M        1     ||||
ALC, Allowance or charge                      C        9     ||||
PCD, Percentage details                       C        1     ||||
MOA, Monetary amount                          C        9     ||||
IDE, Identity                                 C        9     ||||
DTM, Date/time/period                         C        9     ||||
---- --------------------------------------------------------++++
CNT, Control total                            C        1
UNT, Message trailer                          M        1