Previous Page TOC Index Next Page

10.5.5 AIG - appointment information - general resource segment

The AIG segment contains information about various kinds of resources (other than those with specifically defined segments in this chapter) that can be scheduled. Resources included in a transaction using this segment are assumed to be controlled by a schedule on a schedule filler application. Resources not controlled by a schedule are not identified on a schedule request using this segment. Resources described by this segment are general kinds of resources, such as equipment, that are identified with a simple identification code.

Figure 10-7. AIG attributes

SEQ

LEN

DT

R/O/C

RP/#

TBL#

ITEM#

ELEMENT NAME

1

4

SI

R



00896

Set ID - AIG

2

3

ID



0206

00763

Segment Action Code

3

200

CE

C



00897

Resource ID

4

200

CE

R



00898

Resource Type

5

200

CE

O

Y


00899

Resource Group

6

5

NM

O



00900

Resource Quantity

7

200

CE

O



00901

Resource Quantity Units

8

26

TS

C



01202

Start Date/Time

9

20

NM

C



00891

Start Date/Time Offset

10

200

CE

C



00892

Start Date/Time Offset Units

11

20

NM

O



00893

Duration

12

200

CE

O



00894

Duration Units

13

10

IS

C


0279

00895

Allow Substitution Code

14

200

CE

C


0278

00889

Filler Status Code

10.5.5.0 AIG field definitions

10.5.5.1 Set ID - AIG (SI) 00896

Definition: This field contains a number that uniquely identifies the information represented by this segment in this transaction for the purposes of addition, change or deletion.

10.5.5.2 Segment action code (ID) 00763

Definition: This field contains the action to be taken when updating or modifying information in this segment from previously sent interface transactions. Refer to HL7 0206 - Segment action code in Chapter 2, Section 2.23.4.2, "Action code/unique identifier mode update definition," for valid values.

This field is conditionally required. It is required for all updating or modifying trigger events.

10.5.5.3 Resource ID (CE) 00897

Components: <identifier (ST)> ^ <text (ST)> ^ <name of coding system (ST)> ^ <alternate identifier (ST)> ^ <alternate text (ST)> ^ <name of alternate coding system (ST)>

Definition: This field contains the ID number and name of the resource being requested or scheduled for an appointment. This field is used to identify a specific resource being requested, or a specific resource that has been scheduled for an appointment. If the specific resource is not known but the type of resource is, AIG-3-resource type is used to identify the type of resource required or scheduled.

At a minimum, the ID number component should be supplied to identify either the specific resource being requested or the specific resource that has been scheduled. For inter-enterprise communications, for which a shared ID number may not be available, the minimum components required to uniquely identify a resource may be defined by site-specific negotiations.

This field is conditionally required for this segment. In new schedule request messages, it is required if the request asks that a specific resource be scheduled. For all other request messages, the specific resource should be identified if the information is available (either because a specific resource was initially requested, or because the filler application returned the ID of the specific resource that has been scheduled).

This field is required for all unsolicited transactions from the filler application.

This field is optional for all query transactions.

10.5.5.4 Resource type (CE) 00898

Components: <identifier (ST)> ^ <text (ST)> ^ <name of coding system (ST)> ^ <alternate identifier (ST)> ^ <alternate text (ST)> ^ <name of alternate coding system (ST)>

Definition: This field identifies the role of the resource requested/scheduled for this appointment. For requests, if a specific resource is not identified in AIG-2-resource ID, then this field identifies the type of resource that should be scheduled by the filler application. At a minimum, the type of the identifier component should be valued.

10.5.5.5 Resource group (CE) 00899

Components: <identifier (ST)> ^ <text (ST)> ^ <name of coding system (ST)> ^ <alternate identifier (ST)> ^ <alternate text (ST)> ^ <name of alternate coding system (ST)>

Definition: This field identifies the requested resource as a member of the indicated group. If, in a Schedule Request Message (SRM), no specific resource is requested, but a resource type is requested, this field can be used to further qualify the type of resource being requested.

10.5.5.6 Resource quantity (NM) 00900

Definition: This field contains the quantity of the specified resource or resource type identified in either or both of the preceding two fields. If it is not valued, this field defaults to a value of one (1).

10.5.5.7 Resource quantity units (CE) 00901

Components: <identifier (ST)> ^ <text (ST)> ^ <name of coding system (ST)> ^ <alternate identifier (ST)> ^ <alternate text (ST)> ^ <name of alternate coding system (ST)>

Definition: This field contains the units of the resource requested, whose quantity is given in the preceding field. This field should be valued according to the recommendations in Chapters 2 and 7. If this field is not valued, the unit of each (code "ea") will be assumed. Refer to Chapter 7, Figures 7-10 through 7-13, for a list of ISO and ANSI+ unit codes.

10.5.5.8 Start date/time (TS) 01202

Definition: This field contains the date and time this service needs for the appointment. This field allows the application to identify that the service is required for the appointment at a different time than the appointment’s start date/time

This field is conditionally required. If a value for AIG-8-start date/time offset is not provided, then a value is required for this field. To specify that there is no difference between the appointment’s start date/time and the resource’s start date/time either replicate the appointment’s start date/time into this field, or specify an offset of zero (0) in AIG-8-start date/time offset and any valid time unit code in AIG-9-start date/time offset units.

10.5.5.9 Start date/time offset (NM) 00891

Definition: This field contains the offset that this resource needs for the appointment, expressed in units of time relative to the scheduled start date/time. This field indicates to the application that the resource is required for the appointment at a different time than the appointment’s start date/time. The first component indicates the offset amount. An offset of zero (0), or an unvalued field, indicates that the resource is required at the start date/time of the appointment.

A positive offset (an unsigned or positive number) indicates that the resource is required after the appointment’s start date/time. Specifying a negative offset indicates that the resource is required prior to the specified start date/time of the appointment. Negative offsets are allowed, and sites should clearly define the effect of a negative offset on the appointment’s start date/time.

This field is conditionally required. If a value for AIG-7-start date/time is not provided, then a value is required for this field. To specify that there is no difference between the appointment’s start date/time and the resource’s start date/time either replicate the appointment’s start date/time into this field, or specify an offset of zero (0) in AIG-8-start date/time offset and any valid time unit code in AIG-9-start date/time offset units.

10.5.5.10 Start date/time offset units (CE) 00892

Components: <identifier (ST)> ^ <text (ST)> ^ <name of coding system (ST)> ^ <alternate identifier (ST)> ^ <alternate text (ST)> ^ <name of alternate coding system (ST)>

Definition: This field contains a code describing the units of time used for expressing AIG-8-start date/time offset . This field should be valued according to the recommendations made in Chapters 2 and 7. If this field is not valued, the ISO base unit of seconds (code "s") will be assumed. Refer to Chapter 7, Figures 7-10 through 7-13, for a list of ISO and ANSI+ unit codes.

This field is conditionally required. If a value for AIG-8-start date/time offset is provided, then a value is required for this field.

10.5.5.11 Duration (NM) 00893

Definition: This field contains the duration for which the resource is requested/scheduled for this appointment, if it is different than the overall duration of the requested/scheduled appointment. This field indicates to the application that a resource is required for a different amount of time than the appointment’s overall duration. An unvalued duration indicates that the resource is required from its start date/time offset (specified in the previous two fields) until the end of the appointment. If no start date/time offset is specified, then the resource is required for the full duration of the appointment.

This field must be a positive, non-zero number. A negative number or zero (0) is nonsensical in the context of a duration.

10.5.5.12 Duration units (CE) 00894

Components: <identifier (ST)> ^ <text (ST)> ^ <name of coding system (ST)> ^ <alternate identifier (ST)> ^ <alternate text (ST)> ^ <name of alternate coding system (ST)>

Definition: This field contains a code describing the units of time used for expressing the Duration field. This field should be valued according to the recommendations in Chapters 2 and 7. If this field is not valued, the ISO base unit of seconds (code "s") will be assumed. Refer to Chapter 7, Figures 7-10 through 7-13, for a list of ISO and ANSI+ unit codes.

10.5.5.13 Allow substitutions code (IS) 00895

Definition: This field contains a code indicating whether the identified resource can be substituted with an equivalent resource by the filler application. Refer to user-defined table 0279 - Allow substitution codes for suggested codes.

This field is conditionally required. It is required for all request messages. It is optional for all unsolicited transactions, and for all query messages.

10.5.5.14 Filler status code (CE) 00889

Components: <identifier (ST)> ^ <text (ST)> ^ <name of coding system (ST)> ^ <alternate identifier (ST)> ^ <alternate text (ST)> ^ <name of alternate coding system (ST)>

Definition: This field contains a code that describes the requested/scheduled status of scheduling resource or activity, from the point of view of the filler application. Refer to user-defined table 0278 - Filler status codes for suggested codes.

This is a conditionally required field. Because the information contained in this field is only appropriate in transactions originating from a filler application, it is required for those messages. This includes all unsolicited transactions originating from a filler application, as well as all response messages originating from a filler application. This field is optional for all transactions originating from placer, querying and auxiliary applications. It is recommended that this field be left unvalued in transactions originating from applications other than the filler application.

Previous Page TOC Index Next Page