PackagesCanonicalsLogsProblems
    Packages
    fhir.ph.core@0.2.0
    https://fhir.doh.gov.ph/phcore/StructureDefinition/ph-core-immunization
description: Describes the event of a patient being administered a vaccine or a record of an immunization as reported by a patient, a clinician or another party.
package_name: fhir.ph.core
derivation: constraint
name: PHCoreImmunization
type: Immunization
elements:
  patient:
    type: Reference
    mustSupport: true
    refers: ['https://fhir.doh.gov.ph/phcore/StructureDefinition/ph-core-patient']
    index: 10
  reportOrigin:
    mustSupport: true
    index: 16
    elements:
      coding: {mustSupport: true, index: 17}
      text: {mustSupport: true, index: 18}
  protocolApplied:
    mustSupport: true
    index: 46
    elements:
      targetDisease:
        mustSupport: true
        index: 47
        elements:
          coding: {mustSupport: true, index: 48}
          text: {mustSupport: true, index: 49}
      doseNumber:
        choices: []
        index: 51
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: $this, type: type}
          min: null
          slices:
            doseNumberPositiveInt:
              match: {}
              schema:
                mustSupport: true
                choices: [doseNumberPositiveInt]
                index: 53
              min: 0
              max: 1
      doseNumberPositiveInt:
        type: positiveInt
        mustSupport: true
        choiceOf: doseNumber
        index: 54
        slicing:
          slices:
            doseNumberPositiveInt:
              match: {}
              schema: {type: positiveInt, mustSupport: true, choiceOf: doseNumber, index: 54}
              min: 0
              max: 1
  site:
    mustSupport: true
    index: 21
    elements:
      coding: {mustSupport: true, index: 22}
      text: {mustSupport: true, index: 23}
  encounter:
    type: Reference
    mustSupport: true
    refers: ['https://fhir.doh.gov.ph/phcore/StructureDefinition/ph-core-encounter']
    index: 11
  vaccineCode:
    mustSupport: true
    index: 7
    elements:
      coding: {mustSupport: true, index: 8}
      text: {mustSupport: true, index: 9}
  reasonCode:
    mustSupport: true
    index: 34
    elements:
      coding: {mustSupport: true, index: 35}
      text: {mustSupport: true, index: 36}
  statusReason:
    mustSupport: true
    index: 4
    elements:
      coding: {mustSupport: true, index: 5}
      text: {mustSupport: true, index: 6}
  route:
    mustSupport: true
    index: 24
    elements:
      coding: {mustSupport: true, index: 25}
      text: {mustSupport: true, index: 26}
  programEligibility:
    mustSupport: true
    index: 40
    elements:
      coding: {mustSupport: true, index: 41}
      text: {mustSupport: true, index: 42}
  note: {mustSupport: true, index: 33}
  extension:
    index: 0
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        batchNumber:
          match: {url: null}
          schema: {type: Extension, mustSupport: true, url: 'https://fhir.doh.gov.ph/phcore/StructureDefinition/batch-number', index: 1}
          min: 0
          max: 1
        administeredProduct:
          match: {url: null}
          schema: {type: Extension, mustSupport: true, url: 'https://fhir.doh.gov.ph/phcore/StructureDefinition/administered-product', index: 2}
          min: 0
          max: 1
  primarySource: {mustSupport: true, index: 15}
  status: {mustSupport: true, index: 3}
  lotNumber: {mustSupport: true, index: 20}
  location:
    type: Reference
    mustSupport: true
    refers: ['https://fhir.doh.gov.ph/phcore/StructureDefinition/ph-core-location']
    index: 19
  occurrenceDateTime: {type: dateTime, mustSupport: true, choiceOf: occurrence, index: 14}
  fundingSource:
    mustSupport: true
    index: 43
    elements:
      coding: {mustSupport: true, index: 44}
      text: {mustSupport: true, index: 45}
  subpotentReason:
    mustSupport: true
    index: 37
    elements:
      coding: {mustSupport: true, index: 38}
      text: {mustSupport: true, index: 39}
  occurrence:
    mustSupport: true
    choices: [occurrenceDateTime]
    index: 13
  performer:
    mustSupport: true
    index: 27
    elements:
      function:
        mustSupport: true
        index: 28
        elements:
          coding: {mustSupport: true, index: 29}
          text: {mustSupport: true, index: 30}
      actor:
        type: Reference
        mustSupport: true
        refers: ['https://fhir.doh.gov.ph/phcore/StructureDefinition/ph-core-organization', 'https://fhir.doh.gov.ph/phcore/StructureDefinition/ph-core-practitioner', 'https://fhir.doh.gov.ph/phcore/StructureDefinition/ph-core-practitionerrole']
        index: 31
        elements:
          display: {mustSupport: true, index: 32}
package_version: 0.2.0
extensions:
  batchNumber: {url: 'https://fhir.doh.gov.ph/phcore/StructureDefinition/batch-number', min: 0, max: 1, type: Extension, mustSupport: true, index: 1}
  administeredProduct: {url: 'https://fhir.doh.gov.ph/phcore/StructureDefinition/administered-product', min: 0, max: 1, type: Extension, mustSupport: true, index: 2}
class: profile
kind: resource
url: https://fhir.doh.gov.ph/phcore/StructureDefinition/ph-core-immunization
base: http://hl7.org/fhir/StructureDefinition/Immunization
version: 0.2.0