PackagesCanonicalsLogsProblems
    Packages
    fhir.ph.core@0.2.0
    https://fhir.doh.gov.ph/phcore/StructureDefinition/ph-core-task
description: This profile localizes the FHIR R4 Task resource to the Philippine context.
package_name: fhir.ph.core
derivation: constraint
name: PHCoreTask
type: Task
elements:
  restriction:
    elements:
      recipient:
        type: Reference
        refers: ['http://hl7.org/fhir/StructureDefinition/Group', 'https://fhir.doh.gov.ph/phcore/StructureDefinition/ph-core-organization', 'https://fhir.doh.gov.ph/phcore/StructureDefinition/ph-core-patient', 'https://fhir.doh.gov.ph/phcore/StructureDefinition/ph-core-practitioner', 'https://fhir.doh.gov.ph/phcore/StructureDefinition/ph-core-practitionerrole', 'https://fhir.doh.gov.ph/phcore/StructureDefinition/ph-core-relatedperson']
        index: 24
  performerType:
    mustSupport: true
    index: 15
    elements:
      coding: {mustSupport: true, index: 16}
      text: {mustSupport: true, index: 17}
  executionPeriod: {mustSupport: true, index: 13}
  encounter:
    type: Reference
    refers: ['https://fhir.doh.gov.ph/phcore/StructureDefinition/ph-core-encounter']
    index: 12
  reasonCode:
    mustSupport: true
    index: 20
    elements:
      coding: {mustSupport: true, index: 21}
      text: {mustSupport: true, index: 22}
  statusReason:
    mustSupport: true
    index: 2
    elements:
      coding: {mustSupport: true, index: 3}
      text: {mustSupport: true, index: 4}
  output:
    elements:
      type:
        mustSupport: true
        index: 35
        elements:
          coding: {mustSupport: true, index: 36}
          text: {mustSupport: true, index: 37}
      value:
        choices: []
        index: 39
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: $this, type: type}
          min: null
          slices:
            valueCodeableConcept:
              match: {}
              schema:
                mustSupport: true
                choices: [valueCodeableConcept]
                index: 41
              min: 0
              max: 1
      valueCodeableConcept:
        type: CodeableConcept
        mustSupport: true
        choiceOf: value
        index: 42
        slicing:
          slices:
            valueCodeableConcept:
              match: {}
              schema: {type: CodeableConcept, mustSupport: true, choiceOf: value, index: 42}
              min: 0
              max: 1
      value[x]:
        elements:
          coding: {mustSupport: true, index: 43}
          text: {mustSupport: true, index: 44}
  businessStatus:
    mustSupport: true
    index: 5
    elements:
      coding: {mustSupport: true, index: 6}
      text: {mustSupport: true, index: 7}
  note: {mustSupport: true, index: 23}
  for:
    type: Reference
    mustSupport: true
    refers: ['https://fhir.doh.gov.ph/phcore/StructureDefinition/ph-core-patient']
    index: 11
  requester:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/Device', 'https://fhir.doh.gov.ph/phcore/StructureDefinition/ph-core-organization', 'https://fhir.doh.gov.ph/phcore/StructureDefinition/ph-core-patient', 'https://fhir.doh.gov.ph/phcore/StructureDefinition/ph-core-practitioner', 'https://fhir.doh.gov.ph/phcore/StructureDefinition/ph-core-practitionerrole', 'https://fhir.doh.gov.ph/phcore/StructureDefinition/ph-core-relatedperson']
    index: 14
  status: {mustSupport: true, index: 1}
  code:
    mustSupport: true
    index: 8
    elements:
      coding: {mustSupport: true, index: 9}
      text: {mustSupport: true, index: 10}
  input:
    elements:
      type:
        mustSupport: true
        index: 25
        elements:
          coding: {mustSupport: true, index: 26}
          text: {mustSupport: true, index: 27}
      value:
        choices: []
        index: 29
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: $this, type: type}
          min: null
          slices:
            valueCodeableConcept:
              match: {}
              schema:
                mustSupport: true
                choices: [valueCodeableConcept]
                index: 31
              min: 0
              max: 1
      valueCodeableConcept:
        type: CodeableConcept
        mustSupport: true
        choiceOf: value
        index: 32
        slicing:
          slices:
            valueCodeableConcept:
              match: {}
              schema: {type: CodeableConcept, mustSupport: true, choiceOf: value, index: 32}
              min: 0
              max: 1
      value[x]:
        elements:
          coding: {mustSupport: true, index: 33}
          text: {mustSupport: true, index: 34}
  partOf:
    type: Reference
    refers: ['https://fhir.doh.gov.ph/phcore/StructureDefinition/ph-core-task']
    index: 0
  location:
    type: Reference
    refers: ['https://fhir.doh.gov.ph/phcore/StructureDefinition/ph-core-location']
    index: 19
  owner:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/CareTeam', 'http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/HealthcareService', 'https://fhir.doh.gov.ph/phcore/StructureDefinition/ph-core-organization', 'https://fhir.doh.gov.ph/phcore/StructureDefinition/ph-core-patient', 'https://fhir.doh.gov.ph/phcore/StructureDefinition/ph-core-practitioner', 'https://fhir.doh.gov.ph/phcore/StructureDefinition/ph-core-practitionerrole', 'https://fhir.doh.gov.ph/phcore/StructureDefinition/ph-core-relatedperson']
    index: 18
package_version: 0.2.0
class: profile
kind: resource
url: https://fhir.doh.gov.ph/phcore/StructureDefinition/ph-core-task
base: http://hl7.org/fhir/StructureDefinition/Task
version: 0.2.0