Skip to content

Commit

Permalink
prep for after rel-702 branch (openemr#6978)
Browse files Browse the repository at this point in the history
  • Loading branch information
bradymiller authored Nov 6, 2023
1 parent 9775cc0 commit 699ba50
Show file tree
Hide file tree
Showing 5 changed files with 115 additions and 4 deletions.
2 changes: 1 addition & 1 deletion _rest_routes.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/

/**
* @OA\Info(title="OpenEMR API", version="7.0.0")
* @OA\Info(title="OpenEMR API", version="7.0.3")
* @OA\Server(url="/apis/default/")
* @OA\SecurityScheme(
* securityScheme="openemr_auth",
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "openemr/openemr",
"version": "7.0.2",
"version": "7.0.3",
"description": "OpenEMR is a Free and Open Source electronic health records and medical practice management application",
"license": "GPL",
"support": {
Expand Down
111 changes: 111 additions & 0 deletions sql/7_0_2-to-7_0_3_upgrade.sql
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

2 changes: 1 addition & 1 deletion swagger/openemr-api.yaml
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/
Expand Down
2 changes: 1 addition & 1 deletion version.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
// upgrade file is the starting point for the next upgrade.
$v_major = '7';
$v_minor = '0';
$v_patch = '2';
$v_patch = '3';
$v_tag = '-dev'; // minor revision number, should be empty for production releases

// A real patch identifier. This is incremented when we release a patch for a
Expand Down

0 comments on commit 699ba50

Please sign in to comment.