Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Status 200 return on error #17

Open
phwiget opened this issue Feb 1, 2018 · 2 comments
Open

Status 200 return on error #17

phwiget opened this issue Feb 1, 2018 · 2 comments
Assignees

Comments

@phwiget
Copy link

phwiget commented Feb 1, 2018

if one PUT a MedicationRequest without a GTIN specificied in the medicationCodeableConcept, the FHIR API returns a HTTP status of 200 with an empty body , althought the console shows there is an error. Is this intentional or a bug? Shouldn't the server return a 400?
If everything works, there will be a 201

@col-panic
Copy link
Member

Thomas, can you please have a look at this?

@col-panic
Copy link
Member

It depends, according to https://www.hl7.org/fhir/medicationrequest.html there is at least one medication identifier required. Did you at least provide one? Could you please add the error shown to this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants