visit the hl7 website The Demo site for our new HL7 Version 2+ (plus) Standard

18.8.12 APR - Appointment Preferences Segment (10.6.8)

The APR segment contains parameters and preference specifications used for requesting appointments in the SRM message. It allows placer applications to provide coded parameters and preference indicators to the filler application, to help determine when a requested appointment should be scheduled. An APR segment can be provided in conjunction with either the ARQ segment or any of the service and resource segments (AIG, AIS, AIP, and AIL). If an APR segment appears in conjunction with an ARQ segment, its parameters and preference indicators pertain to the schedule request as a whole. If the APR segment appears with any of the service and resource segments, then its parameters and preferences apply only to the immediately preceding service or resource.

HL7 Attribute Table - APR - Appointment Preferences

Base Framework
Seq#Data ElementDescriptionFlagsImplementCardinalityLengthC.LENVocabularyData Type
APR
100908Time Selection Criteria MAY[0..*] repr: TimeSelectionCriteriaParameterClassCodes (CD)
SCV

Scheduling Class Value Pair

200909Resource Selection Criteria MAY[0..*] repr: TimeSelectionCriteriaParameterClassCodes (CD)
SCV

Scheduling Class Value Pair

300910Location Selection Criteria MAY[0..*] repr: TimeSelectionCriteriaParameterClassCodes (CD)
SCV

Scheduling Class Value Pair

400911Slot Spacing Criteria
=

Truncation not allowed!

MAY[0..1] 5
NM

Numeric

500912Filler Override Criteria MAY[0..*] 
SCV

Scheduling Class Value Pair

Seq#Data ElementDescriptionFlagsImplementCardinalityLengthC.LENVocabularyData Type
APR
100908Time Selection Criteria MAY[0..*] repr: TimeSelectionCriteriaParameterClassCodes (CD) hl7VS-timeSelectionCriteriaParameterClassCodes (VS) timeSelectionCriteriaParameterClass (CS)
SCV

Scheduling Class Value Pair

200909Resource Selection Criteria MAY[0..*] repr: TimeSelectionCriteriaParameterClassCodes (CD) hl7VS-timeSelectionCriteriaParameterClassCodes (VS) timeSelectionCriteriaParameterClass (CS)
SCV

Scheduling Class Value Pair

300910Location Selection Criteria MAY[0..*] repr: TimeSelectionCriteriaParameterClassCodes (CD) hl7VS-timeSelectionCriteriaParameterClassCodes (VS) timeSelectionCriteriaParameterClass (CS)
SCV

Scheduling Class Value Pair

400911Slot Spacing Criteria
=

Truncation not allowed!

MAY[0..1] 5
NM

Numeric

500912Filler Override Criteria MAY[0..*] 
SCV

Scheduling Class Value Pair

Base FrameworkBase Standard Profile
Seq#Data ElementDescriptionFlagsImplementCardinalityLengthC.LENVocabularyData TypeImplementVocabulary
APR 
100908Time Selection Criteria MAY[0..*] repr: TimeSelectionCriteriaParameterClassCodes (CD)
SCV

Scheduling Class Value Pair

MAYhl7VS-timeSelectionCriteriaParameterClassCodes (VS) timeSelectionCriteriaParameterClass (CS)
200909Resource Selection Criteria MAY[0..*] repr: TimeSelectionCriteriaParameterClassCodes (CD)
SCV

Scheduling Class Value Pair

MAYhl7VS-timeSelectionCriteriaParameterClassCodes (VS) timeSelectionCriteriaParameterClass (CS)
300910Location Selection Criteria MAY[0..*] repr: TimeSelectionCriteriaParameterClassCodes (CD)
SCV

Scheduling Class Value Pair

MAYhl7VS-timeSelectionCriteriaParameterClassCodes (VS) timeSelectionCriteriaParameterClass (CS)
400911Slot Spacing Criteria
=

Truncation not allowed!

MAY[0..1] 5
NM

Numeric

MAY
500912Filler Override Criteria MAY[0..*] 
SCV

Scheduling Class Value Pair

MAY
Base Framework Base Standard Profile
Seq# Data Element Description Flags Optionality Repetition Length C.LEN Table Data Type Optionality Table
APR  
1 00908 Time Selection Criteria   O Y    
SCV

Scheduling Class Value Pair

  (0294)
2 00909 Resource Selection Criteria   O Y    
SCV

Scheduling Class Value Pair

  (0294)
3 00910 Location Selection Criteria   O Y    
SCV

Scheduling Class Value Pair

  (0294)
4 00911 Slot Spacing Criteria   O     5=  
NM

Numeric

   
5 00912 Filler Override Criteria   O Y    
SCV

Scheduling Class Value Pair

   
Seq# Data Element Description Optionality Repetition Length C.LEN Table Data Type
APR
1 00908 Time Selection Criteria O Y   (0294)
SCV

Scheduling Class Value Pair

2 00909 Resource Selection Criteria O Y   (0294)
SCV

Scheduling Class Value Pair

3 00910 Location Selection Criteria O Y   (0294)
SCV

Scheduling Class Value Pair

4 00911 Slot Spacing Criteria O     5=  
NM

Numeric

5 00912 Filler Override Criteria O Y    
SCV

Scheduling Class Value Pair

18.8.12.1 APR Field Definitions (10.6.8.0)

18.8.12.2 APR-1 Time Selection Criteria (SCV) 00908 (10.6.8.1)

Definition: This field is used to communicate parameters and preferences to the filler application regarding the selection of an appropriate time slot for an appointment. The first component of this field is a code identifying the parameter or preference being passed to the filler application. The second component is the actual data value for that parameter.

For example, if a filler application allows preference parameters to be passed to specify a preferred start time, a preferred end time, and preferred days of the week for the appointment, it may define the parameter class codes and valid data sets based on suggested codes from User-defined Table 0294 - Time Selection Criteria Parameter Class Codes in Chapter 2C, Code Tables, for suggested values.

Given the set of parameter class codes and valid value sets from User-Defined table 0294, a placer may indicate a preferred start time of 8:00 AM on Monday, Wednesday or Friday by specifying the following in APR-1 Time Selection Criteria:

...|PREFSTART^0800~MON^OK~WED^OK~FRI^OK~TUE^NO~THU^NO~SAT^NO~SUN^NO|...

The valid set of preferences should be determined by the placer and filler applications during implementation of the interface.

18.8.12.3 APR-2 Resource Selection Criteria (SCV) 00909 (10.6.8.2)

Definition: This field is used to communicate parameters and preferences to the filler application regarding the selection of an appropriate resource for an appointment. The first component of this field is a code identifying the parameter or preference being passed to the filler application. The second component is the actual data value for that parameter.

Refer to Section 10.6.8.1, "APR-1 Time Selection Criteria (SCV) 00908," for an example illustrating how this mechanism works within an interface.

The valid set of preferences should be determined by the placer and filler applications during implementation of the interface. Refer to User-defined Table 0294 - Time Selection Criteria Parameter Class Codes in Chapter 2C, Code Tables, for suggested examples.

18.8.12.4 APR-3 Location Selection Criteria (SCV) 00910 (10.6.8.3)

Definition: This field is used to communicate parameters and preferences to the filler application regarding the selection of an appropriate location for the appointment. The first component of this field is a code identifying the parameter or preference being passed to the filler application. The second component is the actual data value for that parameter.

Refer to Section 10.6.8.1, "APR-1 Time Selection Criteria (SCV) 00908," for an example illustrating how this mechanism works within an interface.

The valid set of preferences should be determined by the placer and filler applications during implementation of the interface. Refer to User-defined Table 0294 - Time Selection Criteria Parameter Class Codes in Chapter 2C, Code Tables, for suggested examples.

18.8.12.5 APR-4 Slot Spacing Criteria (NM) 00911 (10.6.8.4)

Definition: This field is used in queries returning lists of possible appointment slots, or other lists of slots. If the filler application allows it, the querying application may indicate the spacing of the slots returned to the querying application, in relation to the requested start date/time in the ARQ segment. The value in this field should be a positive integer, representing the number of minutes between slot starting times that is returned in the query.

For example, if there is a request that an appointment with a duration of 1.5 hours be scheduled some time between 9:00 AM and 11:30 AM, and the APR-4 Slot Spacing Criteria field contains a value of 15, then the list of slots returned should read as follows:

9:00 - 10:309:15 - 10:459:30 - 11:009:45 - 11:1510:00 - 11:30

18.8.12.6 APR-5 Filler Override Criteria (SCV) 00912 (10.6.8.5)

Definition: This field is used to communicate override parameters to the filler application. These override parameters allow placer applications to override specific features of filler applications such as conflict checking. It is assumed that the placer and filler applications will pass enough information to determine whether the requestor is allowed to override such features. This chapter does not provide any security or permission information.

The first component of this field is a code identifying the parameter being passed to the filler application. The second component is the actual data value for that parameter.

Refer to Section 10.6.8.1, "APR-1 Time Selection Criteria (SCV) 00908," for an example illustrating how this mechanism works within an interface.

The valid set of parameters should be determined by the placer and filler applications during implementation of the interface.