PackagesCanonicalsLogsProblems
    Packages
    myhie.v4@1.0.0
    http://fhir.hie.moh.gov.my/StructureDefinition/Patient-my-core
description: This profile represents the constraints applied to the Patient resource by MY Core FHIR Implementation Guide and describes the minimum expectations for the Patient resource when used in the MY Core composition or in one of the referred resources.
package_name: myhie.v4
derivation: constraint
name: PatientMyCore
type: Patient
elements:
  address:
    type: Address
    index: 46
    extensions:
      state: {url: null, short: Extension to store address state in a Codeable Concept, index: 47}
      district: {url: null, short: Extension to store district address in the form of a Codeable Concept, index: 48}
      division: {url: null, short: Extension to store address division (For Sabah | Sarawak) value, index: 49}
      subDivision: {url: null, short: Extension to store address sub division (for Sabah | Sarawak) value, index: 50}
    elements:
      extension:
        short: Extension to store address state in a Codeable Concept
        index: 47
        slicing:
          slices:
            state:
              match: {}
              schema: {short: Extension to store address state in a Codeable Concept, index: 47}
            district:
              match: {}
              schema: {short: Extension to store district address in the form of a Codeable Concept, index: 48}
            division:
              match: {}
              schema: {short: Extension to store address division (For Sabah | Sarawak) value, index: 49}
            subDivision:
              match: {}
              schema: {short: Extension to store address sub division (for Sabah | Sarawak) value, index: 50}
  managingOrganization: {index: 60}
  name:
    index: 39
    extensions:
      personTitle: {url: 'http://fhir.hie.moh.gov.my/StructureDefinition/person-title-my-core', max: 1, type: Extension, short: Extension to define the title of an individual, isModifier: false, index: 40}
    elements:
      extension:
        type: Extension
        short: Extension to define the title of an individual
        isModifier: false
        url: http://fhir.hie.moh.gov.my/StructureDefinition/person-title-my-core
        index: 40
        slicing:
          slices:
            personTitle:
              match: {}
              schema: {type: Extension, short: Extension to define the title of an individual, isModifier: false, url: 'http://fhir.hie.moh.gov.my/StructureDefinition/person-title-my-core', index: 40}
              max: 1
      text: {index: 41}
      family: {mustSupport: false, index: 42}
      given: {mustSupport: false, index: 43}
  birthDate: {mustSupport: false, index: 45}
  extension:
    type: Extension
    isModifier: false
    url: http://fhir.hie.moh.gov.my/StructureDefinition/ethnic-my-core
    index: 0
    slicing:
      slices:
        religion:
          match: {}
          schema: {type: Extension, short: Extension about individuals religious affiliation, isModifier: false, url: 'http://fhir.hie.moh.gov.my/StructureDefinition/religion-my-core', index: 1}
          max: 1
        occupationSector:
          match: {}
          schema: {type: Extension, short: Extension to categorize an individuals occupational sector, isModifier: false, url: 'http://fhir.hie.moh.gov.my/StructureDefinition/occupation-sector-my-core', index: 7}
          max: 1
        nationality:
          match: {}
          schema: {type: Extension, short: Extension to define the nationality of a particular individual, isModifier: false, url: 'http://fhir.hie.moh.gov.my/StructureDefinition/nationality-my-core', index: 2}
          max: 1
        systemRating:
          match: {}
          schema: {type: Extension, short: Extension for patient/customer to rate an Encounter, isModifier: false, url: 'http://fhir.hie.moh.gov.my/StructureDefinition/system-rating-my-core', index: 10}
          max: 1
        educationLevel:
          match: {}
          schema: {type: Extension, short: Extension about an individual education level category, isModifier: false, url: 'http://fhir.hie.moh.gov.my/StructureDefinition/education-level-my-core', index: 3}
          max: 1
        ethnic:
          match: {}
          schema: {type: Extension, isModifier: false, url: 'http://fhir.hie.moh.gov.my/StructureDefinition/ethnic-my-core', index: 0}
          max: 1
        personCategoryArmy:
          match: {}
          schema: {type: Extension, short: Extension about the category of the individual in respect to army benefits status, isModifier: false, url: 'http://fhir.hie.moh.gov.my/StructureDefinition/person-category-army-my-core', index: 11}
          max: 1
        citizenship:
          match: {}
          schema: {type: Extension, short: Extension to define the citizenship status of an individual, isModifier: false, url: 'http://fhir.hie.moh.gov.my/StructureDefinition/citizenship-my-core', index: 9}
          max: 1
        audit:
          match: {}
          schema: {type: Extension, short: Extension of the individual who recorded and updated the date, isModifier: false, url: 'http://fhir.hie.moh.gov.my/StructureDefinition/audit-my-core', index: 5}
          max: 1
        foreignerType:
          match: {}
          schema: {type: Extension, short: Extension about an individidual foreigner category, isModifier: false, url: 'http://fhir.hie.moh.gov.my/StructureDefinition/foreigner-type-my-core', index: 8}
          max: 1
        child:
          match: {}
          schema: {type: Extension, short: Extension to store newborn details, isModifier: false, url: 'http://fhir.hie.moh.gov.my/StructureDefinition/child-identification-my-core', index: 4}
          max: 1
        monthlyHouseholdIncome:
          match: {}
          schema: {type: Extension, short: Extension to define the individual monthly household income category, isModifier: false, url: 'http://fhir.hie.moh.gov.my/StructureDefinition/monthly-household-income-my-core', index: 6}
          max: 1
  active: {index: 38}
  identifier:
    index: 12
    slicing:
      rules: closed
      ordered: true
      discriminator:
      - {path: system, type: value}
      min: 1
      slices:
        myKadNo:
          match: {system: 'http://fhir.hie.moh.gov.my/sid/mykad-no'}
          schema:
            index: 13
            elements:
              system:
                pattern: {type: Uri, value: 'http://fhir.hie.moh.gov.my/sid/mykad-no'}
                index: 14
              value: {index: 15}
            required: [value, system]
        passportNo:
          match: {system: 'http://fhir.hie.moh.gov.my/sid/passport-no'}
          schema:
            index: 16
            elements:
              system:
                pattern: {type: Uri, value: 'http://fhir.hie.moh.gov.my/sid/passport-no'}
                index: 17
              value: {index: 18}
            required: [value, system]
        armyNo:
          match: {system: 'http://fhir.hie.moh.gov.my/sid/army-no'}
          schema:
            index: 19
            elements:
              system:
                pattern: {type: Uri, value: 'http://fhir.hie.moh.gov.my/sid/army-no'}
                index: 20
              value: {index: 21}
            required: [value, system]
        policeNo:
          match: {system: 'http://fhir.hie.moh.gov.my/sid/police-no'}
          schema:
            index: 22
            elements:
              system:
                pattern: {type: Uri, value: 'http://fhir.hie.moh.gov.my/sid/police-no'}
                index: 23
              value: {index: 24}
            required: [value, system]
        othersNo:
          match: {system: 'http://fhir.hie.moh.gov.my/sid/others-no'}
          schema:
            index: 25
            elements:
              use: {index: 26}
              system:
                pattern: {type: Uri, value: 'http://fhir.hie.moh.gov.my/sid/others-no'}
                index: 27
              value: {index: 28}
            required: [value, system, use]
        newbornNo:
          match: {system: 'http://fhir.hie.moh.gov.my/sid/newborn-no'}
          schema:
            index: 29
            elements:
              system:
                pattern: {type: Uri, value: 'http://fhir.hie.moh.gov.my/sid/newborn-no'}
                index: 30
              value: {index: 31}
            required: [value, system]
        permanentResidenceNo:
          match: {system: 'http://fhir.hie.moh.gov.my/sid/permanent-residence-no'}
          schema:
            index: 32
            elements:
              system:
                pattern: {type: Uri, value: 'http://fhir.hie.moh.gov.my/sid/permanent-residence-no'}
                index: 33
              value: {index: 34}
            required: [value, system]
        patientMrn:
          match: {system: 'http://fhir.hie.moh.gov.my/sid/patient-mrn'}
          schema:
            index: 35
            elements:
              system:
                pattern: {type: Uri, value: 'http://fhir.hie.moh.gov.my/sid/patient-mrn'}
                index: 36
              value: {index: 37}
            required: [value, system]
  gender: {index: 44}
  contact:
    extensions:
      contactIdentifier: {url: 'http://fhir.hie.moh.gov.my/StructureDefinition/patient-contact-identifier-my-core', max: 1, type: Extension, short: Extension to store contact identifier, isModifier: false, index: 51}
      occupationSector: {url: 'http://fhir.hie.moh.gov.my/StructureDefinition/occupation-sector-my-core', max: 1, type: Extension, short: Extension to categorize an individuals occupational sector, isModifier: false, index: 52}
    elements:
      extension:
        type: Extension
        short: Extension to store contact identifier
        isModifier: false
        url: http://fhir.hie.moh.gov.my/StructureDefinition/patient-contact-identifier-my-core
        index: 51
        slicing:
          slices:
            contactIdentifier:
              match: {}
              schema: {type: Extension, short: Extension to store contact identifier, isModifier: false, url: 'http://fhir.hie.moh.gov.my/StructureDefinition/patient-contact-identifier-my-core', index: 51}
              max: 1
            occupationSector:
              match: {}
              schema: {type: Extension, short: Extension to categorize an individuals occupational sector, isModifier: false, url: 'http://fhir.hie.moh.gov.my/StructureDefinition/occupation-sector-my-core', index: 52}
              max: 1
      relationship:
        binding: {strength: extensible, valueSet: 'http://fhir.hie.moh.gov.my/ValueSet/relationship-my-core'}
        index: 53
      name:
        extensions:
          personTitle: {url: 'http://fhir.hie.moh.gov.my/StructureDefinition/person-title-my-core', max: 1, type: Extension, short: Extension to define the title of an individual, index: 54}
        elements:
          extension:
            type: Extension
            short: Extension to define the title of an individual
            url: http://fhir.hie.moh.gov.my/StructureDefinition/person-title-my-core
            index: 54
            slicing:
              slices:
                personTitle:
                  match: {}
                  schema: {type: Extension, short: Extension to define the title of an individual, url: 'http://fhir.hie.moh.gov.my/StructureDefinition/person-title-my-core', index: 54}
                  max: 1
      address:
        type: Address
        index: 55
        extensions:
          state: {url: null, short: Extension to store address state in a Codeable Concept, index: 56}
          district: {url: null, short: Extension to store district address in the form of a Codeable Concept, index: 57}
          division: {url: null, short: Extension to store address division (For Sabah | Sarawak) value, index: 58}
          subDivision: {url: null, short: Extension to store address sub division (for Sabah | Sarawak) value, index: 59}
        elements:
          extension:
            short: Extension to store address state in a Codeable Concept
            index: 56
            slicing:
              slices:
                state:
                  match: {}
                  schema: {short: Extension to store address state in a Codeable Concept, index: 56}
                district:
                  match: {}
                  schema: {short: Extension to store district address in the form of a Codeable Concept, index: 57}
                division:
                  match: {}
                  schema: {short: Extension to store address division (For Sabah | Sarawak) value, index: 58}
                subDivision:
                  match: {}
                  schema: {short: Extension to store address sub division (for Sabah | Sarawak) value, index: 59}
package_version: 1.0.0
extensions:
  religion: {url: 'http://fhir.hie.moh.gov.my/StructureDefinition/religion-my-core', max: 1, type: Extension, short: Extension about individuals religious affiliation, isModifier: false, index: 1}
  occupationSector: {url: 'http://fhir.hie.moh.gov.my/StructureDefinition/occupation-sector-my-core', max: 1, type: Extension, short: Extension to categorize an individuals occupational sector, isModifier: false, index: 7}
  nationality: {url: 'http://fhir.hie.moh.gov.my/StructureDefinition/nationality-my-core', max: 1, type: Extension, short: Extension to define the nationality of a particular individual, isModifier: false, index: 2}
  systemRating: {url: 'http://fhir.hie.moh.gov.my/StructureDefinition/system-rating-my-core', max: 1, type: Extension, short: Extension for patient/customer to rate an Encounter, isModifier: false, index: 10}
  educationLevel: {url: 'http://fhir.hie.moh.gov.my/StructureDefinition/education-level-my-core', max: 1, type: Extension, short: Extension about an individual education level category, isModifier: false, index: 3}
  ethnic: {url: 'http://fhir.hie.moh.gov.my/StructureDefinition/ethnic-my-core', max: 1, type: Extension, isModifier: false, index: 0}
  personCategoryArmy: {url: 'http://fhir.hie.moh.gov.my/StructureDefinition/person-category-army-my-core', max: 1, type: Extension, short: Extension about the category of the individual in respect to army benefits status, isModifier: false, index: 11}
  citizenship: {url: 'http://fhir.hie.moh.gov.my/StructureDefinition/citizenship-my-core', max: 1, type: Extension, short: Extension to define the citizenship status of an individual, isModifier: false, index: 9}
  audit: {url: 'http://fhir.hie.moh.gov.my/StructureDefinition/audit-my-core', max: 1, type: Extension, short: Extension of the individual who recorded and updated the date, isModifier: false, index: 5}
  foreignerType: {url: 'http://fhir.hie.moh.gov.my/StructureDefinition/foreigner-type-my-core', max: 1, type: Extension, short: Extension about an individidual foreigner category, isModifier: false, index: 8}
  child: {url: 'http://fhir.hie.moh.gov.my/StructureDefinition/child-identification-my-core', max: 1, type: Extension, short: Extension to store newborn details, isModifier: false, index: 4}
  monthlyHouseholdIncome: {url: 'http://fhir.hie.moh.gov.my/StructureDefinition/monthly-household-income-my-core', max: 1, type: Extension, short: Extension to define the individual monthly household income category, isModifier: false, index: 6}
class: profile
kind: resource
url: http://fhir.hie.moh.gov.my/StructureDefinition/Patient-my-core
base: http://hl7.org/fhir/StructureDefinition/Patient
version: 1.0.0
required: [managingOrganization, gender, name, identifier, birthDate, active]