User Tools

Site Tools


medal-data:icf-single

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Last revisionBoth sides next revision
medal-data:icf-single [2024/01/12 13:02] – created Sylvainmedal-data:icf-single [2024/01/12 13:26] Sylvain
Line 1: Line 1:
-====== **Procedure to Retrieve a Single Consent File (Extended)** ======+====== Procedure to Retrieve a Single Consent File (Extended) ======
  
-  **Objective:** +**Objective:** 
-  Retrieve a single consent file by navigating to the patients page and searching for a specific patient using first name, middle name, last name, and birthdate. Optionally, navigate to the medical cases page to find the corresponding medical case associated with a specific health facility. Copy the `patient_id`, connect to the server, and use `scp` to copy the file locally.+Retrieve a single consent file by navigating to the patients page and searching for a specific patient using first name, middle name, last name, and birthdate. Optionally, navigate to the medical cases page to find the corresponding medical case associated with a specific health facility. Copy the `patient uid`, connect to the server, and use `scp` to copy the file locally.
  
-  **Procedure:**+**Procedure:**
  
-  1. **Navigate to Patients Page:** +1. **Navigate to Patients Page:** 
-     Open a web browser+    Login to medal data
-     Enter the following URL in the address bar: `<medal-data-url>/patients`+    Navigate to the patients page: `<medal-data-url>/patients`.
-     - Press Enter to access the Patients page.+
  
-  2. **Search for Patient:** +2. **Search for Patient:** 
-     - Use the search functionality on the Patients page to find the specific patient. +    - Use the search functionality on the Patients page to find the specific patient. 
-     - Enter the patient's first name, middle name, last name, and birthdate in the search fields. +    - Enter the patient's first name, middle name, last name, or birthdate in the search fields. 
-     - Review the search results to locate the correct patient.+    - Review the search results to locate the correct patient. 
 +    - You can order it by `SN` to have a chronological order
  
-  3. **Retrieve Patient Information:** +3. **More options to retrieve the patient:** 
-     Click on the patient's name or identifier to access detailed information+    Use the search functionality on the Medical Cases page to find cases associated with a specific health facility
-     Navigate to the section containing the patient'consent file+    Enter the health facility'name in the search fields
-     Download or access the consent file as needed.+    Order the search results by date of creation to help locate the desired medical case. 
 +    - Or search for a specific date and order the results by health facilities
  
-  4. **Optional: Navigate to Medical Cases Page:** +4. **Copy Patient ID:** 
-     If necessarynavigate to the Medical Cases page by entering the following URL in the address bar: `<medal-data-url>/medical-cases`. +    In the Patients search pagecopy the `patient uid` associated with the patient whose consent file you want to retrieve. 
-     Press Enter to access the Medical Cases page.+    - In the Patients detail page, copy the `Patient Id
 +    In the Medical Cases search page, copy the `Belongs to patient id`
  
-  5. **Search for Specific Health Facility:** +5. **Connect to the Server:** 
-     Use the search functionality on the Medical Cases page to find cases associated with a specific health facility. +    Open a terminal on your local machine.
-     - Enter the health facility's name or other relevant information in the search fields. +
-     - Order the search results by date of creation to help locate the desired medical case.+
  
-  6. **Retrieve Medical Case Information:** +6. **Copy File Locally with `scp`:** 
-     Click on the medical case's name or identifier to access detailed information+    - Use the following `scp` command, replacing the variables with the appropriate values: 
-     Navigate to the relevant sections to review additional details, including any associated consent files.+     <code bash> 
 +     scp "REMOTE_USER@REMOTE_SERVER:SOURCE_PATH/PATIENT_UID_image.jpg" "DESTINATION_PATH" 
 +     </code> 
 +    Replace `REMOTE_USER` with the actual remote username. 
 +    - Replace `REMOTE_SERVER` with the actual remote server address. 
 +    - Replace `SOURCE_PATH` with the path where the image is stored on the server
 +    Replace `PATIENT_UID` with the copied `patient uid`. Example : c70d3537-7d9d-4462-869b-ffdswbd013c8_image.jpg 
 +    - Replace `DESTINATION_PATH` with the local path where you want to copy the image.
  
-  7. **Copy Patient ID:** +**Expected Results:**
-     - In the Patients page, copy the `patient_id` associated with the patient whose consent file you want to retrieve. +
- +
-  8. **Connect to the Server:** +
-     - Open a terminal on your local machine. +
- +
-  9. **Copy File Locally with `scp`:** +
-     - Use the following `scp` command, replacing the variables with the appropriate values: +
- +
-      <code bash> +
-      **scp "REMOTE_USER@REMOTE_SERVER:SOURCE_PATH/patient_id_image.jpg" "DESTINATION_PATH"** +
-      </code> +
-      - Replace `REMOTE_USER` with the actual remote username. +
-      - Replace `REMOTE_SERVER` with the actual remote server address. +
-      - Replace `SOURCE_PATH` with the path where the image is stored on the server. +
-      - Replace `patient_id` with the copied `patient_id`. +
-      - Replace `DESTINATION_PATH` with the local path where you want to copy the image. +
- +
-  **Expected Results:**+
   The specified patient's consent file should be successfully located and retrieved. The file should be copied locally using `scp` with the correct variables replaced.   The specified patient's consent file should be successfully located and retrieved. The file should be copied locally using `scp` with the correct variables replaced.
- 
-  **Notes:** 
-  - Ensure the provided `<medal-data-url>` is accurate and accessible. 
-  - Use the search functionality effectively to narrow down the results. 
-  - Follow any additional navigation steps based on the specific interface and features of the web application. 
-  - Replace variables in the `scp` command with actual values. 
medal-data/icf-single.txt · Last modified: 2024/01/12 13:27 by Sylvain