-
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
Example 5 and Encounter validation is failing #39
Comments
@ytitov first of all thanks a lot for reporting this issue.
|
@nazrulworld First, thanks for your responses.
from fhir.resources.organization import Organization
org = Organization.construct() The resulting error:
EDIT: |
@ytitov I can confirm that problem to be reproducible in my PC and I know why this is happing |
@nazrulworld looks like downgrading to pydantic 1.6.1 fixes my issue |
…aseModel * Issue #39 pydantic 1.6.x, 1.7.x compabilities.
…odel_validator is handled with proper error message. * fixes mypy linting.
Greetings, I am investigating this library to use in a ETL step for a data integration and looking to create FHIR data structures. I've never used pydantic before so please forgive my ignorance :) Could I get some help with why this is failing?
Description
I am trying to create an encounter:
What I Did
Results in a confusing error. Especially since it is talking about "jsondecode" error.
In addition to above Example 5 doesn't seem to work either:
results in
The text was updated successfully, but these errors were encountered: