PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.military-service.r4@1.0.0
    http://hl7.org/fhir/us/military-service/StructureDefinition/deployment-history-episode
description: Deployment History Episode describes a completed deployment.
package_name: hl7.fhir.us.military-service.r4
derivation: constraint
name: DeploymentHistoryEpisode
type: Observation
elements:
  category:
    mustSupport: true
    index: 4
    elements:
      coding:
        pattern:
          type: Coding
          value: {code: social-history, system: 'http://terminology.hl7.org/CodeSystem/observation-category'}
        index: 5
  referenceRange: {index: 25}
  hasMember:
    mustSupport: true
    index: 26
    slicing:
      rules: open
      discriminator:
      - {path: $this.resolve(), type: profile}
      min: 1
      slices:
        MilitaryOccupation:
          match: {}
          schema:
            type: Reference
            mustSupport: true
            refers: ['http://hl7.org/fhir/us/military-service/StructureDefinition/military-service-Occupation']
            array: true
            min: 1
            _required: true
            index: 27
          min: 1
  derivedFrom: {index: 28}
  interpretation: {index: 19}
  encounter: {index: 9}
  method: {index: 22}
  specimen: {index: 23}
  component:
    mustSupport: true
    array: true
    min: 2
    index: 29
    slicing:
      rules: open
      description: Slice based on the component.code pattern
      discriminator:
      - {path: code, type: pattern}
      min: 2
      slices:
        military-service-DeploymentEpisodeCountryCode:
          match:
            code:
              coding:
              - {code: 7E33243654BB42F5BF3F3A59E0E6E6BD, system: 'http://hl7.org/fhir/us/military-service/CodeSystem/military-service-code-system', display: Deployment Episode Country Code}
          schema:
            _required: true
            index: 30
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 7E33243654BB42F5BF3F3A59E0E6E6BD, system: 'http://hl7.org/fhir/us/military-service/CodeSystem/military-service-code-system', display: Deployment Episode Country Code}
                index: 31
              value:
                choices: [valueCodeableConcept]
                index: 33
              valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 34}
              interpretation: {index: 35}
              referenceRange: {index: 36}
            required: [value, valueCodeableConcept]
        military-service-DeploymentEpisodeMissionCode:
          match:
            code:
              coding:
              - {code: BF3432CC716B4DC7AA0DF43C176F4F05, system: 'http://hl7.org/fhir/us/military-service/CodeSystem/military-service-code-system', display: Deployment Episode Mission Code}
          schema:
            index: 37
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: BF3432CC716B4DC7AA0DF43C176F4F05, system: 'http://hl7.org/fhir/us/military-service/CodeSystem/military-service-code-system', display: Deployment Episode Mission Code}
                index: 38
              value:
                choices: [valueCodeableConcept]
                index: 40
              valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 41}
              interpretation: {index: 42}
              referenceRange: {index: 43}
            required: [value, valueCodeableConcept]
        military-service-Military-Branch:
          match:
            code:
              coding:
              - {code: 86188-0, system: 'http://loinc.org', display: History of Occupation Industry}
          schema:
            _required: true
            index: 44
            elements:
              code:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: 86188-0, system: 'http://loinc.org', display: History of Occupation Industry}
                index: 45
              value:
                choices: [valueCodeableConcept]
                index: 47
              valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 48}
            required: [value, valueCodeableConcept]
  note: {index: 20}
  status: {mustSupport: true, index: 3}
  effective:
    choices: [effectivePeriod]
    index: 11
  id: {index: 0}
  code:
    mustSupport: true
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: f6bb8fdc-89b0-4c0b-8d81-d3916f182c2f, system: 'http://hl7.org/fhir/us/military-service/CodeSystem/military-service-code-system', display: Deployment Episode}
    index: 6
  bodySite: {index: 21}
  focus: {index: 8}
  issued: {index: 16}
  device: {index: 24}
  basedOn: {index: 1}
  partOf: {index: 2}
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/us/military-service/StructureDefinition/usveteran']
    index: 7
  performer: {index: 17}
  dataAbsentReason: {index: 18}
  effectivePeriod:
    type: Period
    choiceOf: effective
    index: 12
    elements:
      start: {short: Start date of the completed deployment, index: 14}
      end: {short: End date of the completed deployment, index: 15}
    required: [start, end]
package_version: 1.0.0
class: profile
kind: resource
url: http://hl7.org/fhir/us/military-service/StructureDefinition/deployment-history-episode
base: http://hl7.org/fhir/StructureDefinition/Observation
version: 1.0.0
required: [effectivePeriod, id, hasMember, subject, effective]