MII IG PRO
2026.2.0 - ci-build Unknown region code '276'

MII IG PRO, published by Medizininformatik-Initiative. This guide is not an authorized publication; it is the continuous build for version 2026.2.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/medizininformatik-initiative/kerndatensatzmodul-proms/ and changes regularly. See the Directory of published versions

: PHQ-9 Transaction Bundle Example

Raw json | Download

{
  "resourceType" : "Bundle",
  "id" : "mii-exa-pro-phq-9-bundle",
  "language" : "en",
  "type" : "transaction",
  "entry" : [
    {
      "fullUrl" : "http://www.medizininformatik-initiative.de/fhir/ext/modul-pro/Questionnaire/mii-qst-pro-phq-9",
      "resource" : {
        "resourceType" : "Questionnaire",
        "id" : "mii-qst-pro-phq-9",
        "meta" : {
          "profile" : [
            🔗 "https://www.medizininformatik-initiative.de/fhir/ext/modul-pro/StructureDefinition/mii-pr-pro-questionnaire|2026.2.0"
          ]
        },
        "language" : "en",
        "text" : {
          "status" : "generated"
        },
        "extension" : [
          {
            "extension" : [
              {
                "url" : "displayable",
                "valueBoolean" : true
              },
              {
                "url" : "collectable",
                "valueBoolean" : true
              },
              {
                "url" : "populatable",
                "valueBoolean" : true
              },
              {
                "url" : "calculatable",
                "valueBoolean" : true
              },
              {
                "url" : "extractable",
                "valueBoolean" : true
              },
              {
                "url" : "domainAligned",
                "valueBoolean" : true
              }
            ],
            "url" : "https://www.medizininformatik-initiative.de/fhir/ext/modul-pro/StructureDefinition/mii-ex-pro-questionnaire-capabilities"
          },
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/variable",
            "valueExpression" : {
              "name" : "rawScore",
              "language" : "text/fhirpath",
              "expression" : "%resource.item.where(linkId.matches('^phq-phq9-q0[1-9]$')).answer.value.ordinal().sum()"
            }
          },
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/variable",
            "valueExpression" : {
              "name" : "phq9Score",
              "language" : "text/fhirpath",
              "expression" : "%resource.item.where(linkId.matches('^phq-phq9-q0[1-9]$')).answer.value.ordinal().sum()"
            }
          }
        ],
        "url" : "https://www.medizininformatik-initiative.de/fhir/ext/modul-pro/Questionnaire/mii-qst-pro-phq-9",
        "version" : "2026.2.0",
        "title" : "MII QST PRO PHQ-9",
        "status" : "active",
        "experimental" : true,
        "description" : "Patient Health Questionnaire (PHQ-9)",
        "code" : [
          {
            "system" : "http://loinc.org",
            "code" : "44249-1",
            "display" : "PHQ-9 quick depression assessment panel [Reported.PHQ]"
          },
          {
            "system" : "https://www.medizininformatik-initiative.de/fhir/ext/modul-pro/CodeSystem/mii-cs-pro-questionnaire-catalogue",
            "code" : "phq-phq9",
            "display" : "PHQ-9 Questionnaire"
          }
        ],
        "item" : [
          {
            "linkId" : "PHQ-9.Description",
            "text" : "Over the last two weeks, how often have you been bothered by any of the following problems?",
            "type" : "display"
          },
          {
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
                "valueExpression" : {
                  "language" : "text/fhirpath",
                  "expression" : "iif(%sourceResponse.exists(), %sourceResponse.item.where(linkId='phq-phq9-q01').answer.value, {})"
                }
              }
            ],
            "linkId" : "phq-phq9-q01",
            "code" : [
              {
                "system" : "http://loinc.org",
                "code" : "44250-9"
              }
            ],
            "prefix" : "1",
            "text" : "Little interest or pleasure in doing things",
            "type" : "choice",
            "answerOption" : [
              {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/ordinalValue",
                    "valueDecimal" : 0
                  }
                ],
                "valueCoding" : {
                  "system" : "http://loinc.org",
                  "code" : "LA6568-5",
                  "display" : "Not at all"
                }
              },
              {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/ordinalValue",
                    "valueDecimal" : 1
                  }
                ],
                "valueCoding" : {
                  "system" : "http://loinc.org",
                  "code" : "LA6569-3",
                  "display" : "Several days"
                }
              },
              {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/ordinalValue",
                    "valueDecimal" : 2
                  }
                ],
                "valueCoding" : {
                  "system" : "http://loinc.org",
                  "code" : "LA6570-1",
                  "display" : "More than half the days"
                }
              },
              {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/ordinalValue",
                    "valueDecimal" : 3
                  }
                ],
                "valueCoding" : {
                  "system" : "http://loinc.org",
                  "code" : "LA6571-9",
                  "display" : "Nearly every day"
                }
              }
            ]
          },
          {
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
                "valueExpression" : {
                  "language" : "text/fhirpath",
                  "expression" : "iif(%sourceResponse.exists(), %sourceResponse.item.where(linkId='phq-phq9-q02').answer.value, {})"
                }
              }
            ],
            "linkId" : "phq-phq9-q02",
            "code" : [
              {
                "system" : "http://loinc.org",
                "code" : "44255-8"
              }
            ],
            "prefix" : "2",
            "text" : "Feeling down, depressed, or hopeless",
            "type" : "choice",
            "answerOption" : [
              {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/ordinalValue",
                    "valueDecimal" : 0
                  }
                ],
                "valueCoding" : {
                  "system" : "http://loinc.org",
                  "code" : "LA6568-5",
                  "display" : "Not at all"
                }
              },
              {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/ordinalValue",
                    "valueDecimal" : 1
                  }
                ],
                "valueCoding" : {
                  "system" : "http://loinc.org",
                  "code" : "LA6569-3",
                  "display" : "Several days"
                }
              },
              {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/ordinalValue",
                    "valueDecimal" : 2
                  }
                ],
                "valueCoding" : {
                  "system" : "http://loinc.org",
                  "code" : "LA6570-1",
                  "display" : "More than half the days"
                }
              },
              {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/ordinalValue",
                    "valueDecimal" : 3
                  }
                ],
                "valueCoding" : {
                  "system" : "http://loinc.org",
                  "code" : "LA6571-9",
                  "display" : "Nearly every day"
                }
              }
            ]
          },
          {
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
                "valueExpression" : {
                  "language" : "text/fhirpath",
                  "expression" : "iif(%sourceResponse.exists(), %sourceResponse.item.where(linkId='phq-phq9-q03').answer.value, {})"
                }
              }
            ],
            "linkId" : "phq-phq9-q03",
            "code" : [
              {
                "system" : "http://loinc.org",
                "code" : "44259-0"
              }
            ],
            "prefix" : "3",
            "text" : "Trouble falling or staying asleep, or sleeping too much",
            "type" : "choice",
            "answerOption" : [
              {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/ordinalValue",
                    "valueDecimal" : 0
                  }
                ],
                "valueCoding" : {
                  "system" : "http://loinc.org",
                  "code" : "LA6568-5",
                  "display" : "Not at all"
                }
              },
              {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/ordinalValue",
                    "valueDecimal" : 1
                  }
                ],
                "valueCoding" : {
                  "system" : "http://loinc.org",
                  "code" : "LA6569-3",
                  "display" : "Several days"
                }
              },
              {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/ordinalValue",
                    "valueDecimal" : 2
                  }
                ],
                "valueCoding" : {
                  "system" : "http://loinc.org",
                  "code" : "LA6570-1",
                  "display" : "More than half the days"
                }
              },
              {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/ordinalValue",
                    "valueDecimal" : 3
                  }
                ],
                "valueCoding" : {
                  "system" : "http://loinc.org",
                  "code" : "LA6571-9",
                  "display" : "Nearly every day"
                }
              }
            ]
          },
          {
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
                "valueExpression" : {
                  "language" : "text/fhirpath",
                  "expression" : "iif(%sourceResponse.exists(), %sourceResponse.item.where(linkId='phq-phq9-q04').answer.value, {})"
                }
              }
            ],
            "linkId" : "phq-phq9-q04",
            "code" : [
              {
                "system" : "http://loinc.org",
                "code" : "44254-1"
              }
            ],
            "prefix" : "4",
            "text" : "Feeling tired or having little energy",
            "type" : "choice",
            "answerOption" : [
              {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/ordinalValue",
                    "valueDecimal" : 0
                  }
                ],
                "valueCoding" : {
                  "system" : "http://loinc.org",
                  "code" : "LA6568-5",
                  "display" : "Not at all"
                }
              },
              {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/ordinalValue",
                    "valueDecimal" : 1
                  }
                ],
                "valueCoding" : {
                  "system" : "http://loinc.org",
                  "code" : "LA6569-3",
                  "display" : "Several days"
                }
              },
              {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/ordinalValue",
                    "valueDecimal" : 2
                  }
                ],
                "valueCoding" : {
                  "system" : "http://loinc.org",
                  "code" : "LA6570-1",
                  "display" : "More than half the days"
                }
              },
              {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/ordinalValue",
                    "valueDecimal" : 3
                  }
                ],
                "valueCoding" : {
                  "system" : "http://loinc.org",
                  "code" : "LA6571-9",
                  "display" : "Nearly every day"
                }
              }
            ]
          },
          {
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
                "valueExpression" : {
                  "language" : "text/fhirpath",
                  "expression" : "iif(%sourceResponse.exists(), %sourceResponse.item.where(linkId='phq-phq9-q05').answer.value, {})"
                }
              }
            ],
            "linkId" : "phq-phq9-q05",
            "code" : [
              {
                "system" : "http://loinc.org",
                "code" : "44251-7"
              }
            ],
            "prefix" : "5",
            "text" : "Poor appetite or overeating",
            "type" : "choice",
            "answerOption" : [
              {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/ordinalValue",
                    "valueDecimal" : 0
                  }
                ],
                "valueCoding" : {
                  "system" : "http://loinc.org",
                  "code" : "LA6568-5",
                  "display" : "Not at all"
                }
              },
              {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/ordinalValue",
                    "valueDecimal" : 1
                  }
                ],
                "valueCoding" : {
                  "system" : "http://loinc.org",
                  "code" : "LA6569-3",
                  "display" : "Several days"
                }
              },
              {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/ordinalValue",
                    "valueDecimal" : 2
                  }
                ],
                "valueCoding" : {
                  "system" : "http://loinc.org",
                  "code" : "LA6570-1",
                  "display" : "More than half the days"
                }
              },
              {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/ordinalValue",
                    "valueDecimal" : 3
                  }
                ],
                "valueCoding" : {
                  "system" : "http://loinc.org",
                  "code" : "LA6571-9",
                  "display" : "Nearly every day"
                }
              }
            ]
          },
          {
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
                "valueExpression" : {
                  "language" : "text/fhirpath",
                  "expression" : "iif(%sourceResponse.exists(), %sourceResponse.item.where(linkId='phq-phq9-q06').answer.value, {})"
                }
              }
            ],
            "linkId" : "phq-phq9-q06",
            "code" : [
              {
                "system" : "http://loinc.org",
                "code" : "44258-2"
              }
            ],
            "prefix" : "6",
            "text" : "Feeling bad about yourself - or that you are a failure or have let yourself or your family down",
            "type" : "choice",
            "answerOption" : [
              {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/ordinalValue",
                    "valueDecimal" : 0
                  }
                ],
                "valueCoding" : {
                  "system" : "http://loinc.org",
                  "code" : "LA6568-5",
                  "display" : "Not at all"
                }
              },
              {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/ordinalValue",
                    "valueDecimal" : 1
                  }
                ],
                "valueCoding" : {
                  "system" : "http://loinc.org",
                  "code" : "LA6569-3",
                  "display" : "Several days"
                }
              },
              {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/ordinalValue",
                    "valueDecimal" : 2
                  }
                ],
                "valueCoding" : {
                  "system" : "http://loinc.org",
                  "code" : "LA6570-1",
                  "display" : "More than half the days"
                }
              },
              {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/ordinalValue",
                    "valueDecimal" : 3
                  }
                ],
                "valueCoding" : {
                  "system" : "http://loinc.org",
                  "code" : "LA6571-9",
                  "display" : "Nearly every day"
                }
              }
            ]
          },
          {
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
                "valueExpression" : {
                  "language" : "text/fhirpath",
                  "expression" : "iif(%sourceResponse.exists(), %sourceResponse.item.where(linkId='phq-phq9-q07').answer.value, {})"
                }
              }
            ],
            "linkId" : "phq-phq9-q07",
            "code" : [
              {
                "system" : "http://loinc.org",
                "code" : "44252-5"
              }
            ],
            "prefix" : "7",
            "text" : "Trouble concentrating on things, such as reading the newspaper or watching television",
            "type" : "choice",
            "answerOption" : [
              {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/ordinalValue",
                    "valueDecimal" : 0
                  }
                ],
                "valueCoding" : {
                  "system" : "http://loinc.org",
                  "code" : "LA6568-5",
                  "display" : "Not at all"
                }
              },
              {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/ordinalValue",
                    "valueDecimal" : 1
                  }
                ],
                "valueCoding" : {
                  "system" : "http://loinc.org",
                  "code" : "LA6569-3",
                  "display" : "Several days"
                }
              },
              {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/ordinalValue",
                    "valueDecimal" : 2
                  }
                ],
                "valueCoding" : {
                  "system" : "http://loinc.org",
                  "code" : "LA6570-1",
                  "display" : "More than half the days"
                }
              },
              {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/ordinalValue",
                    "valueDecimal" : 3
                  }
                ],
                "valueCoding" : {
                  "system" : "http://loinc.org",
                  "code" : "LA6571-9",
                  "display" : "Nearly every day"
                }
              }
            ]
          },
          {
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
                "valueExpression" : {
                  "language" : "text/fhirpath",
                  "expression" : "iif(%sourceResponse.exists(), %sourceResponse.item.where(linkId='phq-phq9-q08').answer.value, {})"
                }
              }
            ],
            "linkId" : "phq-phq9-q08",
            "code" : [
              {
                "system" : "http://loinc.org",
                "code" : "44253-3"
              }
            ],
            "prefix" : "8",
            "text" : "Moving or speaking so slowly that other people could have noticed? Or the opposite — being so fidgety or restless that you have been moving around a lot more than usual",
            "type" : "choice",
            "answerOption" : [
              {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/ordinalValue",
                    "valueDecimal" : 0
                  }
                ],
                "valueCoding" : {
                  "system" : "http://loinc.org",
                  "code" : "LA6568-5",
                  "display" : "Not at all"
                }
              },
              {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/ordinalValue",
                    "valueDecimal" : 1
                  }
                ],
                "valueCoding" : {
                  "system" : "http://loinc.org",
                  "code" : "LA6569-3",
                  "display" : "Several days"
                }
              },
              {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/ordinalValue",
                    "valueDecimal" : 2
                  }
                ],
                "valueCoding" : {
                  "system" : "http://loinc.org",
                  "code" : "LA6570-1",
                  "display" : "More than half the days"
                }
              },
              {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/ordinalValue",
                    "valueDecimal" : 3
                  }
                ],
                "valueCoding" : {
                  "system" : "http://loinc.org",
                  "code" : "LA6571-9",
                  "display" : "Nearly every day"
                }
              }
            ]
          },
          {
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
                "valueExpression" : {
                  "language" : "text/fhirpath",
                  "expression" : "iif(%sourceResponse.exists(), %sourceResponse.item.where(linkId='phq-phq9-q09').answer.value, {})"
                }
              }
            ],
            "linkId" : "phq-phq9-q09",
            "code" : [
              {
                "system" : "http://loinc.org",
                "code" : "44260-8"
              }
            ],
            "prefix" : "9",
            "text" : "Thoughts that you would be better off dead or of hurting yourself in some way",
            "type" : "choice",
            "answerOption" : [
              {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/ordinalValue",
                    "valueDecimal" : 0
                  }
                ],
                "valueCoding" : {
                  "system" : "http://loinc.org",
                  "code" : "LA6568-5",
                  "display" : "Not at all"
                }
              },
              {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/ordinalValue",
                    "valueDecimal" : 1
                  }
                ],
                "valueCoding" : {
                  "system" : "http://loinc.org",
                  "code" : "LA6569-3",
                  "display" : "Several days"
                }
              },
              {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/ordinalValue",
                    "valueDecimal" : 2
                  }
                ],
                "valueCoding" : {
                  "system" : "http://loinc.org",
                  "code" : "LA6570-1",
                  "display" : "More than half the days"
                }
              },
              {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/StructureDefinition/ordinalValue",
                    "valueDecimal" : 3
                  }
                ],
                "valueCoding" : {
                  "system" : "http://loinc.org",
                  "code" : "LA6571-9",
                  "display" : "Nearly every day"
                }
              }
            ]
          },
          {
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression",
                "valueExpression" : {
                  "name" : "Scoreberechnung",
                  "language" : "text/fhirpath",
                  "expression" : "%phq9Score"
                }
              },
              {
                "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-observationExtract",
                "valueBoolean" : true
              },
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-unit",
                "valueCoding" : {
                  "system" : "http://unitsofmeasure.org",
                  "code" : "{score}"
                }
              },
              {
                "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-observation-extract-category",
                "valueCodeableConcept" : {
                  "coding" : [
                    {
                      "system" : "http://terminology.hl7.org/CodeSystem/observation-category",
                      "code" : "survey"
                    }
                  ]
                }
              }
            ],
            "linkId" : "phq-phq9-score-total",
            "code" : [
              {
                "system" : "http://loinc.org",
                "code" : "44261-6",
                "display" : "Patient Health Questionnaire 9 item (PHQ-9) total score [Reported]"
              }
            ],
            "prefix" : "Auswertung",
            "text" : "PHQ-9 Total Score",
            "type" : "decimal",
            "readOnly" : true
          },
          {
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
                "valueExpression" : {
                  "language" : "text/fhirpath",
                  "expression" : "iif(%sourceResponse.exists(), %sourceResponse.item.where(linkId='phq-phq9-q10').answer.value, {})"
                }
              }
            ],
            "linkId" : "phq-phq9-q10",
            "code" : [
              {
                "system" : "http://loinc.org",
                "code" : "69722-7"
              }
            ],
            "prefix" : "10",
            "text" : "If you checked off any problems, how difficult have these problems made it for you to do your work, take care of things at home, or get along with other people?",
            "type" : "choice",
            "answerOption" : [
              {
                "valueCoding" : {
                  "system" : "http://loinc.org",
                  "code" : "LA6572-7",
                  "display" : "Not difficult at all"
                }
              },
              {
                "valueCoding" : {
                  "system" : "http://loinc.org",
                  "code" : "LA6573-5",
                  "display" : "Somewhat difficult"
                }
              },
              {
                "valueCoding" : {
                  "system" : "http://loinc.org",
                  "code" : "LA6575-0",
                  "display" : "Very difficult"
                }
              },
              {
                "valueCoding" : {
                  "system" : "http://loinc.org",
                  "code" : "LA6574-3",
                  "display" : "Extremely difficult"
                }
              }
            ]
          },
          {
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression",
                "valueExpression" : {
                  "name" : "promis-tscore-mapping",
                  "language" : "text/fhirpath",
                  "expression" : "iif(%phq9Score = 0, 37.4, iif(%phq9Score = 1, 42.7, iif(%phq9Score = 2, 45.9, iif(%phq9Score = 3, 48.3, iif(%phq9Score = 4, 50.5, iif(%phq9Score = 5, 52.5, iif(%phq9Score = 6, 54.2, iif(%phq9Score = 7, 55.8, iif(%phq9Score = 8, 57.2, iif(%phq9Score = 9, 58.6, iif(%phq9Score = 10, 59.9, iif(%phq9Score = 11, 61.1, iif(%phq9Score = 12, 62.3, iif(%phq9Score = 13, 63.5, iif(%phq9Score = 14, 64.7, iif(%phq9Score = 15, 65.8, iif(%phq9Score = 16, 66.9, iif(%phq9Score = 17, 68.0, iif(%phq9Score = 18, 69.2, iif(%phq9Score = 19, 70.3, iif(%phq9Score = 20, 71.5, iif(%phq9Score = 21, 72.7, iif(%phq9Score = 22, 74.0, iif(%phq9Score = 23, 75.3, iif(%phq9Score = 24, 76.7, iif(%phq9Score = 25, 78.3, iif(%phq9Score = 26, 80.0, iif(%phq9Score = 27, 82.3, 82.3))))))))))))))))))))))))))))"
                }
              },
              {
                "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-observationExtract",
                "valueBoolean" : true
              },
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-unit",
                "valueCoding" : {
                  "system" : "http://unitsofmeasure.org",
                  "code" : "{score}"
                }
              },
              {
                "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-observation-extract-category",
                "valueCodeableConcept" : {
                  "coding" : [
                    {
                      "system" : "http://terminology.hl7.org/CodeSystem/observation-category",
                      "code" : "survey"
                    }
                  ]
                }
              }
            ],
            "linkId" : "phq-phq9-promis-tscore",
            "code" : [
              {
                "system" : "http://loinc.org",
                "code" : "77861-3",
                "display" : "PROMIS emotional distress - depression - version 1.0 Tscore"
              }
            ],
            "prefix" : "T-Score",
            "text" : "PROMIS Depression T-Score (derived from PHQ-9)",
            "type" : "decimal",
            "readOnly" : true
          }
        ]
      },
      "request" : {
        "method" : "PUT",
        "url" : "Questionnaire/mii-qst-pro-phq-9"
      }
    },
    {
      "fullUrl" : "http://www.medizininformatik-initiative.de/fhir/ext/modul-pro/QuestionnaireResponse/mii-exa-pro-phq-9-response",
      "resource" : {
        "resourceType" : "QuestionnaireResponse",
        "id" : "mii-exa-pro-phq-9-response",
        "meta" : {
          "profile" : [
            🔗 "https://www.medizininformatik-initiative.de/fhir/ext/modul-pro/StructureDefinition/mii-pr-pro-questionnaire-response|2026.2.0"
          ]
        },
        "language" : "en",
        "text" : {
          "status" : "generated"
        },
        "questionnaire" : "https://www.medizininformatik-initiative.de/fhir/ext/modul-pro/Questionnaire/mii-qst-pro-phq-9",
        "status" : "completed",
        "subject" : {
          🔗 "reference" : "Patient/mii-exa-pro-patient"
        },
        "authored" : "2023-10-01T12:00:00Z",
        "item" : [
          {
            "linkId" : "phq-phq9-q01",
            "answer" : [
              {
                "valueCoding" : {
                  "system" : "http://loinc.org",
                  "code" : "LA6571-9",
                  "display" : "Nearly every day"
                }
              }
            ]
          },
          {
            "linkId" : "phq-phq9-q02",
            "answer" : [
              {
                "valueCoding" : {
                  "system" : "http://loinc.org",
                  "code" : "LA6571-9",
                  "display" : "Nearly every day"
                }
              }
            ]
          },
          {
            "linkId" : "phq-phq9-q03",
            "answer" : [
              {
                "valueCoding" : {
                  "system" : "http://loinc.org",
                  "code" : "LA6571-9",
                  "display" : "Nearly every day"
                }
              }
            ]
          },
          {
            "linkId" : "phq-phq9-q04",
            "answer" : [
              {
                "valueCoding" : {
                  "system" : "http://loinc.org",
                  "code" : "LA6571-9",
                  "display" : "Nearly every day"
                }
              }
            ]
          },
          {
            "linkId" : "phq-phq9-q05",
            "answer" : [
              {
                "valueCoding" : {
                  "system" : "http://loinc.org",
                  "code" : "LA6571-9",
                  "display" : "Nearly every day"
                }
              }
            ]
          },
          {
            "linkId" : "phq-phq9-q06",
            "answer" : [
              {
                "valueCoding" : {
                  "system" : "http://loinc.org",
                  "code" : "LA6571-9",
                  "display" : "Nearly every day"
                }
              }
            ]
          },
          {
            "linkId" : "phq-phq9-q07",
            "answer" : [
              {
                "valueCoding" : {
                  "system" : "http://loinc.org",
                  "code" : "LA6571-9",
                  "display" : "Nearly every day"
                }
              }
            ]
          },
          {
            "linkId" : "phq-phq9-q08",
            "answer" : [
              {
                "valueCoding" : {
                  "system" : "http://loinc.org",
                  "code" : "LA6571-9",
                  "display" : "Nearly every day"
                }
              }
            ]
          },
          {
            "linkId" : "phq-phq9-q09",
            "answer" : [
              {
                "valueCoding" : {
                  "system" : "http://loinc.org",
                  "code" : "LA6571-9",
                  "display" : "Nearly every day"
                }
              }
            ]
          },
          {
            "linkId" : "phq-phq9-score-total",
            "answer" : [
              {
                "valueDecimal" : 27
              }
            ]
          },
          {
            "linkId" : "phq-phq9-q10",
            "answer" : [
              {
                "valueCoding" : {
                  "system" : "http://loinc.org",
                  "code" : "LA6574-3",
                  "display" : "Extremely difficult"
                }
              }
            ]
          }
        ]
      },
      "request" : {
        "method" : "PUT",
        "url" : "QuestionnaireResponse/mii-exa-pro-phq-9-response"
      }
    },
    {
      "fullUrl" : "http://www.medizininformatik-initiative.de/fhir/ext/modul-pro/Observation/mii-exa-pro-phq-9-observation",
      "resource" : {
        "resourceType" : "Observation",
        "id" : "mii-exa-pro-phq-9-observation",
        "meta" : {
          "profile" : [
            🔗 "https://www.medizininformatik-initiative.de/fhir/ext/modul-pro/StructureDefinition/mii-pr-pro-score-instance|2026.2.0"
          ]
        },
        "language" : "en",
        "text" : {
          "status" : "generated"
        },
        "status" : "final",
        "code" : {
          "coding" : [
            {
              "system" : "http://loinc.org",
              "code" : "44261-6",
              "display" : "Patient Health Questionnaire 9 item (PHQ-9) total score [Reported]"
            }
          ]
        },
        "subject" : {
          🔗 "reference" : "Patient/mii-exa-pro-patient"
        },
        "effectiveDateTime" : "2023-10-01T12:00:00Z",
        "valueQuantity" : {
          "value" : 27,
          "unit" : "{score}",
          "system" : "http://unitsofmeasure.org",
          "code" : "{score}"
        }
      },
      "request" : {
        "method" : "PUT",
        "url" : "Observation/mii-exa-pro-phq-9-observation"
      }
    },
    {
      "fullUrl" : "http://www.medizininformatik-initiative.de/fhir/ext/modul-pro/Patient/mii-exa-pro-patient",
      "resource" : {
        "resourceType" : "Patient",
        "id" : "mii-exa-pro-patient",
        "language" : "en",
        "text" : {
          "status" : "generated"
        },
        "active" : true,
        "name" : [
          {
            "family" : "Example",
            "given" : [
              "Patient"
            ]
          }
        ],
        "gender" : "other"
      },
      "request" : {
        "method" : "PUT",
        "url" : "Patient/mii-exa-pro-patient"
      }
    }
  ]
}