PackagesCanonicalsLogsProblems
    Packages
    MyHIE.v4@2.0.0-alpha
    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.",
  "_filename": "StructureDefinition-Patient-my-core.json",
  "package_name": "MyHIE.v4",
  "date": "2023-04-17T23:47:59.842439+00:00",
  "derivation": "constraint",
  "meta": {
    "versionId": "14",
    "lastUpdated": "2023-04-17T23:45:09.3336392+00:00"
  },
  "publisher": "Malaysia MOH - HIE Steering Committee",
  "fhirVersion": "4.0.1",
  "name": "PatientMyCore",
  "abstract": false,
  "type": "Patient",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": "Patient (MY Core)",
  "package_version": "2.0.0-alpha",
  "status": "active",
  "id": "21f55093-9363-445b-a694-0a379cda5bce",
  "kind": "resource",
  "url": "http://fhir.hie.moh.gov.my/StructureDefinition/Patient-my-core",
  "version": "1.0.0",
  "differential": {
    "element": [ {
      "id": "Patient",
      "path": "Patient",
      "constraint": [ {
        "key": "pat-2",
        "human": "MyKadNo must be 12 digit only",
        "severity": "error",
        "expression": "identifier.where(system = 'http://fhir.hie.moh.gov.my/sid/my-kad-no').exists() = false or (identifier.where(system = 'http://fhir.hie.moh.gov.my/sid/my-kad-no').exists() = true and identifier.where(system = 'http://fhir.hie.moh.gov.my/sid/my-kad-no').value.length() = 12)",
        "requirements": "MyKadNo must be 12 digit only"
      } ]
    }, {
      "id": "Patient.extension",
      "min": 0,
      "path": "Patient.extension",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      }
    }, {
      "id": "Patient.extension:ethnic",
      "max": "1",
      "min": 0,
      "path": "Patient.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://fhir.hie.moh.gov.my/StructureDefinition/ethnic-my-core" ]
      } ],
      "sliceName": "ethnic",
      "isModifier": false
    }, {
      "id": "Patient.extension:religion",
      "max": "1",
      "min": 0,
      "path": "Patient.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://fhir.hie.moh.gov.my/StructureDefinition/religion-my-core" ]
      } ],
      "sliceName": "religion",
      "isModifier": false
    }, {
      "id": "Patient.extension:nationality",
      "max": "1",
      "min": 0,
      "path": "Patient.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://fhir.hie.moh.gov.my/StructureDefinition/nationality-my-core" ]
      } ],
      "sliceName": "nationality",
      "isModifier": false
    }, {
      "id": "Patient.extension:educationLevel",
      "max": "1",
      "min": 0,
      "path": "Patient.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://fhir.hie.moh.gov.my/StructureDefinition/education-level-my-core" ]
      } ],
      "sliceName": "educationLevel",
      "isModifier": false
    }, {
      "id": "Patient.extension:child",
      "max": "1",
      "min": 0,
      "path": "Patient.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://fhir.hie.moh.gov.my/StructureDefinition/child-identification-my-core" ]
      } ],
      "sliceName": "child",
      "isModifier": false
    }, {
      "id": "Patient.extension:audit",
      "max": "1",
      "min": 0,
      "path": "Patient.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://fhir.hie.moh.gov.my/StructureDefinition/audit-my-core" ]
      } ],
      "sliceName": "audit",
      "isModifier": false
    }, {
      "id": "Patient.extension:monthlyHouseholdIncome",
      "max": "1",
      "min": 0,
      "path": "Patient.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://fhir.hie.moh.gov.my/StructureDefinition/monthly-household-income-my-core" ]
      } ],
      "sliceName": "monthlyHouseholdIncome",
      "isModifier": false
    }, {
      "id": "Patient.extension:occupationSector",
      "max": "1",
      "min": 0,
      "path": "Patient.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://fhir.hie.moh.gov.my/StructureDefinition/occupation-sector-my-core" ]
      } ],
      "sliceName": "occupationSector",
      "isModifier": false
    }, {
      "id": "Patient.identifier",
      "min": 1,
      "path": "Patient.identifier",
      "slicing": {
        "rules": "open",
        "ordered": true,
        "discriminator": [ {
          "path": "system",
          "type": "value"
        } ]
      }
    }, {
      "id": "Patient.identifier:myKadNo",
      "max": "1",
      "path": "Patient.identifier",
      "sliceName": "myKadNo"
    }, {
      "id": "Patient.identifier:myKadNo.system",
      "min": 1,
      "path": "Patient.identifier.system",
      "fixedUri": "http://fhir.hie.moh.gov.my/sid/my-kad-no"
    }, {
      "id": "Patient.identifier:myKadNo.value",
      "min": 1,
      "path": "Patient.identifier.value"
    }, {
      "id": "Patient.identifier:passportNo",
      "path": "Patient.identifier",
      "sliceName": "passportNo"
    }, {
      "id": "Patient.identifier:passportNo.system",
      "min": 1,
      "path": "Patient.identifier.system",
      "fixedUri": "http://fhir.hie.moh.gov.my/sid/passport-no"
    }, {
      "id": "Patient.identifier:passportNo.value",
      "min": 1,
      "path": "Patient.identifier.value"
    }, {
      "id": "Patient.identifier:armyNo",
      "max": "1",
      "path": "Patient.identifier",
      "sliceName": "armyNo"
    }, {
      "id": "Patient.identifier:armyNo.system",
      "min": 1,
      "path": "Patient.identifier.system",
      "fixedUri": "http://fhir.hie.moh.gov.my/sid/army-no"
    }, {
      "id": "Patient.identifier:armyNo.value",
      "min": 1,
      "path": "Patient.identifier.value"
    }, {
      "id": "Patient.identifier:policeNo",
      "max": "1",
      "path": "Patient.identifier",
      "sliceName": "policeNo"
    }, {
      "id": "Patient.identifier:policeNo.system",
      "min": 1,
      "path": "Patient.identifier.system",
      "fixedUri": "http://fhir.hie.moh.gov.my/sid/police-no"
    }, {
      "id": "Patient.identifier:policeNo.value",
      "min": 1,
      "path": "Patient.identifier.value"
    }, {
      "id": "Patient.identifier:othersNo",
      "path": "Patient.identifier",
      "sliceName": "othersNo"
    }, {
      "id": "Patient.identifier:othersNo.system",
      "min": 1,
      "path": "Patient.identifier.system",
      "fixedUri": "http://fhir.hie.moh.gov.my/sid/others-no"
    }, {
      "id": "Patient.identifier:othersNo.value",
      "min": 1,
      "path": "Patient.identifier.value"
    }, {
      "id": "Patient.identifier:newbornNo",
      "max": "1",
      "path": "Patient.identifier",
      "sliceName": "newbornNo"
    }, {
      "id": "Patient.identifier:newbornNo.system",
      "min": 1,
      "path": "Patient.identifier.system",
      "fixedUri": "http://fhir.hie.moh.gov.my/sid/newborn-no"
    }, {
      "id": "Patient.identifier:newbornNo.value",
      "min": 1,
      "path": "Patient.identifier.value"
    }, {
      "id": "Patient.identifier:patientMrn",
      "path": "Patient.identifier",
      "sliceName": "patientMrn"
    }, {
      "id": "Patient.identifier:patientMrn.system",
      "min": 1,
      "path": "Patient.identifier.system",
      "fixedUri": "http://fhir.hie.moh.gov.my/sid/patient-mrn"
    }, {
      "id": "Patient.identifier:patientMrn.value",
      "min": 1,
      "path": "Patient.identifier.value"
    }, {
      "id": "Patient.name",
      "min": 1,
      "path": "Patient.name",
      "requirements": "Need to be able to track the patient by multiple names. Examples are your official name and a partner name.\r\nThe Alphabetic representation of the name SHALL be always provided"
    }, {
      "id": "Patient.name.extension",
      "min": 0,
      "path": "Patient.name.extension",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      }
    }, {
      "id": "Patient.name.extension:personTitle",
      "max": "1",
      "min": 0,
      "path": "Patient.name.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://fhir.hie.moh.gov.my/StructureDefinition/person-title-my-core" ]
      } ],
      "sliceName": "personTitle",
      "isModifier": false
    }, {
      "id": "Patient.name.text",
      "path": "Patient.name.text",
      "definition": "Text representation of the full name. Due to the cultural variance around the world a consuming system may not know how to present the name correctly; moreover not all the parts of the name go in given or family. Creators are therefore strongly encouraged to provide through this element a presented version of the name. Future versions of this guide may require this element"
    }, {
      "id": "Patient.name.family",
      "path": "Patient.name.family",
      "mustSupport": false
    }, {
      "id": "Patient.name.given",
      "max": "1",
      "min": 1,
      "path": "Patient.name.given",
      "mustSupport": false
    }, {
      "id": "Patient.gender",
      "min": 1,
      "path": "Patient.gender",
      "binding": {
        "strength": "required",
        "valueSet": "http://fhir.hie.moh.gov.my/ValueSet/administrative-gender-my-core"
      }
    }, {
      "id": "Patient.birthDate",
      "min": 1,
      "path": "Patient.birthDate",
      "mustSupport": false
    }, {
      "id": "Patient.address",
      "path": "Patient.address",
      "type": [ {
        "code": "Address",
        "profile": [ "http://fhir.hie.moh.gov.my/StructureDefinition/Address-my-core" ]
      } ]
    }, {
      "id": "Patient.contact.extension",
      "min": 0,
      "path": "Patient.contact.extension",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      }
    }, {
      "id": "Patient.contact.extension:contactIdentifier",
      "max": "1",
      "min": 0,
      "path": "Patient.contact.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://fhir.hie.moh.gov.my/StructureDefinition/patient-contact-identifier-my-core" ]
      } ],
      "sliceName": "contactIdentifier",
      "isModifier": false
    }, {
      "id": "Patient.contact.extension:occupationSector",
      "max": "1",
      "min": 0,
      "path": "Patient.contact.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://fhir.hie.moh.gov.my/StructureDefinition/occupation-sector-my-core" ]
      } ],
      "sliceName": "occupationSector",
      "isModifier": false
    }, {
      "id": "Patient.contact.relationship",
      "path": "Patient.contact.relationship",
      "binding": {
        "strength": "extensible",
        "valueSet": "http://fhir.hie.moh.gov.my/ValueSet/relationship-my-core"
      }
    }, {
      "id": "Patient.contact.name.extension",
      "min": 0,
      "path": "Patient.contact.name.extension",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      }
    }, {
      "id": "Patient.contact.name.extension:personTitle",
      "max": "1",
      "min": 0,
      "path": "Patient.contact.name.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://fhir.hie.moh.gov.my/StructureDefinition/person-title-my-core" ]
      } ],
      "sliceName": "personTitle"
    }, {
      "id": "Patient.contact.address",
      "path": "Patient.contact.address",
      "type": [ {
        "code": "Address",
        "profile": [ "http://fhir.hie.moh.gov.my/StructureDefinition/Address-my-core" ]
      } ]
    }, {
      "id": "Patient.managingOrganization",
      "min": 1,
      "path": "Patient.managingOrganization"
    } ]
  },
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Patient"
}