{
  "resourceType": "StructureDefinition",
  "id": "logicalmodel-Lastmenstrualperiod-R4",
  "url": "http://linkehr.com/fhir/logicalmodel-lastmenstrualperiod-R4",
  "identifier": [
    {
      "system": "openEHR-CKM",
      "value": "openEHR-EHR-EVALUATION.last_menstrual_period.v1"
    }
  ],
  "version": "0",
  "name": "Lastmenstrualperiod",
  "title": "Last menstrual period",
  "status": "draft",
  "date": "2024-06-18",
  "publisher": "openEHR",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://www.veratech.es"
        }
      ]
    }
  ],
  "description": "Identification of the first day of the most recent menstrual cycle for the individual.",
  "purpose": "To record the details about the first day of the most recent menstrual cycle for the individual.",
  "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": "Last_menstrual_period",
        "path": "Last_menstrual_period",
        "short": "Last menstrual period",
        "definition": "Identification of the first day of the most recent menstrual cycle for the individual.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Last_menstrual_period",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Last_menstrual_period.protocol",
        "path": "Last_menstrual_period.protocol",
        "short": "Item tree",
        "definition": "@ internal @",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Last_menstrual_period.protocol",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Last_menstrual_period.protocol.Extension",
        "path": "Last_menstrual_period.protocol.Extension",
        "short": "Extension",
        "definition": "Additional information required to capture local content or to align with other reference models/formalisms.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Last_menstrual_period.protocol.Extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Last_menstrual_period.protocol.Last_updated",
        "path": "Last_menstrual_period.protocol.Last_updated",
        "short": "Last updated",
        "definition": "Date when the Last menstrual period was updated.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Last_menstrual_period.protocol.Last_updated",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Last_menstrual_period.protocol.Last_updated.value",
        "path": "Last_menstrual_period.protocol.Last_updated.value",
        "short": "Last updated",
        "definition": "Date when the Last menstrual period was updated.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Last_menstrual_period.protocol.Last_updated.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Last_menstrual_period.data",
        "path": "Last_menstrual_period.data",
        "short": "Item tree",
        "definition": "@ internal @",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Last_menstrual_period.data",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Last_menstrual_period.data.Date_of_onset_(LMP)",
        "path": "Last_menstrual_period.data.Date_of_onset_(LMP)",
        "short": "Date of onset (LMP)",
        "definition": "Date of onset of menstrual bleeding.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Last_menstrual_period.data.Date_of_onset_(LMP)",
          "min": 1,
          "max": "1"
        }
      },
      {
        "id": "Last_menstrual_period.data.Date_of_onset_(LMP).value",
        "path": "Last_menstrual_period.data.Date_of_onset_(LMP).value",
        "short": "Date of onset (LMP)",
        "definition": "Date of onset of menstrual bleeding.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Last_menstrual_period.data.Date_of_onset_(LMP).value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "date"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Last_menstrual_period.data.Certainty",
        "path": "Last_menstrual_period.data.Certainty",
        "short": "Certainty",
        "definition": "The level of certainty the date was accurate.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Last_menstrual_period.data.Certainty",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Last_menstrual_period.data.Certainty.value_DV_TEXT",
        "path": "Last_menstrual_period.data.Certainty.value_DV_TEXT",
        "short": "Certainty",
        "definition": "The level of certainty the date was accurate.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Last_menstrual_period.data.Certainty.value_DV_TEXT",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Last_menstrual_period.data.Certainty.value_DV_CODED_TEXT",
        "path": "Last_menstrual_period.data.Certainty.value_DV_CODED_TEXT",
        "short": "Certainty",
        "definition": "The level of certainty the date was accurate.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Last_menstrual_period.data.Certainty.value_DV_CODED_TEXT",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Last_menstrual_period.data.Description",
        "path": "Last_menstrual_period.data.Description",
        "short": "Description",
        "definition": "Narrative description about the last menstrual period.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Last_menstrual_period.data.Description",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Last_menstrual_period.data.Description.value",
        "path": "Last_menstrual_period.data.Description.value",
        "short": "Description",
        "definition": "Narrative description about the last menstrual period.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Last_menstrual_period.data.Description.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Last_menstrual_period.data.Comment",
        "path": "Last_menstrual_period.data.Comment",
        "short": "Comment",
        "definition": "Additional narrative about the last menstrual period, not captured in other fields.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Last_menstrual_period.data.Comment",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Last_menstrual_period.data.Comment.value",
        "path": "Last_menstrual_period.data.Comment.value",
        "short": "Comment",
        "definition": "Additional narrative about the last menstrual period, not captured in other fields.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Last_menstrual_period.data.Comment.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      }
    ]
  }
}