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

Default structure definitions lack meta section #141

Open
Andrzej-Pietrzak opened this issue Jul 4, 2016 · 0 comments
Open

Default structure definitions lack meta section #141

Andrzej-Pietrzak opened this issue Jul 4, 2016 · 0 comments

Comments

@Andrzej-Pietrzak
Copy link

User that wants to take advantage of versioning cannot use a generic mechanism for reading structure definitions alike other resources.

SELECT fhir_read_resource('{"resourceType": "STRUCTUREDEFINITION", "id": "Patient"}');
returns only the content of resource column and the structure definitions loaded initially don't contain meta sections.
So to take advantage of versioning, reading of structure definitions has to be implemented differently than all other resources or fhirbase user has to add a custom migration

Could we add the meta sections to the preloaded StructureDefinitions ?

@Andrzej-Pietrzak Andrzej-Pietrzak changed the title Defaut structure definitions lack meta section Default structure definitions lack meta section Jul 4, 2016
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