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

add SearchParameter resource #11

Open
abookin opened this issue Oct 22, 2018 · 4 comments
Open

add SearchParameter resource #11

abookin opened this issue Oct 22, 2018 · 4 comments

Comments

@abookin
Copy link

abookin commented Oct 22, 2018

I think, You should add SearchParameter resource to fhirbase schema. It would simplify the development of the search operation in application layer.

CREATE TABLE IF NOT EXISTS "searchparameter" (id text primary key, txid bigint not null, ts timestamptz DEFAULT current_timestamp, resource_type text default 'SearchParameter', status resource_status not null, resource jsonb not null);

CREATE TABLE IF NOT EXISTS "searchparameter_history" ( id text, txid bigint not null, ts timestamptz DEFAULT current_timestamp, resource_type text default 'SearchParameter', status resource_status not null, resource jsonb not null,PRIMARY KEY (id, txid));

@nishasumesh
Copy link

Entire search functionality is missing in fhirbase 3.0

@niquola
Copy link
Member

niquola commented Oct 29, 2018

yes, we will move it into documentation, because it’s very application specific - how to manage metadata. We are working on fhirpath extension, which will make it easy to implement FHIR search.

@Bolik
Copy link

Bolik commented Oct 29, 2018

I think, that searchParameter resource must exists, at least, for user-defined search parameters

@mlapshin
Copy link
Contributor

mlapshin commented Jan 6, 2019

You can manually create searchparameter and searchparameter_history table with the same schema as for any other resource table, it's not a big deal. CRUD functions should work for such custom resource.

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

5 participants