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

Error parsing JSON: the primitive value must be a number [MedicationDispense.quantity.value] #106

Open
piotrszul opened this issue Jun 27, 2024 · 0 comments

Comments

@piotrszul
Copy link
Contributor

Errors

[ERROR_PARSING_JSON_THE_PRIMITIVE_VALUE_MUST_BE_A_NUMBER]

Error parsing JSON: the primitive value must be a number

Resources

MimicMedicationDispense

Examples

"reference": "Patient/4e6c264d-ab99-56be-935b-f45ac9621f1b"}, "quantity": {"value": "6"}, "identifier"
piotrszul added a commit to aehrc/mimic-fhir that referenced this issue Jun 27, 2024
…sible extract the numerical value and the unit. Otherwise, do not provide the quantity.

Fixing:

kind-lab#106
kind-lab#107

- Error parsing JSON: the primitive value must be a number	(e.g: quantity": {"value": "3"})
- The value '60 ml' is not a valid decimal (e.g:   {"value": "60ml"})
- The value 'PO' is not a valid decimal	 ({"value": "PO"})
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

1 participant