OPD Registration
1. Jsp calls for OPD registration :
([Link])(Implementation country USA )
1.1. On page load of common patient registration , If reference type
is visit notes then it will call --> fetchExistingData().
[Link] ():- a. will get data from getVisitNoterecords() by
reference Id,If response is not null then it will populate the data , else it will
load server date .
b. if reference ID id not null , then according to given roles respective combo boxes will
popullates,else it will call populatePatientDetailsForNewOPD()(In same Jsp).
[Link] on selected country selctInsuranceStore
1.1.2. populatePatientDetailsForNewOPD() :
[Link] fetch by patientID and company ID -->
[Link](patientID,
[Link]('companyID').value,referenceType)
[Link] resp is not null --> populate all data and checked
radiobuttons according to lastPatientType.
[Link] REGULAR button is checked -->
[Link](patientCategory,
[Link]('companyID').value) will fetch data an dset patient category.
[Link] CORPORATE/INSURANCE/TPA/HEALTHCAMP(for other than USA) &
INSURANCE(for USA):will fetch data from -->
[Link]([Link]('companyID').
value, '', patientCategory, 'Insurance').
e. depending on lastBillingCategory approved Teriff will populate.
if([Link][j].json[1] == [Link])
approved Teriff will populate
else approved Teriff will ‘’.
[Link] if referenceType is VISIT_NOTES --> data from
rateCategoryStore will compared to lastCategory data of selected
patient if it is true then set this data to approvedRateCategory.
Else set approvedRateCategory =’’.
1.1.3. [Link]
[Link]
gistration Page sources click on patientName from OPD Dashboard at the time of create
Registration Page sources click on patientName from OPD Dashboard at the time of create Registration Page
sources
click on patientName from OPD Dashboard at the time of create new patient via
regular/appointment
click on registration number in billing header
OnLoad{
check patient profile page for OPD / IPD
if( OPD )
Check implementation country
If ( USA )
design and deveopfunctionality according to USA
else if( INDIA )
design and deveopfunctionality according to INDIA
if( IPD )
Check implementation country
If ( USA ) design and deveopfunctionality according to USA
else if( INDIA )
design and deveopfunctionality according to INDIA
}
create new js file first declare all the combo fields create method for initilization of combo wrote all
the methods in correct sequence .