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

Structure Definition expects String in StructureDefinition->ElementDefinition->Type->Profile but there will be a list #103

Open
chrmey opened this issue Apr 14, 2021 · 0 comments

Comments

@chrmey
Copy link

chrmey commented Apr 14, 2021

Screenshot from FHIR-Website: Element Definition

grafik

As the FHIR website suggests there can be multiple values (a list) in this field. FHIR Client gives me an exception, stating that it is expecting a string for this field.

Error Message:

Wrong type <class 'list'> for property "profile" on <class 'fhirclient.models.elementdefinition.ElementDefinitionType'>, expecting <class 'str'>

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