medal-data:icf-single
This is an old revision of the document!
**Procedure to Retrieve a Single Consent File (Extended)**
- *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.
- *Procedure:**
1. **Navigate to Patients Page:** - Open a web browser. - Enter the following URL in the address bar: `<medal-data-url>/patients`. - Press Enter to access the Patients page.
2. **Search for 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. - Review the search results to locate the correct patient.
3. **Retrieve Patient Information:** - Click on the patient's name or identifier to access detailed information. - Navigate to the section containing the patient's consent file. - Download or access the consent file as needed.
4. **Optional: Navigate to Medical Cases Page:** - If necessary, navigate to the Medical Cases page by entering the following URL in the address bar: `<medal-data-url>/medical-cases`. - Press Enter to access the Medical Cases page.
5. **Search for Specific Health Facility:** - Use the search functionality on the Medical Cases page to find cases associated with a specific health facility. - 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:** - Click on the medical case's name or identifier to access detailed information. - Navigate to the relevant sections to review additional details, including any associated consent files.
7. **Copy Patient ID:** - 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.
- *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.1705060957.txt.gz · Last modified: by Sylvain
