Class TbsTQ1_28

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TbsTQ1_28 = class(TbsHL7Segment)

Description

Timing/quantity The TQ1 segment is used to specify the complex timing of events and actions such as those that occur in order management and scheduling systems. This segment determines the quantity, frequency, priority and timing of a service. By allowing the segment to repeat, it is possible to have service requests that vary the quantity, frequency and priority of a service request over time. Use cases showing when TQ1 may need to repeat: a

Cardiac enzymes STAT and then q 4 hours. b) Streptokinase studies, draw 1st Stat and run Stat, then draw q 4 hours and run Stat. c) Gentamicin 100mg Now and 80mg q12h second dose (First 80mg dose) given exactly 12 hours after the 100mg dose. (Might be 2 service requests.) Activase 15mg bolus Stat then 50mg over 30 minutes, then 35mg over the next 60 minutes. (Might be 2 service requests.) e) Imodium 4mg (2 caps) po initially, then 2mg (1cap) after each unformed stool to a maximum of 16 mg per day. (Might be 2 service requests.) f) Zithromax 500mg (2tabs) po on the first day then 250mg (1tab) po qd for 5 days. (Might be 2 service requests.) g) Zyban (Bupropion) Start 150mg po qam x 3 days, then increase to 150mg po bid for 7 to 12 weeks. h) Colchicine 1mg (2 tabs) po now then 1 tablet q1 to 2 hours until pain relief or undesirable side effects (Diarrhea, GI upset). (Might be 2 service requests.) i) doxycylcine 100mg po bid on the first day then 100mg po qd. j) scopolamine, xxx mg, 1 hour before surgery. Relative time = -1ˆhour, priority = P (preop), or alternately repeat pattern = P1HˆPreop, 1 Hour before Surgeryˆ99LocalCode, Relative time would be empty and priority would be P (preop). )

Hierarchy

Overview

Methods

Public function RepeatPatternRepCount : Integer;
Public function ExplicitTimeRepCount : Integer;
Public function RelativeTimeAndUnitsRepCount : Integer;
Public function PriorityRepCount : Integer;

Properties

Public property SetIdTq1 : TbsSI_28 read GetSetIdTq1 write SetSetIdTq1;
Public property Quantity : TbsCQ_28 read GetQuantity write SetQuantity;
Public property RepeatPattern[RepCount:Integer]: TbsRPT_28 read GetRepeatPattern write SetRepeatPattern;
Public property ExplicitTime[RepCount:Integer]: TbsTM_28 read GetExplicitTime write SetExplicitTime;
Public property RelativeTimeAndUnits[RepCount:Integer]: TbsCQ_28 read GetRelativeTimeAndUnits write SetRelativeTimeAndUnits;
Public property ServiceDuration : TbsCQ_28 read GetServiceDuration write SetServiceDuration;
Public property StartDateTime : TbsDTM_28 read GetStartDateTime write SetStartDateTime;
Public property EndDateTime : TbsDTM_28 read GetEndDateTime write SetEndDateTime;
Public property Priority[RepCount:Integer]: TbsCWE_28 read GetPriority write SetPriority;
Public property ConditionText : TbsTX_28 read GetConditionText write SetConditionText;
Public property TextInstruction : TbsTX_28 read GetTextInstruction write SetTextInstruction;
Public property Conjunction : TbsID_28 read GetConjunction write SetConjunction;
Public property OccurrenceDuration : TbsCQ_28 read GetOccurrenceDuration write SetOccurrenceDuration;
Public property TotalOccurrences : TbsNM_28 read GetTotalOccurrences write SetTotalOccurrences;

Description

Methods

Public function RepeatPatternRepCount : Integer;
 
Public function ExplicitTimeRepCount : Integer;
 
Public function RelativeTimeAndUnitsRepCount : Integer;
 
Public function PriorityRepCount : Integer;
 

Properties

Public property SetIdTq1 : TbsSI_28 read GetSetIdTq1 write SetSetIdTq1;

Set Id - Tq1, Min : 0, Max : 1

Public property Quantity : TbsCQ_28 read GetQuantity write SetQuantity;

Quantity, Min : 0, Max : 1

Public property RepeatPattern[RepCount:Integer]: TbsRPT_28 read GetRepeatPattern write SetRepeatPattern;

Repeat Pattern, Min : 0, Max : *

Public property ExplicitTime[RepCount:Integer]: TbsTM_28 read GetExplicitTime write SetExplicitTime;

Explicit Time, Min : 0, Max : *

Public property RelativeTimeAndUnits[RepCount:Integer]: TbsCQ_28 read GetRelativeTimeAndUnits write SetRelativeTimeAndUnits;

Relative Time And Units, Min : 0, Max : *

Public property ServiceDuration : TbsCQ_28 read GetServiceDuration write SetServiceDuration;

Service Duration, Min : 0, Max : 1

Public property StartDateTime : TbsDTM_28 read GetStartDateTime write SetStartDateTime;

Start Date/Time, Min : 0, Max : 1

Public property EndDateTime : TbsDTM_28 read GetEndDateTime write SetEndDateTime;

End Date/Time, Min : 0, Max : 1

Public property Priority[RepCount:Integer]: TbsCWE_28 read GetPriority write SetPriority;

Priority, Min : 0, Max : *

Public property ConditionText : TbsTX_28 read GetConditionText write SetConditionText;

Condition Text, Min : 0, Max : 1

Public property TextInstruction : TbsTX_28 read GetTextInstruction write SetTextInstruction;

Text Instruction, Min : 0, Max : 1

Public property Conjunction : TbsID_28 read GetConjunction write SetConjunction;

Conjunction, Min : 0, Max : 1

Public property OccurrenceDuration : TbsCQ_28 read GetOccurrenceDuration write SetOccurrenceDuration;

Occurrence Duration, Min : 0, Max : 1

Public property TotalOccurrences : TbsNM_28 read GetTotalOccurrences write SetTotalOccurrences;

Total Occurrences, Min : 0, Max : 1


Generated by PasDoc 0.14.0.