Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
HAPI_FHIR/README.md
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
26 lines (20 sloc)
1.58 KB
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
### Requirements | |
- Docker | |
- The `MedRecData.tar` file which is inside the `MedRecData.rar` file shared via filelocker | |
### ** For Windows users ** | |
If you don't already have Windows Subsystem for Linux (**WSL2**) installed, follow these directions to [install WSL2 on Windows 10](https://youtu.be/n-J9438Mv-s?t=51). | |
If you need to install Docker, here are the [directions to install Docker](https://docs.docker.com/get-docker/). | |
## Installing HAPI FHIR | |
1. Load the Docker file with `docker load --input path/to/MedRecData.tar` at the terminal. Make sure to replace all of `{path/to/MedRecData.tar}` with just the string corresponding to the path to your file. If your path has spaces in it, you willl need to enclose this string inside double quotes. | |
- You should now have the SHA-256 hash of the file which is your `image id`. This is the string after `sha256:` below | |
- ![image id](1.png) | |
2. Run the docker container with `docker run -p 8080:8080 {image id}` at the terminal. Make sure to replace all of `{image id}` with just the string of the SHA-256 hash. | |
- Wait about ~30 seconds and your terminal should look similar to below | |
- ![terminal after HAPI FHIR runs](2.png) | |
3. Now leave the terminal running and open a browser window and use either of the following to access `HAPI FHIR` | |
- `http://127.0.0.1:8080` | |
- `http://localhost:8080` | |
4. Enjoy using `HAPI FHIR` | |
5. When you are finished using `HAPI FHIR` go back to the terminal and use `ctrl+c` to end the session | |
### Useful Resources | |
- [HAPI FHIR documentation](https://hapifhir.io/hapi-fhir/docs/introduction/table_of_contents.html) |