New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

fhir-tools

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fhir-tools

A command line tool for performing common tasks on FHIR® resources.

  • 1.2.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-80%
Maintainers
1
Weekly downloads
 
Created
Source

fhir-backup

A command line tool for performing common tasks on FHIR® resources.

Installation

# Install globally
npm install fhir-tools -g
# Clone and install
git clone https://github.com/lantanagroup/fhir-tools
cd fhir-tools
npm install 

Commands

# If installed globally
spec-tools <command> <parameters> --options
# If running from cloned repo
node index.js <command> <parameters> --options
CommandDescription
create-bundleCreates a bundle from one or more paths in the form of directories, package.tgz files on the file system, or urls to package.tgz files
fixidsFix number-only ids of resources in a bundle so they can be imported with HAPI
deleteDelete all resources from a FHIR server
transferTransfer resources from one server to another
importImport resources from a Bundle file onto the specified server
bulk-analyzeAnalyze resources from bulk ndjson files in a directory
compareCompare the resources from one FHIR server to another
exportExport data from a FHIR server
get-all-resource-idsGets all resource ids for the specified resource types from a FHIR server
xml-to-jsonConverts a XML file (or all XML files in a directory) to JSON. Stores the JSON file as the same file name as the XML file, but with an JSON extension, instead.
json-to-xmlConverts a JSON file (or all JSON files in a directory) to XML. Stores the JSON file as the same file name as the XML file, but with an JSON extension, instead.
create-code-systemCreate a code system from a source file, such as RXNorm or SNOMED-CT. This command is VERY basic and does not currently account for many of the complexities of SNOMED and RXNORM code systems. This is only intended as a starting point and should not be used in production systems that require reliability.
transactionExecute a bundle as a transaction on the destination fhir server
bundleUpdates an existing bundle to be a specific type of bundle. If batch or transaction, ensures that all entries have a request

Help

# If installed globally:
fhir-tools --help
fhir-tools <command> --help
# If running from cloned repo
node index.js --help
node index.js <command> --help

FAQs

Package last updated on 05 Dec 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc