{
  "resourceType": "StructureDefinition",
  "id": "logicalmodel-Self-reporteddata-R4",
  "url": "http://linkehr.com/fhir/logicalmodel-self-reporteddata-R4",
  "identifier": [
    {
      "system": "openEHR-CKM",
      "value": "openEHR-EHR-COMPOSITION.self_reported_data.v1"
    }
  ],
  "version": "0",
  "name": "Self-reporteddata",
  "title": "Self-reported data",
  "status": "draft",
  "date": "2024-06-18",
  "publisher": "openEHR",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://www.veratech.es"
        }
      ]
    }
  ],
  "description": "Generic container for information provided by an individual.",
  "purpose": "A container for information provided by an individual, to support clear separation of patient generated from clinician-generated health data.",
  "fhirVersion": "4.0.0",
  "mapping": [
    {
      "identity": "openEHR",
      "uri": "http://openehr.org",
      "name": "openEHR Mapping"
    },
    {
      "identity": "openEHR-natural",
      "uri": "http://openehr.org",
      "name": "openEHR natural path"
    }
  ],
  "kind": "logical",
  "abstract": false,
  "type": "StructureDefinition",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Element",
  "snapshot": {
    "element": [
      {
        "id": "Self_reported_data",
        "path": "Self_reported_data",
        "short": "Self-reported data",
        "definition": "Generic container for information provided by an individual.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Self_reported_data",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Self_reported_data.category",
        "path": "Self_reported_data.category",
        "short": "Self-reported data",
        "definition": "Generic container for information provided by an individual.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Self_reported_data.category",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Self_reported_data.EVENT_CONTEXT",
        "path": "Self_reported_data.EVENT_CONTEXT",
        "definition": "EVENT_CONTEXT",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Self_reported_data.EVENT_CONTEXT",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Self_reported_data.EVENT_CONTEXT.other_context",
        "path": "Self_reported_data.EVENT_CONTEXT.other_context",
        "short": "Item tree",
        "definition": "@ internal @",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Self_reported_data.EVENT_CONTEXT.other_context",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Self_reported_data.EVENT_CONTEXT.other_context.Information_Source",
        "path": "Self_reported_data.EVENT_CONTEXT.other_context.Information_Source",
        "short": "Information Source",
        "definition": "About one or more source types for the information contained in the report.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Self_reported_data.EVENT_CONTEXT.other_context.Information_Source",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Self_reported_data.EVENT_CONTEXT.other_context.Device",
        "path": "Self_reported_data.EVENT_CONTEXT.other_context.Device",
        "short": "Device",
        "definition": "To capture the device used to report data.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Self_reported_data.EVENT_CONTEXT.other_context.Device",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Self_reported_data.EVENT_CONTEXT.other_context.Extension",
        "path": "Self_reported_data.EVENT_CONTEXT.other_context.Extension",
        "short": "Extension",
        "definition": "Additional information required to capture local content or to align with other reference models/formalisms.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Self_reported_data.EVENT_CONTEXT.other_context.Extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      }
    ]
  }
}