Project

hsp

0.0
No release in over 3 years
Low commit activity in last 3 years
Command line utilities for interacting with an account on the public HSPC Marketplace, or any alternative deployment.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

~> 1.14
~> 5.0
~> 10.0

Runtime

>= 1.33.2
>= 1.2.3
>= 0.14.0
>= 0.19.4
 Project Readme

FHIR Controller Command Line Interface (CLI) Utilities

Build Status

The fhir-controller command line utility for interacting with a remote FHIR Controller (or compatible) deployments from an on-premise or cloud host. This cross-platform executable provides a:

  • Command line interface supplement to a FHIR Controller deployment.
  • Ability to upload a directory of Synthea FHIR output directly to a FHIR server in the correct dependency sequence.
  • "Agent" mode for real-time routing of remote commands to a local Docker engine, swarm, or other orchestration agent.

Running via Docker Image

# Get high-level subcommand help.
docker run --rm p3000/fhir-controller-cli:latest help

# Example of headless polling and auto-loading by reference to a FHIR Controller stack.json file.
# Data loading will be triggered whenever the server affirmative confirms the _absense_ of a special AuditEvent import record.
docker run --rm --pull always p3000/fhir-controller-cli:latest poll-auditevent-and-trigger-import http://fhir.example.com/fhir https://stack.foundry.hl7.org/stack.json -i 5

Development & Testing Usage

# Install TypeScript Node runner for convenience
npm i -g ts-node

# Run the CLI directly from source.
ts-node src/bin/fhir-controller.ts help

This software is released under the Apache 2.0 license. Copyright © 2017+ Preston Lee.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/preston/marketplace. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.