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
Create a branch off of kf-model-fhir/add-phenopackets-model and make your PR against that branch
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
. Thekaryotypic-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
kf-model-fhir/add-phenopackets-model
and make your PR against that branchLoad SearchParameters into FHIR server Load the generated SearchParameters into the FHIR server