-
Notifications
You must be signed in to change notification settings - Fork 109
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
resourceType last key instead of first in json #63
Comments
Unfortunately |
Thanks for the quick response. it would have been nice to have the resourceType as the first key, it would have made the json result more readable. I'm closing the ticket. |
Issue can be closed |
* FHIRAbstractModel::dict and FHIRAbstractModel::json methods have been refactored, also parameter signatures are changed. * FHIRAbstractModel::ymal's signature also changed. * update FHIRPrimitiveExtension and Primitive.
- `Issue #51 Help on converting XML to FHIR format. - `Issue #63 Now JSON output key's sequence is matching with original FHIR specification. Breaking - ``FHIRAbstractModel.json()`` and ``FHIRAbstractModel.dict()`` parameters signatures are more FHIR specific and additional parameters are removed (pydantic specific).
@nazrulworld i see you fixed it in ref:ff4e8c3 - did it affect the performance of |
Honestly speaking, I didn´t any benchmarks yet. Should not downgrade of performance. |
Description
I've built a diagnostic report resource but when I print json the resourceType is the last key. I was expecting the resourceType to be the first key. How can I fix this? please
What I Did
{"identifier": [{"value": "21-48608871"}], "issued": "2021-03-05T11:45:33+11:00", "status": "final", "resourceType": "DiagnosticReport"}
The text was updated successfully, but these errors were encountered: