lifeomic / phc-sdk-py

The phc-sdk-py is a developer kit for interfacing with the PHC API on Python 3.8 and above.
https://lifeomic.github.io/phc-sdk-py/index.html
MIT License
1 stars 2 forks source link

Update to reflect changed response #167

Closed cluebbehusen closed 2 years ago

cluebbehusen commented 2 years ago

The FHIR api used to just return the default 'CREATED' string when creating a FHIR resource. Now it returns the created resource itself. The DSTU3 class in the SDK is still expecting that 'CREATED' string, so now it's throwing an error. This updates it to check status code instead.