Complete data export | Bundle

This is an example of a complete data export JSON file. At the same time this is an example of a Bundle resource, because all patiet data, generated within the product, is wrapped into a single Bundle resource.

{
    "resourceType": "Bundle",
    "id": "Export Bundle Example",
    "meta": {
        "profile":  [
            "https://fhir.elona.health/StructureDefinition/TherapyExportBundle"
        ]
    },
    "identifier": {
        "value": "1"
    },
    "type": "collection",
    "timestamp": "2021-11-09T09:29:23.356+01:00",
    "entry":  [
        {
            "resource": {
                "resourceType": "Patient",
                "id": "Patient",
                "meta": {
                    "profile":  [
                        "https://fhir.elona.health/StructureDefinition/PatientProfile"
                    ]
                },
                "active": true,
                "name":  [
                    {
                        "use": "nickname",
                        "text": "Stefan",
                        "period": {
                            "start": "2021-09-10T08:55:39.643Z"
                        }
                    }
                ],
                "telecom":  [
                    {
                        "system": "email",
                        "value": "nicolasfour@elona.de",
                        "use": "home",
                        "period": {
                            "start": "2021-09-10T08:55:39.643Z"
                        }
                    }
                ]
            }
        },
        {
            "resource": {
                "resourceType": "QuestionnaireResponse",
                "id": "Activity Example",
                "identifier": {
                    "type": {
                        "coding":  [
                            {
                                "system": "https://fhir.elona.health/CodeSystem/JournalEntryContentType",
                                "code": "ACTIVITY",
                                "display": "Activity"
                            },
                            {
                                "system": "https://fhir.elona.health/CodeSystem/JournalEntryState",
                                "code": "DONE",
                                "display": "Done"
                            },
                            {
                                "system": "https://fhir.elona.health/CodeSystem/JournalEntryType",
                                "code": "ACTIVITY",
                                "display": "Activity"
                            }
                        ],
                        "text": "This is an activity which was done by the patient"
                    },
                    "value": "127836182738719872"
                },
                "status": "completed",
                "authored": "2021-09-06T11:01:50+01:00",
                "item":  [
                    {
                        "linkId": "1",
                        "text": "Welche Aktivität möchtest du planen?",
                        "answer":  [
                            {
                                "valueString": "Aerobic"
                            }
                        ]
                    },
                    {
                        "linkId": "2",
                        "text": "Wann möchtest du 'Aerobic' nachgehen?",
                        "answer":  [
                            {
                                "valueDateTime": "2021-09-07T13:28:17-05:00",
                                "item":  [
                                    {
                                        "linkId": "Interpretation",
                                        "text": "The format is YYYY, YYYY-MM, YYYY-MM-DD or YYYY-MM-DDThh:mm:ss+zz:zz"
                                    }
                                ]
                            }
                        ]
                    }
                ]
            }
        },
        {
            "resource": {
                "resourceType": "QuestionnaireResponse",
                "id": "Feedback Activity Example",
                "identifier": {
                    "type": {
                        "coding":  [
                            {
                                "system": "https://fhir.elona.health/CodeSystem/JournalEntryContentType",
                                "code": "ACTIVITY",
                                "display": "Activity"
                            },
                            {
                                "system": "https://fhir.elona.health/CodeSystem/JournalEntryState",
                                "code": "DONE",
                                "display": "Done"
                            },
                            {
                                "system": "https://fhir.elona.health/CodeSystem/JournalEntryType",
                                "code": "FEEDBACK",
                                "display": "Feedback"
                            }
                        ],
                        "text": "This is a feedback to an activity which was done by the patient"
                    },
                    "value": "127836182738719872"
                },
                "status": "completed",
                "authored": "2021-09-06T11:01:50+01:00",
                "item":  [
                    {
                        "linkId": "1",
                        "text": "Zustand der geplanten Aktivität?",
                        "answer":  [
                            {
                                "valueString": "Durchgeführt"
                            }
                        ]
                    },
                    {
                        "linkId": "2",
                        "text": "Wie fühlst du dich nach Aerobic?",
                        "answer":  [
                            {
                                "valueInteger": 9,
                                "item":  [
                                    {
                                        "linkId": "Interpretation",
                                        "text": "Auf der Skala von 1 bis 10, [1] bedeuted 'sehr schlecht' and [10] bedeuted 'sehr gut'"
                                    }
                                ]
                            }
                        ]
                    }
                ]
            }
        },
        {
            "resource": {
                "resourceType": "QuestionnaireResponse",
                "id": "Daily Checkup Example",
                "identifier": {
                    "type": {
                        "coding":  [
                            {
                                "system": "https://fhir.elona.health/CodeSystem/JournalEntryContentType",
                                "code": "QUESTIONNAIRE",
                                "display": "Questionnaire"
                            },
                            {
                                "system": "https://fhir.elona.health/CodeSystem/JournalEntryState",
                                "code": "DONE",
                                "display": "Done"
                            },
                            {
                                "system": "https://fhir.elona.health/CodeSystem/JournalEntryType",
                                "code": "CHECKUP",
                                "display": "Checkup"
                            }
                        ],
                        "text": "This is a checkup which was done by the patient"
                    },
                    "value": "127836182738719872"
                },
                "status": "completed",
                "authored": "2021-07-18T00:00:00+01:00",
                "item":  [
                    {
                        "linkId": "1",
                        "text": "Wie geht es dir gerade?",
                        "answer":  [
                            {
                                "valueInteger": 7,
                                "item":  [
                                    {
                                        "linkId": "InterpretationDailySkala",
                                        "text": "Auf der Skala von 1 bis 10, [1] bedeuted 'sehr schlecht' und [10] bedeuted 'sehr gut'"
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "linkId": "2",
                        "text": "Beschreib dein vorrangiges Gefühl.",
                        "answer":  [
                            {
                                "valueString": "wertgeschätzt"
                            }
                        ]
                    },
                    {
                        "linkId": "3",
                        "text": "Wie fühlst du dich noch?",
                        "answer":  [
                            {
                                "valueString": "abgebrüht"
                            },
                            {
                                "valueString": "akzeptierend"
                            },
                            {
                                "valueString": "besorgt"
                            }
                        ]
                    },
                    {
                        "linkId": "4",
                        "text": "Was sind Gründe für deine Gefühle?",
                        "answer":  [
                            {
                                "valueString": "Ernährung"
                            }
                        ]
                    },
                    {
                        "linkId": "5",
                        "text": "Ich beschäftige mich gearde mit...",
                        "answer":  [
                            {
                                "valueString": "Esse oft in Gesellschaft"
                            },
                            {
                                "valueString": "Fühle mich träge und schlapp"
                            }
                        ]
                    },
                    {
                        "linkId": "6",
                        "text": "Fühlst du gerade unangenehme körperliche Symptome?",
                        "answer":  [
                            {
                                "valueString": "Nein"
                            }
                        ]
                    },
                    {
                        "linkId": "7",
                        "text": "Welche körperliche Symptome spürst du aktuell?"
                    },
                    {
                        "linkId": "8",
                        "text": "Notiere einen Gedanken, der dir durch Kopf geht.",
                        "answer":  [
                            {
                                "valueString": "Warum habe ich heute keine körperliche Schmerzen?"
                            }
                        ]
                    }
                ]
            }
        }
    ]
}

Patient

This is an example of a Patient resource within the Elona Health data export.

{
    "resourceType": "Patient",
    "id": "PatientElona 2",
    "meta": {
        "profile":  [
            "https://fhir.elona.health/StructureDefinition/PatientProfile"
        ]
    },
    "active": true,
    "extension":  [
        {
            "url": "https://fhir.elona.health/StrucutreDefinition/ElonaExtension",
            "extension":  [
                {
                    "url": "activeTime",
                    "valueInteger": 360000000
                }
            ]
        }
    ],
    "gender": null,
    "photo": null,
    "name":  [
        {
            "use": "nickname",
            "text": "NicolasFifth",
            "period": {
                "start": "2021-09-10T08:55:39.643Z"
            }
        }
    ],
    "telecom":  [
        {
            "system": "email",
            "value": "nicolasfour@elona.de",
            "use": "home",
            "period": {
                "start": "2021-09-10T08:55:39.643Z"
            }
        }
    ],
    "birthDate": "1992-05-12"
}

QuestionnaireResponse

The following five entries represent five distinct examples of a QuestionnaireResponse resource within the Elona data export.

Example 1

{
    "resourceType": "QuestionnaireResponse",
    "id": "Activity Example",
    "identifier": {
        "type": {
            "coding":  [
                {
                    "system": "https://fhir.elona.health/CodeSystem/JournalEntryContentType",
                    "code": "ACTIVITY",
                    "display": "Activity"
                },
                {
                    "system": "https://fhir.elona.health/CodeSystem/JournalEntryState",
                    "code": "DONE",
                    "display": "Done"
                },
                {
                    "system": "https://fhir.elona.health/CodeSystem/JournalEntryType",
                    "code": "ACTIVITY",
                    "display": "Activity"
                }
            ],
            "text": "This is an activity which was done by the patient"
        },
        "value": "127836182738719872"
    },
    "status": "completed",
    "authored": "2021-09-06T11:01:50+01:00",
    "item":  [
        {
            "linkId": "1",
            "text": "Welche Aktivität möchtest du planen?",
            "answer":  [
                {
                    "valueString": "Aerobic"
                }
            ]
        },
        {
            "linkId": "2",
            "text": "Wann möchtest du 'Aerobic' nachgehen?",
            "answer":  [
                {
                    "valueDateTime": "2021-09-07T13:28:17-05:00",
                    "item":  [
                        {
                            "linkId": "Interpretation",
                            "text": "The format is YYYY, YYYY-MM, YYYY-MM-DD or YYYY-MM-DDThh:mm:ss+zz:zz"
                        }
                    ]
                }
            ]
        }
    ]
}

Example 2

{
    "resourceType": "QuestionnaireResponse",
    "id": "Daily Checkup Example",
    "identifier": {
        "type": {
            "coding":  [
                {
                    "system": "https://fhir.elona.health/CodeSystem/JournalEntryContentType",
                    "code": "QUESTIONNAIRE",
                    "display": "Questionnaire"
                },
                {
                    "system": "https://fhir.elona.health/CodeSystem/JournalEntryState",
                    "code": "DONE",
                    "display": "Done"
                },
                {
                    "system": "https://fhir.elona.health/CodeSystem/JournalEntryType",
                    "code": "CHECKUP",
                    "display": "Checkup"
                }
            ],
            "text": "This is a checkup which was done by the patient"
        },
        "value": "127836182738719872"
    },
    "status": "completed",
    "authored": "2021-07-18T00:00:00+01:00",
    "item":  [
        {
            "linkId": "1",
            "text": "Wie geht es dir gerade?",
            "answer":  [
                {
                    "valueInteger": 7,
                    "item":  [
                        {
                            "linkId": "InterpretationDailySkala",
                            "text": "Auf der Skala von 1 bis 10, [1] bedeuted 'sehr schlecht' und [10] bedeuted 'sehr gut'"
                        }
                    ]
                }
            ]
        },
        {
            "linkId": "2",
            "text": "Beschreib dein vorrangiges Gefühl.",
            "answer":  [
                {
                    "valueString": "wertgeschätzt"
                }
            ]
        },
        {
            "linkId": "3",
            "text": "Wie fühlst du dich noch?",
            "answer":  [
                {
                    "valueString": "abgebrüht"
                },
                {
                    "valueString": "akzeptierend"
                },
                {
                    "valueString": "besorgt"
                }
            ]
        },
        {
            "linkId": "4",
            "text": "Was sind Gründe für deine Gefühle?",
            "answer":  [
                {
                    "valueString": "Ernährung"
                }
            ]
        },
        {
            "linkId": "5",
            "text": "Ich beschäftige mich gearde mit...",
            "answer":  [
                {
                    "valueString": "Esse oft in Gesellschaft"
                },
                {
                    "valueString": "Fühle mich träge und schlapp"
                }
            ]
        },
        {
            "linkId": "6",
            "text": "Fühlst du gerade unangenehme körperliche Symptome?",
            "answer":  [
                {
                    "valueString": "Nein"
                }
            ]
        },
        {
            "linkId": "7",
            "text": "Welche körperliche Symptome spürst du aktuell?"
        },
        {
            "linkId": "8",
            "text": "Notiere einen Gedanken, der dir durch Kopf geht.",
            "answer":  [
                {
                    "valueString": "Warum habe ich heute keine körperliche Schmerzen?"
                }
            ]
        }
    ]
}

Example 3

{
    "resourceType": "QuestionnaireResponse",
    "id": "Feedback Activity Example",
    "extension":  [
        {
            "extension":  [
                {
                    "url": "relatesTo",
                    "valueId": "2284162-3jsf7389-34wkej-r822"
                }
            ],
            "url": "https://fhir.elona.health/StrucutreDefinition/ElonaExtension"
        }
    ],
    "identifier": {
        "type": {
            "coding":  [
                {
                    "system": "https://fhir.elona.health/CodeSystem/JournalEntryContentType",
                    "code": "ACTIVITY",
                    "display": "Activity"
                },
                {
                    "system": "https://fhir.elona.health/CodeSystem/JournalEntryState",
                    "code": "DONE",
                    "display": "Done"
                },
                {
                    "system": "https://fhir.elona.health/CodeSystem/JournalEntryType",
                    "code": "FEEDBACK",
                    "display": "Feedback"
                }
            ],
            "text": "This is a feedback to an activity which was done by the patient"
        },
        "value": "127836182738719872"
    },
    "status": "completed",
    "authored": "2021-09-06T11:01:50+01:00",
    "item":  [
        {
            "linkId": "1",
            "text": "Zustand der geplanten Aktivität?",
            "answer":  [
                {
                    "valueString": "Durchgeführt"
                }
            ]
        },
        {
            "linkId": "2",
            "text": "Wie fühlst du dich nach Aerobic?",
            "answer":  [
                {
                    "valueInteger": 9,
                    "item":  [
                        {
                            "linkId": "Interpretation",
                            "text": "Auf der Skala von 1 bis 10, [1] bedeuted 'sehr schlecht' and [10] bedeuted 'sehr gut'"
                        }
                    ]
                }
            ]
        }
    ]
}

Example 4

{
    "resourceType": "QuestionnaireResponse",
    "id": "PHQ-9 Example",
    "extension":  [
        {
            "extension":  [
                {
                    "url": "questionnaireEvaluation",
                    "valueId": "2384762-3jzf7289-34wkej-r822"
                }
            ],
            "url": "https://fhir.elona.health/StrucutreDefinition/ElonaExtension"
        }
    ],
    "identifier": {
        "type": {
            "coding":  [
                {
                    "system": "https://fhir.elona.health/CodeSystem/JournalEntryContentType",
                    "code": "QUESTIONNAIRE",
                    "display": "Questionnaire"
                },
                {
                    "system": "https://fhir.elona.health/CodeSystem/JournalEntryState",
                    "code": "DONE",
                    "display": "Done"
                },
                {
                    "system": "https://fhir.elona.health/CodeSystem/JournalEntryType",
                    "code": "BIG_CHECKUP",
                    "display": "Big Checkup"
                }
            ],
            "text": "This is a Big Checkup which was done by the patient"
        },
        "value": "127836182738719872"
    },
    "status": "completed",
    "authored": "2021-06-18T00:00:00+01:00",
    "item":  [
        {
            "linkId": "1",
            "text": "Wie oft fühltest du dich im Verlauf der letzten 2 Wochen durch die folgenden Beschwerden beeinträchtigt?"
        },
        {
            "linkId": "2",
            "text": "Wenig Interesse oder Freude an deinen Tätigkeiten",
            "answer":  [
                {
                    "valueString": "An mehr als der Hälfte der Tage"
                }
            ]
        },
        {
            "linkId": "3",
            "text": "Niedergeschlagenheit, Schwermut oder Hoffnungslosigkeit.",
            "answer":  [
                {
                    "valueString": "An mehr als der Hälfte der Tage"
                }
            ]
        },
        {
            "linkId": "4",
            "text": "Schwierigkeiten ein- oder duchzuschlafen oder vermehrter Schlaf.",
            "answer":  [
                {
                    "valueString": "An einzelnen Tagen"
                }
            ]
        },
        {
            "linkId": "5",
            "text": "Müdigkeit oder Gefühl, keine Energie zu haben",
            "answer":  [
                {
                    "valueInteger": 2,
                    "item":  [
                        {
                            "linkId": "Interpretation",
                            "text": "Auf der Skala von 0 bis 3, [0] bedeuted 'überhaupt nicht' und [3] bedeuted 'beinahe jeden Tag'"
                        }
                    ]
                }
            ]
        },
        {
            "linkId": "6",
            "text": "Verminderter Appetit oder übermäßiges Bedürfnis zu essen.",
            "answer":  [
                {
                    "valueString": "An einzelnen Tagen"
                }
            ]
        },
        {
            "linkId": "7",
            "text": "Schlechte Meinung von sich selbst; Gefühl, ein Versager zu sein oder die Familie enttäuscht zu haben",
            "answer":  [
                {
                    "valueString": "An einzelnen Tagen"
                }
            ]
        },
        {
            "linkId": "8",
            "text": "Schwierigkeiten, sich auf etwas zu konzentrieren, z.B. beim Lesen oder Fernsehen",
            "answer":  [
                {
                    "valueString": "An mehr als der Hälfte der Tage"
                }
            ]
        },
        {
            "linkId": "9",
            "text": "Waren deine Bewegung oder Sprache verlangsamt, sodass es anderen auffallenwürde? Oder warst du im Ggenteil eher 'zappelig' oder ruhelos?",
            "answer":  [
                {
                    "valueString": "Beinahe jeden Tag"
                }
            ]
        },
        {
            "linkId": "10",
            "text": "Gedanken, dass du lieber tot wärest oder dir Leid zufügen möchtest.",
            "answer":  [
                {
                    "valueString": "An einzelnen Tagen"
                }
            ]
        }
    ]
}

Example 5

{
    "resourceType": "QuestionnaireResponse",
    "id": "Task: Was ist eine Depression? Example",
    "identifier": {
        "type": {
            "coding":  [
                {
                    "system": "https://fhir.elona.health/CodeSystem/JournalEntryContentType",
                    "code": "TASK",
                    "display": "Task"
                },
                {
                    "system": "https://fhir.elona.health/CodeSystem/JournalEntryState",
                    "code": "DONE",
                    "display": "Done"
                },
                {
                    "system": "https://fhir.elona.health/CodeSystem/JournalEntryType",
                    "code": "EXERCISE",
                    "display": "Exercise"
                }
            ],
            "text": "This is a task which was done by the patient"
        },
        "value": "127836182738719872"
    },
    "status": "completed",
    "authored": "2013-06-18T00:00:00+01:00",
    "item":  [
        {
            "linkId": "1",
            "text": "Depression: Mehr als nur ein Stimmungsteif."
        },
        {
            "linkId": "2",
            "text": "Depression ist keine Krankheit.",
            "answer":  [
                {
                    "valueInteger": 2,
                    "item":  [
                        {
                            "linkId": "Interpretation",
                            "text": "Auf der Skala von 0 bis 5, [0] bedeutet 'gar nicht überzeugt' und [5] bedeutet 'sehr überzeugt'"
                        }
                    ]
                }
            ]
        },
        {
            "linkId": "3",
            "text": "Depression ist eine ernste Krankheit."
        },
        {
            "linkId": "4",
            "text": "Unterscheidung der Schwergrade einer Depression."
        },
        {
            "linkId": "5",
            "text": "Sind Depressionnen behandlungsbedürftig?"
        },
        {
            "linkId": "6",
            "text": "Hast du vorher gewusst, wie man eine Depression am besten behandelt.",
            "answer":  [
                {
                    "valueString": "Nein"
                }
            ]
        }
    ]
}