Skip to content

aphp/Cohort360

Repository files navigation

Cohort360 meta repository

Quick start

After cloning this respository:

git submodule init
git submodule update

With fake data generation

docker compose -f docker-compose.yaml -f docker-compose.fakedata.yaml up

Without fake data generation

docker compose --env-file .env up

Soon after you can go to http://localhost:8080 to check up the initialization progress (it may be very long if a lot of fake data patients are generated (default 200)).

Then you can go to the Cohort 360 application with the following urls :

The default credentials are admin:admin

Fake data

The base instance contains no data you can use Synthea to generate some fake data and upload them to the FHIR instance.

After adding new Organizations in FHIR, you must manually synchronize them in the backend of the application, for that go to http://localhost:8000/docs (default url of the backend application), login (using the oidc secret found in the file env/django.env OIDC_CLIENT_SECRET_1) and then execute the query of the endpoint PUT /fhir-perimeters/_sync/. You should then have the patient data and organization available in the application.

The current docker compose sets up an initialization docker to populate the data it will proceed to generate data with synthea (using a quick fixed fork) and synchronize the perimeters.