PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.ph-library@2.0.0-ballot
    http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-transportation-details
description: This Observation profile represents transportation details such as the type of transport (plane, train, ship, etc.) along with any associated information (e.g. name of cruise ship, flight number, airport, seat number, cabin number, etc.).
package_name: hl7.fhir.us.ph-library
derivation: constraint
name: USPublicHealthTransportationDetails
type: Observation
elements:
  category:
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: social-history, system: 'http://terminology.hl7.org/CodeSystem/observation-category'}
    type: CodeableConcept
    index: 0
    slicing:
      slices:
        us-core:
          match: {}
          schema:
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {code: social-history, system: 'http://terminology.hl7.org/CodeSystem/observation-category'}
            type: CodeableConcept
            index: 0
        transportation:
          match: {}
          schema:
            short: Transportation
            mustSupport: true
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {code: TRNS, system: 'http://terminology.hl7.org/CodeSystem/v3-ActClass'}
            _required: true
            type: CodeableConcept
            index: 1
          min: 1
          max: 1
  code:
    short: Transportation details (observable entity)
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: '424483007', system: 'http://snomed.info/sct'}
    type: CodeableConcept
    index: 2
  effective:
    short: Date or period of transportation
    choices: [effectiveDateTime, effectivePeriod]
    index: 4
  effectiveDateTime: {type: dateTime, short: Date or period of transportation, choiceOf: effective, index: 5}
  effectivePeriod: {type: Period, short: Date or period of transportation, choiceOf: effective, index: 6}
  value:
    short: Type of transport vehicle
    choices: [valueCodeableConcept]
    index: 8
  valueCodeableConcept: {type: CodeableConcept, short: Type of transport vehicle, choiceOf: value, index: 9}
  component:
    short: Information about the mode of transportation (ship name, flight number, seat number, etc.)
    mustSupport: true
    index: 10
    elements:
      valueTime: {type: time, mustSupport: true, choiceOf: value, index: 18}
      valueQuantity: {type: Quantity, mustSupport: true, choiceOf: value, index: 14}
      value:
        mustSupport: true
        choices: [valueQuantity, valueCodeableConcept, valueString, valueInteger, valueTime, valueDateTime, valuePeriod]
        index: 13
      valueString: {type: string, mustSupport: true, choiceOf: value, index: 16}
      valueDateTime: {type: dateTime, mustSupport: true, choiceOf: value, index: 19}
      code: {short: Type of transportation information, mustSupport: true, index: 11}
      valueCodeableConcept: {type: CodeableConcept, mustSupport: true, choiceOf: value, index: 15}
      valuePeriod: {type: Period, mustSupport: true, choiceOf: value, index: 20}
      valueInteger: {type: integer, mustSupport: true, choiceOf: value, index: 17}
    required: [value, valueCodeableConcept, valueDateTime, valueInteger, valuePeriod, valueQuantity, valueString, valueTime]
package_version: 2.0.0-ballot
class: profile
kind: resource
url: http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-transportation-details
base: http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation
version: 2.0.0-ballot
required: [value, valueCodeableConcept]