forked from openemr/openemr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
prep for after rel-702 branch (openemr#6978)
- Loading branch information
1 parent
9775cc0
commit 699ba50
Showing
5 changed files
with
115 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,111 @@ | ||
-- | ||
-- Comment Meta Language Constructs: | ||
-- | ||
-- #IfNotTable | ||
-- argument: table_name | ||
-- behavior: if the table_name does not exist, the block will be executed | ||
|
||
-- #IfTable | ||
-- argument: table_name | ||
-- behavior: if the table_name does exist, the block will be executed | ||
|
||
-- #IfColumn | ||
-- arguments: table_name colname | ||
-- behavior: if the table and column exist, the block will be executed | ||
|
||
-- #IfMissingColumn | ||
-- arguments: table_name colname | ||
-- behavior: if the table exists but the column does not, the block will be executed | ||
|
||
-- #IfNotColumnType | ||
-- arguments: table_name colname value | ||
-- behavior: If the table table_name does not have a column colname with a data type equal to value, then the block will be executed | ||
|
||
-- #IfNotColumnTypeDefault | ||
-- arguments: table_name colname value value2 | ||
-- behavior: If the table table_name does not have a column colname with a data type equal to value and a default equal to value2, then the block will be executed | ||
|
||
-- #IfNotRow | ||
-- arguments: table_name colname value | ||
-- behavior: If the table table_name does not have a row where colname = value, the block will be executed. | ||
|
||
-- #IfNotRow2D | ||
-- arguments: table_name colname value colname2 value2 | ||
-- behavior: If the table table_name does not have a row where colname = value AND colname2 = value2, the block will be executed. | ||
|
||
-- #IfNotRow3D | ||
-- arguments: table_name colname value colname2 value2 colname3 value3 | ||
-- behavior: If the table table_name does not have a row where colname = value AND colname2 = value2 AND colname3 = value3, the block will be executed. | ||
|
||
-- #IfNotRow4D | ||
-- arguments: table_name colname value colname2 value2 colname3 value3 colname4 value4 | ||
-- behavior: If the table table_name does not have a row where colname = value AND colname2 = value2 AND colname3 = value3 AND colname4 = value4, the block will be executed. | ||
|
||
-- #IfNotRow2Dx2 | ||
-- desc: This is a very specialized function to allow adding items to the list_options table to avoid both redundant option_id and title in each element. | ||
-- arguments: table_name colname value colname2 value2 colname3 value3 | ||
-- behavior: The block will be executed if both statements below are true: | ||
-- 1) The table table_name does not have a row where colname = value AND colname2 = value2. | ||
-- 2) The table table_name does not have a row where colname = value AND colname3 = value3. | ||
|
||
-- #IfRow | ||
-- arguments: table_name colname value | ||
-- behavior: If the table table_name does have a row where colname = value, the block will be executed. | ||
|
||
-- #IfRow2D | ||
-- arguments: table_name colname value colname2 value2 | ||
-- behavior: If the table table_name does have a row where colname = value AND colname2 = value2, the block will be executed. | ||
|
||
-- #IfRow3D | ||
-- arguments: table_name colname value colname2 value2 colname3 value3 | ||
-- behavior: If the table table_name does have a row where colname = value AND colname2 = value2 AND colname3 = value3, the block will be executed. | ||
|
||
-- #IfRowIsNull | ||
-- arguments: table_name colname | ||
-- behavior: If the table table_name does have a row where colname is null, the block will be executed. | ||
|
||
-- #IfIndex | ||
-- desc: This function is most often used for dropping of indexes/keys. | ||
-- arguments: table_name colname | ||
-- behavior: If the table and index exist the relevant statements are executed, otherwise not. | ||
|
||
-- #IfNotIndex | ||
-- desc: This function will allow adding of indexes/keys. | ||
-- arguments: table_name colname | ||
-- behavior: If the index does not exist, it will be created | ||
|
||
-- #EndIf | ||
-- all blocks are terminated with a #EndIf statement. | ||
|
||
-- #IfNotListReaction | ||
-- Custom function for creating Reaction List | ||
|
||
-- #IfNotListOccupation | ||
-- Custom function for creating Occupation List | ||
|
||
-- #IfTextNullFixNeeded | ||
-- desc: convert all text fields without default null to have default null. | ||
-- arguments: none | ||
|
||
-- #IfTableEngine | ||
-- desc: Execute SQL if the table has been created with given engine specified. | ||
-- arguments: table_name engine | ||
-- behavior: Use when engine conversion requires more than one ALTER TABLE | ||
|
||
-- #IfInnoDBMigrationNeeded | ||
-- desc: find all MyISAM tables and convert them to InnoDB. | ||
-- arguments: none | ||
-- behavior: can take a long time. | ||
|
||
-- #IfDocumentNamingNeeded | ||
-- desc: populate name field with document names. | ||
-- arguments: none | ||
|
||
-- #IfUpdateEditOptionsNeeded | ||
-- desc: Change Layout edit options. | ||
-- arguments: mode(add or remove) layout_form_id the_edit_option comma_separated_list_of_field_ids | ||
|
||
-- #IfVitalsDatesNeeded | ||
-- desc: Change date from zeroes to date of vitals form creation. | ||
-- arguments: none | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
openapi: 3.0.0 | ||
info: | ||
title: 'OpenEMR API' | ||
version: 7.0.0 | ||
version: 7.0.3 | ||
servers: | ||
- | ||
url: /apis/default/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters