Skip to content

Latest commit

 

History

History
75 lines (42 loc) · 1.03 KB

README.md

File metadata and controls

75 lines (42 loc) · 1.03 KB

Kuunika FHIR Patient Resources

1 Background

This repo is a simple CRUD API application based on the patient FHIR specification. This API is build with Nodejs and Express as well as Mongo DB for the persistent storage.

For more information on the Patient FHIR Specification click the link below.

FHIR Patient Specification

2 - Installation Service

Required

  1. Mongo DB version 4.0.10
  2. Nodejs version 10.16.0

Run:

npm install

After successfull installation:

npm run start

The application should be running at port 3000

http://127.0.0.1:3000/api/patient

3 - Usage

The API is usable with the following request methods

Get:

http://127.0.0.1:3000/api/patient
http://127.0.0.1:3000/api/patient/{patientId}

Post:

http://127.0.0.1:3000/api/patient

Put:

http://127.0.0.1:3000/api/patient/{patientId}

Delete:

http://127.0.0.1:3000/api/patient/{patientId}