PackagesCanonicalsLogsProblems
    Packages
    rs/hl7.fhir.us.ph@library-1.0.0
    http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-travel-history
description: This Observation profile represents a patient's travel history.
package_name: rs/hl7.fhir.us.ph
derivation: constraint
name: USPublicHealthTravelHistory
type: Observation
elements:
  code:
    mustSupport: true
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: '420008001', system: 'http://snomed.info/sct'}
    type: CodeableConcept
    index: 0
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-patient']
    index: 1
  effective:
    short: Date or period of time spent in the location
    mustSupport: true
    choices: []
    index: 3
  hasMember:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-exposure-contact-information', 'http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-transportation-details']
    index: 4
  component:
    mustSupport: true
    index: 5
    slicing:
      rules: open
      discriminator:
      - {path: code, type: value}
      min: 1
      slices:
        travelLocation:
          match:
            code:
              coding:
              - {code: LOC, system: 'http://terminology.hl7.org/CodeSystem/v3-ParticipationType', display: Location}
          schema:
            short: Travel location
            mustSupport: true
            array: true
            min: 1
            _required: true
            index: 6
            extensions:
              travelHistoryAddress: {url: 'http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-address-extension', min: 0, max: 1, short: Travel history address, type: Extension, mustSupport: true, index: 8}
            elements:
              extension:
                mustSupport: true
                index: 7
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    travelHistoryAddress:
                      match: {url: null}
                      schema: {short: Travel history address, type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-address-extension', index: 8}
                      min: 0
                      max: 1
              code:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: LOC, system: 'http://terminology.hl7.org/CodeSystem/v3-ParticipationType', display: Location}
                type: CodeableConcept
                index: 9
              value:
                mustSupport: true
                choices: [valueCodeableConcept]
                index: 11
              valueCodeableConcept: {type: CodeableConcept, mustSupport: true, choiceOf: value, index: 12}
              value[x]:
                elements:
                  coding:
                    binding: {strength: extensible, valueSet: 'http://phinvads.cdc.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3201'}
                    mustSupport: true
                    index: 13
                  text: {mustSupport: true, index: 14}
        travelPurpose:
          match:
            code:
              coding:
              - {code: '280147009', system: 'http://snomed.info/sct'}
          schema:
            short: Purpose of travel
            mustSupport: true
            array: true
            index: 15
            elements:
              code:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: '280147009', system: 'http://snomed.info/sct'}
                type: CodeableConcept
                index: 16
              value:
                mustSupport: true
                choices: [valueCodeableConcept]
                index: 18
              valueCodeableConcept: {type: CodeableConcept, mustSupport: true, choiceOf: value, index: 19}
            required: [value, valueCodeableConcept]
package_version: library-1.0.0
class: profile
kind: resource
url: http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-travel-history
base: http://hl7.org/fhir/StructureDefinition/Observation
version: 1.0.0
required: [component, effective, subject]