-
Notifications
You must be signed in to change notification settings - Fork 3
/
dump.sql
executable file
·2354 lines (2033 loc) · 66.6 KB
/
dump.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
--
-- PostgreSQL database dump
--
-- Dumped from database version 9.6.5
-- Dumped by pg_dump version 9.6.5
SET statement_timeout = 0;
SET lock_timeout = 0;
SET idle_in_transaction_session_timeout = 0;
SET client_encoding = 'UTF8';
SET standard_conforming_strings = on;
SET check_function_bodies = false;
SET client_min_messages = warning;
SET row_security = off;
--
-- Name: plpgsql; Type: EXTENSION; Schema: -; Owner:
--
CREATE EXTENSION IF NOT EXISTS plpgsql WITH SCHEMA pg_catalog;
--
-- Name: EXTENSION plpgsql; Type: COMMENT; Schema: -; Owner:
--
COMMENT ON EXTENSION plpgsql IS 'PL/pgSQL procedural language';
SET search_path = public, pg_catalog;
SET default_tablespace = '';
SET default_with_oids = false;
--
-- Name: tbllab; Type: TABLE; Schema: public; Owner: postgres
--
CREATE TABLE tbllab (
lookup integer NOT NULL,
cost numeric(11,0),
id integer NOT NULL
);
ALTER TABLE tbllab OWNER TO postgres;
--
-- Name: tbllab_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--
CREATE SEQUENCE tbllab_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER TABLE tbllab_id_seq OWNER TO postgres;
--
-- Name: tbllab_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
--
ALTER SEQUENCE tbllab_id_seq OWNED BY tbllab.id;
--
-- Name: tbllablookup; Type: TABLE; Schema: public; Owner: postgres
--
CREATE TABLE tbllablookup (
id integer NOT NULL,
name character varying(255)
);
ALTER TABLE tbllablookup OWNER TO postgres;
--
-- Name: tbllablookup_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--
CREATE SEQUENCE tbllablookup_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER TABLE tbllablookup_id_seq OWNER TO postgres;
--
-- Name: tbllablookup_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
--
ALTER SEQUENCE tbllablookup_id_seq OWNED BY tbllablookup.id;
--
-- Name: tblmenu; Type: TABLE; Schema: public; Owner: postgres
--
CREATE TABLE tblmenu (
parent integer,
siblings integer,
name character varying(45),
icon character varying(45),
id integer NOT NULL,
url character varying(255),
role character varying(2)
);
ALTER TABLE tblmenu OWNER TO postgres;
--
-- Name: tblmenu_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--
CREATE SEQUENCE tblmenu_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER TABLE tblmenu_id_seq OWNER TO postgres;
--
-- Name: tblmenu_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
--
ALTER SEQUENCE tblmenu_id_seq OWNED BY tblmenu.id;
--
-- Name: tblpatient; Type: TABLE; Schema: public; Owner: postgres
--
CREATE TABLE tblpatient (
dob date,
name character varying(255),
id integer NOT NULL
);
ALTER TABLE tblpatient OWNER TO postgres;
--
-- Name: tblpatient_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--
CREATE SEQUENCE tblpatient_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER TABLE tblpatient_id_seq OWNER TO postgres;
--
-- Name: tblpatient_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
--
ALTER SEQUENCE tblpatient_id_seq OWNED BY tblpatient.id;
--
-- Name: tblprocedure; Type: TABLE; Schema: public; Owner: postgres
--
CREATE TABLE tblprocedure (
lookup integer NOT NULL,
cost numeric(11,0),
id integer NOT NULL
);
ALTER TABLE tblprocedure OWNER TO postgres;
--
-- Name: tblprocedure_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--
CREATE SEQUENCE tblprocedure_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER TABLE tblprocedure_id_seq OWNER TO postgres;
--
-- Name: tblprocedure_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
--
ALTER SEQUENCE tblprocedure_id_seq OWNED BY tblprocedure.id;
--
-- Name: tblprocedurelookup; Type: TABLE; Schema: public; Owner: postgres
--
CREATE TABLE tblprocedurelookup (
id integer NOT NULL,
name character varying(255)
);
ALTER TABLE tblprocedurelookup OWNER TO postgres;
--
-- Name: tblprocedurelookup_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--
CREATE SEQUENCE tblprocedurelookup_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER TABLE tblprocedurelookup_id_seq OWNER TO postgres;
--
-- Name: tblprocedurelookup_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
--
ALTER SEQUENCE tblprocedurelookup_id_seq OWNED BY tblprocedurelookup.id;
--
-- Name: tblservicereq; Type: TABLE; Schema: public; Owner: postgres
--
CREATE TABLE tblservicereq (
id integer NOT NULL,
serial_num character varying(50),
status boolean,
type character varying(50),
patient integer,
remarks character varying(255),
date_done bigint,
date_req bigint,
service integer
);
ALTER TABLE tblservicereq OWNER TO postgres;
--
-- Name: tblservicereq_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--
CREATE SEQUENCE tblservicereq_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER TABLE tblservicereq_id_seq OWNER TO postgres;
--
-- Name: tblservicereq_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
--
ALTER SEQUENCE tblservicereq_id_seq OWNED BY tblservicereq.id;
--
-- Name: tblusers; Type: TABLE; Schema: public; Owner: postgres
--
CREATE TABLE tblusers (
password character varying(255),
role character varying(50),
name character varying(50),
id integer NOT NULL,
username character varying(50),
ban boolean DEFAULT false
);
ALTER TABLE tblusers OWNER TO postgres;
--
-- Name: tblusers_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--
CREATE SEQUENCE tblusers_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER TABLE tblusers_id_seq OWNER TO postgres;
--
-- Name: tblusers_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
--
ALTER SEQUENCE tblusers_id_seq OWNED BY tblusers.id;
--
-- Name: tblxray; Type: TABLE; Schema: public; Owner: postgres
--
CREATE TABLE tblxray (
lookup integer NOT NULL,
cost numeric(11,0),
id integer NOT NULL
);
ALTER TABLE tblxray OWNER TO postgres;
--
-- Name: tblxray_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--
CREATE SEQUENCE tblxray_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER TABLE tblxray_id_seq OWNER TO postgres;
--
-- Name: tblxray_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
--
ALTER SEQUENCE tblxray_id_seq OWNED BY tblxray.id;
--
-- Name: tblxraylookup; Type: TABLE; Schema: public; Owner: postgres
--
CREATE TABLE tblxraylookup (
id integer NOT NULL,
name character varying(255)
);
ALTER TABLE tblxraylookup OWNER TO postgres;
--
-- Name: tblxraylookup_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
--
CREATE SEQUENCE tblxraylookup_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER TABLE tblxraylookup_id_seq OWNER TO postgres;
--
-- Name: tblxraylookup_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
--
ALTER SEQUENCE tblxraylookup_id_seq OWNED BY tblxraylookup.id;
--
-- Name: tbllab id; Type: DEFAULT; Schema: public; Owner: postgres
--
ALTER TABLE ONLY tbllab ALTER COLUMN id SET DEFAULT nextval('tbllab_id_seq'::regclass);
--
-- Name: tbllablookup id; Type: DEFAULT; Schema: public; Owner: postgres
--
ALTER TABLE ONLY tbllablookup ALTER COLUMN id SET DEFAULT nextval('tbllablookup_id_seq'::regclass);
--
-- Name: tblmenu id; Type: DEFAULT; Schema: public; Owner: postgres
--
ALTER TABLE ONLY tblmenu ALTER COLUMN id SET DEFAULT nextval('tblmenu_id_seq'::regclass);
--
-- Name: tblpatient id; Type: DEFAULT; Schema: public; Owner: postgres
--
ALTER TABLE ONLY tblpatient ALTER COLUMN id SET DEFAULT nextval('tblpatient_id_seq'::regclass);
--
-- Name: tblprocedure id; Type: DEFAULT; Schema: public; Owner: postgres
--
ALTER TABLE ONLY tblprocedure ALTER COLUMN id SET DEFAULT nextval('tblprocedure_id_seq'::regclass);
--
-- Name: tblprocedurelookup id; Type: DEFAULT; Schema: public; Owner: postgres
--
ALTER TABLE ONLY tblprocedurelookup ALTER COLUMN id SET DEFAULT nextval('tblprocedurelookup_id_seq'::regclass);
--
-- Name: tblservicereq id; Type: DEFAULT; Schema: public; Owner: postgres
--
ALTER TABLE ONLY tblservicereq ALTER COLUMN id SET DEFAULT nextval('tblservicereq_id_seq'::regclass);
--
-- Name: tblusers id; Type: DEFAULT; Schema: public; Owner: postgres
--
ALTER TABLE ONLY tblusers ALTER COLUMN id SET DEFAULT nextval('tblusers_id_seq'::regclass);
--
-- Name: tblxray id; Type: DEFAULT; Schema: public; Owner: postgres
--
ALTER TABLE ONLY tblxray ALTER COLUMN id SET DEFAULT nextval('tblxray_id_seq'::regclass);
--
-- Name: tblxraylookup id; Type: DEFAULT; Schema: public; Owner: postgres
--
ALTER TABLE ONLY tblxraylookup ALTER COLUMN id SET DEFAULT nextval('tblxraylookup_id_seq'::regclass);
--
-- Data for Name: tbllab; Type: TABLE DATA; Schema: public; Owner: postgres
--
COPY tbllab (lookup, cost, id) FROM stdin;
33 12 34
2 5 35
4 33 36
\.
--
-- Name: tbllab_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
--
SELECT pg_catalog.setval('tbllab_id_seq', 36, true);
--
-- Data for Name: tbllablookup; Type: TABLE DATA; Schema: public; Owner: postgres
--
COPY tbllablookup (id, name) FROM stdin;
1 24hr Urine for Protein
2 2 Hour Post Prandial Blood Glucose
3 24hr Urine for Protein
4 Alanine Aminotransferase (ALT)
5 Alpha Amylase (Serum / Urine)
6 Alpha-Fetoprotein (AFP)
7 Ap-Prothrombin Time
8 Arterial Blood Gas (ABG )
9 Aspartate Aminotransferase (AST)
10 B/F For Malaria Parasites
11 Barium Enema
12 Barium Meal
13 Barium Meal & Follow Through
14 Barium Swallow
15 Bilirubin
16 Bleeding And Clotting Time
17 Blood For C/S
18 Blood Grouping
19 Blood Grouping & Antibody Screen
20 Blood Parasites
21 Blood Urea
22 Blood Urea & Electrolytes
23 Bone Marrow - Trephine Biopsy
24 Bone Marrow Aspirate
25 Bue & Creatinine
26 Carcino Embryonic Antigen (CEA)
27 Cerebrospinal Fluid For C/S
28 Clusters Of Differentiation Cells (CD4)
29 Coombs Test (Direct)
30 Creatine Kinase - Mb (CK - Mb)
31 Creatine Kinase (CK)
32 CSF Latex Agglutination
33 CT Scan - 1 Region + 2 Contrast
34 CT Scan - 1 Region + 1IV Contrast
35 CT Scan - 1 Region + No Contrast
36 Cystogram
37 Cytology
38 Digoxin Level
39 Dihydroxy Epiandesterone Sulphate ( Dhea-S)
40 Doppler Scan
41 Ductologram/Galactographyy
42 ECG
43 Erythrocyte Sedimentation Rate (ESR)
44 Estrogen
45 Factor IX
46 Factor VIII
47 Fasting Blood Sugar / Random Blood Sugar
48 Fistulogram
49 Follicle Stimulating Hormone (FSH)
50 FT3
51 FT4
52 Full Blood Count FBC (Auto) & Film Comment
53 Full Blood Count FBC (Automation)
54 Full Blood Count With Film Comment (Manual)
55 Fungal Cultures
56 Gamma Glutamyl Transferase (GGT)
57 Glucose-6-Phosphate Dehydrogenase (G6PD)
58 Glycosylated Haemoglobin (HBA 1C)
59 Haemoglobin A2 & F Estimation
60 Haemoglobin Electrophoresis
61 Haemoglobin Estimation (HB)
62 HDL - Cholesterol
63 Helicobacter Pylori Test
64 Hepatitis B Surface Antigen ( HBSAG) HBV
65 Hepatitis B Virus Profile (HBV Profile)
66 High Vaginal Swab For C/S
67 High Vaginal Swab Routine Examination
68 Histopathology
69 Human Immunodeficiency Virus (HIV) Confirmation
70 Human Immunodeficiency Virus (HIV) Screening
71 Hysterosalpingogram
72 Immunostaining
73 Intravenous Urography
74 LDL - Cholesterol
75 LFT
76 Lipid Profile
77 Lupus Erythematosus Cell (Le Cell)
78 Luteinizing Hormone ( LH)
79 Mammogram
80 Miscelllaneous Cultures (Fluids, Aspirates & Exudates)
81 MRI - 1 Region + Contrast
82 MRI - 1 Region + No Contrast
83 Myelogram - 1 Region
84 Oral Glucose Tolerance Test (OGTT)
85 Orthopanthomograph (OPT)
86 Pancreatic Amylase
87 Pap Smear/Fine Needle Aspiration
88 Percutaneous Biopsy - CT Scan Guide
89 Percutaneous Biopsy - Flouroscopic Guide
90 Plain X-ray Musculoskeletal- any one region
91 Plain X-ray Musculoskeletal- Two region
92 Plasma Cortisol
93 Pregnancy Test
94 Progesterone ( Prog )
95 Prostate Specific Antigen ( PSA )
96 Prothrombin Time
97 Reticulocyte Count (Retics)
98 Rheumatoid Factor
99 Routine Stool Examination
100 Routine Urine Examination
101 Serum Adrenocorticotropic Hormone ( ACTH)
102 Serum Albumin
103 Serum Alkalne Phosphatase (ALP)
104 Serum Beta-Human Chorionic Gonadotropin ( HCG)
105 Serum Calcium
106 Serum Creatinine
107 Serum Electrolyte (Na+, K+)
108 Serum Ferritin
109 Serum Iron (Fe)
110 Serum Lactate Dehydrogenase (LDH)
111 Serum Prolactin ( PRL)
112 Serum Total Protein
113 Serum Triglyceride
114 Serum Uric Acid
115 Sialogram
116 Sickling Test
117 Skin Scrapping For Fungal Elements
118 Skin Snip
119 Stool C/S
120 Stool For Occult Blood
121 T3
122 T4
123 Testosterone
124 Thyroid Function Test (TSH)
125 Thyroid Profile
126 Total Iron Binding Capacity (TIBC)
127 Total Serum Cholesterol
128 Trophozoite Count
129 Troponin
130 Ultrasound
131 Ultrasound - 2 Regions
132 Ultrasound Guided Incision & Drainage
133 Urethrogram
134 Urine C/S
135 Urine For Bence Jones Protein
136 Veneral Disease Research Laboratory (VDRL)
137 Venogram - 1 Region
138 Widal Test
139 Acid Phosphate
140 Chloride
141 Direct Bilirubin/Total Bilirubin
142 Donor Screening For Hepatitis B Virus and Surface Antigen
143 Grouping/X' Matching/Unit
144 Hepatitis C screening
145 Intra Oral Periapical Xray (IOPA)
146 Magnesium
147 Sodium (NA+)
148 Phosphorus
149 Platelet Count
150 Potassium
151 Renal Function Test
152 Semen Analysis
153 Total leucocyte count
154 Total Proteins Blood
155 Urine Sugar
156 Vinyl composite tile (VCT)
157 Vitality Test
158 Very low density lipoproteins (VLDL)
159 White Blood Count +Differential Leucocyte count
160 Malaria Card Test (Dipstik assay/rapid card)
161 RH Typing
162 Keratometry
163 Amplitude modulation scan (A-scan)
164 Serum vitamin B12, and folate levels
165 Ultrasound biomicroscopy
166 Demonstration of Heinz bodies
167 Anti-streptolysin test
168 Viral serology
169 Calcium Infusion test
170 Pulmonary Function test
171 Pleural fluid analysis
172 Cancer antigen 19-9
173 Transhepatic cholangiography (PTC)
174 Bone Scan
175 Breast tissue Biopsy
176 C Reactive Protein
177 EEG(Electroencephalogram)
178 Holter
179 Angiography
180 Myocardial perfusion imaging
181 Guthrie test
182 Typhi Dot
183 Absolute Eosinophil Count
184 Blood Sugar Post Prandial
185 Biopsy L/A
186 Anti Streptolysin O-titre
187 Gonioscopy
188 Hematocrit
189 CT Scan - 2 Region with No Contrast
190 CT Scan - 2 Region + 1Contrast
191 CT Scan - 2 region + 2 contrast
192 MRI 2 region with no contrast
193 MRI 2 region with + contrast
\.
--
-- Name: tbllablookup_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
--
SELECT pg_catalog.setval('tbllablookup_id_seq', 193, true);
--
-- Data for Name: tblmenu; Type: TABLE DATA; Schema: public; Owner: postgres
--
COPY tblmenu (parent, siblings, name, icon, id, url, role) FROM stdin;
0 \N Users icon-people 2 /users a
0 \N Settings icon-speedometer 1 /settings a
0 \N Reports icon-speedometer 3 /report a
0 \N Service icon-speedometer 4 /service d
\.
--
-- Name: tblmenu_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
--
SELECT pg_catalog.setval('tblmenu_id_seq', 4, true);
--
-- Data for Name: tblpatient; Type: TABLE DATA; Schema: public; Owner: postgres
--
COPY tblpatient (dob, name, id) FROM stdin;
2003-11-18 Jone Manti 1
1990-10-01 Maku Amin 2
2000-09-12 Kwei Manu 3
1987-09-03 Kwajo Kofi 4
2000-04-04 Nana Amneu 5
\.
--
-- Name: tblpatient_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
--
SELECT pg_catalog.setval('tblpatient_id_seq', 5, true);
--
-- Data for Name: tblprocedure; Type: TABLE DATA; Schema: public; Owner: postgres
--
COPY tblprocedure (lookup, cost, id) FROM stdin;
80 12 86
81 45 87
82 67 88
1 67 89
\.
--
-- Name: tblprocedure_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
--
SELECT pg_catalog.setval('tblprocedure_id_seq', 89, true);
--
-- Data for Name: tblprocedurelookup; Type: TABLE DATA; Schema: public; Owner: postgres
--
COPY tblprocedurelookup (id, name) FROM stdin;
1 Vaginal CS
2 Wound on Left Ear
3 Laparotomy for peritonitis >=12 Yrs
4 Endoscopic surgery for bleeding oesophageal varice
5 Laparotomy for biliary surgery >=12 Yrs
6 Genitourinary surgery >=12 Yrs
7 Scaling & Polishing >=12 Yrs
8 Root Canal Therapy - Single Root (RCT) <12 Yrs
9 Surgery for lung and bronchus lesions >=12 Yrs
10 Thoracostomy and chest tube insertion >=12 Yrs
11 Operations on the oesophagus and diaphragm >=12 Yr
12 Excision of Neck Swellings >=12 Yrs
13 Laparotomy for solid organ Surgery >=12 Yrs
14 Laparotomy and Small Bowel Resection >=12 Yrs
15 Laparotomy and colon resection >=12 Yrs
16 Laparotomy for Colostomy or Ileostomy >=12 Yrs
17 Laparotomy and AP Resection >=12 Yrs
18 Laparotomy and drainage of liver >=12 Yrs
19 Operations on Anus >=12 Yrs
20 Percutaneous Ultrasound Guided Drainage of lesions
21 Laparotomy and Pancreatic Surgery >=12 Yrs
22 Internal Hernia Repair >=12 Yrs
23 External Hernia Repair >=12 Yrs
24 Surgery on scrotum & tunica vaginalis >=12 Yrs
25 Mastectomy >=12 Yrs
26 General Surgery Excision Biopsy >=12 Yrs
27 Stripping and Ligation of veins >=12 Yrs
28 Emergency circumcision >=12 Yrs
29 Vascular surgery operations >=12 Yrs
30 Incision, Drainage and Debridement - General Surge
31 Closure of colostomy and ileostomy >=12 Yrs
32 Laparotomy and Porto-caval Shunt >=12 Yrs
33 Conservative management of surgery
34 Surgery for removal of finger/toe >= 12 Yrs
35 Surgery for removal of hand or foot >=12 Yrs
36 Amputation below or through elbow or knee, through
37 Forceps Extraction of Tooth >=12 Yrs
38 Forceps Extraction of Tooth <12 Yrs
39 Surgical Removal of Tooth >=12 Yrs
40 Temporary Filling >=12 Yrs
41 Temporary Filling <12 Yrs
42 Amalgam Filling >=12 Yrs
43 Amalgam Filling <12 Yrs
44 Composite/GI Filling >=12 Yrs
45 Composite/GI Filling <12 Yrs
46 Gingivectomy >=12 Yrs
47 Scaling & Polishing <12 Yrs
48 Gingivectomy <12 Yrs
49 Root Canal Therapy - Single Root (RCT) >=12 Yrs
50 Excision and biopsy of swellings of ear, nose and
51 Apicectomy <12 Yrs
52 Incision and Drainage (I & D) of Oro-Facial Absces
53 Surgical Excision of Intraoral Lesions >=12 Yrs
54 Culdocentesis/Culdotomy
55 Surgical Excision of Intraoral Lesions <12 Yrs
56 Curetage/Sequestrectomy of Facial Bone >=12 Yrs
57 Curetage/Sequestrectomy of Facial Bone <12 Yrs
58 Removal of Stone from Salivary Duct >=12 Yrs
59 Removal of Stone From Salivary Duct <12 Yrs
60 Sialoadenectomy >=12 Yrs
61 Sialoadenectomy <12 Yrs
62 Suturing of Lacerations of Facial Region >=12 Yrs
63 Suturing of Lacerations of Facial Region <12 Yrs
64 Dressing of Open Facial Wounds >=12 Yrs
65 Dressing of Open Facial Wounds <12 Yrs
66 Frenectomy/Frenotomy >=12 Yrs
67 Frenectomy/Frenotomy <12 Yrs
68 Partial Resection of Facial Bones or Soft Tissues
69 Partial Resection of Facial Bones or Soft Tissues
70 Total Resection of Facial Bones And Soft Tissues >
71 Total Resection of Facial Bones and Soft Tissues <
72 Closed Reduction of Fractures of Facial Bones (IMF
73 Closed Reduction of Fractures of Facial Bones (IMF
74 Open Reduction of Facial Fractures >=12 Yrs
75 Open Reduction of Facial Fractures <12 Yrs
76 Removal of Dental Wiring >=12 Yrs
77 Removal of Dental Wiring <12 Yrs
78 Manual Reduction of TMJ Dislocation >=12 Yrs
79 Manual Reduction of TMJ Dislocation <12 Yrs
80 Dental Examination (Medical Management) >=12 Yrs
81 Dental Examination (Medical Management) <12 Yrs
82 Excision and biopsy of swellings of ear, nose and
83 Surgery for external ear lesions >=12 Yrs
84 Surgery for external ear lesions <12 Yrs
85 Surgery for internal ear lesions >=12 Yrs
86 Surgery for internal ear lesions <12 Yrs
87 Reconstructive Surgery of ear >=12 Yrs
88 Reconstructive Surgery of ear <12 Yrs
89 Sinus Surgery >=12 Yrs
90 Sinus Surgery <12 Yrs
91 Surgery of tonsils and adenoids >=12 Yrs
92 Surgery of tonsils and adenoids <12 Yrs
93 Surgery of Salivary Glands >=12 Yrs
94 Surgery of Salivary Glands <12 Yrs
95 Laryngectomy >=12 Yrs
96 Laryngectomy <12 Yrs
97 Excision and Reconstruction of Oro- and Naso-phary
98 Bone Marrow Hypoplasia >=12 Yrs
99 Sickle Cell Disease with Complication/Crisis >=12
100 Clotting/Bleeding Disorders >=12 Yrs
101 Examination under anaesthesia and removal of forei
102 Examination under anaesthesia and removal of forei
103 Incision and Drainage of Abscess of ear, nose and
104 Incision and Drainage of Abscess of ear, nose and
105 Manipulation and reduction of fractured nasal bone
106 Cauterization
107 Manipulation and reduction of fractured nasal bone
108 Specific nasal surgery >=12 Yrs
109 Specific nasal surgery <12 Yrs
110 Arterial Ligation for Epistaxis >=12 Yrs
111 Arterial Ligation for Epistaxis <12 Yrs
112 Surgery for trauma to ear, nose, throat >=12 Yrs
113 Surgery for trauma to ear, nose, throat <12 Yrs
114 Excision biopsy of swellings of neck >=12 Yrs
115 Excision biopsy of swellings of neck <12 Yrs
116 ENT OPD Procedures >=12 Yrs
117 ENT OPD Procedures <12 Yrs
118 Vestibulometry >=12 Yrs
119 Vestibulometry <12 Yrs
120 Evoked response audiometry >=12 Yrs
121 Evoked response audiometry <12 Yrs
122 Antral Lavage under Local Anaesthesia >=12 Yrs
123 Antral Lavage under Local Anaesthesia <12 Yrs
124 Endoscopic ENT Surgery >=12 Yrs
125 Endoscopic ENT Surgery <12 Yrs
126 Thyroid Diseases >=12 Yrs
127 Diabetes – Simple >=12 Yrs
128 Diabetes – Complicated >=12 Yrs
129 Other Endocrine Diseases >=12 Yrs
130 Malnutrition >=12 Yrs
131 Anaemia >=12 Yrs
132 Heart Disease >=12 Yrs
133 Poisoning >=12 Yrs
134 Non-Traumatic Coma >=12 Yrs
135 Paralytic Conditions >=12 Yrs
136 Seizure Disorders >=12 Yrs
137 Transient Loss of Consciousness >=12 Yrs
138 Cerebro Vascular Accident/Stroke >=12 Yrs
139 Diseases of Skin/Subcutaneous Tissues >=12 Yrs
140 Kidney Disease without Renal Failure >=12 Yrs
141 Renal Failure without Dialysis >=12 Yrs
142 Acute Renal Failure with Dialysis >=12 Yrs
143 Obstructive Airway Disease >=12 Yrs
144 Diarrhoea and Vomiting >=12 Yrs
145 Liver Diseases >=12 Yrs
146 Gastro Intestinal Tract Bleeding >=12 Yrs
147 Potassium
148 Malaria >=12 Yrs
149 Black Water Fever >=12 Yrs
150 Severe Infections >=12 Yrs
151 Localised Infections >=12 Yrs
152 Hypertension >=12 Yrs
153 Ischaemic Heart Disease >=12 Yrs
154 Pulmonary Embolism >=12 Yrs
155 Ulcer of Skin >=12 Yrs
156 Alcoholism >=12 Yrs
157 Animal Bites >=12 Yrs
158 Retroviral Infection/Immuno Suppression >=12 Yrs
159 Cerebral Malaria
160 Gynaecological Laparotomy
161 Diagnostic Laparascopy
162 Operative Laparascopy
163 MVA/EOU
164 Suction Curettage
165 Manual Removal of Placenta
166 Expectant management/Medical Treatment in Obstetri
167 Marsupialization of Batholin's gland
168 Excision of genital lesions
169 Incision and drainage in Gynaecology Cases
170 Pelvic Floor Repair - Simple
171 Vaginal Hysterectomy
172 Repair of Enterocele
173 Vaginal Pessary Insertion
174 Colpocleisis
175 Fistula Repair - Simple
176 Fistula Repair - Complex
177 Abdominal Hysterectomy
178 Perineal repair - Complex
179 Pelvic Floor Repair - Complex
180 Colposcopy and Biopsy
181 Partial Vaginectomy
182 Polypectomy (Avulsion)
183 Hysteroscopy
184 Correction of Malposition of Uterus
185 Vulvectomy
186 Instrumental delivery
187 Internal Podalic Version with Breech Extraction
188 Destructive Delivery
189 Caesarean Section
190 Spontaneous Vaginal Delivery with or without Episi
191 Cervical Cerclage suture
192 Myomectomy
193 Post Partum Haemorrhage
194 Wertheim's Operation
195 Eclampsia
196 Enucleation >=12 Yrs
197 Enucleation <12 Yrs
198 Evisceration >=12 Yrs
199 Removal of superficial foreign body >=12 Yrs
200 Removal of superficial foreign body <12 Yrs
201 Removal of intraocular foreign body >=12 Yrs
202 Removal of intraocular foreign body <12 Yrs
203 Removal of intraorbital foreign body >=12 Yrs
204 Removal of intraorbital foreign body <12 Yrs
205 Eyelid surgery >=12 Yrs
206 Eyelid surgery <12 Yrs
207 Scleral and Corneal surgery >=12 Yrs
208 Scleral and Corneal surgery <12 Yrs
209 Anterior chamber washout >=12 Yrs
210 Anterior chamber washout <12 Yrs
211 Glaucoma surgery >=12 Yrs
212 Glaucoma surgery <12 Yrs
213 Cataract surgery >=12 Yrs
214 Cataract surgery <12 Yrs
215 Strabismus surgery >=12 Yrs
216 Strabismus surgery <12 Yrs
217 Incision and curettage of eyelid >=12 Yrs
218 Incision and curettage of eyelid <12 Yrs
219 Reconstructive surgery of eyelid >=12 Yrs
220 Reconstructive surgery of eyelid <12 Yrs
221 Nasolacrimal drainage system surgery >=12 Yrs
222 Nasolacrimal drainage system surgery <12 Yrs
223 Incision and drainage of abscesses >=12 Yrs
224 Incision and drainage of abscesses <12 Yrs
225 Examination under anaesthesia >=12 Yrs
226 Examination under anaesthesia <12 Yrs
227 Uveitis Management
228 Cataract Surgery with Implants >=12 Yrs
229 Bandaging/Cast (POP Application) >=12 Yrs
230 Bandaging/Cast (POP Application) <12 Yrs
231 Bone Biopsy >=12 Yrs
232 Bone Biopsy <12 Yrs
233 Bone Graft >=12 Yrs
234 Bone Graft <12 Yrs
235 Closed Reduction and Splintage of Fractures and Jo
236 Closed Reduction and Splintage of Fractures and Jo
237 Debridement and Suturing >=12 Yrs
238 Debridement and Suturing <12 Yrs
239 Dressing and Minor Suturing <12 Yrs
240 Excision of Soft Tissue Lumps >=12 Yrs
241 Excision of Soft Tissue Lumps <12 Yrs
242 External Fixation>=12 Yrs
243 External Fixation<12 Yrs
244 Fasciotomy >=12 Yrs
245 Fasciotomy <12 Yrs
246 Hemi-Arthroplasty >=12 Yrs
247 Hemi-Arthroplasty <12 Yrs
248 Dressing and Minor Suturing >=12 Yrs
249 Surgery for amputation of hand/foot (through or be
250 Surgery for amputation of hand/foot (through or be
251 Amputation below or through elbow or knee, through
252 Amputation below or through elbow or knee, through
253 Thyroid Diseases <12 Yrs
254 Diabetes - Simple <12 Yrs
255 Diabetes with Complications <12 Yrs