Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/coderunrepeat/loinc.cli
https://github.com/coderunrepeat/loinc.cli
Last synced: 4 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/coderunrepeat/loinc.cli
- Owner: CodeRunRepeat
- License: mit
- Created: 2022-02-28T14:56:34.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-05-05T15:46:04.000Z (over 2 years ago)
- Last Synced: 2024-11-16T08:29:43.257Z (2 months ago)
- Language: C#
- Size: 45.9 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![.NET](https://github.com/CodeRunRepeat/Loinc.Cli/actions/workflows/dotnet.yml/badge.svg?branch=main)](https://github.com/CodeRunRepeat/Loinc.Cli/actions/workflows/dotnet.yml)
# What is Loinc.Cli?
Loinc.Cli is a command line tool to access and use the [LOINC FHIR Terminology Server](https://loinc.org/fhir/) published
and managed by loinc.org. As described [on their site](https://loinc.org/get-started/what-loinc-is/),> LOINC is a common language (set of identifiers, names, and codes) for identifying health measurements, observations, and documents. The overall scope of LOINC is anything you can test, measure, or observe about a patient.
## Using Loinc.Cli
Loinc.Cli is built on .NET 6 that you can download [here](https://dotnet.microsoft.com/en-us/download/dotnet/6.0).
Clone this repo, go to the src directory, and run```bash
dotnet build
```Then you can run the executable in the bin directory.
To connect to the LOINC server, you need credentials for loinc.org; you can sign up for credentials [here](https://loinc.org/join/). The CLI retrieves these credentials from two environment variables:
```text
LOINC_USER_NAME=
LOINC_PASSWORD=
```## Running tests
Tests are in the /test directory and require setting up the same environment variables. The project references an
.env file that you will have to create yourself and add the environment variables above.