{
  "resourceType": "StructureDefinition",
  "id": "logicalmodel-Consumernote-R4",
  "url": "http://linkehr.com/fhir/logicalmodel-consumernote-R4",
  "identifier": [
    {
      "system": "openEHR-CKM",
      "value": "openEHR-EHR-EVALUATION.consumer_note.v0"
    }
  ],
  "version": "0",
  "name": "Consumernote",
  "title": "Consumer note",
  "status": "draft",
  "date": "2024-06-18",
  "publisher": "openEHR",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://www.veratech.es"
        }
      ]
    }
  ],
  "description": "Health related information about an individual, entered into a health record by that individual or their carer.",
  "purpose": "To record health-related information about an individual, as entered into a health record by that individual or their carer. \r\n\r\nThis note may include details about an individual's health status, events, and issues. The intent of this note could be for the sole use of that individual or for sharing with healthcare providers.",
  "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": "Consumer_note",
        "path": "Consumer_note",
        "short": "Consumer note",
        "definition": "Health related information about an individual, entered into a health record by that individual or their carer.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Consumer_note",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Consumer_note.data",
        "path": "Consumer_note.data",
        "short": "Tree",
        "definition": "@ internal @",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Consumer_note.data",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Consumer_note.data.Topic_name",
        "path": "Consumer_note.data.Topic_name",
        "short": "Topic name",
        "definition": "Identification of the topic of the note, by name.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Consumer_note.data.Topic_name",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Consumer_note.data.Topic_name.value",
        "path": "Consumer_note.data.Topic_name.value",
        "short": "Topic name",
        "definition": "Identification of the topic of the note, by name.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Consumer_note.data.Topic_name.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Consumer_note.data.Note",
        "path": "Consumer_note.data.Note",
        "short": "Note",
        "definition": "Narrative description of information that the consumer wishes to record.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Consumer_note.data.Note",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Consumer_note.data.Note.value",
        "path": "Consumer_note.data.Note.value",
        "short": "Note",
        "definition": "Narrative description of information that the consumer wishes to record.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Consumer_note.data.Note.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Consumer_note.data.Date",
        "path": "Consumer_note.data.Date",
        "short": "Date",
        "definition": "Option to make the note relevant for a specific date and/or time.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Consumer_note.data.Date",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Consumer_note.data.Date.value",
        "path": "Consumer_note.data.Date.value",
        "short": "Date",
        "definition": "Option to make the note relevant for a specific date and/or time.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Consumer_note.data.Date.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      }
    ]
  }
}