Giter Club home page Giter Club logo

careplancarekitapp's Introduction

CarePlan ⟷ CareKit

Testing app to work with FHIR CarePlan in a CareKit app. Created during the FHIR Connectathon #12 in Montréal in the Workflow track.

Most stuff happens in AppDelegate and in CarePlanController; the latter lives in the framework, which is added as a submodule. Look at loadCarePlan(), where you can toggle whether to load the bundled plan or the remote one, used during the connectathon.

The bottom half of AppDelegate has some methods that perform connectathon-specific tasks.

git clone --recursive https://github.com/p2/CarePlanCareKitApp.git

Workflow

Goal: patient performs an activity (getting a lab test done) found in his care plan.

  • CarePlan is created/maintained by his care team, hosted on server X
  • Phone reads CarePlan from X
    • Resolves subject
    • Resolves participant.member list
    • Resolves activity.reference list
    • Creates a note for the patient for every DiagnosticOrder it finds
    • When the patient marks the note as completed, creates a Task and sends it to Grahame's server
    • Polls the order's status until its status is completed
  • Lab polls for Task it can process on Grahame's server
    • Finds Task and pulls out DiagnosticOrder
    • Lab acts on order and marks DiagnosticOrder as InProgress
    • Lab produces final DiagnosticReport and uploads
    • Lab marks DiagnosticOrder as completed
    • Lab creates Task for report review containing a link to DiagnosticReport

careplancarekitapp's People

Contributors

p2 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

careplancarekitapp's Issues

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.