PackagesCanonicalsLogsProblems
    Packages
    ca.on.ehr.r4@1.0.0-snapshot21
    http://ontariohealth.ca/fhir/ehr/StructureDefinition/ext-attachment-metadata
description: Attachment Metadata Extension
package_name: ca.on.ehr.r4
derivation: constraint
name: AttachmentMetadata
type: Extension
elements:
  extension:
    array: true
    min: 2
    index: 0
    slicing:
      slices:
        fileId:
          match: {}
          schema:
            short: Unique identifier for the attachment
            mustSupport: true
            _required: true
            index: 1
            extensions: {}
            elements:
              extension: {index: 2}
              url:
                pattern: {type: Uri, value: fileId}
                index: 3
              value:
                choices: [valueString]
                index: 5
              valueString: {type: string, choiceOf: value, index: 6}
        downloadURL:
          match: {}
          schema:
            short: URL to download the attachment
            mustSupport: true
            _required: true
            index: 7
            extensions: {}
            elements:
              extension: {index: 8}
              url:
                pattern: {type: Uri, value: downloadURL}
                index: 9
              value:
                choices: [valueUrl]
                index: 11
              valueUrl: {type: url, choiceOf: value, index: 12}
        jwtToken:
          match: {}
          schema:
            short: JWT Token
            mustSupport: true
            index: 13
            extensions: {}
            elements:
              extension: {index: 14}
              url:
                pattern: {type: Uri, value: jwtToken}
                index: 15
              value:
                choices: [valueString]
                index: 17
              valueString: {type: string, choiceOf: value, index: 18}
  url:
    pattern: {type: Uri, value: 'http://ontariohealth.ca/fhir/ehr/StructureDefinition/ext-attachment-metadata'}
    index: 19
  value:
    choices: []
    index: 21
package_version: 1.0.0-snapshot21
extensions:
  fileId:
    url: null
    short: Unique identifier for the attachment
    mustSupport: true
    _required: true
    index: 1
    extensions: {}
    elements:
      extension: {index: 2}
      url:
        pattern: {type: Uri, value: fileId}
        index: 3
      value:
        choices: [valueString]
        index: 5
      valueString: {type: string, choiceOf: value, index: 6}
  downloadURL:
    url: null
    short: URL to download the attachment
    mustSupport: true
    _required: true
    index: 7
    extensions: {}
    elements:
      extension: {index: 8}
      url:
        pattern: {type: Uri, value: downloadURL}
        index: 9
      value:
        choices: [valueUrl]
        index: 11
      valueUrl: {type: url, choiceOf: value, index: 12}
  jwtToken:
    url: null
    short: JWT Token
    mustSupport: true
    index: 13
    extensions: {}
    elements:
      extension: {index: 14}
      url:
        pattern: {type: Uri, value: jwtToken}
        index: 15
      value:
        choices: [valueString]
        index: 17
      valueString: {type: string, choiceOf: value, index: 18}
class: extension
kind: complex-type
url: http://ontariohealth.ca/fhir/ehr/StructureDefinition/ext-attachment-metadata
base: http://hl7.org/fhir/StructureDefinition/Extension
version: null