WellData Implementation Guide
0.1.0 - ci-build

WellData Implementation Guide - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Shared Dynamic Data

Pod Organization

Data that is stored in Solid pods is organized in containers and resources. Access can be granted to containers and resources. But in order to find data back and not to share too much information to an application, we propose an organisation structure of data in the pod as follows. The structure follows the resources definitions from FHIR.

For instance if an application is looking for a specific questionnaireResponse, the application should only be given access to the container where all questionnaireResponses are stored.

To also include information about the resource in the container that is used to store resources, we propose to include the namespace of the FHIR resource as URL encoded.

All information in Welldata will be placed under the following root container of We Are:

<user pod>/weare/

Patient

Information about the patient that fits in the FHIR resource patient must be stored at the following location:

<user pod>/weare/https%3A%2F%2Fwww.hl7.org%2Ffhir%2FPatient/<uuid>.ttl

Information that will be stored in the resource:

  • Gender
  • BirthDate
  • Address as a FHIR datatype
  • Language as codeable concept in communication
  • Email
  • Tel

Observation

Observations are stored in the pod at the following location as a FHIR resource

<user pod>/weare/https%3A%2F%2Fwww.hl7.org%2Ffhir%2FObservation/<uuid>.ttl

Observations can contain all measured values about a patient. In our project we cover the following observations with the according SNOMED-CT or Loinc codes:

Name Description CODE Intake vragenlijst GGDM Zipster Selfcare
physical_limitation aanwezigheid fysieke beperking 32572006 (Snomed) x   x  
length Lengte (cm) 50373000 (Snomed) x x   x
weight Gewicht (kg) 27113001 (Snomed) x x   x
Waist_circumference Buikomtrek (cm) 276361009 (Snomed)   x   x
SBP Systolische bloeddruk (mmHg) 271649006 (Snomed)   x   x
cholesterol_total Totaal cholesterol 77068002 (Snomed)   x   x
cholesterol_hdl HDL cholesterol 02737005 (Snomed)   x   x
cholesterol_ratio Totaal / HDL cholesterol 313811003 (Snomed)   x   x
stress Stress ervaring 68011-6 (Loinc) x   x  
daily_life Dagelijks leven 91621-3 (Loinc) x     x
social_contact Voldoening uit sociale contacten 61581-5 (Loinc) x   x x
physical_exercise beweegminuten 228450008 (Snomed) x x   x
smoking roken (ja/nee) 63638-1 (Loinc) & 77176002 (Snomed) x x    
smoking_cigarettes Hoeveel sigaretten per dag roken 63640-7 (Loinc) x x    
alcohol Alcohol drinken 897148007 (Snomed) x x    
alcohol_Frequency How often do you have a drink containing alcohol 68518-0 (Loinc) x x    
alcohol_normalConsumption How many standard drinks containing alcohol do you have on a typical day? 68519-8 (Loinc) x x    
alcohol_excessiveConsumption How often do you have 6 or more drinks on 1 occasion? 68520-6 (Loinc) x x    
birthdate geboortedatum (dd/mm/yyyy) 184099003 (Snomed) x x x  
postcode postcode 184099003 (Snomed) x x x  
work werksituatie / x   x  

More information can be found in the sharepoint excel: Appendix 3. Alignering basis-set met parameters in project applicaties

An example of each observation can be found below:

@prefix fhir: <http://hl7.org/fhir/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
 
# Cholesterol Ratio
_:obs_chol_ratio a fhir:Observation ;
    fhir:code [
        fhir:system [ fhir:v "http://snomed.info/sct" ] ;
        fhir:code [ fhir:v "313811003" ] ;
        fhir:display [ fhir:v "Cholesterol/HDL ratio" ]
    ] ;
    fhir:valueQuantity [
        fhir:value [ fhir:v "4.5"^^xsd:decimal ]
        ] .
 
# Total Cholesterol
_:obs_chol_total a fhir:Observation ;
    fhir:code [
        fhir:system [ fhir:v "http://snomed.info/sct" ] ;
        fhir:code [ fhir:v "77068002" ] ;
        fhir:display [ fhir:v "Total Cholesterol" ] ] ;
    fhir:valueQuantity [
        fhir:value [ fhir:v "190"^^xsd:decimal ] ;
        fhir:unit [ fhir:v "mg/dL" ]
    ] .
 
# HDL Cholesterol
_:obs_chol_hdl a fhir:Observation ;
    fhir:code [
        fhir:system [ fhir:v "http://snomed.info/sct" ] ;
        fhir:code [ fhir:v "102737005" ] ;
        fhir:display [ fhir:v "HDL Cholesterol" ]
    ] ;
    fhir:valueQuantity [
        fhir:value [ fhir:v "50"^^xsd:decimal ] ;
        fhir:unit [ fhir:v "mg/dL" ]
    ] .
 
# Length (Height)
_:obs_length a fhir:Observation ;
    fhir:code [
        fhir:system [ fhir:v "http://snomed.info/sct" ] ;
        fhir:code [ fhir:v "50373000" ] ;
        fhir:display [ fhir:v "Body height" ]
    ] ;
    fhir:valueQuantity [
        fhir:value [ fhir:v "175"^^xsd:decimal ] ;
        fhir:unit [ fhir:v "cm" ]
    ] .
 
# Weight
_:obs_weight a fhir:Observation ;
    fhir:code [
        fhir:system [ fhir:v "http://snomed.info/sct" ] ;
        fhir:code [ fhir:v "27113001" ] ;
        fhir:display [ fhir:v "Body weight" ]
    ] ;
    fhir:valueQuantity [
        fhir:value [ fhir:v "70"^^xsd:decimal ] ;
        fhir:unit [ fhir:v "kg" ]
    ] .
 
# BMI
_:obs_bmi a fhir:Observation ;
    fhir:code [
        fhir:system [ fhir:v "http://snomed.info/sct" ] ;
        fhir:code [ fhir:v "60621009" ] ;
        fhir:display [ fhir:v "Body Mass Index (BMI)" ]
    ] ;
    fhir:valueQuantity [
        fhir:value [ fhir:v "22.9"^^xsd:decimal ] ;
        fhir:unit [ fhir:v "kg/m²" ]
    ] .
 
# Waist Circumference
_:obs_waist a fhir:Observation ;
    fhir:code [
        fhir:system [ fhir:v "http://snomed.info/sct" ] ;
        fhir:code [ fhir:v "276361009" ] ;
        fhir:display [ fhir:v "Waist Circumference" ]
    ] ;
    fhir:valueQuantity [
        fhir:value [ fhir:v "85"^^xsd:decimal ] ;
        fhir:unit [ fhir:v "cm" ]
    ] .
 
# Systolic Blood Pressure (SBP)
_:obs_sbp a fhir:Observation ;
    fhir:code [
        fhir:system [ fhir:v "http://snomed.info/sct" ] ;
        fhir:code [ fhir:v "271649006" ] ;
        fhir:display [ fhir:v "Systolic blood pressure" ]
    ] ;
    fhir:valueQuantity [
        fhir:value [ fhir:v "120"^^xsd:decimal ] ;
        fhir:unit [ fhir:v "mmHg" ]
    ] .

QuestionnaireResponse

A resource of the type QuestionnaireResponse is stored as a FHIR resource at the following location in the users's pod:

<user pod>/weare/https%3A%2F%2Fwww.hl7.org%2Ffhir%2FQuestionnaireResponse/<uuid>.ttl