Giter Club home page Giter Club logo

playground-basic's Introduction

HAPI FHIR Playground: Basic

This project is a skeleton project for using HAPI FHIR to access a public FHIR server hosted at http://hapi.fhir.org/baseR4.

Getting Started:

  • Take a few minutes to familiarize yourself with the FHIR Standard for health data exchange. In particular you might want to read the Executive Summary and the Developer Introduction

  • Try clicking on the link below. It is a FHIR Search operation used to look for patients with the name "Smith". (This is a publically accessible test server used by people all over the world, so we don't control what data is on it. Sometimes you may find unexpected or weird data there.)

    http://hapi.fhir.org/baseR4/Patient?family=SMITH

  • Create your own GitHub project and copy the contents of this repository into your own project (please don't fork this repository)

  • Locate the class org.example.fhir.SampleClient and run it. This class runs the same search shown above.

  • Please, do not fork this repo. Create your own private GitHub repository to do your work in.

Basic Tasks:

  • Modify org.example.fhir.SampleClient so that it prints the first and last name, and birth date of each Patient to the screen

  • Sort the output so that the results are ordered by the patient's first name

  • Commit your work

Intermediate Tasks:

  • Create a text file containing 20 different last names

  • Modify 'org.example.fhir.SampleClient' so that instead of searching for patients with last name 'SMITH', it reads in the contents of this file and for each last name queries for patients with that last name

  • Print the average response time for these 20 searches by implementing an IClientInterceptor that uses the requestStopWatch to determine the response time of each request.

  • Run this loop three times, printing the average response time for each loop. The first two times the loop should run as described above. The third time the loop of 20 searches is run, the searches should be performed with caching disabled.

  • If there is enough time between runs, you should expect to see loop 2 with a shorter average response time than loop 1 and 3.

  • Please include unit tests for your work

  • Commit your work

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.