-
Notifications
You must be signed in to change notification settings - Fork 157
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
Support customizable compartment definitions #2143
Comments
Signed-off-by: Lee Surprenant <lmsurpre@us.ibm.com>
Signed-off-by: Lee Surprenant <lmsurpre@us.ibm.com>
The CompartmentDefinition resource has a required binding to a fixed list of compartment types. To support a custom compartments, we will now look for the `http://ibm.com/fhir/extension/custom-compartment-type` extension on this element (when it has no value). Additionally, I created a constant in fhir-core FHIRConstants for our base extension url and I updated all the different places we have extension urls to use it. Finally, I included a couple extra changes that I had sitting around for the FHIR Registry. If desired, I can split these out into a separate PR. Signed-off-by: Lee Surprenant <lmsurpre@us.ibm.com>
The CompartmentDefinition resource has a required binding to a fixed list of compartment types. To support a custom compartments, we will now look for the `http://ibm.com/fhir/extension/custom-compartment-type` extension on this element (when it has no value). Additionally, I created a constant in fhir-core FHIRConstants for our base extension url and I updated all the different places we have extension urls to use it. Finally, I included a couple extra changes that I had sitting around for the FHIR Registry. If desired, I can split these out into a separate PR. Signed-off-by: Lee Surprenant <lmsurpre@us.ibm.com>
The CompartmentDefinition resource has a required binding to a fixed list of compartment types. To support a custom compartments, we will now look for the `http://ibm.com/fhir/extension/custom-compartment-type` extension on this element (when it has no value). Additionally, I created a constant in fhir-core FHIRConstants for our base extension url and I updated all the different places we have extension urls to use it. Finally, I included a couple extra changes that I had sitting around for the FHIR Registry. If desired, I can split these out into a separate PR. Signed-off-by: Lee Surprenant <lmsurpre@us.ibm.com>
The CompartmentDefinition resource has a required binding to a fixed list of compartment types. To support a custom compartments, we will now look for the `http://ibm.com/fhir/extension/custom-compartment-type` extension on this element (when it has no value). Additionally, I created a constant in fhir-core FHIRConstants for our base extension url and I updated all the different places we have extension urls to use it. Finally, I included a couple extra changes that I had sitting around for the FHIR Registry. If desired, I can split these out into a separate PR. Signed-off-by: Lee Surprenant <lmsurpre@us.ibm.com>
The CompartmentDefinition resource has a required binding to a fixed list of compartment types. To support a custom compartments, we will now look for the `http://ibm.com/fhir/extension/custom-compartment-type` extension on this element (when it has no value). Additionally, I created a constant in fhir-core FHIRConstants for our base extension url and I updated all the different places we have extension urls to use it. Signed-off-by: Lee Surprenant <lmsurpre@us.ibm.com>
The CompartmentDefinition resource has a required binding to a fixed list of compartment types. To support a custom compartments, we will now look for the `http://ibm.com/fhir/extension/custom-compartment-type` extension on this element (when it has no value). Additionally, I created a constant in fhir-core FHIRConstants for our base extension url and I updated all the different places we have extension urls to use it. Finally, I included a couple extra changes that I had sitting around for the FHIR Registry. If desired, I can split these out into a separate PR. Signed-off-by: Lee Surprenant <lmsurpre@us.ibm.com>
I found that the CompartmentDefinition.code has a required binding of Using this extension, I registered a new compartment definition for "DrugPlan" as follows:
With this CompartmentDefinition and the corresponding search parameter available in the registry, I can now perform compartment searches like |
Signed-off-by: Lee Surprenant <lmsurpre@us.ibm.com>
Signed-off-by: Lee Surprenant <lmsurpre@us.ibm.com>
added very basic documentation at #2469 |
The CompartmentDefinition resource has a required binding to a fixed list of compartment types. To support a custom compartments, we will now look for the `http://ibm.com/fhir/extension/custom-compartment-type` extension on this element (when it has no value). Additionally, I created a constant in fhir-core FHIRConstants for our base extension url and I updated all the different places we have extension urls to use it. Signed-off-by: Lee Surprenant <lmsurpre@us.ibm.com>
Is your feature request related to a problem? Please describe.
Compartment search provides a way to efficient scope a search request to resources that have a single parameter value of some kind (e.g. a specific patient id).
It might be nice for users (i.e. operators of a given fhir server deployment) to be able to both:
Describe the solution you'd like
Describe alternatives you've considered
Do not support customizable compartment definitions.
Acceptance Criteria
Additional context
This feature becomes more powerful with #2371
The text was updated successfully, but these errors were encountered: