Generic SGPV2 Business Object

The SGPV2 Business Object is a representation of the HL7 V2.4 SGPV2 segment.

Business object structure

The generic SGPV2 business object is a hierarchical business object. Each of its attributes is either an HL7 datatype business object or a native type.

SGPV2 includes the following attributes:  

Business object attributes
Name Type Key Cardinality Comment
Prior_Pending_Location DTPL TRUE 1 Prior Pending location
Accommodation_Code DTCE FALSE 1 Specific patient accommodations for this visit - Refer to User-defined table 0129
Admit_Reason DTCE FALSE 1 Reason for patient admission
Transfer_Reason DTCE FALSE 1 Reason for patient location change
Patient_Valuables DTArrayUnit_ST FALSE n Patient valuables checked in during admission
Patient_Valuables_Location String FALSE 1 Location of the patient's valuables
Visit_User_Code DTArray_IS FALSE n Patient's visit with respect to an individual institution's needs - Refer to User-defined table 0130
Expected_Admit_Date_Time DTTS FALSE 1 Date and time the patient is expected to be admitted
Expected_Discharge_Date_Time DTTS FALSE 1 Date and time the patient is expected to be discharged
Estimated_Length_Of_Inpatient_Stay Float FALSE 1 Estimated days of inpatient stays
Actual_Length_Of_Inpatient_Stay Float FALSE 1 Number of days of inpatient stays
Visit_Description String FALSE 1 Description of the visit
Referral_Source_Code DTXCN FALSE n Name and identification numbers of the person or organization that made the referral
Previous_Service_Date String FALSE 1 Date of previous service for the same recurring condition
Employment_Illness_Related_Indicator String FALSE 1 Indiactes a patient's illness was job-related. Refer to HL7 table 0136
Purge_Status_Code String FALSE 1 Purge status code for the account - Refer to User-defined table 0213
Purge_Status_Date String FALSE 1 Date on which the data will be purged from the system
Special_Program_Code String FALSE 1 Specific health insurance program - Refer to User-defined table 0214
Retention_Indicator String FALSE 1 Demographic and financial data- Refer to HL7 table 0136
Expected_Number_Of_Insurance_Plans Float FALSE 1 Number of insurance plans that may provide coverage for this visit
Visit_Publicity_Code String FALSE 1 Code indicating level of publicity is allowed - Refer to User-defined table 0215
Visit_Protection_Code String FALSE 1 Protection code- Refer to HL7 table 0136
Clinic_Organization_Name DTXON FALSE n Organization name or sub-unit and identifier that is associated with the visit
Patient_Status_Code String FALSE 1 Status of the episode of care- Refer to User-defined table 0216
Visit_Priority_Code String FALSE 1 Priority of the visit- Refer to User-defined table 0217
Previous_Treatment_Date String FALSE 1 Date that the patient last had treatment
Expected_Discharge_Disposition String FALSE 1 Patient's disposition - Refer to User-defined table 0112
Signature_On_File_Date String FALSE 1 Date on which a signature was obtained for insurance billing purposes
First_Similar_Illness_Date String FALSE 1 Pre-exisiting condition indicator
Patient_Charge_Adjustment_Code DTCE FALSE 1 Code that indicates which adjustments should be made to this patient's charges - Refer to User-defined table 0218
Recurring_Service_Code String FALSE 1 Indicates if treatment is continuous - Refer to User-defined table 0219
Billing_Media_Code String FALSE 1 Indicates if account is to be rejected from tape billing. Refer to HL7 table 0136
Expected_Surgery_Date_And_Time DTTS FALSE 1 Date and time on which the surgery is expected to occur
Military_Partnership_Code String FALSE 1 Military healthcare facility has contracted with a non-military healthcare facility for the use of its services - Refer to HL7 table 0136
Military_Nonavailability_Code String FALSE 1 Indicates if patient has permission to use a non-military healthcare facility for treatment - Refer to HL7 table 0136
Newborn_Baby_Indicator String FALSE 1 Indicates whether the patient is a baby- Refer to HL7 table 0136
Baby_Detained_Indicator String FALSE 1 Indicates if baby is detained after the mother's discharge - Refer to HL7 table 0136
Mode_Of_Arrival_Code DTCE FALSE 1 Identifies patient was brought to the healthcare facility - Refer to User-defined table 0430
Recreational_Drug_Use_Code DTCE FALSE n Indicates what recreational drugs the patient uses - Refer to User-defined table 0431
Admission_Level_Of_Care_Code DTCE FALSE 1 Indicates the acuity level assigned at the time of admission - Refer to User-defined table 0432
Precaution_Code DTCE FALSE n Non-clinical precautions that need to be taken with the patient - Refer to User-defined table 0433
Patient_Condition_Code DTCE FALSE 1 Patient's current medical condition- Refer to User-defined table 0434
Living_Will_Code String FALSE 1 Indicates if patient has a living will - Refer to User-defined table 0315
Organ_Donor_Code String FALSE 1 Indicates if patient wants to donate his/her organs - Refer to User-defined table 0316
Advance_Directive_Code DTCE FALSE n Patient's instructions to the healthcare facility - Refer to User-defined table 0435
Patient_Status_Effective_Date String FALSE 1 Eeffective date for patient status
Expected_LOA_Return_Date_And_Time DTTS FALSE 1 Date and time that the patient is expected to return from a leave of absence
ObjectEventId String FALSE 1

Supported verbs

The generic SGPV2 business object supports the following verbs:

Examining the object

To examine a listing of the attributes of the generic business object, use IBM WebSphere Interchange Server System Manager or IBM WebSphere Interchange Server Business Object Designer.

Related reference

For more information on related business objects, see the following documents:

  • Generic DTPL Business Object
  • Generic DTCE Business Object
  • Generic DTArrayUnit_ST Business Object
  • Generic DTArray_IS Business Object
  • Generic DTTS Business Object
  • Generic DTXCN Business Object
  • Generic DTXON Business Object
  • Copyright IBM Corp. 2002, 2003