{
  "resourceType": "StructureDefinition",
  "url": "https://talkingeyes.de/fhir/StructureDefinition/DIGA_QuestionnaireResponse_Morisky",
  "name": "DIGA_QuestionnaireResponse_Morisky",
  "status": "draft",
  "experimental": false,
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "workflow",
      "uri": "http://hl7.org/fhir/workflow",
      "name": "Workflow Pattern"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "QuestionnaireResponse",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "QuestionnaireResponse.identifier",
        "path": "QuestionnaireResponse.identifier",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.basedOn",
        "path": "QuestionnaireResponse.basedOn",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.partOf",
        "path": "QuestionnaireResponse.partOf",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.questionnaire",
        "path": "QuestionnaireResponse.questionnaire",
        "min": 1,
        "fixedCanonical": "Morisky Score Fragebogen"
      },
      {
        "id": "QuestionnaireResponse.status",
        "path": "QuestionnaireResponse.status",
        "fixedCode": "completed"
      },
      {
        "id": "QuestionnaireResponse.subject",
        "path": "QuestionnaireResponse.subject",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.encounter",
        "path": "QuestionnaireResponse.encounter",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.authored",
        "path": "QuestionnaireResponse.authored",
        "min": 1
      },
      {
        "id": "QuestionnaireResponse.author",
        "path": "QuestionnaireResponse.author",
        "min": 1
      },
      {
        "id": "QuestionnaireResponse.author.reference",
        "path": "QuestionnaireResponse.author.reference",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.author.type",
        "path": "QuestionnaireResponse.author.type",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.author.identifier",
        "path": "QuestionnaireResponse.author.identifier",
        "min": 1
      },
      {
        "id": "QuestionnaireResponse.author.identifier.use",
        "path": "QuestionnaireResponse.author.identifier.use",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.author.identifier.type",
        "path": "QuestionnaireResponse.author.identifier.type",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.author.identifier.system",
        "path": "QuestionnaireResponse.author.identifier.system",
        "min": 1,
        "fixedUri": "http://www.talkingeyes-portal.de/tonotracker/patientId"
      },
      {
        "id": "QuestionnaireResponse.author.identifier.value",
        "path": "QuestionnaireResponse.author.identifier.value",
        "min": 1
      },
      {
        "id": "QuestionnaireResponse.author.identifier.period",
        "path": "QuestionnaireResponse.author.identifier.period",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.author.identifier.assigner",
        "path": "QuestionnaireResponse.author.identifier.assigner",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.author.display",
        "path": "QuestionnaireResponse.author.display",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.source",
        "path": "QuestionnaireResponse.source",
        "min": 1
      },
      {
        "id": "QuestionnaireResponse.source.reference",
        "path": "QuestionnaireResponse.source.reference",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.source.type",
        "path": "QuestionnaireResponse.source.type",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.source.identifier",
        "path": "QuestionnaireResponse.source.identifier",
        "min": 1
      },
      {
        "id": "QuestionnaireResponse.source.identifier.use",
        "path": "QuestionnaireResponse.source.identifier.use",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.source.identifier.type",
        "path": "QuestionnaireResponse.source.identifier.type",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.source.identifier.system",
        "path": "QuestionnaireResponse.source.identifier.system",
        "min": 1,
        "fixedUri": "http://www.talkingeyes-portal.de/tonotracker/patientId"
      },
      {
        "id": "QuestionnaireResponse.source.identifier.value",
        "path": "QuestionnaireResponse.source.identifier.value",
        "min": 1
      },
      {
        "id": "QuestionnaireResponse.source.identifier.period",
        "path": "QuestionnaireResponse.source.identifier.period",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.source.identifier.assigner",
        "path": "QuestionnaireResponse.source.identifier.assigner",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.source.display",
        "path": "QuestionnaireResponse.source.display",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item",
        "path": "QuestionnaireResponse.item",
        "min": 1
      },
      {
        "id": "QuestionnaireResponse.item.definition",
        "path": "QuestionnaireResponse.item.definition",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item.text",
        "path": "QuestionnaireResponse.item.text",
        "min": 1
      },
      {
        "id": "QuestionnaireResponse.item.answer",
        "path": "QuestionnaireResponse.item.answer",
        "min": 1,
        "max": "1"
      },
      {
        "id": "QuestionnaireResponse.item.answer.value[x]",
        "path": "QuestionnaireResponse.item.answer.value[x]",
        "min": 1,
        "type": [
          {
            "code": "Coding"
          }
        ]
      },
      {
        "id": "QuestionnaireResponse.item.answer.value[x].system",
        "path": "QuestionnaireResponse.item.answer.value[x].system",
        "min": 1
      },
      {
        "id": "QuestionnaireResponse.item.answer.value[x].version",
        "path": "QuestionnaireResponse.item.answer.value[x].version",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item.answer.value[x].code",
        "path": "QuestionnaireResponse.item.answer.value[x].code",
        "min": 1
      },
      {
        "id": "QuestionnaireResponse.item.answer.value[x].display",
        "path": "QuestionnaireResponse.item.answer.value[x].display",
        "min": 1
      },
      {
        "id": "QuestionnaireResponse.item.answer.value[x].userSelected",
        "path": "QuestionnaireResponse.item.answer.value[x].userSelected",
        "max": "0"
      },
      {
        "id": "QuestionnaireResponse.item.answer.item",
        "path": "QuestionnaireResponse.item.answer.item",
        "max": "0",
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item"
      },
      {
        "id": "QuestionnaireResponse.item.item",
        "path": "QuestionnaireResponse.item.item",
        "max": "0",
        "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item"
      }
    ]
  }
}