PackagesCanonicalsLogsProblems
    Packages
    fhir.ph.core@0.2.0
    https://fhir.doh.gov.ph/phcore/StructureDefinition/occupation
description: Patient's occupation.
package_name: fhir.ph.core
derivation: constraint
name: Occupation
type: Extension
elements:
  extension:
    array: true
    min: 2
    index: 0
    slicing:
      slices:
        occupationClassification:
          match: {}
          schema:
            short: Occupation Classification
            _required: true
            index: 1
            extensions: {}
            elements:
              extension: {index: 2}
              url:
                pattern: {type: Uri, value: occupationClassification}
                index: 3
              value:
                choices: [valueCodeableConcept]
                index: 5
              valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 6}
        occupationLength:
          match: {}
          schema:
            short: Length of time in occupation expressed as a date range or a number of years.
            _required: true
            index: 7
            extensions: {}
            elements:
              extension: {index: 8}
              url:
                pattern: {type: Uri, value: occupationLength}
                index: 9
              value:
                choices: [valueInteger, valuePeriod]
                index: 11
              valueInteger: {type: integer, choiceOf: value, index: 12}
              valuePeriod: {type: Period, choiceOf: value, index: 13}
  url:
    pattern: {type: Uri, value: 'https://fhir.doh.gov.ph/phcore/StructureDefinition/occupation'}
    index: 14
  value:
    choices: []
    index: 16
package_version: 0.2.0
extensions:
  occupationClassification:
    url: null
    short: Occupation Classification
    _required: true
    index: 1
    extensions: {}
    elements:
      extension: {index: 2}
      url:
        pattern: {type: Uri, value: occupationClassification}
        index: 3
      value:
        choices: [valueCodeableConcept]
        index: 5
      valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 6}
  occupationLength:
    url: null
    short: Length of time in occupation expressed as a date range or a number of years.
    _required: true
    index: 7
    extensions: {}
    elements:
      extension: {index: 8}
      url:
        pattern: {type: Uri, value: occupationLength}
        index: 9
      value:
        choices: [valueInteger, valuePeriod]
        index: 11
      valueInteger: {type: integer, choiceOf: value, index: 12}
      valuePeriod: {type: Period, choiceOf: value, index: 13}
class: extension
kind: complex-type
url: https://fhir.doh.gov.ph/phcore/StructureDefinition/occupation
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 0.2.0