MEDPREMedical prescription

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.

  • UNH
    M必须(Mandatory)
    Repeat 1

    To head, identify and specify a message.

  • BGM
    BEGINNING OF MESSAGE
    M必须(Mandatory)
    Repeat 1

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

  • DTM
    DATE/TIME/PERIOD
    O可选(Optional)
    Repeat 9

    To specify date, and/or time, or period.

  • FTX
    FREE TEXT
    O可选(Optional)
    Repeat 9

    To provide free form or coded text information.

  • SEQLoop1SEQUENCE DETAILS LOOPM必须(Mandatory)Repeat 99
    SEQPNAIDESPRQUAEMPADRCOMRFFDOCLoop1
    • SEQ
      SEQUENCE DETAILS
      M必须(Mandatory)
      Repeat 1

      To provide details relating to the sequence.

    • PNA
      PARTY IDENTIFICATION
      O可选(Optional)
      Repeat 9

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

    • IDE
      IDENTITY
      O可选(Optional)
      Repeat 9

      To identify an object.

    • SPR
      ORGANISATION CLASSIFICATION DETAILS
      O可选(Optional)
      Repeat 9

      To provide classification details relating to the activities of an organisation.

    • QUA
      QUALIFICATION
      O可选(Optional)
      Repeat 9

      To specify the qualification of a person.

    • EMP
      EMPLOYMENT DETAILS
      O可选(Optional)
      Repeat 1

      To specify employment details.

    • ADR
      ADDRESS
      O可选(Optional)
      Repeat 1

      To specify an address.

    • COM
      COMMUNICATION CONTACT
      O可选(Optional)
      Repeat 9

      To identify a communication number of a department or a person to whom communication should be directed.

    • RFF
      REFERENCE
      O可选(Optional)
      Repeat 1

      To specify a reference.

    • DOCLoop1DOCUMENT/MESSAGE DETAILS LOOPO可选(Optional)Repeat 9
      DOCCOM
      • DOC
        DOCUMENT/MESSAGE DETAILS
        M必须(Mandatory)
        Repeat 1

        To identify documents and details directly related to it.

      • COM
        COMMUNICATION CONTACT
        O可选(Optional)
        Repeat 1

        To identify a communication number of a department or a person to whom communication should be directed.

  • ATTLoop1ATTRIBUTE LOOPO可选(Optional)Repeat 1
    ATTPNAPDIIDEDTMNATAGRCCISTSFTXLANCAVHANLoop1ADRLoop1RELLoop1LINLoop1
    • ATT
      ATTRIBUTE
      M必须(Mandatory)
      Repeat 1

      To identify a specific attribute.

    • PNA
      PARTY IDENTIFICATION
      O可选(Optional)
      Repeat 9

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

    • PDI
      PERSON DEMOGRAPHIC INFORMATION
      O可选(Optional)
      Repeat 1

      To specify items of person demographic information.

    • IDE
      IDENTITY
      O可选(Optional)
      Repeat 9

      To identify an object.

    • DTM
      DATE/TIME/PERIOD
      O可选(Optional)
      Repeat 2

      To specify date, and/or time, or period.

    • NAT
      NATIONALITY
      O可选(Optional)
      Repeat 1

      To specify a nationality.

    • AGR
      AGREEMENT IDENTIFICATION
      O可选(Optional)
      Repeat 9

      To specify the agreement details.

    • CCI
      CHARACTERISTIC/CLASS ID
      O可选(Optional)
      Repeat 2

      To identify and describe a specific characteristic and its relevance for subsequent business processes.

    • STS
      STATUS
      O可选(Optional)
      Repeat 1

      To specify the status of an object or service, including its category and the reason(s) for the status.

    • FTX
      FREE TEXT
      O可选(Optional)
      Repeat 9

      To provide free form or coded text information.

    • LAN
      LANGUAGE
      O可选(Optional)
      Repeat 1

      To specify a language.

    • CAV
      CHARACTERISTIC VALUE
      O可选(Optional)
      Repeat 1

      To provide the value of a characteristic.

    • HANLoop1HANDLING INSTRUCTIONS LOOPO可选(Optional)Repeat 9
      HANFTXDTM
      • HAN
        HANDLING INSTRUCTIONS
        M必须(Mandatory)
        Repeat 1

        To specify handling and where necessary, notify hazards.

      • FTX
        FREE TEXT
        O可选(Optional)
        Repeat 9

        To provide free form or coded text information.

      • DTM
        DATE/TIME/PERIOD
        O可选(Optional)
        Repeat 2

        To specify date, and/or time, or period.

    • ADRLoop1ADDRESS LOOPO可选(Optional)Repeat 9
      ADRCOM
      • ADR
        ADDRESS
        M必须(Mandatory)
        Repeat 1

        To specify an address.

      • COM
        COMMUNICATION CONTACT
        O可选(Optional)
        Repeat 9

        To identify a communication number of a department or a person to whom communication should be directed.

    • RELLoop1RELATIONSHIP LOOPO可选(Optional)Repeat 99
      RELPNAPDIADRCOMLANCAV
      • REL
        RELATIONSHIP
        M必须(Mandatory)
        Repeat 1

        To identify relationships between objects.

      • PNA
        PARTY IDENTIFICATION
        M必须(Mandatory)
        Repeat 9

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

      • PDI
        PERSON DEMOGRAPHIC INFORMATION
        O可选(Optional)
        Repeat 1

        To specify items of person demographic information.

      • ADR
        ADDRESS
        O可选(Optional)
        Repeat 1

        To specify an address.

      • COM
        COMMUNICATION CONTACT
        O可选(Optional)
        Repeat 9

        To identify a communication number of a department or a person to whom communication should be directed.

      • LAN
        LANGUAGE
        O可选(Optional)
        Repeat 1

        To specify a language.

      • CAV
        CHARACTERISTIC VALUE
        O可选(Optional)
        Repeat 1

        To provide the value of a characteristic.

    • LINLoop1LINE ITEM LOOPO可选(Optional)Repeat 999
      LINCINDTMPNALANFTXRSLCLICCIIMDLoop1
      • LIN
        LINE ITEM
        M必须(Mandatory)
        Repeat 1

        To identify a line item and configuration.

      • CIN
        CLINICAL INFORMATION
        O可选(Optional)
        Repeat 9

        To describe an item of clinical information.

      • DTM
        DATE/TIME/PERIOD
        O可选(Optional)
        Repeat 9

        To specify date, and/or time, or period.

      • PNA
        PARTY IDENTIFICATION
        O可选(Optional)
        Repeat 9

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

      • LAN
        LANGUAGE
        O可选(Optional)
        Repeat 1

        To specify a language.

      • FTX
        FREE TEXT
        O可选(Optional)
        Repeat 99

        To provide free form or coded text information.

      • RSL
        RESULT
        O可选(Optional)
        Repeat 1

        To specify a discrete or non-discrete result as a value or value range.

      • CLI
        CLINICAL INTERVENTION
        O可选(Optional)
        Repeat 9

        To specify a clinical intervention such as treatments and investigations.

      • CCI
        CHARACTERISTIC/CLASS ID
        O可选(Optional)
        Repeat 9

        To identify and describe a specific characteristic and its relevance for subsequent business processes.

      • IMDLoop1ITEM DESCRIPTION LOOPO可选(Optional)Repeat 1
        IMDSTSDSGINPFTXSCCQTY
        • IMD
          ITEM DESCRIPTION
          M必须(Mandatory)
          Repeat 1

          To describe an item in either an industry or free format.

        • STS
          STATUS
          M必须(Mandatory)
          Repeat 1

          To specify the status of an object or service, including its category and the reason(s) for the status.

        • DSG
          DOSAGE ADMINISTRATION
          O可选(Optional)
          Repeat 9

          To communicate how dose(s) are administered.

        • INP
          PARTIES AND INSTRUCTION
          O可选(Optional)
          Repeat 9

          To specify parties to an instruction, the instruction, or both.

        • FTX
          FREE TEXT
          O可选(Optional)
          Repeat 9

          To provide free form or coded text information.

        • SCC
          SCHEDULING CONDITIONS
          O可选(Optional)
          Repeat 9

          To specify scheduling conditions.

        • QTY
          QUANTITY
          O可选(Optional)
          Repeat 9

          To specify a pertinent quantity.

  • GEILoop1PROCESSING INFORMATION LOOPM必须(Mandatory)Repeat 1
    GEIIDEDTMPTYAGRLANSTSFTXDOCLoop2TODLoop1FCALoop1LINLoop2
    • GEI
      PROCESSING INFORMATION
      M必须(Mandatory)
      Repeat 1

      To identify processing information.

    • IDE
      IDENTITY
      M必须(Mandatory)
      Repeat 9

      To identify an object.

    • DTM
      DATE/TIME/PERIOD
      M必须(Mandatory)
      Repeat 9

      To specify date, and/or time, or period.

    • PTY
      PRIORITY
      O可选(Optional)
      Repeat 1

      The segment is used to communicate priority information.

    • AGR
      AGREEMENT IDENTIFICATION
      O可选(Optional)
      Repeat 1

      To specify the agreement details.

    • LAN
      LANGUAGE
      O可选(Optional)
      Repeat 1

      To specify a language.

    • STS
      STATUS
      O可选(Optional)
      Repeat 1

      To specify the status of an object or service, including its category and the reason(s) for the status.

    • FTX
      FREE TEXT
      O可选(Optional)
      Repeat 99

      To provide free form or coded text information.

    • DOCLoop2DOCUMENT/MESSAGE DETAILS LOOPO可选(Optional)Repeat 9
      DOCIDEDTM
      • DOC
        DOCUMENT/MESSAGE DETAILS
        M必须(Mandatory)
        Repeat 1

        To identify documents and details directly related to it.

      • IDE
        IDENTITY
        O可选(Optional)
        Repeat 1

        To identify an object.

      • DTM
        DATE/TIME/PERIOD
        O可选(Optional)
        Repeat 1

        To specify date, and/or time, or period.

    • TODLoop1TERMS OF DELIVERY OR TRANSPORT LOOPO可选(Optional)Repeat 1
      TODTDTFTXDTMADRCOMPNAPTYPAC
      • TOD
        TERMS OF DELIVERY OR TRANSPORT
        M必须(Mandatory)
        Repeat 1

        To specify terms of delivery or transport.

      • TDT
        TRANSPORT INFORMATION
        O可选(Optional)
        Repeat 1

        To specify information regarding the transport such as mode of transport, means of transport, its conveyance reference number and the identification of the means of transport.

      • FTX
        FREE TEXT
        O可选(Optional)
        Repeat 9

        To provide free form or coded text information.

      • DTM
        DATE/TIME/PERIOD
        O可选(Optional)
        Repeat 9

        To specify date, and/or time, or period.

      • ADR
        ADDRESS
        O可选(Optional)
        Repeat 1

        To specify an address.

      • COM
        COMMUNICATION CONTACT
        O可选(Optional)
        Repeat 9

        To identify a communication number of a department or a person to whom communication should be directed.

      • PNA
        PARTY IDENTIFICATION
        O可选(Optional)
        Repeat 9

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

      • PTY
        PRIORITY
        O可选(Optional)
        Repeat 1

        The segment is used to communicate priority information.

      • PAC
        PACKAGE
        O可选(Optional)
        Repeat 1

        To describe the number and type of packages/physical units.

    • FCALoop1FINANCIAL CHARGES ALLOCATION LOOPO可选(Optional)Repeat 9
      FCAPNAIDERCSICDLoop1
      • FCA
        FINANCIAL CHARGES ALLOCATION
        M必须(Mandatory)
        Repeat 1

        Description of allocation of charges.

      • PNA
        PARTY IDENTIFICATION
        O可选(Optional)
        Repeat 9

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

      • IDE
        IDENTITY
        O可选(Optional)
        Repeat 9

        To identify an object.

      • RCS
        REQUIREMENTS AND CONDITIONS
        O可选(Optional)
        Repeat 9

        To specify sector/subject requirements and conditions.

      • ICDLoop1INSURANCE COVER DESCRIPTION LOOPO可选(Optional)Repeat 9
        ICDALCPCDMOAIDEDTM
        • ICD
          INSURANCE COVER DESCRIPTION
          M必须(Mandatory)
          Repeat 1

          To describe the insurance cover.

        • ALC
          ALLOWANCE OR CHARGE
          O可选(Optional)
          Repeat 9

          To identify allowance or charge details.

        • PCD
          PERCENTAGE DETAILS
          O可选(Optional)
          Repeat 1

          To specify percentage information.

        • MOA
          MONETARY AMOUNT
          O可选(Optional)
          Repeat 9

          To specify a monetary amount.

        • IDE
          IDENTITY
          O可选(Optional)
          Repeat 9

          To identify an object.

        • DTM
          DATE/TIME/PERIOD
          O可选(Optional)
          Repeat 9

          To specify date, and/or time, or period.

    • LINLoop2LINE ITEM LOOPO可选(Optional)Repeat 99
      LINDSGIMDQTYPGIPNAPACIDEDLMEQNPRCDTMSTSCINFTXCAVLoop1SEQLoop2FCALoop2
      • LIN
        LINE ITEM
        M必须(Mandatory)
        Repeat 1

        To identify a line item and configuration.

      • DSG
        DOSAGE ADMINISTRATION
        O可选(Optional)
        Repeat 9

        To communicate how dose(s) are administered.

      • IMD
        ITEM DESCRIPTION
        M必须(Mandatory)
        Repeat 1

        To describe an item in either an industry or free format.

      • QTY
        QUANTITY
        O可选(Optional)
        Repeat 9

        To specify a pertinent quantity.

      • PGI
        PRODUCT GROUP INFORMATION
        O可选(Optional)
        Repeat 9

        To indicate the group in which a product belongs.

      • PNA
        PARTY IDENTIFICATION
        O可选(Optional)
        Repeat 9

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

      • PAC
        PACKAGE
        O可选(Optional)
        Repeat 1

        To describe the number and type of packages/physical units.

      • IDE
        IDENTITY
        O可选(Optional)
        Repeat 9

        To identify an object.

      • DLM
        DELIVERY LIMITATIONS
        O可选(Optional)
        Repeat 9

        To specify limitations on deliveries.

      • EQN
        NUMBER OF UNITS
        O可选(Optional)
        Repeat 1

        To specify the number of units.

      • PRC
        PROCESS IDENTIFICATION
        O可选(Optional)
        Repeat 9

        To identify a process.

      • DTM
        DATE/TIME/PERIOD
        O可选(Optional)
        Repeat 9

        To specify date, and/or time, or period.

      • STS
        STATUS
        O可选(Optional)
        Repeat 1

        To specify the status of an object or service, including its category and the reason(s) for the status.

      • CIN
        CLINICAL INFORMATION
        O可选(Optional)
        Repeat 99

        To describe an item of clinical information.

      • FTX
        FREE TEXT
        O可选(Optional)
        Repeat 99

        To provide free form or coded text information.

      • CAVLoop1CHARACTERISTIC VALUE LOOPO可选(Optional)Repeat 99
        CAVIMDQTYFTX
        • CAV
          CHARACTERISTIC VALUE
          M必须(Mandatory)
          Repeat 1

          To provide the value of a characteristic.

        • IMD
          ITEM DESCRIPTION
          M必须(Mandatory)
          Repeat 1

          To describe an item in either an industry or free format.

        • QTY
          QUANTITY
          O可选(Optional)
          Repeat 9

          To specify a pertinent quantity.

        • FTX
          FREE TEXT
          O可选(Optional)
          Repeat 99

          To provide free form or coded text information.

      • SEQLoop2SEQUENCE DETAILS LOOPO可选(Optional)Repeat 99
        SEQDSGQTYINPDTMFTXSCCCINPCILANEQA
        • SEQ
          SEQUENCE DETAILS
          M必须(Mandatory)
          Repeat 1

          To provide details relating to the sequence.

        • DSG
          DOSAGE ADMINISTRATION
          O可选(Optional)
          Repeat 9

          To communicate how dose(s) are administered.

        • QTY
          QUANTITY
          O可选(Optional)
          Repeat 9

          To specify a pertinent quantity.

        • INP
          PARTIES AND INSTRUCTION
          O可选(Optional)
          Repeat 9

          To specify parties to an instruction, the instruction, or both.

        • DTM
          DATE/TIME/PERIOD
          O可选(Optional)
          Repeat 9

          To specify date, and/or time, or period.

        • FTX
          FREE TEXT
          O可选(Optional)
          Repeat 9

          To provide free form or coded text information.

        • SCC
          SCHEDULING CONDITIONS
          O可选(Optional)
          Repeat 9

          To specify scheduling conditions.

        • CIN
          CLINICAL INFORMATION
          O可选(Optional)
          Repeat 9

          To describe an item of clinical information.

        • PCI
          PACKAGE IDENTIFICATION
          O可选(Optional)
          Repeat 9

          To specify markings and labels on individual packages or physical units.

        • LAN
          LANGUAGE
          O可选(Optional)
          Repeat 1

          To specify a language.

        • EQA
          ATTACHED EQUIPMENT
          O可选(Optional)
          Repeat 9

          To specify attached or related equipment.

      • FCALoop2FINANCIAL CHARGES ALLOCATION LOOPO可选(Optional)Repeat 9
        FCAPNAIDERCSICDLoop2
        • FCA
          FINANCIAL CHARGES ALLOCATION
          M必须(Mandatory)
          Repeat 1

          Description of allocation of charges.

        • PNA
          PARTY IDENTIFICATION
          O可选(Optional)
          Repeat 9

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

        • IDE
          IDENTITY
          O可选(Optional)
          Repeat 9

          To identify an object.

        • RCS
          REQUIREMENTS AND CONDITIONS
          O可选(Optional)
          Repeat 9

          To specify sector/subject requirements and conditions.

        • ICDLoop2INSURANCE COVER DESCRIPTION LOOPO可选(Optional)Repeat 9
          ICDALCPCDMOAIDEDTM
          • ICD
            INSURANCE COVER DESCRIPTION
            M必须(Mandatory)
            Repeat 1

            To describe the insurance cover.

          • ALC
            ALLOWANCE OR CHARGE
            O可选(Optional)
            Repeat 9

            To identify allowance or charge details.

          • PCD
            PERCENTAGE DETAILS
            O可选(Optional)
            Repeat 1

            To specify percentage information.

          • MOA
            MONETARY AMOUNT
            O可选(Optional)
            Repeat 9

            To specify a monetary amount.

          • IDE
            IDENTITY
            O可选(Optional)
            Repeat 9

            To identify an object.

          • DTM
            DATE/TIME/PERIOD
            O可选(Optional)
            Repeat 9

            To specify date, and/or time, or period.

  • CNT
    CONTROL TOTAL
    O可选(Optional)
    Repeat 1

    To provide control total.

  • UNT
    M必须(Mandatory)
    Repeat 1

    To end and check the completeness of a message.

Segment
EDIFACT EDI Release D10A
To head, identify and specify a message.
Elements
  • UNH010062MESSAGE REFERENCE NUMBER
    AN
    M必须(Mandatory)
    Min 0 / Max 14

    Unique message reference assigned by the sender.

  • UNH02S009MESSAGE IDENTIFIERM必须(Mandatory)
    0065005200540051005701100113
    • UNH02010065Message type
      ID
      M必须(Mandatory)
      Min 0 / Max 6

      Code identifying a type of message and assigned by its controlling agency.

      Codes (211)
    • UNH02020052Message version number
      ID
      M必须(Mandatory)
      Min 0 / Max 3

      Version number of a message type.

      Codes (8)
    • UNH02030054Message release number
      ID
      M必须(Mandatory)
      Min 0 / Max 3

      Release number within the current message version number.

      Codes (55)
    • UNH02040051Controlling agency, coded
      ID
      M必须(Mandatory)
      Min 0 / Max 3

      Code identifying a controlling agency.

      Codes (26)
    • UNH02050057Association assigned code
      AN
      O可选(Optional)
      Min 0 / Max 6

      Code, assigned by the association responsible for the design and maintenance of the message type concerned, which further identifies the message.

    • UNH02060110Code list directory version number
      AN
      O可选(Optional)
      Min 0 / Max 6

      Version number of the code list directory.

    • UNH02070113Message type sub-function identification
      ID
      O可选(Optional)
      Min 0 / Max 6

      Code identifying a sub-function of a message type.

      Codes (21)
  • UNH030068COMMON ACCESS REFERENCE
    AN
    O可选(Optional)
    Min 0 / Max 35

    Reference serving as a key to relate all subsequent transfers of data to the same business case or file.

  • UNH04S010STATUS OF THE TRANSFERO可选(Optional)
    00700073
    • UNH04010070Sequence of transfers
      N
      M必须(Mandatory)
      Min 0 / Max 2

      Number assigned by the sender indicating the transfer sequence of a message related to the same topic. The message could be an addition or a change to an earlier transfer related to the same topic.

    • UNH04020073First and last transfer
      ID
      O可选(Optional)
      Min 1 / Max 1

      Indication used for the first and last message in a sequence of messages related to the same topic.

      Codes (2)
  • UNH05S016MESSAGE SUBSET IDENTIFICATIONO可选(Optional)
    0115011601180051
    • UNH05010115Message subset identification
      AN
      M必须(Mandatory)
      Min 0 / Max 14

      Coded identification of a message subset, assigned by its controlling agency.

    • UNH05020116Message subset version number
      AN
      O可选(Optional)
      Min 0 / Max 3

      Version number of the message subset.

    • UNH05030118Message subset release number
      AN
      O可选(Optional)
      Min 0 / Max 3

      Release number within the message subset version number.

    • UNH05040051Controlling agency, coded
      ID
      O可选(Optional)
      Min 0 / Max 3

      Code identifying a controlling agency.

      Codes (26)
  • UNH06S017MESSAGE IMPLEMENTATION GUIDELINE IDENTIFICATIONO可选(Optional)
    0121012201240051
    • UNH06010121Message implementation guideline identification
      AN
      M必须(Mandatory)
      Min 0 / Max 14

      Coded identification of the message implementation guideline, assigned by its controlling agency.

    • UNH06020122Message implementation guideline version number
      AN
      O可选(Optional)
      Min 0 / Max 3

      Version number of the message implementation guideline.

    • UNH06030124Message implementation guideline release number
      AN
      O可选(Optional)
      Min 0 / Max 3

      Release number within the message implementation guideline version number.

    • UNH06040051Controlling agency, coded
      ID
      O可选(Optional)
      Min 0 / Max 3

      Code identifying a controlling agency.

      Codes (26)
  • UNH07S018SCENARIO IDENTIFICATIONO可选(Optional)
    0127012801300051
    • UNH07010127Scenario identification
      AN
      M必须(Mandatory)
      Min 0 / Max 14

      Code identifying scenario.

    • UNH07020128Scenario version number
      AN
      O可选(Optional)
      Min 0 / Max 3

      Version number of a scenario.

    • UNH07030130Scenario release number
      AN
      O可选(Optional)
      Min 0 / Max 3

      Release number within the scenario version number.

    • UNH07040051Controlling agency, coded
      ID
      O可选(Optional)
      Min 0 / Max 3

      Code identifying a controlling agency.

      Codes (26)