PackagesCanonicalsLogsProblems
    Packages
    fhir.ph.core@0.2.1
    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: 4
  protocolApplied:
    mustSupport: true
    index: 16
    elements:
      doseNumber:
        choices: []
        index: 18
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: $this, type: type}
          min: null
          slices:
            doseNumberPositiveInt:
              match: {}
              schema:
                mustSupport: true
                choices: [doseNumberPositiveInt]
                index: 20
              min: 0
              max: 1
      doseNumberPositiveInt:
        type: positiveInt
        mustSupport: true
        choiceOf: doseNumber
        index: 21
        slicing:
          slices:
            doseNumberPositiveInt:
              match: {}
              schema: {type: positiveInt, mustSupport: true, choiceOf: doseNumber, index: 21}
              min: 0
              max: 1
  encounter:
    type: Reference
    mustSupport: true
    refers: ['https://fhir.doh.gov.ph/phcore/StructureDefinition/ph-core-encounter']
    index: 5
  note: {mustSupport: true, index: 15}
  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: 9}
  status: {mustSupport: true, index: 3}
  lotNumber: {mustSupport: true, index: 11}
  location:
    type: Reference
    mustSupport: true
    refers: ['https://fhir.doh.gov.ph/phcore/StructureDefinition/ph-core-location']
    index: 10
  occurrenceDateTime: {type: dateTime, mustSupport: true, choiceOf: occurrence, index: 8}
  occurrence:
    mustSupport: true
    choices: [occurrenceDateTime]
    index: 7
  performer:
    mustSupport: true
    index: 12
    elements:
      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: 13
        elements:
          display: {mustSupport: true, index: 14}
package_version: 0.2.1
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.1