Situation
I have been working with the API for Encounter, the date always defaults to today instead of the one passed on the POST API. please help
For example:
{
“date”: “2020-11-10”,
“onset_date”: “”,
“reason”: “Pregnancy Test”,
“facility”: “Owerri General Hospital”,
“pc_catid”: “5”,
“facility_id”: “3”,
“billing_facility”: “3”,
“sensitivity”: “normal”,
“referral_source”: “”,
“pos_code”: “0”,
“external_id”: “”,
“provider_id”: “1”,
“class_code”: “AMB”
}
the date that is being saved to the db is the current date instead of “date”: “2020-11-10”.
Please help!
OpenEMR Version
I’m using OpenEMR version 6.1.0
Browser:
I’m using:
Operating System
I’m using: LINUX
Logs
Did you check the logs? no error
Was there anything pertinent in them?
Please paste them here (surround with three backticks (```) for readability.
You can also turn on User Debugging under Administration->Globals->Logging User Debugging Options=>All