{
  "resourceType": "StructureDefinition",
  "id": "Media",
  "url": "http://amphi.eu/fhir/prehospitalsolution/StructureDefinition/Media/v1",
  "version": "1.0",
  "name": "Media",
  "status": "active",
  "date": "2024-01-10T14:25:44.7798514+00:00",
  "description": "This resource contains the media of diagnostic imaging.\r\nThe profile is based on the Media Resource.",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Media",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Media",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Media.id",
        "path": "Media.id",
        "max": "0"
      },
      {
        "id": "Media.meta",
        "path": "Media.meta"
      },
      {
        "id": "Media.meta.id",
        "path": "Media.meta.id",
        "max": "0"
      },
      {
        "id": "Media.meta.versionId",
        "path": "Media.meta.versionId",
        "min": 1
      },
      {
        "id": "Media.meta.lastUpdated",
        "path": "Media.meta.lastUpdated",
        "min": 1
      },
      {
        "id": "Media.meta.source",
        "path": "Media.meta.source",
        "max": "0"
      },
      {
        "id": "Media.meta.profile",
        "path": "Media.meta.profile",
        "max": "0"
      },
      {
        "id": "Media.meta.security",
        "path": "Media.meta.security",
        "max": "0"
      },
      {
        "id": "Media.meta.tag",
        "path": "Media.meta.tag",
        "max": "0"
      },
      {
        "id": "Media.implicitRules",
        "path": "Media.implicitRules",
        "max": "0"
      },
      {
        "id": "Media.language",
        "path": "Media.language",
        "max": "0"
      },
      {
        "id": "Media.text",
        "path": "Media.text",
        "max": "0"
      },
      {
        "id": "Media.contained",
        "path": "Media.contained",
        "max": "0"
      },
      {
        "id": "Media.identifier",
        "path": "Media.identifier",
        "definition": "Identifier for the image.",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Media.identifier.use",
        "path": "Media.identifier.use",
        "max": "0"
      },
      {
        "id": "Media.identifier.type",
        "path": "Media.identifier.type",
        "max": "0"
      },
      {
        "id": "Media.identifier.system",
        "path": "Media.identifier.system",
        "definition": "The namespace for the identifier value.",
        "min": 1
      },
      {
        "id": "Media.identifier.value",
        "path": "Media.identifier.value",
        "definition": "Unique value - media id.",
        "min": 1
      },
      {
        "id": "Media.identifier.period",
        "path": "Media.identifier.period",
        "max": "0"
      },
      {
        "id": "Media.identifier.assigner",
        "path": "Media.identifier.assigner",
        "max": "0"
      },
      {
        "id": "Media.basedOn",
        "path": "Media.basedOn",
        "max": "0"
      },
      {
        "id": "Media.partOf",
        "path": "Media.partOf",
        "max": "0"
      },
      {
        "id": "Media.status",
        "path": "Media.status",
        "definition": "The current state of the media.\r\n\r\nWhen the media is registered, the status is 'completed'. If the media is deleted, the status is 'entered-in-error'."
      },
      {
        "id": "Media.type",
        "path": "Media.type",
        "definition": "Classification of media as image, video, or audio.",
        "min": 1
      },
      {
        "id": "Media.type.coding",
        "path": "Media.type.coding",
        "definition": "Code defined by a terminology system.",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Media.type.coding.system",
        "path": "Media.type.coding.system",
        "definition": "Identity of the terminology system.",
        "min": 1,
        "fixedUri": "http://hl7.org/fhir/ValueSet/media-type"
      },
      {
        "id": "Media.type.coding.version",
        "path": "Media.type.coding.version",
        "max": "0"
      },
      {
        "id": "Media.type.coding.code",
        "path": "Media.type.coding.code",
        "definition": "Code defined by the system.",
        "min": 1,
        "fixedCode": "image"
      },
      {
        "id": "Media.type.coding.display",
        "path": "Media.type.coding.display",
        "definition": "Representation defined by the system."
      },
      {
        "id": "Media.type.coding.userSelected",
        "path": "Media.type.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Media.type.text",
        "path": "Media.type.text",
        "max": "0"
      },
      {
        "id": "Media.modality",
        "path": "Media.modality",
        "definition": "Details of the Media subtype making it possible to differentiate between photos and ECGs.",
        "min": 1
      },
      {
        "id": "Media.modality.coding",
        "path": "Media.modality.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Media.modality.coding.system",
        "path": "Media.modality.coding.system",
        "definition": "Identity of the terminology system.",
        "max": "0"
      },
      {
        "id": "Media.modality.coding.version",
        "path": "Media.modality.coding.version",
        "max": "0"
      },
      {
        "id": "Media.modality.coding.code",
        "path": "Media.modality.coding.code",
        "definition": "Symbol in syntax defined by the system.",
        "max": "0"
      },
      {
        "id": "Media.modality.coding.display",
        "path": "Media.modality.coding.display",
        "max": "0"
      },
      {
        "id": "Media.modality.coding.userSelected",
        "path": "Media.modality.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Media.modality.text",
        "path": "Media.modality.text",
        "definition": "Media subtype."
      },
      {
        "id": "Media.view",
        "path": "Media.view",
        "max": "0"
      },
      {
        "id": "Media.view.coding",
        "path": "Media.view.coding",
        "definition": "Code defined by a terminology system.",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Media.view.coding.system",
        "path": "Media.view.coding.system",
        "definition": "Identity of the terminology system.",
        "min": 1
      },
      {
        "id": "Media.view.coding.version",
        "path": "Media.view.coding.version",
        "max": "0"
      },
      {
        "id": "Media.view.coding.code",
        "path": "Media.view.coding.code",
        "definition": "Symbol in syntax defined by the system.",
        "min": 1
      },
      {
        "id": "Media.view.coding.display",
        "path": "Media.view.coding.display",
        "definition": "Representation defined by the system."
      },
      {
        "id": "Media.view.coding.userSelected",
        "path": "Media.view.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Media.view.text",
        "path": "Media.view.text",
        "max": "0"
      },
      {
        "id": "Media.subject",
        "path": "Media.subject",
        "definition": "Who this Media is a record of.",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://amphi.eu/fhir/prehospitalsolution/StructureDefinition/Patient/v1"
            ],
            "aggregation": [
              "referenced"
            ]
          }
        ]
      },
      {
        "id": "Media.subject.reference",
        "path": "Media.subject.reference",
        "definition": "Literal reference to the patient resource. Relative URL is being used.",
        "min": 1
      },
      {
        "id": "Media.subject.type",
        "path": "Media.subject.type",
        "max": "0"
      },
      {
        "id": "Media.subject.identifier",
        "path": "Media.subject.identifier",
        "max": "0"
      },
      {
        "id": "Media.subject.display",
        "path": "Media.subject.display",
        "max": "0"
      },
      {
        "id": "Media.encounter",
        "path": "Media.encounter",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://amphi.eu/fhir/prehospitalsolution/StructureDefinition/Encounter/v1"
            ],
            "aggregation": [
              "referenced"
            ]
          }
        ]
      },
      {
        "id": "Media.encounter.reference",
        "path": "Media.encounter.reference",
        "definition": "Literal reference to the encounter resource. Relative URL is being used.",
        "min": 1
      },
      {
        "id": "Media.encounter.type",
        "path": "Media.encounter.type",
        "max": "0"
      },
      {
        "id": "Media.encounter.identifier",
        "path": "Media.encounter.identifier",
        "max": "0"
      },
      {
        "id": "Media.encounter.display",
        "path": "Media.encounter.display",
        "max": "0"
      },
      {
        "id": "Media.created[x]",
        "path": "Media.created[x]",
        "definition": "The date and time at which the media was collected.",
        "min": 1,
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "Media.issued",
        "path": "Media.issued",
        "max": "0"
      },
      {
        "id": "Media.operator",
        "path": "Media.operator",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://amphi.eu/fhir/prehospitalsolution/StructureDefinition/Practitioner/v1"
            ],
            "aggregation": [
              "referenced"
            ]
          }
        ]
      },
      {
        "id": "Media.operator.reference",
        "path": "Media.operator.reference",
        "definition": "Literal reference to the practitioner resource. Relative URL is being used.",
        "min": 1
      },
      {
        "id": "Media.operator.type",
        "path": "Media.operator.type",
        "max": "0"
      },
      {
        "id": "Media.operator.identifier",
        "path": "Media.operator.identifier",
        "max": "0"
      },
      {
        "id": "Media.operator.display",
        "path": "Media.operator.display",
        "max": "0"
      },
      {
        "id": "Media.reasonCode",
        "path": "Media.reasonCode",
        "max": "0"
      },
      {
        "id": "Media.bodySite",
        "path": "Media.bodySite",
        "max": "0"
      },
      {
        "id": "Media.deviceName",
        "path": "Media.deviceName",
        "max": "0"
      },
      {
        "id": "Media.device",
        "path": "Media.device",
        "max": "0"
      },
      {
        "id": "Media.height",
        "path": "Media.height",
        "max": "0"
      },
      {
        "id": "Media.width",
        "path": "Media.width",
        "max": "0"
      },
      {
        "id": "Media.frames",
        "path": "Media.frames",
        "max": "0"
      },
      {
        "id": "Media.duration",
        "path": "Media.duration",
        "max": "0"
      },
      {
        "id": "Media.content",
        "path": "Media.content",
        "definition": "Actual Media - reference."
      },
      {
        "id": "Media.content.contentType",
        "path": "Media.content.contentType",
        "definition": "Mime type of the content.",
        "min": 1,
        "fixedCode": "image / png"
      },
      {
        "id": "Media.content.language",
        "path": "Media.content.language",
        "max": "0"
      },
      {
        "id": "Media.content.data",
        "path": "Media.content.data",
        "max": "0"
      },
      {
        "id": "Media.content.url",
        "path": "Media.content.url",
        "definition": "Uri where the data can be found",
        "min": 1
      },
      {
        "id": "Media.content.size",
        "path": "Media.content.size",
        "max": "0"
      },
      {
        "id": "Media.content.hash",
        "path": "Media.content.hash",
        "max": "0"
      },
      {
        "id": "Media.content.title",
        "path": "Media.content.title",
        "max": "0"
      },
      {
        "id": "Media.content.creation",
        "path": "Media.content.creation",
        "max": "0"
      },
      {
        "id": "Media.note",
        "path": "Media.note",
        "definition": "Description of the media."
      },
      {
        "id": "Media.note.author[x]",
        "path": "Media.note.author[x]",
        "max": "0"
      },
      {
        "id": "Media.note.time",
        "path": "Media.note.time",
        "max": "0"
      },
      {
        "id": "Media.note.text",
        "path": "Media.note.text",
        "definition": "The description."
      }
    ]
  }
}