{
  "resourceType": "StructureDefinition",
  "id": "1f13c1e9-101c-423d-8c89-02f9d7b8ad9b",
  "meta": {
    "lastUpdated": "2021-11-23T12:06:01.766+00:00"
  },
  "url": "https://fhir.cambio.se/StructureDefinition/QuestionnaireSeLite/v1",
  "name": "QuestionnaireSeLite",
  "status": "active",
  "date": "2021-11-23T12:01:32.8225266Z",
  "description": "The QuestionnaireSeLite profile is used to retrieve a list of Questionnaires. The QuestionnaireSe profile is used to retrieve complete (full model) of ONE Questionnaire.",
  "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"
    },
    {
      "identity": "objimpl",
      "uri": "http://hl7.org/fhir/object-implementation",
      "name": "Object Implementation Information"
    },
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Questionnaire",
  "baseDefinition": "https://fhir.cambio.se/StructureDefinition/QuestionnaireSe",
  "derivation": "constraint",
  "snapshot": {},
  "differential": {
    "element": [
      {
        "id": "Questionnaire.publisher",
        "path": "Questionnaire.publisher",
        "max": "0"
      },
      {
        "id": "Questionnaire.useContext",
        "path": "Questionnaire.useContext",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "code"
            }
          ],
          "rules": "open"
        },
        "definition": "The use context is both used for definition of who will use the questionnaire, and in what context the questionnaire will be used. This means that the useContext element will support both questionnaires for patient and healthcare professionals, and the context in which the questionnaire is used (for example \"Doctor visit\" or \"Pre-operation questionnaire)."
      },
      {
        "id": "Questionnaire.useContext:PatientQuestionnaire",
        "path": "Questionnaire.useContext",
        "sliceName": "PatientQuestionnaire",
        "definition": "The PatientQuestionnaire slice is used when a patient is the intended user for the questionnaire."
      },
      {
        "id": "Questionnaire.useContext:PatientQuestionnaire.code.code",
        "path": "Questionnaire.useContext.code.code",
        "definition": "The code is a Snomed code for \"Patient\", and is used for retrieving Questionnaire for patient generated data, i.e. patient forms."
      },
      {
        "id": "Questionnaire.useContext:PractitionerQuestionnaire",
        "path": "Questionnaire.useContext",
        "sliceName": "PractitionerQuestionnaire",
        "definition": "The PractitionerQuestionnaire slice is used when a healthcare professional is the intended user for the questionnaire.",
        "max": "1"
      },
      {
        "id": "Questionnaire.useContext:PractitionerQuestionnaire.code.code",
        "path": "Questionnaire.useContext.code.code",
        "definition": "Snomed CT code for \"Healthcare professional\"."
      },
      {
        "id": "Questionnaire.useContext:QuestionnaireContext",
        "path": "Questionnaire.useContext",
        "sliceName": "QuestionnaireContext",
        "definition": "The QuestionnaireContext slice is used to define the context which the questionnaire is intended for. For example \"Doctors visit\" or \"Pre-operation questionnaire\"."
      },
      {
        "id": "Questionnaire.item",
        "path": "Questionnaire.item",
        "max": "0"
      }
    ]
  }
}