Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 819 Bytes

README.md

File metadata and controls

30 lines (19 loc) · 819 Bytes

FHIR to Swagger

A command line tool to convert FHIR R4 (4.0 Schema) with partial NZ Base IG to Swagger definitions.

[:construction: Work-In-Progress (Part-Timed) & Feature Requests are Welcomed]

Build, Install & Run

Build & Install

Clone or download the project and execute the following command (from the root directory) to install relevant dependencies

Use NodeJS 11.14.0v for error free instalation and execution

npm install

Run

Execute the following command (from the root Directory) to link the tool with shell

npm link
  1. Execute the following command to generate the swagger definition for Patient resource. This will generate the swagger definition inside the generated-def folder

    fhir-to-swagger Patient --output ./generated-def