shihjay2 / nosh2

NOSH ChartingSystem is an electronic health record system designed exclusively for doctors and patients. This is a new mobile-friendly version that is now based off of the Laravel PHP framework and jQuery. NOSH has FHIR, Bluebutton, ICD-10, GoodRX API, RXNorm API, Phaxio, and UMA support.
Other
74 stars 53 forks source link

Undefined index: "LAG" #132

Closed rodortega closed 5 years ago

rodortega commented 5 years ago

https://github.com/shihjay2/nosh2/blob/ab0c002236b15a4d41a809dadb7d3c5c36f70dc3/app/Http/Controllers/CoreController.php#L6527

https://github.com/shihjay2/nosh2/blob/ab0c002236b15a4d41a809dadb7d3c5c36f70dc3/app/Http/Controllers/CoreController.php#L6563

When I try to add a new Practice Group, and if I don't pick United States as a country, It will give an error Undefined Index: "LAG" or any state not from U.S.

shihjay2 commented 5 years ago

Fixed in commit ba9e0ab44f229a7b601f4f5151543e39187a5ed3.