Functional Description
Purpose
This named ER will determine if an employee is a US citizen and enrolled in a major medical policy as
of the date passed in. If it is determined that an employee is should receive the HIPAA letter, a
record is written to a file using the functions within B0500029. The application P980013 is called and
a HIPAA letter is generated. If the employee is not HIPAA-eligible , no records are written to the
file and no HIPAA letter is generated.
Setup Notes and Prerequisites
Special Logic
Technical Specification
Source Data Structure
Parameters
Data Item Data Structure DescriptionI/OReqNotes
AN8szAddressNumberIyThe address book number of the employee.
DTjdDateTerminatedInThe date that the employee was terminated
OBNMszDocumentNameIyThe COBRA document name.
Related Tables
Table Table Description
F060116Employee Master Infromation
F08330Employee Enrollment
F0101Address Book Master
F08320Benefits Plan
Master
F08336Dep/Ben to Employee plan x-ref
Related Business Functions
Table Table Description
B0500029Open Data File
B0500029Write HIPAA Data
B0500029Close Data File
Special Logic
Technical Specifications
Create HIPAA Letter
1.0Open the HIPAA data file to be created
2.0Fetch from F060116 and retrieve the country in which the employee resides.
3.0If the Country code is US - process all benefit plans for that employee
3.3 If the fetch is success, check to see if the enrollment is effective as of termination date
3.3.3Check to see the difference between one plan and the other
3.3.4If this difference is less than or equal to 63 days then write HIPAA letter for all the plans that the employee was in. Else
write HIPAA Letter only for the most recent plan.
4.2.3Fetch from F0101 and get the benefit providers name.
4.2.4Check to see the difference between one plan and the other
4.2.5If this difference is less than or equal to 63 days then write HIPAA letter for all the plans that the employee was in. Else
write HIPAA Letter only for the most recent plan.
4.2.6Write the HIPAA letter
6.0Store the document in P980013
D0800093 - Create HIPAA Letter
Parameters
Data Item Data Structure DescriptionI/OReqNotes
AN8szAddressNumberIyThe address book number of the employee.
DTjdDateTerminatedInThe date that the employee was terminated
OBNMszDocumentNameIyThe COBRA document name.
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
mnAddressNumber | AN8 | MATH_NUMERIC | OPT | NONE |
Data Item ab Data Structure Descriptionab I/Oab Reqab Notes | ||||
jdDateTerminated | DT | JDEDATE | OPT | NONE |
Data Item ab Data Structure Descriptionab I/Oab Reqab Notes | ||||
szNameObject | OBNM | char | OPT | NONE |
Data Item ab Data Structure Descriptionab I/Oab Reqab Notes |
None |
None |