PackagesCanonicalsLogsProblems
    Packages
    myhie.v4@test-2.1.1
    http://fhir.hie.moh.gov.my/StructureDefinition/Appointment-my-core
description: A booking of a healthcare event among patient(s), practitioner(s), related person(s) and/or device(s) for a specific date/time. This may result in one or more Encounter(s).
package_name: myhie.v4
derivation: constraint
name: AppointmentMyCore
type: Appointment
elements:
  extension:
    type: Extension
    isModifier: false
    url: http://fhir.hie.moh.gov.my/StructureDefinition/simple-register-my-core
    index: 0
    slicing:
      slices:
        simpleRegister:
          match: {}
          schema:
            type: Extension
            isModifier: false
            url: http://fhir.hie.moh.gov.my/StructureDefinition/simple-register-my-core
            index: 0
            extensions:
              identifier: {url: null, max: 1, index: 1}
              name: {url: null, max: 1, index: 2}
              birthDate: {url: null, max: 1, index: 3}
            elements:
              extension:
                index: 1
                slicing:
                  slices:
                    identifier:
                      match: {}
                      schema: {index: 1}
                      max: 1
                    name:
                      match: {}
                      schema: {index: 2}
                      max: 1
                    birthDate:
                      match: {}
                      schema: {index: 3}
                      max: 1
  identifier:
    index: 4
    slicing:
      rules: open
      discriminator:
      - {path: system, type: value}
      min: null
      slices:
        vcToken:
          match: {system: 'http://fhir.hie.moh.gov.my/sid/vc-token'}
          schema:
            index: 5
            elements:
              system:
                pattern: {type: Uri, value: 'http://fhir.hie.moh.gov.my/sid/vc-token'}
                index: 6
  cancelationReason:
    binding: {strength: required, valueSet: 'http://fhir.hie.moh.gov.my/ValueSet/cancelation-reason-my-core'}
    index: 7
  serviceCategory:
    binding: {strength: example, valueSet: 'http://fhir.hie.moh.gov.my/ValueSet/encounter-category-my-core'}
    index: 8
  serviceType:
    binding: {strength: required, valueSet: 'http://fhir.hie.moh.gov.my/ValueSet/service-type-my-core'}
    index: 9
  specialty:
    elements:
      coding:
        index: 10
        slicing:
          rules: open
          discriminator:
          - {path: system, type: value}
          min: null
          slices:
            specialty:
              match: {system: 'http://fhir.hie.moh.gov.my/ValueSet/specialty-my-core'}
              schema:
                binding: {strength: example, valueSet: 'http://fhir.hie.moh.gov.my/ValueSet/specialty-my-core'}
                index: 11
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://fhir.hie.moh.gov.my/ValueSet/specialty-my-core'}
                    index: 12
            serviceCategory:
              match: {system: 'http://fhir.hie.moh.gov.my/ValueSet/servicerequest-category-my-core'}
              schema:
                binding: {strength: example, valueSet: 'http://fhir.hie.moh.gov.my/ValueSet/servicerequest-category-my-core'}
                index: 13
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://fhir.hie.moh.gov.my/ValueSet/servicerequest-category-my-core'}
                    index: 14
  appointmentType:
    binding: {strength: required, valueSet: 'http://fhir.hie.moh.gov.my/Valueset/schedule-type-my-core'}
    index: 15
  participant:
    constraint:
      app-1: {human: Either the type or actor on the participant SHALL be specified, source: 'http://fhir.hie.moh.gov.my/StructureDefinition/Appointment', severity: error}
    index: 16
    elements:
      actor:
        elements:
          type: {index: 17}
          display: {index: 18}
        required: [type, display]
package_version: test-2.1.1
extensions:
  simpleRegister:
    url: http://fhir.hie.moh.gov.my/StructureDefinition/simple-register-my-core
    type: Extension
    isModifier: false
    index: 0
    extensions:
      identifier: {url: null, max: 1, index: 1}
      name: {url: null, max: 1, index: 2}
      birthDate: {url: null, max: 1, index: 3}
    elements:
      extension:
        index: 1
        slicing:
          slices:
            identifier:
              match: {}
              schema: {index: 1}
              max: 1
            name:
              match: {}
              schema: {index: 2}
              max: 1
            birthDate:
              match: {}
              schema: {index: 3}
              max: 1
class: profile
kind: resource
url: http://fhir.hie.moh.gov.my/StructureDefinition/Appointment-my-core
base: http://hl7.org/fhir/StructureDefinition/Appointment
version: 1.0.0
required: [serviceType, serviceCategory]