5.1 How to Create a New Case
1. Add a case to CaseTemplates
Add a JSON case to CaseTemplates.
- Assign a new
case_id. - Choose the type of your case (dynamic/static). An overview of the differences can be found here.
- Define age, gender, labs, vitals, history, findings and cardinal_symptoms.
- Add a
config, which defines various configurations. This step is optional.
2. Add a vignette
A vignette is a brief description of the case, which will appear on the landing page. you an add the vignette to the JSON case in CaseTemplates as you added the age, history etc.
In the following you can see an example:
{
"vignette": "Sie arbeiten in der gynäkologischen Ambulanz des UKDs. $salutation.salutation $name_last ($gender, $age) wird bei Ihnen vorstellig mit Schmerzen und Druckgefühl im Unterbauch und Becken und einer abdominalen Umfangszunahme seit mehreren Wochen.\n\n **Vitalzeichen**: \n\n Puls: $vitals.values.heart_rate/min \n\n Atemfrequenz: $vitals.values.respiratory_rate/min \n\n RR $vitals.values.blood_pressure_systolic/$vitals.values.blood_pressure_diastolic mmHg \n\n Temperatur: $vitals.values.temperature°C"
}
In Clinic Edge it will look like this:

You can also add a vignette_patient, for example:
{
"vignette_patient": "Sie sind $salutation.salutation $name_last, $age Jahre alt und haben Schmerzen und ein Druckgefühl im Unterbauch. Ihr Bauchumfang hat seit mehreren Wochen zugenommen."
}
This information will be used by the Chatbot, which acts as the patient in the anamnesis chat.
The third type, the vignette_evaluation, is a sample solution of the handover, which will be shown, when a case was finished by the user. An example is shown below:
{
"vignette_evaluation": "Verdacht auf akute Pyelonephritis in der Schwangerschaft (Fieber, Flankenschmerz, positive Urinbefunde). Empfohlenes Vorgehen: stationäre Aufnahme, i.v.-Flüssigkeitssubstitution, Abnahme von Urin- und Blutkulturen und sofortiger Beginn einer empirischen i.v.-Antibiose (z. B. Ceftriaxon je nach Leitlinie), Analgesie und Antipyrese, engmaschige Labor‑(Entzündungsparameter, Nierenwerte) und fetale Überwachung"
}
3. Add vars_path entries
Add or reuse vars_path entries in FindingsTemplate. Ensure to add case-specific findings to vars_path of all applicable examinations in FindingsTemplate.
4. Add normal findings and lab values
Extend normalfindings_collection.json and labvalues.json if necessary.