Storage
Steps to manage data storage. Data are stored for the purpose of comparing the data (ex : compare the patient data from the list to patien profile)
When
Stores data from a random list's row and open that row
Parameters :
| Name | Type | Description | Values |
|---|---|---|---|
| listName | {string} | What data listed should be stored |
|
Example :
the HCP stores data from a random "patient list table row" and opens it
the HCP stores data from a random "visit list table row" and opens it
To Do :
| Type | Description |
|---|---|
| SUGGESTION | camelize(listName)ListTableRow |
| FIX | Make date working |
Stores data from a random list's row
Parameters :
| Name | Type | Description | Values |
|---|---|---|---|
| listName | {string} | What data listed should be stored |
|
Example :
the HCP stores data from a random "patient list table row"
To Do :
| Type | Description |
|---|---|
| SUGGESTION | camelize(listName)ListTableRow |
Stores data from a list row in a certain position
Parameters :
| Name | Type | Description | Values |
|---|---|---|---|
| listName | {string} | What data listed should be stored |
|
| pos | {number} | Row number |
|
Example :
the HCP stores data from the "patient list table row" in position 1
the HCP stores data from the "visit list table row" in position 4
To Do :
| Type | Description |
|---|---|
| SUGGESTION | Should be removed ? |
Store value from the elementToStore inside a shared data to be able to compare them
Values stored are accessible in certain command like the {string} displays {string} using the 2nd argument with a variable "stored ..."
Parameters :
| Name | Type | Description | Values |
|---|---|---|---|
| elementToStore | {string} | Patient details profile box / visit details |
|
Example :
the HCP stores "patient details profile box" values to compare them
the "edit patient profile first name field" contains the patient value stored
To Do :
| Type | Description |
|---|---|
| SUGGESTION} CREATE A SPECIFIC COMMAND TO COMPARE THE VALUE AFTER ? LIKE THE {STRING} VALUE IS THE SAME AS THE STORED {STRING |