MEDPRE Medical prescription

TBG10 Healthcare

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.

Header

Position
Segment
Name
Max use
  1. 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 11B 0051 UN

    1. Data element S009/0057 is retained for upward compatibility. The use of
    S016 and/or S017 is encouraged in preference.
    2. The combination of the values carried in data elements 0062 and S009 shall
    be used to identify uniquely the message within its group (if used) or if
    not used, within its interchange, for the purpose of acknowledgement.
  2. To indicate the type and function of a message and to transmit the identification of the message.

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

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

  5. Segment group 1
    Repeat 99
    1. To allocate a unique reference number to an individual party allowing each party to be referenced from other locations within the message.

    2. 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.

    3. To specify alternative identification numbers of a healthcare party.

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

    5. To specify the qualification of a healthcare professional.

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

    7. To specify an address of a healthcare party.

    8. To specify a communication number of a party.

    9. 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.

    10. Segment group 2
      Repeat 9
      1. To specify the type of the requested document or message.

      2. To identify the requested communication method.

  6. Segment group 3
    Repeat 1
    1. To specify the type of subject of care such as a person, group of persons, an animal or a group of animals.

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

    3. To specify the gender of the person or animal.

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

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

    6. To specify the nationality of the person.

    7. 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.

    8. To specify the breed and species of an animal.

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

    10. 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.

    11. To specify the language of the person.

    12. To specify the person's ability in the language.

    13. Segment group 4
      Repeat 9
      1. To specify a precaution as a code.

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

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

    14. Segment group 5
      Repeat 9
      1. To specify an address of the subject of care.

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

    15. Segment group 6
      Repeat 99
      1. To specify the type of relationship between the subject of care and the related party.

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

      3. To specify the gender of the person.

      4. To specify an address of a patient related party.

      5. To specify a communication number of a patient related party.

      6. To specify a language of the person.

      7. To specify the person's ability in the language.

    16. Segment group 7
      Repeat 999
      1. To allocate an identification number to the clinical information item.

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

      3. 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.

      4. 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.

      5. To specify the language of the clinical information item.

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

      7. 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.

      8. 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.

      9. 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.

      10. Segment group 8
        Repeat 1
        1. A segment to identify a medicinal product item.

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

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

        4. To specify an instruction for use.

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

        6. To specify a dosage pattern as structured information.

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

  7. Segment group 9
    Repeat 1
    1. 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.

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

    3. 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.

    4. A segment to specify the requested priority for dispensing.

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

    6. A segment to specify the language of the prescription set.

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

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

    9. Segment group 10
      Repeat 9
      1. To specify the type of message or document being referenced.

      2. To identify a referenced message or document.

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

    10. Segment group 11
      Repeat 1
      1. To specify how the dispensed medicine(s) will be delivered or collected.

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

        040 D5(040,030) If first, then all
      3. A segment with free text information, in coded or clear form, to specify the delivery of the dispensed medicine(s).

      4. 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.

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

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

      7. A segment to identify the receiver of a dispensed medicine.

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

      9. To specify if special packaging is required.

    11. Segment group 12
      Repeat 9
      1. 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.

      2. 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.

      3. To identify a payer.

      4. To specify a national requirement or condition.

      5. Segment group 13
        Repeat 9
        1. To specify insurance cover type and care coverage.

        2. To specify a reason for reduced or no payment.

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

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

        5. To specify a reference for the authorisation of this service.

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

    12. Segment group 14
      Repeat 99
      1. 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.

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

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

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

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

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

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

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

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

      10. To specify the number of times dispensing to be repeated.

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

      12. 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.

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

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

      15. 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.

      16. Segment group 15
        Repeat 99
        1. A segment to specify the function of the ingredient such as active or excipient ingredient.

        2. A segment to identify the ingredient.

        3. A segment to specify the quantity for an ingredient.

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

      17. Segment group 16
        Repeat 99
        1. To allocate a sequential regimen phase number.

        2. 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.

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

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

        5. 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.

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

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

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

        9. To specify a cautionary or advisory label.

        10. A segment to specify the language of the instructions.

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

      18. Segment group 17
        Repeat 9
        1. 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.

        2. 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.

        3. To identify a payer.

        4. To specify a national requirement or condition.

        5. Segment group 18
          Repeat 9
          1. To specify the insurance cover type and care coverage.

          2. To specify a reason for reduced or no payment.

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

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

          5. To specify a reference for the authorisation of this service.

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

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

  9. 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.

    1. 0062, the value shall be identical to the value in 0062 in the
    corresponding UNH segment.

Stedi is a registered trademark of Stedi, Inc. Stedi's EDI Reference is provided for marketing purposes and is free of charge. All names, logos, and brands of third parties listed on our site are trademarks of their respective owners (including “X12”, which is a trademark of X12 Incorporated). Stedi, Inc. and its products and services are not endorsed by, sponsored by, or affiliated with these third parties. Our use of these names, logos, and brands is for identification purposes only, and does not imply any such endorsement, sponsorship, or affiliation.