PackagesCanonicalsLogsProblems
    Packages
    healthhub.fhir@2.0.5
    https://healthhub.dk/fhir/StructureDefinition/header-observation
description: null
package_name: healthhub.fhir
derivation: constraint
name: HeaderObservation
type: Extension
elements:
  extension:
    array: true
    min: 7
    max: 7
    index: 0
    slicing:
      slices:
        LetterStatisticalCode:
          match: {}
          schema:
            short: Type of the letter(Edifact number/ XML number)
            _required: true
            index: 1
            elements:
              id: {index: 2}
              url:
                pattern: {type: uri, value: LetterStatisticalCode}
                type: uri
                index: 3
              value:
                choices: [valueString]
                index: 5
              valueString: {type: string, choiceOf: value, index: 6}
            required: [value, valueString]
        SenderLocationNumber:
          match: {}
          schema:
            short: Envelope sender's location number.
            _required: true
            index: 7
            elements:
              url:
                pattern: {type: uri, value: SenderLocationNumber}
                type: uri
                index: 8
              value:
                choices: [valueString]
                index: 10
              valueString: {type: string, choiceOf: value, index: 11}
            required: [value, valueString]
        ReceiverLocationNumber:
          match: {}
          schema:
            short: Envelope receiver“s location number.
            _required: true
            index: 12
            elements:
              url:
                pattern: {type: uri, value: ReceiverLocationNumber}
                type: uri
                index: 13
              value:
                choices: [valueString]
                index: 15
              valueString: {type: string, choiceOf: value, index: 16}
            required: [value, valueString]
        EnvelopeSentDate:
          match: {}
          schema:
            short: The date indicates when the envelope (EDIFACT) was sent by the sender.
            _required: true
            index: 17
            elements:
              url:
                pattern: {type: uri, value: EnvelopeSentDate}
                type: uri
                index: 18
              value:
                choices: [valueDate]
                index: 20
              valueDate: {type: date, choiceOf: value, index: 21}
            required: [value, valueDate]
        EnvelopeSentTime:
          match: {}
          schema:
            short: The time indicates when the envelope (EDIFACT) was sent by the sender.
            _required: true
            index: 22
            elements:
              url:
                pattern: {type: uri, value: EnvelopeSentTime}
                type: uri
                index: 23
              value:
                choices: [valueTime]
                index: 25
              valueTime: {type: time, choiceOf: value, index: 26}
            required: [value, valueTime]
        EnvelopeNumber:
          match: {}
          schema:
            short: Sender-generated serial number, which is a unique identification code assigned to each envelope.
            _required: true
            index: 27
            elements:
              url:
                pattern: {type: uri, value: EnvelopeNumber}
                type: uri
                index: 28
              value:
                choices: [valueString]
                index: 30
              valueString: {type: string, choiceOf: value, index: 31}
            required: [value, valueString]
        LetterNumber:
          match: {}
          schema:
            short: Sender-generated serial number, which is a unique identification code assigned to each UNH message by the sender.
            _required: true
            index: 32
            elements:
              url:
                pattern: {type: uri, value: LetterNumber}
                type: uri
                index: 33
              value:
                choices: [valueString]
                index: 35
              valueString: {type: string, choiceOf: value, index: 36}
            required: [value, valueString]
  url:
    pattern: {type: uri, value: 'https://healthhub.dk/fhir/StructureDefinition/header-observation'}
    type: uri
    index: 37
  value:
    choices: []
    index: 39
package_version: 2.0.5
extensions:
  LetterStatisticalCode:
    url: null
    short: Type of the letter(Edifact number/ XML number)
    _required: true
    index: 1
    elements:
      id: {index: 2}
      url:
        pattern: {type: uri, value: LetterStatisticalCode}
        type: uri
        index: 3
      value:
        choices: [valueString]
        index: 5
      valueString: {type: string, choiceOf: value, index: 6}
    required: [value, valueString]
  SenderLocationNumber:
    url: null
    short: Envelope sender's location number.
    _required: true
    index: 7
    elements:
      url:
        pattern: {type: uri, value: SenderLocationNumber}
        type: uri
        index: 8
      value:
        choices: [valueString]
        index: 10
      valueString: {type: string, choiceOf: value, index: 11}
    required: [value, valueString]
  ReceiverLocationNumber:
    url: null
    short: Envelope receiver“s location number.
    _required: true
    index: 12
    elements:
      url:
        pattern: {type: uri, value: ReceiverLocationNumber}
        type: uri
        index: 13
      value:
        choices: [valueString]
        index: 15
      valueString: {type: string, choiceOf: value, index: 16}
    required: [value, valueString]
  EnvelopeSentDate:
    url: null
    short: The date indicates when the envelope (EDIFACT) was sent by the sender.
    _required: true
    index: 17
    elements:
      url:
        pattern: {type: uri, value: EnvelopeSentDate}
        type: uri
        index: 18
      value:
        choices: [valueDate]
        index: 20
      valueDate: {type: date, choiceOf: value, index: 21}
    required: [value, valueDate]
  EnvelopeSentTime:
    url: null
    short: The time indicates when the envelope (EDIFACT) was sent by the sender.
    _required: true
    index: 22
    elements:
      url:
        pattern: {type: uri, value: EnvelopeSentTime}
        type: uri
        index: 23
      value:
        choices: [valueTime]
        index: 25
      valueTime: {type: time, choiceOf: value, index: 26}
    required: [value, valueTime]
  EnvelopeNumber:
    url: null
    short: Sender-generated serial number, which is a unique identification code assigned to each envelope.
    _required: true
    index: 27
    elements:
      url:
        pattern: {type: uri, value: EnvelopeNumber}
        type: uri
        index: 28
      value:
        choices: [valueString]
        index: 30
      valueString: {type: string, choiceOf: value, index: 31}
    required: [value, valueString]
  LetterNumber:
    url: null
    short: Sender-generated serial number, which is a unique identification code assigned to each UNH message by the sender.
    _required: true
    index: 32
    elements:
      url:
        pattern: {type: uri, value: LetterNumber}
        type: uri
        index: 33
      value:
        choices: [valueString]
        index: 35
      valueString: {type: string, choiceOf: value, index: 36}
    required: [value, valueString]
class: extension
kind: complex-type
url: https://healthhub.dk/fhir/StructureDefinition/header-observation
base: http://hl7.org/fhir/StructureDefinition/Extension
version: null