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-test derivation: constraint name: PatientMyCore type: Patient elements: address: {type: Address, index: 44} managingOrganization: {index: 50} name: index: 37 extensions: personTitle: {url: 'http://fhir.hie.moh.gov.my/StructureDefinition/person-title-my-core', max: 1, type: Extension, isModifier: false, index: 38} elements: extension: type: Extension isModifier: false url: http://fhir.hie.moh.gov.my/StructureDefinition/person-title-my-core index: 38 slicing: slices: personTitle: match: {} schema: {type: Extension, isModifier: false, url: 'http://fhir.hie.moh.gov.my/StructureDefinition/person-title-my-core', index: 38} max: 1 text: {index: 39} family: {mustSupport: false, index: 40} given: {mustSupport: false, index: 41} birthDate: {mustSupport: false, index: 43} 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, isModifier: false, url: 'http://fhir.hie.moh.gov.my/StructureDefinition/religion-my-core', index: 1} max: 1 occupationSector: match: {} schema: {type: Extension, isModifier: false, url: 'http://fhir.hie.moh.gov.my/StructureDefinition/occupation-sector-my-core', index: 7} max: 1 nationality: match: {} schema: {type: Extension, isModifier: false, url: 'http://fhir.hie.moh.gov.my/StructureDefinition/nationality-my-core', index: 2} max: 1 systemRating: match: {} schema: {type: Extension, isModifier: false, url: 'http://fhir.hie.moh.gov.my/StructureDefinition/system-rating-my-core', index: 10} max: 1 educationLevel: match: {} schema: {type: Extension, 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 citizenship: match: {} schema: {type: Extension, isModifier: false, url: 'http://fhir.hie.moh.gov.my/StructureDefinition/citizenship-my-core', index: 9} max: 1 audit: match: {} schema: {type: Extension, isModifier: false, url: 'http://fhir.hie.moh.gov.my/StructureDefinition/audit-my-core', index: 5} max: 1 foreignerType: match: {} schema: {type: Extension, isModifier: false, url: 'http://fhir.hie.moh.gov.my/StructureDefinition/foreigner-type-my-core', index: 8} max: 1 child: match: {} schema: {type: Extension, isModifier: false, url: 'http://fhir.hie.moh.gov.my/StructureDefinition/child-identification-my-core', index: 4} max: 1 monthlyHouseholdIncome: match: {} schema: {type: Extension, isModifier: false, url: 'http://fhir.hie.moh.gov.my/StructureDefinition/monthly-household-income-my-core', index: 6} max: 1 active: {index: 36} identifier: index: 11 slicing: rules: open ordered: true discriminator: - {path: system, type: value} min: 1 slices: myKadNo: match: {system: 'http://fhir.hie.moh.gov.my/sid/my-kad-no'} schema: index: 12 elements: system: pattern: {type: Uri, value: 'http://fhir.hie.moh.gov.my/sid/my-kad-no'} index: 13 value: {index: 14} required: [value, system] passportNo: match: {system: 'http://fhir.hie.moh.gov.my/sid/passport-no'} schema: index: 15 elements: system: pattern: {type: Uri, value: 'http://fhir.hie.moh.gov.my/sid/passport-no'} index: 16 value: {index: 17} required: [value, system] armyNo: match: {system: 'http://fhir.hie.moh.gov.my/sid/army-no'} schema: index: 18 elements: system: pattern: {type: Uri, value: 'http://fhir.hie.moh.gov.my/sid/army-no'} index: 19 value: {index: 20} required: [value, system] policeNo: match: {system: 'http://fhir.hie.moh.gov.my/sid/police-no'} schema: index: 21 elements: system: pattern: {type: Uri, value: 'http://fhir.hie.moh.gov.my/sid/police-no'} index: 22 value: {index: 23} required: [value, system] othersNo: match: {system: 'http://fhir.hie.moh.gov.my/sid/others-no'} schema: index: 24 elements: system: pattern: {type: Uri, value: 'http://fhir.hie.moh.gov.my/sid/others-no'} index: 25 value: {index: 26} required: [value, system] newbornNo: match: {system: 'http://fhir.hie.moh.gov.my/sid/newborn-no'} schema: index: 27 elements: system: pattern: {type: Uri, value: 'http://fhir.hie.moh.gov.my/sid/newborn-no'} index: 28 value: {index: 29} required: [value, system] permanentResidenceNo: match: {system: 'http://fhir.hie.moh.gov.my/sid/permanent-residence-no'} schema: index: 30 elements: system: pattern: {type: Uri, value: 'http://fhir.hie.moh.gov.my/sid/permanent-residence-no'} index: 31 value: {index: 32} required: [value, system] patientMrn: match: {system: 'http://fhir.hie.moh.gov.my/sid/patient-mrn'} schema: index: 33 elements: system: pattern: {type: Uri, value: 'http://fhir.hie.moh.gov.my/sid/patient-mrn'} index: 34 value: {index: 35} required: [value, system] gender: {index: 42} contact: extensions: contactIdentifier: {url: 'http://fhir.hie.moh.gov.my/StructureDefinition/patient-contact-identifier-my-core', max: 1, type: Extension, isModifier: false, index: 45} occupationSector: {url: 'http://fhir.hie.moh.gov.my/StructureDefinition/occupation-sector-my-core', max: 1, type: Extension, isModifier: false, index: 46} elements: extension: type: Extension isModifier: false url: http://fhir.hie.moh.gov.my/StructureDefinition/patient-contact-identifier-my-core index: 45 slicing: slices: contactIdentifier: match: {} schema: {type: Extension, isModifier: false, url: 'http://fhir.hie.moh.gov.my/StructureDefinition/patient-contact-identifier-my-core', index: 45} max: 1 occupationSector: match: {} schema: {type: Extension, isModifier: false, url: 'http://fhir.hie.moh.gov.my/StructureDefinition/occupation-sector-my-core', index: 46} max: 1 relationship: binding: {strength: extensible, valueSet: 'http://fhir.hie.moh.gov.my/ValueSet/relationship-my-core'} index: 47 name: extensions: personTitle: {url: 'http://fhir.hie.moh.gov.my/StructureDefinition/person-title-my-core', max: 1, type: Extension, index: 48} elements: extension: type: Extension url: http://fhir.hie.moh.gov.my/StructureDefinition/person-title-my-core index: 48 slicing: slices: personTitle: match: {} schema: {type: Extension, url: 'http://fhir.hie.moh.gov.my/StructureDefinition/person-title-my-core', index: 48} max: 1 address: {type: Address, index: 49} package_version: 2.1.1 extensions: religion: {url: 'http://fhir.hie.moh.gov.my/StructureDefinition/religion-my-core', max: 1, type: Extension, isModifier: false, index: 1} occupationSector: {url: 'http://fhir.hie.moh.gov.my/StructureDefinition/occupation-sector-my-core', max: 1, type: Extension, isModifier: false, index: 7} nationality: {url: 'http://fhir.hie.moh.gov.my/StructureDefinition/nationality-my-core', max: 1, type: Extension, isModifier: false, index: 2} systemRating: {url: 'http://fhir.hie.moh.gov.my/StructureDefinition/system-rating-my-core', max: 1, type: Extension, isModifier: false, index: 10} educationLevel: {url: 'http://fhir.hie.moh.gov.my/StructureDefinition/education-level-my-core', max: 1, type: Extension, isModifier: false, index: 3} ethnic: {url: 'http://fhir.hie.moh.gov.my/StructureDefinition/ethnic-my-core', max: 1, type: Extension, isModifier: false, index: 0} citizenship: {url: 'http://fhir.hie.moh.gov.my/StructureDefinition/citizenship-my-core', max: 1, type: Extension, isModifier: false, index: 9} audit: {url: 'http://fhir.hie.moh.gov.my/StructureDefinition/audit-my-core', max: 1, type: Extension, isModifier: false, index: 5} foreignerType: {url: 'http://fhir.hie.moh.gov.my/StructureDefinition/foreigner-type-my-core', max: 1, type: Extension, isModifier: false, index: 8} child: {url: 'http://fhir.hie.moh.gov.my/StructureDefinition/child-identification-my-core', max: 1, type: Extension, isModifier: false, index: 4} monthlyHouseholdIncome: {url: 'http://fhir.hie.moh.gov.my/StructureDefinition/monthly-household-income-my-core', max: 1, type: Extension, 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]