d3b-center / clinical-data-flow

📓Project management and design artifacts for Clinical Data Flow
https://handbook.d3b.io/docs/products/clinical-data-flow
Apache License 2.0
0 stars 0 forks source link

Enable searching of resources by added attributes (extensions) #34

Closed znatty22 closed 4 years ago

znatty22 commented 4 years ago

Autogenerate SearchParameters for a given set of extensions A user cannot search for resources by added attributes (extensions) unless SearchParameter resources have been created and loaded into the server for those extensions.

For example the Phenopackets FHIR model has an extension called karyotypic-sex. The karyotypic-sex extension defines a new attribute on the Patient resource. Users cannot do searches like this: /Patient?karyotypic-sex=XY right now because the FHIR server does not have a SearchParameter for it.

Add a new CLI command to the kf-model-fhir CLI to generate SearchParameters for a file or directory containing extensions.

Make PR to add SearchParameter files to kf-model-fhir

Load SearchParameters into FHIR server Load the generated SearchParameters into the FHIR server

znatty22 commented 4 years ago

Closing since this is complete and just has to be merged into master branch

znatty22 commented 4 years ago

Reopening because this still needs to be completed