PackagesCanonicalsLogsProblems
    Packages
    de.gecco@0.9.3
    https://www.netzwerk-universitaetsmedizin.de/fhir/StructureDefinition/history-of-travel
description: A patient's history of travel
package_name: de.gecco
derivation: constraint
name: HistoryOfTravel
type: Observation
elements:
  category:
    mustSupport: true
    index: 2
    elements:
      coding:
        mustSupport: true
        index: 3
        slicing:
          rules: open
          discriminator:
          - {path: $this, type: pattern}
          min: 1
          slices:
            socialHistory:
              match: {code: social-history, system: 'http://terminology.hl7.org/CodeSystem/observation-category'}
              schema:
                mustSupport: true
                pattern:
                  type: Coding
                  value: {code: social-history, system: 'http://terminology.hl7.org/CodeSystem/observation-category'}
                _required: true
                index: 4
                elements:
                  system: {index: 5}
                  code: {index: 6}
                required: [system, code]
    required: [coding]
  referenceRange: {index: 22}
  meta:
    mustSupport: true
    index: 0
    elements:
      profile: {mustSupport: true, index: 1}
  specimen: {index: 21}
  value:
    mustSupport: true
    choices: [valueCodeableConcept]
    index: 14
  component:
    mustSupport: true
    index: 23
    slicing:
      rules: open
      discriminator:
      - {path: code, type: pattern}
      min: null
      slices:
        TravelStartDate:
          match:
            code:
              coding:
              - {code: 82752-7, system: 'http://loinc.org', display: Date travel started}
          schema:
            mustSupport: true
            index: 24
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 82752-7, system: 'http://loinc.org', display: Date travel started}
                index: 25
                elements:
                  coding:
                    index: 26
                    elements:
                      system: {index: 27}
                      code: {index: 28}
                      display: {index: 29}
                    required: [display, system, code]
                required: [coding]
              value:
                choices: [valueDateTime]
                index: 31
              valueDateTime: {type: dateTime, choiceOf: value, index: 32}
        Country:
          match:
            code:
              coding:
              - {code: 94651-7, system: 'http://loinc.org', display: Country of travel}
          schema:
            mustSupport: true
            index: 33
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 94651-7, system: 'http://loinc.org', display: Country of travel}
                index: 34
                elements:
                  coding:
                    index: 35
                    elements:
                      system: {index: 36}
                      code: {index: 37}
                      display: {index: 38}
                    required: [display, system, code]
                required: [coding]
              value:
                choices: [valueCodeableConcept]
                index: 40
              valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 41}
        State:
          match:
            code:
              coding:
              - {code: 82754-3, system: 'http://loinc.org', display: State of travel}
          schema:
            mustSupport: true
            index: 42
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 82754-3, system: 'http://loinc.org', display: State of travel}
                index: 43
                elements:
                  coding:
                    index: 44
                    elements:
                      system: {index: 45}
                      code: {index: 46}
                      display: {index: 47}
                    required: [display, system, code]
                required: [coding]
              value:
                choices: [valueCodeableConcept]
                index: 49
              valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 50}
        City:
          match:
            code:
              coding:
              - {code: 94653-3, system: 'http://loinc.org', display: City of travel}
          schema:
            mustSupport: true
            index: 51
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 94653-3, system: 'http://loinc.org', display: City of travel}
                index: 52
                elements:
                  coding:
                    index: 53
                    elements:
                      system: {index: 54}
                      code: {index: 55}
                      display: {index: 56}
                    required: [display, system, code]
                required: [coding]
              value:
                choices: [valueString]
                index: 58
              valueString: {type: string, choiceOf: value, index: 59}
        TravelEndDate:
          match:
            code:
              coding:
              - {code: 91560-3, system: 'http://loinc.org', display: Date of departure from travel destination}
          schema:
            mustSupport: true
            index: 60
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 91560-3, system: 'http://loinc.org', display: Date of departure from travel destination}
                index: 61
                elements:
                  coding:
                    index: 62
                    elements:
                      system: {index: 63}
                      code: {index: 64}
                      display: {index: 65}
                    required: [display, system, code]
                required: [coding]
              value:
                choices: [valueDateTime]
                index: 67
              valueDateTime: {type: dateTime, choiceOf: value, index: 68}
  code:
    mustSupport: true
    index: 7
    elements:
      coding:
        mustSupport: true
        index: 8
        slicing:
          rules: open
          discriminator:
          - {path: $this, type: pattern}
          min: 1
          slices:
            loinc:
              match: {code: 8691-8, system: 'http://loinc.org'}
              schema:
                mustSupport: true
                pattern:
                  type: Coding
                  value: {code: 8691-8, system: 'http://loinc.org'}
                _required: true
                index: 9
                elements:
                  system: {index: 10}
                  code: {index: 11}
                required: [system, code]
    required: [coding]
  valueCodeableConcept:
    type: CodeableConcept
    mustSupport: true
    choiceOf: value
    index: 15
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: type}
      min: 1
      slices:
        valueCodeableConcept:
          match: {}
          schema:
            type: CodeableConcept
            binding: {strength: required, valueSet: 'https://www.netzwerk-universitaetsmedizin.de/fhir/ValueSet/yes-no-unknown-other-na'}
            _required: true
            index: 16
            elements:
              coding:
                index: 17
                elements:
                  system: {index: 18}
                  code: {index: 19}
                required: [system, code]
            required: [coding]
  bodySite: {index: 20}
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/StructureDefinition/Group', 'http://hl7.org/fhir/StructureDefinition/Patient']
    index: 12
package_version: 0.9.3
class: profile
kind: resource
url: https://www.netzwerk-universitaetsmedizin.de/fhir/StructureDefinition/history-of-travel
base: http://hl7.org/fhir/StructureDefinition/Observation
version: 0.9.1
required: [value, subject, valueCodeableConcept, category]