Hinweis Diese Box bitte entfernen!
Information Diese Seite ist ein Template, das bei Verwendung für ein konkretes Projekt angepasst werden muss! Dieses Banner kann verwendet werden, um zu kennzeichnen, welche Seiten noch nicht bearbeitet wurden, sich gerade in Arbeit befinden oder um auf offene Punkte hinzuweisen.

Metadaten

You need a license to run FQL queries

Inhalt

Questionnaire
You need a license to run FQL queries
You need a license to run FQL queries
<Questionnaire xmlns="http://hl7.org/fhir">
    <id value="QuestionnaireDemo" />
    <contained>
        <ValueSet>
            <id value="valueset-pflegegrad-de" />
            <meta>
                <profile value="http://hl7.org/fhir/StructureDefinition/shareablevalueset" />
            </meta>
            <url value="http://fhir.de/ValueSet/pflegegrad-de" />
            <version value="1.4.0" />
            <name value="PflegegradDE" />
            <status value="active" />
            <experimental value="false" />
            <date value="2022-09-23" />
            <publisher value="HL7 Deutschland e.V. (Technisches Komitee FHIR)" />
            <contact>
                <telecom>
                    <system value="other" />
                    <value value="http://hl7.de/technische-komitees/fhir/" />
                </telecom>
            </contact>
            <description value="Codes zur genaueren Differenzierung des Pflegegrads." />
            <copyright value="HL7 Deutschland e.V." />
            <compose>
                <include>
                    <system value="http://fhir.de/CodeSystem/bfarm/ops" />
                    <filter>
                        <property value="parent" />
                        <op value="=" />
                        <value value="9-984" />
                    </filter>
                </include>
            </compose>
            <expansion>
                <identifier value="440c50b5-7272-4184-9ddd-95a75d8207f8" />
                <timestamp value="2019-07-06" />
                <total value="6" />
                <contains>
                    <system value="http://fhir.de/CodeSystem/bfarm/ops" />
                    <code value="9-984.6" />
                    <display value="Pflegebed&#252;rftig nach Pflegegrad 1" />
                </contains>
                <contains>
                    <system value="http://fhir.de/CodeSystem/bfarm/ops" />
                    <code value="9-984.7" />
                    <display value="Pflegebed&#252;rftig nach Pflegegrad 2" />
                </contains>
                <contains>
                    <system value="http://fhir.de/CodeSystem/bfarm/ops" />
                    <code value="9-984.8" />
                    <display value="Pflegebed&#252;rftig nach Pflegegrad 3" />
                </contains>
                <contains>
                    <system value="http://fhir.de/CodeSystem/bfarm/ops" />
                    <code value="9-984.9" />
                    <display value="Pflegebed&#252;rftig nach Pflegegrad 4" />
                </contains>
                <contains>
                    <system value="http://fhir.de/CodeSystem/bfarm/ops" />
                    <code value="9-984.a" />
                    <display value="Pflegebed&#252;rftig nach Pflegegrad 5" />
                </contains>
                <contains>
                    <system value="http://fhir.de/CodeSystem/bfarm/ops" />
                    <code value="9-984.b" />
                    <display value="Erfolgter Antrag auf Einstufung in einen Pflegegrad" />
                </contains>
            </expansion>
        </ValueSet>
    </contained>
    <extension url="http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext">
        <extension url="name">
            <valueCoding>
                <system value="http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext" />
                <code value="patient" />
            </valueCoding>
        </extension>
        <extension url="type">
            <valueCode value="Patient" />
        </extension>
        <extension url="description">
            <valueString value="Patientenkontext" />
        </extension>
    </extension>
    <extension url="http://hl7.org/fhir/StructureDefinition/variable">
        <valueExpression>
            <name value="weight" />
            <language value="text/fhirpath" />
            <expression value="%resource.repeat(item).where(linkId=&#39;4.1&#39;).answer.value" />
        </valueExpression>
    </extension>
    <extension url="http://hl7.org/fhir/StructureDefinition/variable">
        <valueExpression>
            <name value="height" />
            <language value="text/fhirpath" />
            <expression value="%resource.repeat(item).where(linkId=&#39;4.2&#39;).answer.value" />
        </valueExpression>
    </extension>
    <url value="http://gefyra.de/fhir/sdc/Questionnaire/Demo" />
    <title value="Questionnaire Feature Demo (LHC kompatibel)" />
    <status value="draft" />
    <description value="Beispiel-Questionnaire zur Demonstration diverser SDC Funktionalit&#228;ten, z.B. Prepopulation, Extraction, Advanced Rendering" />
    <item>
        <linkId value="1" />
        <text value="Angaben zur Person" />
        <type value="group" />
        <required value="true" />
        <item>
            <extension url="http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression">
                <valueExpression>
                    <description value="erster Vorname im ersten Namen des Patienten" />
                    <language value="text/fhirpath" />
                    <expression value="%patient.name[0].given[0]" />
                </valueExpression>
            </extension>
            <linkId value="1.1" />
            <text value="Vorname:" />
            <type value="string" />
        </item>
        <item>
            <extension url="http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression">
                <valueExpression>
                    <description value="Nachname im ersten Namen des Patienten" />
                    <language value="text/fhirpath" />
                    <expression value="%patient.name[0].family" />
                </valueExpression>
            </extension>
            <linkId value="1.2" />
            <text value="Nachname:" />
            <type value="string" />
        </item>
        <item>
            <extension url="http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression">
                <valueExpression>
                    <description value="Konkatentation aus Vor- und Nachname des Patienten. Pr&#228;feriert aus offiziellem Namen, alternativ erster Name" />
                    <language value="text/fhirpath" />
                    <expression value="(%patient.name.where(use = &#39;official&#39;).select(given[0]+&#39; &#39;+family) | %patient.name[0].select(given[0]+&#39; &#39;+family)).first()" />
                </valueExpression>
            </extension>
            <linkId value="1.2a" />
            <text value="Name" />
            <type value="string" />
            <required value="true" />
        </item>
        <item>
            <extension url="http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression">
                <valueExpression>
                    <description value="Geschlecht des Patienten, gemappt von Code auf Coding der Antwortoptionen" />
                    <language value="text/fhirpath" />
                    <expression value="%questionnaire.repeat(item).where(linkId=&#39;1.3&#39;).answerOption.value.where(code=%patient.gender)" />
                </valueExpression>
            </extension>
            <linkId value="1.3" />
            <text value="Geschlecht:" />
            <type value="choice" />
            <answerOption>
                <valueCoding>
                    <system value="http://hl7.org/fhir/administrative-gender" />
                    <code value="male" />
                    <display value="m&#228;nnlich" />
                </valueCoding>
            </answerOption>
            <answerOption>
                <valueCoding>
                    <system value="http://hl7.org/fhir/administrative-gender" />
                    <code value="female" />
                    <display value="weiblich" />
                </valueCoding>
            </answerOption>
        </item>
        <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/regex">
                <valueString value="/^[A-Z][0-9]{9}$/" />
            </extension>
            <linkId value="1.4" />
            <text value="Versichertennummer:" />
            <type value="string" />
            <item>
                <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
                    <valueCodeableConcept>
                        <coding>
                            <system value="http://hl7.org/fhir/questionnaire-item-control" />
                            <code value="help" />
                        </coding>
                    </valueCodeableConcept>
                </extension>
                <linkId value="1.4.0" />
                <text value="Des was vonne unne uffm K&#228;rtle steht!" />
                <type value="display" />
            </item>
        </item>
    </item>
    <item>
        <linkId value="2" />
        <text value="Fragen zum Wohlbefinden" />
        <type value="group" />
        <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
                <valueCodeableConcept>
                    <coding>
                        <system value="http://hl7.org/fhir/questionnaire-item-control" />
                        <code value="radio-button" />
                    </coding>
                </valueCodeableConcept>
            </extension>
            <linkId value="2.1" />
            <text value="Wie geht&#39;s?" />
            <type value="choice" />
            <answerOption>
                <valueCoding>
                    <display value="gut." />
                </valueCoding>
            </answerOption>
            <answerOption>
                <valueCoding>
                    <display value="geht." />
                </valueCoding>
            </answerOption>
            <answerOption>
                <valueCoding>
                    <display value="muss." />
                </valueCoding>
            </answerOption>
        </item>
        <item>
            <linkId value="2.2" />
            <text value="Was ist denn los?" />
            <type value="choice" />
            <enableWhen>
                <question value="2.1" />
                <operator value="=" />
                <answerCoding>
                    <display value="muss." />
                </answerCoding>
            </enableWhen>
            <answerOption>
                <extension url="http://hl7.org/fhir/StructureDefinition/ordinalValue">
                    <valueDecimal value="3" />
                </extension>
                <valueCoding>
                    <display value="Nix." />
                </valueCoding>
            </answerOption>
            <answerOption>
                <extension url="http://hl7.org/fhir/StructureDefinition/ordinalValue">
                    <valueDecimal value="5" />
                </extension>
                <valueCoding>
                    <display value="Frag nicht!" />
                </valueCoding>
            </answerOption>
        </item>
        <item>
            <extension url="http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression">
                <valueExpression>
                    <name value="schlechte-laune-punkte" />
                    <language value="text/fhirpath" />
                    <expression value="%questionnaire.repeat(item).where(linkId = &#39;2.2&#39;).answerOption.where(valueCoding.display=%resource.repeat(item).where(linkId = &#39;2.2&#39;).answer.valueCoding.display).extension.where(url=&#39;http://hl7.org/fhir/StructureDefinition/ordinalValue&#39;).valueDecimal" />
                </valueExpression>
            </extension>
            <linkId value="2.3" />
            <text value="Schlechte-Laune-Punkte" />
            <type value="decimal" />
            <readOnly value="true" />
        </item>
    </item>
    <item>
        <linkId value="3" />
        <text value="Pflegegrad" />
        <type value="group" />
        <required value="true" />
        <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-supportLink">
                <valueUri value="https://ig.fhir.de/basisprofile-de/stable/Ressourcen-BeobachtungenMessungenObservation.html#Ressourcen-Observation-Pflegegrad" />
            </extension>
            <extension url="http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-observationLinkPeriod">
                <valueDuration>
                    <value value="1" />
                    <system value="http://unitsofmeasure.org" />
                    <code value="a" />
                </valueDuration>
            </extension>
            <extension url="http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-observationExtract">
                <valueBoolean value="true" />
            </extension>
            <linkId value="3.1" />
            <code>
                <system value="http://loinc.org" />
                <code value="80391-6" />
            </code>
            <text value="Bitte geben Sie den Pflegegrad an:" />
            <type value="choice" />
            <answerValueSet value="#valueset-pflegegrad-de" />
        </item>
    </item>
    <item>
        <linkId value="4" />
        <text value="BMI-Berechnung" />
        <type value="group" />
        <required value="false" />
        <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-unit">
                <valueCoding>
                    <system value="http://unitsofmeasure.org" />
                    <code value="kg" />
                </valueCoding>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/maxValue">
                <valueDecimal value="300" />
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/minValue">
                <valueDecimal value="20" />
            </extension>
            <linkId value="4.1" />
            <text value="K&#246;rpergewicht in kg (muss zwischen 20 und 300kg liegen)" />
            <type value="decimal" />
        </item>
        <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-unit">
                <valueCoding>
                    <system value="http://unitsofmeasure.org" />
                    <code value="m" />
                </valueCoding>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/entryFormat">
                <valueString value="x.xx" />
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/maxValue">
                <valueDecimal value="2.5" />
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/minValue">
                <valueDecimal value="1" />
            </extension>
            <linkId value="4.2" />
            <text value="K&#246;rpergr&#246;&#223;e in m (muss zwischen 1 und 2.50 liegen)" />
            <type value="decimal" />
        </item>
        <item>
            <extension url="http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression">
                <valueExpression>
                    <name value="BMI" />
                    <language value="text/fhirpath" />
                    <expression value="(%weight/(%height.power(2))).round(1)" />
                </valueExpression>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-unit">
                <valueCoding>
                    <system value="http://unitsofmeasure.org" />
                    <code value="kg/m2" />
                </valueCoding>
            </extension>
            <extension url="http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-observationExtract">
                <valueBoolean value="true" />
            </extension>
            <linkId value="4.3" />
            <code>
                <system value="http://loinc.org" />
                <code value="39156-5" />
            </code>
            <text value="BMI" />
            <type value="decimal" />
            <readOnly value="true" />
            <item>
                <linkId value="4.3.1" />
                <text value="Einsch&#228;tzung:" />
                <type value="string" />
                <enableWhen>
                    <question value="4.3" />
                    <operator value="&lt;" />
                    <answerDecimal value="18.5" />
                </enableWhen>
                <readOnly value="true" />
                <initial>
                    <valueString value="Sie haben Untergewicht." />
                </initial>
            </item>
            <item>
                <linkId value="4.3.2" />
                <text value="Einsch&#228;tzung:" />
                <type value="string" />
                <enableWhen>
                    <question value="4.3" />
                    <operator value="&gt;=" />
                    <answerDecimal value="18.5" />
                </enableWhen>
                <enableWhen>
                    <question value="4.3" />
                    <operator value="&lt;=" />
                    <answerDecimal value="24.9" />
                </enableWhen>
                <enableBehavior value="all" />
                <readOnly value="true" />
                <initial>
                    <valueString value="Sie haben Normalgewicht." />
                </initial>
            </item>
            <item>
                <linkId value="4.3.3" />
                <text value="Einsch&#228;tzung:" />
                <type value="string" />
                <enableWhen>
                    <question value="4.3" />
                    <operator value="&gt;=" />
                    <answerDecimal value="25" />
                </enableWhen>
                <readOnly value="true" />
                <initial>
                    <valueString value="Sie haben &#220;bergewicht." />
                </initial>
            </item>
        </item>
    </item>
    <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
            <valueCodeableConcept>
                <coding>
                    <system value="http://hl7.org/fhir/questionnaire-item-control" />
                    <code value="gtable" />
                </coding>
            </valueCodeableConcept>
        </extension>
        <linkId value="wohn-group" />
        <text value="Wohnsituation" />
        <type value="group" />
        <repeats value="true" />
        <item>
            <linkId value="wohn-ort" />
            <text value="Adresse" />
            <type value="string" />
        </item>
        <item>
            <linkId value="wohn-von" />
            <text value="Wohnhaft von" />
            <type value="date" />
        </item>
        <item>
            <linkId value="wohn-bis" />
            <text value="Wohnhaft bis" />
            <type value="date" />
        </item>
    </item>
    <item>
        <linkId value="fav" />
        <text value="Favoriten" />
        <type value="group" />
        <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
                <valueCodeableConcept>
                    <coding>
                        <system value="http://hl7.org/fhir/questionnaire-item-control" />
                        <code value="autocomplete" />
                    </coding>
                </valueCodeableConcept>
            </extension>
            <linkId value="item-ctl" />
            <text value="Welches ist dein liebstes Item?" />
            <type value="choice" />
            <answerValueSet value="http://hl7.org/fhir/ValueSet/questionnaire-item-control" />
        </item>
        <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
                <valueCodeableConcept>
                    <coding>
                        <system value="http://hl7.org/fhir/questionnaire-item-control" />
                        <code value="check-box" />
                    </coding>
                </valueCodeableConcept>
            </extension>
            <linkId value="kaffee" />
            <text value="Kaffee?" />
            <type value="choice" />
            <repeats value="true" />
            <answerOption>
                <valueCoding>
                    <display value="mit Milch" />
                </valueCoding>
            </answerOption>
            <answerOption>
                <valueCoding>
                    <display value="Mit Zucker" />
                </valueCoding>
            </answerOption>
            <answerOption>
                <valueCoding>
                    <display value="Koffeinfrei" />
                </valueCoding>
            </answerOption>
        </item>
    </item>
</Questionnaire>
{
    "resourceType": "Questionnaire",
    "id": "QuestionnaireDemo",
    "extension":  [
        {
            "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext",
            "extension":  [
                {
                    "url": "name",
                    "valueCoding": {
                        "code": "patient",
                        "system": "http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext"
                    }
                },
                {
                    "url": "type",
                    "valueCode": "Patient"
                },
                {
                    "url": "description",
                    "valueString": "Patientenkontext"
                }
            ]
        },
        {
            "url": "http://hl7.org/fhir/StructureDefinition/variable",
            "valueExpression": {
                "name": "weight",
                "language": "text/fhirpath",
                "expression": "%resource.repeat(item).where(linkId='4.1').answer.value"
            }
        },
        {
            "url": "http://hl7.org/fhir/StructureDefinition/variable",
            "valueExpression": {
                "name": "height",
                "language": "text/fhirpath",
                "expression": "%resource.repeat(item).where(linkId='4.2').answer.value"
            }
        }
    ],
    "status": "draft",
    "title": "Questionnaire Feature Demo (LHC kompatibel)",
    "description": "Beispiel-Questionnaire zur Demonstration diverser SDC Funktionalitäten, z.B. Prepopulation, Extraction, Advanced Rendering",
    "url": "http://gefyra.de/fhir/sdc/Questionnaire/Demo",
    "item":  [
        {
            "type": "group",
            "required": true,
            "linkId": "1",
            "text": "Angaben zur Person",
            "item":  [
                {
                    "type": "string",
                    "linkId": "1.1",
                    "text": "Vorname:",
                    "extension":  [
                        {
                            "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
                            "valueExpression": {
                                "language": "text/fhirpath",
                                "expression": "%patient.name[0].given[0]",
                                "description": "erster Vorname im ersten Namen des Patienten"
                            }
                        }
                    ]
                },
                {
                    "type": "string",
                    "linkId": "1.2",
                    "text": "Nachname:",
                    "extension":  [
                        {
                            "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
                            "valueExpression": {
                                "language": "text/fhirpath",
                                "expression": "%patient.name[0].family",
                                "description": "Nachname im ersten Namen des Patienten"
                            }
                        }
                    ]
                },
                {
                    "linkId": "1.2a",
                    "type": "string",
                    "text": "Name",
                    "required": true,
                    "extension":  [
                        {
                            "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
                            "valueExpression": {
                                "language": "text/fhirpath",
                                "expression": "(%patient.name.where(use = 'official').select(given[0]+' '+family) | %patient.name[0].select(given[0]+' '+family)).first()",
                                "description": "Konkatentation aus Vor- und Nachname des Patienten. Präferiert aus offiziellem Namen, alternativ erster Name"
                            }
                        }
                    ]
                },
                {
                    "type": "choice",
                    "linkId": "1.3",
                    "text": "Geschlecht:",
                    "answerOption":  [
                        {
                            "valueCoding": {
                                "code": "male",
                                "system": "http://hl7.org/fhir/administrative-gender",
                                "display": "männlich"
                            }
                        },
                        {
                            "valueCoding": {
                                "code": "female",
                                "system": "http://hl7.org/fhir/administrative-gender",
                                "display": "weiblich"
                            }
                        }
                    ],
                    "extension":  [
                        {
                            "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
                            "valueExpression": {
                                "language": "text/fhirpath",
                                "expression": "%questionnaire.repeat(item).where(linkId='1.3').answerOption.value.where(code=%patient.gender)",
                                "description": "Geschlecht des Patienten, gemappt von Code auf Coding der Antwortoptionen"
                            }
                        }
                    ]
                },
                {
                    "type": "string",
                    "linkId": "1.4",
                    "text": "Versichertennummer:",
                    "extension":  [
                        {
                            "url": "http://hl7.org/fhir/StructureDefinition/regex",
                            "valueString": "/^[A-Z][0-9]{9}$/"
                        }
                    ],
                    "item":  [
                        {
                            "linkId": "1.4.0",
                            "type": "display",
                            "text": "Des was vonne unne uffm Kärtle steht!",
                            "extension":  [
                                {
                                    "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                                    "valueCodeableConcept": {
                                        "coding":  [
                                            {
                                                "code": "help",
                                                "system": "http://hl7.org/fhir/questionnaire-item-control"
                                            }
                                        ]
                                    }
                                }
                            ]
                        }
                    ]
                }
            ]
        },
        {
            "type": "group",
            "linkId": "2",
            "text": "Fragen zum Wohlbefinden",
            "item":  [
                {
                    "type": "choice",
                    "linkId": "2.1",
                    "text": "Wie geht's?",
                    "answerOption":  [
                        {
                            "valueCoding": {
                                "display": "gut."
                            }
                        },
                        {
                            "valueCoding": {
                                "display": "geht."
                            }
                        },
                        {
                            "valueCoding": {
                                "display": "muss."
                            }
                        }
                    ],
                    "extension":  [
                        {
                            "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                            "valueCodeableConcept": {
                                "coding":  [
                                    {
                                        "code": "radio-button",
                                        "system": "http://hl7.org/fhir/questionnaire-item-control"
                                    }
                                ]
                            }
                        }
                    ]
                },
                {
                    "type": "choice",
                    "linkId": "2.2",
                    "text": "Was ist denn los?",
                    "answerOption":  [
                        {
                            "valueCoding": {
                                "display": "Nix."
                            },
                            "extension":  [
                                {
                                    "url": "http://hl7.org/fhir/StructureDefinition/ordinalValue",
                                    "valueDecimal": 3
                                }
                            ]
                        },
                        {
                            "valueCoding": {
                                "display": "Frag nicht!"
                            },
                            "extension":  [
                                {
                                    "url": "http://hl7.org/fhir/StructureDefinition/ordinalValue",
                                    "valueDecimal": 5
                                }
                            ]
                        }
                    ],
                    "enableWhen":  [
                        {
                            "question": "2.1",
                            "operator": "=",
                            "answerCoding": {
                                "display": "muss."
                            }
                        }
                    ]
                },
                {
                    "type": "decimal",
                    "linkId": "2.3",
                    "text": "Schlechte-Laune-Punkte",
                    "extension":  [
                        {
                            "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression",
                            "valueExpression": {
                                "name": "schlechte-laune-punkte",
                                "language": "text/fhirpath",
                                "expression": "%questionnaire.repeat(item).where(linkId = '2.2').answerOption.where(valueCoding.display=%resource.repeat(item).where(linkId = '2.2').answer.valueCoding.display).extension.where(url='http://hl7.org/fhir/StructureDefinition/ordinalValue').valueDecimal"
                            }
                        }
                    ],
                    "readOnly": true
                }
            ]
        },
        {
            "type": "group",
            "required": true,
            "linkId": "3",
            "text": "Pflegegrad",
            "item":  [
                {
                    "extension":  [
                        {
                            "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-supportLink",
                            "valueUri": "https://ig.fhir.de/basisprofile-de/stable/Ressourcen-BeobachtungenMessungenObservation.html#Ressourcen-Observation-Pflegegrad"
                        },
                        {
                            "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-observationLinkPeriod",
                            "valueDuration": {
                                "value": 1,
                                "code": "a",
                                "system": "http://unitsofmeasure.org"
                            }
                        },
                        {
                            "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-observationExtract",
                            "valueBoolean": true
                        }
                    ],
                    "type": "choice",
                    "linkId": "3.1",
                    "text": "Bitte geben Sie den Pflegegrad an:",
                    "code":  [
                        {
                            "code": "80391-6",
                            "system": "http://loinc.org"
                        }
                    ],
                    "answerValueSet": "#valueset-pflegegrad-de"
                }
            ]
        },
        {
            "type": "group",
            "required": false,
            "linkId": "4",
            "text": "BMI-Berechnung",
            "item":  [
                {
                    "extension":  [
                        {
                            "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-unit",
                            "valueCoding": {
                                "code": "kg",
                                "system": "http://unitsofmeasure.org"
                            }
                        },
                        {
                            "url": "http://hl7.org/fhir/StructureDefinition/maxValue",
                            "valueDecimal": 300
                        },
                        {
                            "url": "http://hl7.org/fhir/StructureDefinition/minValue",
                            "valueDecimal": 20
                        }
                    ],
                    "linkId": "4.1",
                    "text": "Körpergewicht in kg (muss zwischen 20 und 300kg liegen)",
                    "type": "decimal"
                },
                {
                    "extension":  [
                        {
                            "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-unit",
                            "valueCoding": {
                                "code": "m",
                                "system": "http://unitsofmeasure.org"
                            }
                        },
                        {
                            "url": "http://hl7.org/fhir/StructureDefinition/entryFormat",
                            "valueString": "x.xx"
                        },
                        {
                            "url": "http://hl7.org/fhir/StructureDefinition/maxValue",
                            "valueDecimal": 2.5
                        },
                        {
                            "url": "http://hl7.org/fhir/StructureDefinition/minValue",
                            "valueDecimal": 1
                        }
                    ],
                    "linkId": "4.2",
                    "text": "Körpergröße in m (muss zwischen 1 und 2.50 liegen)",
                    "type": "decimal"
                },
                {
                    "extension":  [
                        {
                            "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression",
                            "valueExpression": {
                                "name": "BMI",
                                "language": "text/fhirpath",
                                "expression": "(%weight/(%height.power(2))).round(1)"
                            }
                        },
                        {
                            "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-unit",
                            "valueCoding": {
                                "code": "kg/m2",
                                "system": "http://unitsofmeasure.org"
                            }
                        },
                        {
                            "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-observationExtract",
                            "valueBoolean": true
                        }
                    ],
                    "code":  [
                        {
                            "code": "39156-5",
                            "system": "http://loinc.org"
                        }
                    ],
                    "linkId": "4.3",
                    "text": "BMI",
                    "type": "decimal",
                    "readOnly": true,
                    "item":  [
                        {
                            "linkId": "4.3.1",
                            "type": "string",
                            "readOnly": true,
                            "initial":  [
                                {
                                    "valueString": "Sie haben Untergewicht."
                                }
                            ],
                            "text": "Einschätzung:",
                            "enableWhen":  [
                                {
                                    "question": "4.3",
                                    "operator": "<",
                                    "answerDecimal": 18.5
                                }
                            ]
                        },
                        {
                            "linkId": "4.3.2",
                            "type": "string",
                            "readOnly": true,
                            "text": "Einschätzung:",
                            "initial":  [
                                {
                                    "valueString": "Sie haben Normalgewicht."
                                }
                            ],
                            "enableWhen":  [
                                {
                                    "question": "4.3",
                                    "operator": ">=",
                                    "answerDecimal": 18.5
                                },
                                {
                                    "question": "4.3",
                                    "operator": "<=",
                                    "answerDecimal": 24.9
                                }
                            ],
                            "enableBehavior": "all"
                        },
                        {
                            "linkId": "4.3.3",
                            "type": "string",
                            "readOnly": true,
                            "text": "Einschätzung:",
                            "initial":  [
                                {
                                    "valueString": "Sie haben Übergewicht."
                                }
                            ],
                            "enableWhen":  [
                                {
                                    "question": "4.3",
                                    "operator": ">=",
                                    "answerDecimal": 25
                                }
                            ]
                        }
                    ]
                }
            ]
        },
        {
            "linkId": "wohn-group",
            "type": "group",
            "text": "Wohnsituation",
            "repeats": true,
            "extension":  [
                {
                    "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                    "valueCodeableConcept": {
                        "coding":  [
                            {
                                "code": "gtable",
                                "system": "http://hl7.org/fhir/questionnaire-item-control"
                            }
                        ]
                    }
                }
            ],
            "item":  [
                {
                    "linkId": "wohn-ort",
                    "type": "string",
                    "text": "Adresse"
                },
                {
                    "linkId": "wohn-von",
                    "type": "date",
                    "text": "Wohnhaft von"
                },
                {
                    "linkId": "wohn-bis",
                    "type": "date",
                    "text": "Wohnhaft bis"
                }
            ]
        },
        {
            "linkId": "fav",
            "type": "group",
            "text": "Favoriten",
            "item":  [
                {
                    "linkId": "item-ctl",
                    "type": "choice",
                    "text": "Welches ist dein liebstes Item?",
                    "extension":  [
                        {
                            "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                            "valueCodeableConcept": {
                                "coding":  [
                                    {
                                        "code": "autocomplete",
                                        "system": "http://hl7.org/fhir/questionnaire-item-control"
                                    }
                                ]
                            }
                        }
                    ],
                    "answerValueSet": "http://hl7.org/fhir/ValueSet/questionnaire-item-control"
                },
                {
                    "linkId": "kaffee",
                    "type": "choice",
                    "text": "Kaffee?",
                    "extension":  [
                        {
                            "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                            "valueCodeableConcept": {
                                "coding":  [
                                    {
                                        "code": "check-box",
                                        "system": "http://hl7.org/fhir/questionnaire-item-control"
                                    }
                                ]
                            }
                        }
                    ],
                    "answerOption":  [
                        {
                            "valueCoding": {
                                "display": "mit Milch"
                            }
                        },
                        {
                            "valueCoding": {
                                "display": "Mit Zucker"
                            }
                        },
                        {
                            "valueCoding": {
                                "display": "Koffeinfrei"
                            }
                        }
                    ],
                    "repeats": true
                }
            ]
        }
    ],
    "contained":  [
        {
            "resourceType": "ValueSet",
            "id": "valueset-pflegegrad-de",
            "meta": {
                "profile":  [
                    "http://hl7.org/fhir/StructureDefinition/shareablevalueset"
                ]
            },
            "status": "active",
            "name": "PflegegradDE",
            "description": "Codes zur genaueren Differenzierung des Pflegegrads.",
            "url": "http://fhir.de/ValueSet/pflegegrad-de",
            "version": "1.4.0",
            "experimental": false,
            "date": "2022-09-23",
            "publisher": "HL7 Deutschland e.V. (Technisches Komitee FHIR)",
            "contact":  [
                {
                    "telecom":  [
                        {
                            "system": "other",
                            "value": "http://hl7.de/technische-komitees/fhir/"
                        }
                    ]
                }
            ],
            "copyright": "HL7 Deutschland e.V.",
            "expansion": {
                "identifier": "440c50b5-7272-4184-9ddd-95a75d8207f8",
                "timestamp": "2019-07-06",
                "total": 6,
                "contains":  [
                    {
                        "system": "http://fhir.de/CodeSystem/bfarm/ops",
                        "code": "9-984.6",
                        "display": "Pflegebedürftig nach Pflegegrad 1"
                    },
                    {
                        "system": "http://fhir.de/CodeSystem/bfarm/ops",
                        "code": "9-984.7",
                        "display": "Pflegebedürftig nach Pflegegrad 2"
                    },
                    {
                        "system": "http://fhir.de/CodeSystem/bfarm/ops",
                        "code": "9-984.8",
                        "display": "Pflegebedürftig nach Pflegegrad 3"
                    },
                    {
                        "system": "http://fhir.de/CodeSystem/bfarm/ops",
                        "code": "9-984.9",
                        "display": "Pflegebedürftig nach Pflegegrad 4"
                    },
                    {
                        "system": "http://fhir.de/CodeSystem/bfarm/ops",
                        "code": "9-984.a",
                        "display": "Pflegebedürftig nach Pflegegrad 5"
                    },
                    {
                        "system": "http://fhir.de/CodeSystem/bfarm/ops",
                        "code": "9-984.b",
                        "display": "Erfolgter Antrag auf Einstufung in einen Pflegegrad"
                    }
                ]
            },
            "compose": {
                "include":  [
                    {
                        "system": "http://fhir.de/CodeSystem/bfarm/ops",
                        "filter":  [
                            {
                                "property": "parent",
                                "op": "=",
                                "value": "9-984"
                            }
                        ]
                    }
                ]
            }
        }
    ]
}

Launch-Kontexte

You need a license to run FQL queries

verwendete Extensions

You need a license to run FQL queries

verwendete FHIRPath-Expressions

You need a license to run FQL queries

verwendete Queries

You need a license to run FQL queries