Why is my Soap_Note endpoint not working?
for reference, I have hosted my openemr on an AWS server with a working ssl.
I used curl commands to test note building for Soap_note endpoint
An example of the curl commands I used are:
% curl -X POST “https://exampleorg.com/apis/default/api/patient/123/encounter/1/soap_note”
-H "Authorization: Bearer "
-H “Content-Type: application/json”
-d ‘{
“subjective”: “The patient with mechanical fall and cut finger.”,
“objective”: “The patient with finger laceration on exam.”,
“assessment”: “The patient with finger laceration requiring sutures.”,
“plan”: “Sutured finger laceration.”
}’
{“sid”:6,“fid”:5}%
This shows that soap_note was created successfully right?
Then I tried to verify the creation of the soap_note
% curl -X GET “https://example.org/apis/default/api/patient/123/encounter/1/soap_note”
-H "Authorization: Bearer "
-H “Accept: application/json”
-H “Content-Type: application/json”
null%
I also checked in my openemr instance but there was no note
even using the get curl command, I got null% for some reason?
Any help would be greatly appreciated!