fhirbase-plv8 icon indicating copy to clipboard operation
fhirbase-plv8 copied to clipboard

Default structure definitions lack meta section

Open Andrzej-Pietrzak opened this issue 8 years ago • 0 comments

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 avatar Jul 04 '16 09:07 Andrzej-Pietrzak