-
Notifications
You must be signed in to change notification settings - Fork 3
304 add api for automated scheduled encounters #314
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
base: v3.4.0
Are you sure you want to change the base?
Changes from 15 commits
363ee51
6fe7907
a25a72c
11482c9
039854b
440adb8
30b2924
40f96ad
15e35fd
4c8aba6
7ee8b01
29f6772
32eaef4
2d06b07
76009b4
ca99ad6
d584d39
87fce2b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| USE `moPat`; | ||
|
|
||
| SELECT MAX(id) | ||
| INTO @largest_id | ||
| FROM moPat.configuration; | ||
|
|
||
| -- Configuration may change with changing groups added. Please make sure this fits to your server config. | ||
| -- Adjust configuration_group_id to fit to your FHIR config group. Copy the values for all available FHIR configs on the server | ||
| -- You can find the ids with this query: | ||
| -- SELECT id FROM moPat.configuration_group WHERE configuration_group.label_message_code LIKE '%FHIR'; | ||
| -- On a server with no additional config groups, the id should be 11 | ||
| INSERT INTO moPat.configuration (`id`, `type`, `configuration_group_id`, `parent`, `position`, `attribute`, `configuration_type`, `description_message_code`, `class`, `label_message_code`, `test_method`, `update_method`, `uuid`, `value`, `pattern`) VALUES | ||
|
aluapaula marked this conversation as resolved.
|
||
| (@largest_id + 1, 'GENERAL', 1, NULL, 17, 'enableApiTokenAccess', 'BOOLEAN', 'configuration.label.enableApiTokenAccess', 'GLOBAL', 'configuration.label.enableApiTokenAccess', NULL, NULL, '25fd8f5e-2e90-4cd1-8a30-d84c88889c5c', false, NULL), | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please adjust the description message. It should not be the same as the label. Also for this feature, the description should be a disclaimer, how this feature opens up the application and allows everybody with the API key to create new encounters. |
||
| (@largest_id + 2, 'GENERAL', 1, 17, 18, 'apiKey', 'STRING', 'configuration.label.apiKey', 'GLOBAL', 'configuration.label.apiKey', NULL, NULL, '9b48f864-8cb7-4704-82e2-12045755e2aa', '', NULL); | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The parent has to be adjusted. It needs to be
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Also adjust these changes in the other db scripts |
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please adjust this. It is not specific to FHIR anymore