Name: django-openehr-demo-app
Owner: Open Health Care
Description: Django demo app for the django-openehr models package
Created: 2018-01-29 13:41:35.0
Updated: 2018-03-16 12:25:43.0
Pushed: 2018-03-16 12:25:39.0
Homepage: null
Size: 182
Language: Python
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Experimental | Not officially supported by OHCUK
This repository contains a demo application for the django-openehr models library.
To try this application:
git clone
this repo into a suitable foldercd
into the cloned directorypip install -r requirements.txt
to install dependenciespython manage.py migrate
to set up the database (this application is set up to use PostgresQL, so if you don't have this installed you may need to install it for your platform - I suggest googling for instructions specific to your platform. Alternatively, if you are familiar with Django you can change the DATABASES information in settings.py
to an alternative DB)python manage.py createsuperuser
(enter some super user details)python manage.py runserver
localhost:8000/admin/
to log in and interact with the models using the Django admin interface.localhost:8000/IDCR-transfer-of-care/
to see the Django Form that has been (semi)-automatically created using the information in the Django Models. (Semi-automatic in that the fields, validation and helptext are all drawn from the Models automatically. Structure and layout of the form were, of course, manual)python manage.py shell
to manipulate the new classes.)(Human-readable transliteration)
openEHR-EHR-SECTION.relevant_contacts_rcp.v1
openEHR-EHR-ADMIN_ENTRY.relevant_contact_rcp.v0
openEHR-EHR-CLUSTER.individual_professional_uk.v1
openEHR-EHR-CLUSTER.person_name.v1 ELEMENT Full name
openEHR-EHR-CLUSTER.telecom_uk.v1 ELEMENT Telcoms ELEMENT Professional group ELEMENT Relationship category ELEMENT Relationship ELEMENT Is next of kin? ELEMENT Note ELEMENT Date updated
openEHR-EHR-SECTION.admission_details_rcp.v1
openEHR-EHR-ADMIN_ENTRY.inpatient_admission_uk.v1 ELEMENT Date of admission
openEHR-EHR-EVALUATION.reason_for_encounter.v1 ELEMENT Presenting Problem [0..*]
openEHR-EHR-SECTION.allergies_adverse_reactions_rcp.v1
openEHR-EHR-EVALUATION.adverse_reaction_uk.v1 ELEMENT Causative agent [1..1] ELEMENT OR ELEMENT ELEMENT Reaction ELEMENT Date recorded
openEHR-EHR-EVALUATION.problem_diagnosis.v1 ELEMENT Diagnosis [1..1] ELEMENT Clinical description ELEMENT Date/time clinically recognised ELEMENT Comment ELEMENT Last updated
openEHR-EHR-EVALUATION.problem_diagnosis.v1 ELEMENT Diagnosis [1..1] ELEMENT Clinical description ELEMENT Date/time clinically recognised ELEMENT Comment ELEMENT Last updated
openEHR-EHR-EVALUATION.clinical_synopsis.v1 ELEMENT Summary [1..1]