Command line tool
Firely Terminal is a command line tool for fhir. You get a whole range of small utilities at your
disposal with just typing fhir
in the command line.
You can read more about it here.
Installation
Make sure the .NET Core 3.1 SDK is installed.
>
Run
fhir -h
for help
>
Run
fhir -h
for help
Examples
> fhir mode r3
> fhir server add vonk https://vonk.fire.ly
> fhir read vonk AllergyIntolerance/c396d692-74f4-46d1-90a2-41ac056f2ad2
> fhir save allergy1.json
Resource from top of stack saved as allergy1.json
> fhir search vonk Observation _count=20
20 resources where pushed on the stack
> fhir bundle
Pushed bundle on the stack
> fhir resolve http://hl7.org/fhir/StructureDefinition/Patient
Resource found in Simplifier. Pushed on the stack.
Features
- Download and upload fhir resources
- Communicate with fhir servers: get, put, post, search
- Install, create and manage fhir packages
- Bundle resources, and split bundles
- Transform resources to xml or json
- Zip, unzip fhir resources
- Resolve canonical URL's
- Profiled Resource Validation
- Create snapshots
- Synchronize Simplifier projects with a local folder
- Filter resources with FhirPath
- Save resources with a filename built from fields in the resource