Skip to content

ASUSE/sana.protocol_builder

 
 

Repository files navigation

Travis Status Requirements Status

About This Project

The Sana Protocol is an XML specification for defining medical procedures. Basically, Sana is to HTML as medical documents are to web pages. These Sana procedures are downloaded by nurses and doctors onto their phones with the Sana mobile application. These mobile applications will then parse the Sana document and generate a questionaire "procedure" that the nurse or doctor can ask their patients. An example document is shown below:

<Procedure title="Neuro Module" author="Partners For Care">
  <Page>
    <Element type="MULTI_SELECT" id="1" 
      concept="NEURO SYMPTOM" 
      question="What are the symptoms?" 
      answer=""
      choices=“Dizziness,Fainting,Headaches,Other complaints"/>
  </Page>
  <Page>
		<ShowIf>
			<Criteria type="EQUALS" id="1" value="Fainting"/>
		</ShowIf>
		<Element type="ENTRY" 
		concept="UNCONSCIOUSNESS" id="2" 
		question="How long was the patient unconscious?" 
		answer=""/>
  </Page>
  <Page>
		<ShowIf>
			<Criteria type="EQUALS" id="1" value="Other complaints"/>
		</ShowIf>
		<Element type="ENTRY" 
		concept="OTHER COMPLAINTS" id="4" 
		question="Are there any other complaints?"
		answer=""/>
  </Page>
  ...
</Procedure>

However, these XML documents are difficult to write for non-technical users. The purpose of this project is to provide a easy-to-use web interface to aid doctors and other non-technical users in creating these documents. In other words, this is a WYSIWYM (what you see is what you mean) editor for Sana documents.

Architecture

The frontend is a Single Page Application (SPA) written in Ember.js. The backend is a Django + PostgreSQL application that provides an RESTful API for the frontend. The decoupled nature of the frontend and backend opens the possiblity of implementing the editor in other mediums such as mobile applications.

Installation

See docs/INSTALL.md.

About

Web app for building Sana Protocols

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 37.6%
  • CSS 26.7%
  • JavaScript 21.1%
  • HTML 8.1%
  • Ruby 5.0%
  • Shell 1.5%