{
  "resourceType": "StructureDefinition",
  "id": "logicalmodel-Mediafile-R4",
  "url": "http://linkehr.com/fhir/logicalmodel-mediafile-R4",
  "identifier": [
    {
      "system": "openEHR-CKM",
      "value": "openEHR-EHR-CLUSTER.media_file.v1"
    }
  ],
  "version": "0",
  "name": "Mediafile",
  "title": "Media file",
  "status": "draft",
  "date": "2024-06-18",
  "publisher": "openEHR",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://www.veratech.es"
        }
      ]
    }
  ],
  "description": "A media file that is acquired or used as part of the healthcare process, and associated metadata.",
  "purpose": "To record a media file that is acquired or used as part of the healthcare process, and details about associated metadata.",
  "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": "Media_file",
        "path": "Media_file",
        "short": "Media file",
        "definition": "A media file that is acquired or used as part of the healthcare process, and associated metadata.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Media_file",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Media_file.Content",
        "path": "Media_file.Content",
        "short": "Content",
        "definition": "Digital representation of the media file.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Media_file.Content",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Media_file.Content.value",
        "path": "Media_file.Content.value",
        "short": "Content",
        "definition": "Digital representation of the media file.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Media_file.Content.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Attachment"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Media_file.Content_name",
        "path": "Media_file.Content_name",
        "short": "Content name",
        "definition": "Descriptive name or title for the media file.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Media_file.Content_name",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Media_file.Content_name.value",
        "path": "Media_file.Content_name.value",
        "short": "Content name",
        "definition": "Descriptive name or title for the media file.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Media_file.Content_name.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Media_file.Identifier",
        "path": "Media_file.Identifier",
        "short": "Identifier",
        "definition": "Unique ID for the media file.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Media_file.Identifier",
          "min": 0,
          "max": "*"
        }
      },
      {
        "id": "Media_file.Identifier.value_DV_IDENTIFIER",
        "path": "Media_file.Identifier.value_DV_IDENTIFIER",
        "short": "Identifier",
        "definition": "Unique ID for the media file.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Media_file.Identifier.value_DV_IDENTIFIER",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Media_file.Identifier.value_DV_TEXT",
        "path": "Media_file.Identifier.value_DV_TEXT",
        "short": "Identifier",
        "definition": "Unique ID for the media file.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Media_file.Identifier.value_DV_TEXT",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Media_file.Description",
        "path": "Media_file.Description",
        "short": "Description",
        "definition": "Narrative description about the media file.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Media_file.Description",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Media_file.Description.value",
        "path": "Media_file.Description.value",
        "short": "Description",
        "definition": "Narrative description about the media file.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Media_file.Description.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Media_file.Created",
        "path": "Media_file.Created",
        "short": "Created",
        "definition": "The date/time, partial date or period when the media file was generated or authored.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Media_file.Created",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Media_file.Created.value_DV_DATE_TIME",
        "path": "Media_file.Created.value_DV_DATE_TIME",
        "short": "Created",
        "definition": "The date/time, partial date or period when the media file was generated or authored.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Media_file.Created.value_DV_DATE_TIME",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Media_file.Created.value_DV_INTERVAL_DV_DATE_TIME_",
        "path": "Media_file.Created.value_DV_INTERVAL_DV_DATE_TIME_",
        "short": "Created",
        "definition": "The date/time, partial date or period when the media file was generated or authored.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Media_file.Created.value_DV_INTERVAL_DV_DATE_TIME_",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Media_file.Creator",
        "path": "Media_file.Creator",
        "short": "Creator",
        "definition": "Details about the individual or organisation who generated or authored the media file.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Media_file.Creator",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Media_file.Source_device",
        "path": "Media_file.Source_device",
        "short": "Source device",
        "definition": "Details about the device used to generate or author the media file.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Media_file.Source_device",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Media_file.Additional_details",
        "path": "Media_file.Additional_details",
        "short": "Additional details",
        "definition": "Additional structured details about the media file.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Media_file.Additional_details",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      },
      {
        "id": "Media_file.Comment",
        "path": "Media_file.Comment",
        "short": "Comment",
        "definition": "Additional narrative about the media file not captured in other fields.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Media_file.Comment",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Media_file.Comment.value",
        "path": "Media_file.Comment.value",
        "short": "Comment",
        "definition": "Additional narrative about the media file not captured in other fields.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Media_file.Comment.value",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": true
      }
    ]
  }
}