{"$schema":"https://vega.github.io/schema/vega-lite/v3.json","title":"1) Hospital Admission Type by Age Group","width":350,"height":275,"data":{"values":[{"Age Group":"0 to 17","Admission Type":"Elective","Patient Discharges":17603},{"Age Group":"0 to 17","Admission Type":"Emergency","Patient Discharges":94130},{"Age Group":"0 to 17","Admission Type":"Newborn","Patient Discharges":224580},{"Age Group":"0 to 17","Admission Type":"Not Available","Patient Discharges":31},{"Age Group":"0 to 17","Admission Type":"Trauma","Patient Discharges":497},{"Age Group":"0 to 17","Admission Type":"Urgent","Patient Discharges":10794},{"Age Group":"18 to 29","Admission Type":"Elective","Patient Discharges":64812},{"Age Group":"18 to 29","Admission Type":"Emergency","Patient Discharges":138933},{"Age Group":"18 to 29","Admission Type":"Newborn","Patient Discharges":46},{"Age Group":"18 to 29","Admission Type":"Not Available","Patient Discharges":80},{"Age Group":"18 to 29","Admission Type":"Trauma","Patient Discharges":1152},{"Age Group":"18 to 29","Admission Type":"Urgent","Patient Discharges":38622},{"Age Group":"30 to 49","Admission Type":"Elective","Patient Discharges":124780},{"Age Group":"30 to 49","Admission Type":"Emergency","Patient Discharges":277865},{"Age Group":"30 to 49","Admission Type":"Newborn","Patient Discharges":79},{"Age Group":"30 to 49","Admission Type":"Not Available","Patient Discharges":106},{"Age Group":"30 to 49","Admission Type":"Trauma","Patient Discharges":1493},{"Age Group":"30 to 49","Admission Type":"Urgent","Patient Discharges":50608},{"Age Group":"50 to 69","Admission Type":"Elective","Patient Discharges":145326},{"Age Group":"50 to 69","Admission Type":"Emergency","Patient Discharges":467717},{"Age Group":"50 to 69","Admission Type":"Newborn","Patient Discharges":45},{"Age Group":"50 to 69","Admission Type":"Not Available","Patient Discharges":111},{"Age Group":"50 to 69","Admission Type":"Trauma","Patient Discharges":1741},{"Age Group":"50 to 69","Admission Type":"Urgent","Patient Discharges":39590},{"Age Group":"70 or Older","Admission Type":"Elective","Patient Discharges":88726},{"Age Group":"70 or Older","Admission Type":"Emergency","Patient Discharges":520316},{"Age Group":"70 or Older","Admission Type":"Newborn","Patient Discharges":29},{"Age Group":"70 or Older","Admission Type":"Not Available","Patient Discharges":107},{"Age Group":"70 or Older","Admission Type":"Trauma","Patient Discharges":1746},{"Age Group":"70 or Older","Admission Type":"Urgent","Patient Discharges":31764}]},"encoding":{"x":{"field":"Age Group","type":"nominal","axis":{"title":""},"scale":{"paddingInner":0.4}},"y":{"field":"Patient Discharges","type":"quantitative"},"color":{"field":"Admission Type","type":"nominal"}},"selection":{"mySelection":{"type":"single","fields":["Admission Type"],"nearest":true,"bind":{"Admission Type":{"input":"select","name":"Select Admission Type ","options":["Elective","Emergency","Newborn","Not Available","Trauma","Urgent"]}}}},"transform":[{"filter":{"selection":"mySelection"}}],"mark":"bar","config":{"axis":{"labelAngle":0}}}
{"$schema":"https://vega.github.io/schema/vega-lite/v3.json","title":"2) Major Diagnostic Category by Age Group","width":250,"height":650,"data":{"values":[{"Diagnostic Category":"Alcohol/Drug Use and Alcohol/Drug Induced Organic Mental Disorders","Age Group":"0 to 17","Count":214},{"Diagnostic Category":"Burns","Age Group":"0 to 17","Count":559},{"Diagnostic Category":"Blood, Blood Forming Organs and Immunological Disorders","Age Group":"0 to 17","Count":4356},{"Diagnostic Category":"Circulatory System","Age Group":"0 to 17","Count":2970},{"Diagnostic Category":"Digestive System","Age Group":"0 to 17","Count":14094},{"Diagnostic Category":"Eye","Age Group":"0 to 17","Count":573},{"Diagnostic Category":"Female Reproductive System","Age Group":"0 to 17","Count":575},{"Diagnostic Category":"Hepatobiliary System and Pancreas","Age Group":"0 to 17","Count":1105},{"Diagnostic Category":"Kidney and Urinary Tract","Age Group":"0 to 17","Count":3686},{"Diagnostic Category":"Male Reproductive System","Age Group":"0 to 17","Count":387},{"Diagnostic Category":"Musculoskeletal System and Conn Tissue","Age Group":"0 to 17","Count":6694},{"Diagnostic Category":"Nervous System","Age Group":"0 to 17","Count":12298},{"Diagnostic Category":"Respiratory System","Age Group":"0 to 17","Count":27928},{"Diagnostic Category":"Skin, Subcutaneous Tissue and Breast","Age Group":"0 to 17","Count":4594},{"Diagnostic Category":"Ear, Nose, Mouth, Throat and Craniofacial Diseases and Disorders","Age Group":"0 to 17","Count":7814},{"Diagnostic Category":"Endocrine, Nutritional and Metabolic Diseases and Disorders","Age Group":"0 to 17","Count":5195},{"Diagnostic Category":"Human Immunodeficiency Virus Infections","Age Group":"0 to 17","Count":13},{"Diagnostic Category":"Infectious and Parasitic Diseases, Systemic or Unspecified Sites","Age Group":"0 to 17","Count":5907},{"Diagnostic Category":"Lymphatic, Hematopoietic, Other Malignancies, Chemotherapy and Radiotherapy","Age Group":"0 to 17","Count":1984},{"Diagnostic Category":"Mental Diseases and Disorders","Age Group":"0 to 17","Count":10682},{"Diagnostic Category":"Multiple Significant Trauma","Age Group":"0 to 17","Count":264},{"Diagnostic Category":"Newborns and Other Neonates with Conditions Originating in the Perinatal Period","Age Group":"0 to 17","Count":229534},{"Diagnostic Category":"Poisonings, Toxic Effects, Other Injuries and Other Complications of Treatment","Age Group":"0 to 17","Count":2265},{"Diagnostic Category":"Pre-MDC or Ungroupable","Age Group":"0 to 17","Count":8},{"Diagnostic Category":"Pregnancy, Childbirth and the Puerperium","Age Group":"0 to 17","Count":2495},{"Diagnostic Category":"Rehabilitation, Aftercare, Other Factors Influencing Health Status and Other Health Service Contacts","Age Group":"0 to 17","Count":1441},{"Diagnostic Category":"Alcohol/Drug Use and Alcohol/Drug Induced Organic Mental Disorders","Age Group":"18 to 29","Count":13790},{"Diagnostic Category":"Burns","Age Group":"18 to 29","Count":253},{"Diagnostic Category":"Blood, Blood Forming Organs and Immunological Disorders","Age Group":"18 to 29","Count":5198},{"Diagnostic Category":"Circulatory System","Age Group":"18 to 29","Count":4199},{"Diagnostic Category":"Digestive System","Age Group":"18 to 29","Count":13147},{"Diagnostic Category":"Eye","Age Group":"18 to 29","Count":323},{"Diagnostic Category":"Female Reproductive System","Age Group":"18 to 29","Count":1837},{"Diagnostic Category":"Hepatobiliary System and Pancreas","Age Group":"18 to 29","Count":4821},{"Diagnostic Category":"Kidney and Urinary Tract","Age Group":"18 to 29","Count":4154},{"Diagnostic Category":"Male Reproductive System","Age Group":"18 to 29","Count":342},{"Diagnostic Category":"Musculoskeletal System and Conn Tissue","Age Group":"18 to 29","Count":6950},{"Diagnostic Category":"Nervous System","Age Group":"18 to 29","Count":8933},{"Diagnostic Category":"Respiratory System","Age Group":"18 to 29","Count":6269},{"Diagnostic Category":"Skin, Subcutaneous Tissue and Breast","Age Group":"18 to 29","Count":4719},{"Diagnostic Category":"Ear, Nose, Mouth, Throat and Craniofacial Diseases and Disorders","Age Group":"18 to 29","Count":2977},{"Diagnostic Category":"Endocrine, Nutritional and Metabolic Diseases and Disorders","Age Group":"18 to 29","Count":7381},{"Diagnostic Category":"Human Immunodeficiency Virus Infections","Age Group":"18 to 29","Count":465},{"Diagnostic Category":"Infectious and Parasitic Diseases, Systemic or Unspecified Sites","Age Group":"18 to 29","Count":5731},{"Diagnostic Category":"Lymphatic, Hematopoietic, Other Malignancies, Chemotherapy and Radiotherapy","Age Group":"18 to 29","Count":1475},{"Diagnostic Category":"Mental Diseases and Disorders","Age Group":"18 to 29","Count":29736},{"Diagnostic Category":"Multiple Significant Trauma","Age Group":"18 to 29","Count":893},{"Diagnostic Category":"Poisonings, Toxic Effects, Other Injuries and Other Complications of Treatment","Age Group":"18 to 29","Count":3706},{"Diagnostic Category":"Pre-MDC or Ungroupable","Age Group":"18 to 29","Count":4},{"Diagnostic Category":"Pregnancy, Childbirth and the Puerperium","Age Group":"18 to 29","Count":114970},{"Diagnostic Category":"Rehabilitation, Aftercare, Other Factors Influencing Health Status and Other Health Service Contacts","Age Group":"18 to 29","Count":1372},{"Diagnostic Category":"Alcohol/Drug Use and Alcohol/Drug Induced Organic Mental Disorders","Age Group":"30 to 49","Count":34660},{"Diagnostic Category":"Burns","Age Group":"30 to 49","Count":430},{"Diagnostic Category":"Blood, Blood Forming Organs and Immunological Disorders","Age Group":"30 to 49","Count":7201},{"Diagnostic Category":"Circulatory System","Age Group":"30 to 49","Count":27498},{"Diagnostic Category":"Digestive System","Age Group":"30 to 49","Count":34930},{"Diagnostic Category":"Eye","Age Group":"30 to 49","Count":734},{"Diagnostic Category":"Female Reproductive System","Age Group":"30 to 49","Count":11888},{"Diagnostic Category":"Hepatobiliary System and Pancreas","Age Group":"30 to 49","Count":16276},{"Diagnostic Category":"Kidney and Urinary Tract","Age Group":"30 to 49","Count":13192},{"Diagnostic Category":"Male Reproductive System","Age Group":"30 to 49","Count":813},{"Diagnostic Category":"Musculoskeletal System and Conn Tissue","Age Group":"30 to 49","Count":24852},{"Diagnostic Category":"Nervous System","Age Group":"30 to 49","Count":22386},{"Diagnostic Category":"Respiratory System","Age Group":"30 to 49","Count":18419},{"Diagnostic Category":"Skin, Subcutaneous Tissue and Breast","Age Group":"30 to 49","Count":13295},{"Diagnostic Category":"Ear, Nose, Mouth, Throat and Craniofacial Diseases and Disorders","Age Group":"30 to 49","Count":4618},{"Diagnostic Category":"Endocrine, Nutritional and Metabolic Diseases and Disorders","Age Group":"30 to 49","Count":19454},{"Diagnostic Category":"Human Immunodeficiency Virus Infections","Age Group":"30 to 49","Count":2396},{"Diagnostic Category":"Infectious and Parasitic Diseases, Systemic or Unspecified Sites","Age Group":"30 to 49","Count":16303},{"Diagnostic Category":"Lymphatic, Hematopoietic, Other Malignancies, Chemotherapy and Radiotherapy","Age Group":"30 to 49","Count":3164},{"Diagnostic Category":"Mental Diseases and Disorders","Age Group":"30 to 49","Count":38421},{"Diagnostic Category":"Multiple Significant Trauma","Age Group":"30 to 49","Count":931},{"Diagnostic Category":"Poisonings, Toxic Effects, Other Injuries and Other Complications of Treatment","Age Group":"30 to 49","Count":6573},{"Diagnostic Category":"Pre-MDC or Ungroupable","Age Group":"30 to 49","Count":2},{"Diagnostic Category":"Pregnancy, Childbirth and the Puerperium","Age Group":"30 to 49","Count":132667},{"Diagnostic Category":"Rehabilitation, Aftercare, Other Factors Influencing Health Status and Other Health Service Contacts","Age Group":"30 to 49","Count":3828},{"Diagnostic Category":"Alcohol/Drug Use and Alcohol/Drug Induced Organic Mental Disorders","Age Group":"50 to 69","Count":26073},{"Diagnostic Category":"Burns","Age Group":"50 to 69","Count":449},{"Diagnostic Category":"Blood, Blood Forming Organs and Immunological Disorders","Age Group":"50 to 69","Count":7680},{"Diagnostic Category":"Circulatory System","Age Group":"50 to 69","Count":113717},{"Diagnostic Category":"Digestive System","Age Group":"50 to 69","Count":67601},{"Diagnostic Category":"Eye","Age Group":"50 to 69","Count":1084},{"Diagnostic Category":"Female Reproductive System","Age Group":"50 to 69","Count":8084},{"Diagnostic Category":"Hepatobiliary System and Pancreas","Age Group":"50 to 69","Count":27138},{"Diagnostic Category":"Kidney and Urinary Tract","Age Group":"50 to 69","Count":33284},{"Diagnostic Category":"Male Reproductive System","Age Group":"50 to 69","Count":5443},{"Diagnostic Category":"Musculoskeletal System and Conn Tissue","Age Group":"50 to 69","Count":87878},{"Diagnostic Category":"Nervous System","Age Group":"50 to 69","Count":50649},{"Diagnostic Category":"Respiratory System","Age Group":"50 to 69","Count":64717},{"Diagnostic Category":"Skin, Subcutaneous Tissue and Breast","Age Group":"50 to 69","Count":21343},{"Diagnostic Category":"Ear, Nose, Mouth, Throat and Craniofacial Diseases and Disorders","Age Group":"50 to 69","Count":8407},{"Diagnostic Category":"Endocrine, Nutritional and Metabolic Diseases and Disorders","Age Group":"50 to 69","Count":24200},{"Diagnostic Category":"Human Immunodeficiency Virus Infections","Age Group":"50 to 69","Count":3280},{"Diagnostic Category":"Infectious and Parasitic Diseases, Systemic or Unspecified Sites","Age Group":"50 to 69","Count":44019},{"Diagnostic Category":"Lymphatic, Hematopoietic, Other Malignancies, Chemotherapy and Radiotherapy","Age Group":"50 to 69","Count":9258},{"Diagnostic Category":"Mental Diseases and Disorders","Age Group":"50 to 69","Count":28411},{"Diagnostic Category":"Multiple Significant Trauma","Age Group":"50 to 69","Count":1095},{"Diagnostic Category":"Poisonings, Toxic Effects, Other Injuries and Other Complications of Treatment","Age Group":"50 to 69","Count":9411},{"Diagnostic Category":"Pregnancy, Childbirth and the Puerperium","Age Group":"50 to 69","Count":78},{"Diagnostic Category":"Rehabilitation, Aftercare, Other Factors Influencing Health Status and Other Health Service Contacts","Age Group":"50 to 69","Count":11231},{"Diagnostic Category":"Alcohol/Drug Use and Alcohol/Drug Induced Organic Mental Disorders","Age Group":"70 or Older","Count":1282},{"Diagnostic Category":"Burns","Age Group":"70 or Older","Count":201},{"Diagnostic Category":"Blood, Blood Forming Organs and Immunological Disorders","Age Group":"70 or Older","Count":8714},{"Diagnostic Category":"Circulatory System","Age Group":"70 or Older","Count":144772},{"Diagnostic Category":"Digestive System","Age Group":"70 or Older","Count":66147},{"Diagnostic Category":"Eye","Age Group":"70 or Older","Count":881},{"Diagnostic Category":"Female Reproductive System","Age Group":"70 or Older","Count":2899},{"Diagnostic Category":"Hepatobiliary System and Pancreas","Age Group":"70 or Older","Count":15453},{"Diagnostic Category":"Kidney and Urinary Tract","Age Group":"70 or Older","Count":48414},{"Diagnostic Category":"Male Reproductive System","Age Group":"70 or Older","Count":3451},{"Diagnostic Category":"Musculoskeletal System and Conn Tissue","Age Group":"70 or Older","Count":78135},{"Diagnostic Category":"Nervous System","Age Group":"70 or Older","Count":56940},{"Diagnostic Category":"Respiratory System","Age Group":"70 or Older","Count":76600},{"Diagnostic Category":"Skin, Subcutaneous Tissue and Breast","Age Group":"70 or Older","Count":16576},{"Diagnostic Category":"Ear, Nose, Mouth, Throat and Craniofacial Diseases and Disorders","Age Group":"70 or Older","Count":7453},{"Diagnostic Category":"Endocrine, Nutritional and Metabolic Diseases and Disorders","Age Group":"70 or Older","Count":19624},{"Diagnostic Category":"Human Immunodeficiency Virus Infections","Age Group":"70 or Older","Count":282},{"Diagnostic Category":"Infectious and Parasitic Diseases, Systemic or Unspecified Sites","Age Group":"70 or Older","Count":62160},{"Diagnostic Category":"Lymphatic, Hematopoietic, Other Malignancies, Chemotherapy and Radiotherapy","Age Group":"70 or Older","Count":5967},{"Diagnostic Category":"Mental Diseases and Disorders","Age Group":"70 or Older","Count":7800},{"Diagnostic Category":"Multiple Significant Trauma","Age Group":"70 or Older","Count":1379},{"Diagnostic Category":"Poisonings, Toxic Effects, Other Injuries and Other Complications of Treatment","Age Group":"70 or Older","Count":4721},{"Diagnostic Category":"Rehabilitation, Aftercare, Other Factors Influencing Health Status and Other Health Service Contacts","Age Group":"70 or Older","Count":12837}]},"mark":"circle","config":{"axis":{"labelAngle":0,"labelLimit":150,"titlePadding":10}},"encoding":{"x":{"field":"Age Group","type":"ordinal","axis":{"title":""}},"y":{"field":"Diagnostic Category","type":"nominal","axis":{"title":"Major Diagnostic Category","labelAlign":"left","labelPadding":150}},"color":{"field":"Age Group","type":"ordinal"},"size":{"field":"Count","type":"quantitative","legend":{"title":"Patient Discharges"},"scale":{"range":[10,1200]}}}}
{"$schema":"https://vega.github.io/schema/vega-lite/v3.json","title":"3) Length of Stay by Age Group","width":250,"height":100,"data":{"values":[{"Age Group":"0 to 17","Length of Stay":1,"Count":53061},{"Age Group":"0 to 17","Length of Stay":2,"Count":151456},{"Age Group":"0 to 17","Length of Stay":3,"Count":72250},{"Age Group":"0 to 17","Length of Stay":4,"Count":22790},{"Age Group":"0 to 17","Length of Stay":5,"Count":9406},{"Age Group":"0 to 17","Length of Stay":6,"Count":6285},{"Age Group":"0 to 17","Length of Stay":7,"Count":5417},{"Age Group":"0 to 17","Length of Stay":8,"Count":3541},{"Age Group":"0 to 17","Length of Stay":9,"Count":2700},{"Age Group":"0 to 17","Length of Stay":10,"Count":2281},{"Age Group":"0 to 17","Length of Stay":11,"Count":1797},{"Age Group":"0 to 17","Length of Stay":12,"Count":1486},{"Age Group":"0 to 17","Length of Stay":13,"Count":1335},{"Age Group":"0 to 17","Length of Stay":14,"Count":1221},{"Age Group":"0 to 17","Length of Stay":15,"Count":923},{"Age Group":"0 to 17","Length of Stay":16,"Count":868},{"Age Group":"0 to 17","Length of Stay":17,"Count":694},{"Age Group":"0 to 17","Length of Stay":18,"Count":580},{"Age Group":"0 to 17","Length of Stay":19,"Count":521},{"Age Group":"0 to 17","Length of Stay":20,"Count":536},{"Age Group":"0 to 17","Length of Stay":21,"Count":529},{"Age Group":"0 to 17","Length of Stay":22,"Count":464},{"Age Group":"0 to 17","Length of Stay":23,"Count":374},{"Age Group":"0 to 17","Length of Stay":24,"Count":326},{"Age Group":"0 to 17","Length of Stay":25,"Count":300},{"Age Group":"0 to 17","Length of Stay":26,"Count":264},{"Age Group":"0 to 17","Length of Stay":27,"Count":284},{"Age Group":"0 to 17","Length of Stay":28,"Count":235},{"Age Group":"0 to 17","Length of Stay":29,"Count":247},{"Age Group":"0 to 17","Length of Stay":30,"Count":5464},{"Age Group":"18 to 29","Length of Stay":1,"Count":36997},{"Age Group":"18 to 29","Length of Stay":2,"Count":71966},{"Age Group":"18 to 29","Length of Stay":3,"Count":55523},{"Age Group":"18 to 29","Length of Stay":4,"Count":24795},{"Age Group":"18 to 29","Length of Stay":5,"Count":12623},{"Age Group":"18 to 29","Length of Stay":6,"Count":7569},{"Age Group":"18 to 29","Length of Stay":7,"Count":5725},{"Age Group":"18 to 29","Length of Stay":8,"Count":4181},{"Age Group":"18 to 29","Length of Stay":9,"Count":3079},{"Age Group":"18 to 29","Length of Stay":10,"Count":2363},{"Age Group":"18 to 29","Length of Stay":11,"Count":2035},{"Age Group":"18 to 29","Length of Stay":12,"Count":1700},{"Age Group":"18 to 29","Length of Stay":13,"Count":1650},{"Age Group":"18 to 29","Length of Stay":14,"Count":1779},{"Age Group":"18 to 29","Length of Stay":15,"Count":1176},{"Age Group":"18 to 29","Length of Stay":16,"Count":879},{"Age Group":"18 to 29","Length of Stay":17,"Count":745},{"Age Group":"18 to 29","Length of Stay":18,"Count":652},{"Age Group":"18 to 29","Length of Stay":19,"Count":636},{"Age Group":"18 to 29","Length of Stay":20,"Count":587},{"Age Group":"18 to 29","Length of Stay":21,"Count":707},{"Age Group":"18 to 29","Length of Stay":22,"Count":470},{"Age Group":"18 to 29","Length of Stay":23,"Count":420},{"Age Group":"18 to 29","Length of Stay":24,"Count":364},{"Age Group":"18 to 29","Length of Stay":25,"Count":311},{"Age Group":"18 to 29","Length of Stay":26,"Count":294},{"Age Group":"18 to 29","Length of Stay":27,"Count":345},{"Age Group":"18 to 29","Length of Stay":28,"Count":774},{"Age Group":"18 to 29","Length of Stay":29,"Count":237},{"Age Group":"18 to 29","Length of Stay":30,"Count":3063},{"Age Group":"30 to 49","Length of Stay":1,"Count":76052},{"Age Group":"30 to 49","Length of Stay":2,"Count":115571},{"Age Group":"30 to 49","Length of Stay":3,"Count":93508},{"Age Group":"30 to 49","Length of Stay":4,"Count":49383},{"Age Group":"30 to 49","Length of Stay":5,"Count":27670},{"Age Group":"30 to 49","Length of Stay":6,"Count":17180},{"Age Group":"30 to 49","Length of Stay":7,"Count":12907},{"Age Group":"30 to 49","Length of Stay":8,"Count":9327},{"Age Group":"30 to 49","Length of Stay":9,"Count":6892},{"Age Group":"30 to 49","Length of Stay":10,"Count":5418},{"Age Group":"30 to 49","Length of Stay":11,"Count":4524},{"Age Group":"30 to 49","Length of Stay":12,"Count":3729},{"Age Group":"30 to 49","Length of Stay":13,"Count":3495},{"Age Group":"30 to 49","Length of Stay":14,"Count":3894},{"Age Group":"30 to 49","Length of Stay":15,"Count":2581},{"Age Group":"30 to 49","Length of Stay":16,"Count":2091},{"Age Group":"30 to 49","Length of Stay":17,"Count":1724},{"Age Group":"30 to 49","Length of Stay":18,"Count":1438},{"Age Group":"30 to 49","Length of Stay":19,"Count":1394},{"Age Group":"30 to 49","Length of Stay":20,"Count":1377},{"Age Group":"30 to 49","Length of Stay":21,"Count":1599},{"Age Group":"30 to 49","Length of Stay":22,"Count":1017},{"Age Group":"30 to 49","Length of Stay":23,"Count":838},{"Age Group":"30 to 49","Length of Stay":24,"Count":760},{"Age Group":"30 to 49","Length of Stay":25,"Count":731},{"Age Group":"30 to 49","Length of Stay":26,"Count":613},{"Age Group":"30 to 49","Length of Stay":27,"Count":712},{"Age Group":"30 to 49","Length of Stay":28,"Count":1554},{"Age Group":"30 to 49","Length of Stay":29,"Count":510},{"Age Group":"30 to 49","Length of Stay":30,"Count":6442},{"Age Group":"50 to 69","Length of Stay":1,"Count":109091},{"Age Group":"50 to 69","Length of Stay":2,"Count":118098},{"Age Group":"50 to 69","Length of Stay":3,"Count":101294},{"Age Group":"50 to 69","Length of Stay":4,"Count":70974},{"Age Group":"50 to 69","Length of Stay":5,"Count":50882},{"Age Group":"50 to 69","Length of Stay":6,"Count":36641},{"Age Group":"50 to 69","Length of Stay":7,"Count":29724},{"Age Group":"50 to 69","Length of Stay":8,"Count":22030},{"Age Group":"50 to 69","Length of Stay":9,"Count":16370},{"Age Group":"50 to 69","Length of Stay":10,"Count":12758},{"Age Group":"50 to 69","Length of Stay":11,"Count":10343},{"Age Group":"50 to 69","Length of Stay":12,"Count":8560},{"Age Group":"50 to 69","Length of Stay":13,"Count":7758},{"Age Group":"50 to 69","Length of Stay":14,"Count":7637},{"Age Group":"50 to 69","Length of Stay":15,"Count":5757},{"Age Group":"50 to 69","Length of Stay":16,"Count":4562},{"Age Group":"50 to 69","Length of Stay":17,"Count":3911},{"Age Group":"50 to 69","Length of Stay":18,"Count":3387},{"Age Group":"50 to 69","Length of Stay":19,"Count":3051},{"Age Group":"50 to 69","Length of Stay":20,"Count":2924},{"Age Group":"50 to 69","Length of Stay":21,"Count":3082},{"Age Group":"50 to 69","Length of Stay":22,"Count":2247},{"Age Group":"50 to 69","Length of Stay":23,"Count":1844},{"Age Group":"50 to 69","Length of Stay":24,"Count":1588},{"Age Group":"50 to 69","Length of Stay":25,"Count":1476},{"Age Group":"50 to 69","Length of Stay":26,"Count":1321},{"Age Group":"50 to 69","Length of Stay":27,"Count":1297},{"Age Group":"50 to 69","Length of Stay":28,"Count":1669},{"Age Group":"50 to 69","Length of Stay":29,"Count":1015},{"Age Group":"50 to 69","Length of Stay":30,"Count":13239},{"Age Group":"70 or Older","Length of Stay":1,"Count":72659},{"Age Group":"70 or Older","Length of Stay":2,"Count":90046},{"Age Group":"70 or Older","Length of Stay":3,"Count":101550},{"Age Group":"70 or Older","Length of Stay":4,"Count":77309},{"Age Group":"70 or Older","Length of Stay":5,"Count":59455},{"Age Group":"70 or Older","Length of Stay":6,"Count":47174},{"Age Group":"70 or Older","Length of Stay":7,"Count":38418},{"Age Group":"70 or Older","Length of Stay":8,"Count":28287},{"Age Group":"70 or Older","Length of Stay":9,"Count":20827},{"Age Group":"70 or Older","Length of Stay":10,"Count":16471},{"Age Group":"70 or Older","Length of Stay":11,"Count":13257},{"Age Group":"70 or Older","Length of Stay":12,"Count":10689},{"Age Group":"70 or Older","Length of Stay":13,"Count":9217},{"Age Group":"70 or Older","Length of Stay":14,"Count":8348},{"Age Group":"70 or Older","Length of Stay":15,"Count":6650},{"Age Group":"70 or Older","Length of Stay":16,"Count":5279},{"Age Group":"70 or Older","Length of Stay":17,"Count":4387},{"Age Group":"70 or Older","Length of Stay":18,"Count":3557},{"Age Group":"70 or Older","Length of Stay":19,"Count":3112},{"Age Group":"70 or Older","Length of Stay":20,"Count":2811},{"Age Group":"70 or Older","Length of Stay":21,"Count":2770},{"Age Group":"70 or Older","Length of Stay":22,"Count":2149},{"Age Group":"70 or Older","Length of Stay":23,"Count":1771},{"Age Group":"70 or Older","Length of Stay":24,"Count":1501},{"Age Group":"70 or Older","Length of Stay":25,"Count":1325},{"Age Group":"70 or Older","Length of Stay":26,"Count":1081},{"Age Group":"70 or Older","Length of Stay":27,"Count":1130},{"Age Group":"70 or Older","Length of Stay":28,"Count":1125},{"Age Group":"70 or Older","Length of Stay":29,"Count":814},{"Age Group":"70 or Older","Length of Stay":30,"Count":9519}]},"encoding":{"x":{"field":"Length of Stay","type":"quantitative","title":"Length of Stay (in Days, 30 is 30 or more days)","scale":{"domain":[1,29]}},"y":{"field":"Count","type":"quantitative","axis":{"grid":false},"title":""},"row":{"field":"Age Group","type":"ordinal","header":{"title":""}},"color":{"field":"Age Group","type":"ordinal"}},"mark":"bar"}
{"$schema":"https://vega.github.io/schema/vega-lite/v3.json","title":"4) Median Charges for Patient Discharges by Age Group","width":400,"height":325,"data":{"values":[{"Age Group":"0 to 17","Primary Payment Type":"Blue Cross/Blue Shield","Charges":9394},{"Age Group":"0 to 17","Primary Payment Type":"Department of Corrections","Charges":14829},{"Age Group":"0 to 17","Primary Payment Type":"Federal/State/Local/VA","Charges":6935},{"Age Group":"0 to 17","Primary Payment Type":"Managed Care, Unspecified","Charges":7151},{"Age Group":"0 to 17","Primary Payment Type":"Medicaid","Charges":9850},{"Age Group":"0 to 17","Primary Payment Type":"Medicare","Charges":11751},{"Age Group":"0 to 17","Primary Payment Type":"Miscellaneous/Other","Charges":25847},{"Age Group":"0 to 17","Primary Payment Type":"Private Health Insurance","Charges":10399},{"Age Group":"0 to 17","Primary Payment Type":"Self-Pay","Charges":6044},{"Age Group":"0 to 17","Primary Payment Type":"Unknown","Charges":10391},{"Age Group":"18 to 29","Primary Payment Type":"Blue Cross/Blue Shield","Charges":17523},{"Age Group":"18 to 29","Primary Payment Type":"Department of Corrections","Charges":20784},{"Age Group":"18 to 29","Primary Payment Type":"Federal/State/Local/VA","Charges":13073},{"Age Group":"18 to 29","Primary Payment Type":"Managed Care, Unspecified","Charges":17417},{"Age Group":"18 to 29","Primary Payment Type":"Medicaid","Charges":17705},{"Age Group":"18 to 29","Primary Payment Type":"Medicare","Charges":22691},{"Age Group":"18 to 29","Primary Payment Type":"Miscellaneous/Other","Charges":31575},{"Age Group":"18 to 29","Primary Payment Type":"Private Health Insurance","Charges":20599},{"Age Group":"18 to 29","Primary Payment Type":"Self-Pay","Charges":15266},{"Age Group":"18 to 29","Primary Payment Type":"Unknown","Charges":15060},{"Age Group":"30 to 49","Primary Payment Type":"Blue Cross/Blue Shield","Charges":22344},{"Age Group":"30 to 49","Primary Payment Type":"Department of Corrections","Charges":22977},{"Age Group":"30 to 49","Primary Payment Type":"Federal/State/Local/VA","Charges":19387},{"Age Group":"30 to 49","Primary Payment Type":"Managed Care, Unspecified","Charges":22560},{"Age Group":"30 to 49","Primary Payment Type":"Medicaid","Charges":20278},{"Age Group":"30 to 49","Primary Payment Type":"Medicare","Charges":25864},{"Age Group":"30 to 49","Primary Payment Type":"Miscellaneous/Other","Charges":37086},{"Age Group":"30 to 49","Primary Payment Type":"Private Health Insurance","Charges":24608},{"Age Group":"30 to 49","Primary Payment Type":"Self-Pay","Charges":17912},{"Age Group":"30 to 49","Primary Payment Type":"Unknown","Charges":21729},{"Age Group":"50 to 69","Primary Payment Type":"Blue Cross/Blue Shield","Charges":34410},{"Age Group":"50 to 69","Primary Payment Type":"Department of Corrections","Charges":25165},{"Age Group":"50 to 69","Primary Payment Type":"Federal/State/Local/VA","Charges":28755},{"Age Group":"50 to 69","Primary Payment Type":"Managed Care, Unspecified","Charges":33126},{"Age Group":"50 to 69","Primary Payment Type":"Medicaid","Charges":28371},{"Age Group":"50 to 69","Primary Payment Type":"Medicare","Charges":34076},{"Age Group":"50 to 69","Primary Payment Type":"Miscellaneous/Other","Charges":40341},{"Age Group":"50 to 69","Primary Payment Type":"Private Health Insurance","Charges":37613},{"Age Group":"50 to 69","Primary Payment Type":"Self-Pay","Charges":23942},{"Age Group":"50 to 69","Primary Payment Type":"Unknown","Charges":27173},{"Age Group":"70 or Older","Primary Payment Type":"Blue Cross/Blue Shield","Charges":37631},{"Age Group":"70 or Older","Primary Payment Type":"Department of Corrections","Charges":30117},{"Age Group":"70 or Older","Primary Payment Type":"Federal/State/Local/VA","Charges":24040},{"Age Group":"70 or Older","Primary Payment Type":"Managed Care, Unspecified","Charges":22594},{"Age Group":"70 or Older","Primary Payment Type":"Medicaid","Charges":37178},{"Age Group":"70 or Older","Primary Payment Type":"Medicare","Charges":35321},{"Age Group":"70 or Older","Primary Payment Type":"Miscellaneous/Other","Charges":25583},{"Age Group":"70 or Older","Primary Payment Type":"Private Health Insurance","Charges":32586},{"Age Group":"70 or Older","Primary Payment Type":"Self-Pay","Charges":25043},{"Age Group":"70 or Older","Primary Payment Type":"Unknown","Charges":30590}]},"encoding":{"x":{"field":"Age Group","type":"ordinal","axis":{"title":""}},"y":{"field":"Charges","type":"quantitative","axis":{"title":"Charges (US $)","grid":false},"scale":{"domain":[5000,41000]}},"color":{"condition":{"selection":"mySelection","field":"Primary Payment Type","type":"nominal"},"value":"black"},"opacity":{"condition":{"selection":"mySelection","value":1},"value":0.1}},"mark":"line","selection":{"mySelection":{"type":"single","fields":["Primary Payment Type"],"nearest":true,"bind":{"Primary Payment Type":{"input":"select","name":"Select Primary Payment Type ","options":["Blue Cross/Blue Shield","Department of Corrections","Federal/State/Local/VA","Managed Care, Unspecified","Medicaid","Medicare","Miscellaneous/Other","Private Health Insurance","Self-Pay","Unknown"]}}}},"config":{"axis":{"labelAngle":0}}}