{
"description": "This profile represents the constraints applied to the Patient resource by ID Core FHIR Implementation Guide and describes the minimum expectations for the Patient resource when used in the ID Core composition or in one of the referred resources.",
"_filename": "StructureDefinition-Patient-id-core.json",
"package_name": "IdHIE.0v",
"date": "2023-06-20T13:26:45.5788435+00:00",
"derivation": "constraint",
"meta": {
"versionId": "14",
"lastUpdated": "2023-06-12T06:45:46.244455+00:00"
},
"publisher": null,
"fhirVersion": "4.0.1",
"name": "PatientIdCore",
"abstract": false,
"type": "Patient",
"experimental": null,
"resourceType": "StructureDefinition",
"title": "Patient (ID Core)",
"package_version": "0.0.1",
"status": "active",
"id": "e25e7012-ede8-4da5-ad0c-721787c8893f",
"kind": "resource",
"url": "http://fhir.hie.moh.gov.id/StructureDefinition/Patient-id-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.id/sid/my-kad-no').exists() = false or (identifier.where(system = 'http://fhir.hie.moh.gov.id/sid/my-kad-no').exists() = true and identifier.where(system = 'http://fhir.hie.moh.gov.id/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.id/StructureDefinition/ethnic-id-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.id/StructureDefinition/religion-id-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.id/StructureDefinition/nationality-id-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.id/StructureDefinition/education-level-id-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.id/StructureDefinition/child-identification-id-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.id/StructureDefinition/audit-id-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.id/StructureDefinition/monthly-household-income-id-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.id/StructureDefinition/occupation-sector-id-core" ]
} ],
"sliceName": "occupationSector",
"isModifier": false
}, {
"id": "Patient.extension:citizenship",
"max": "1",
"min": 0,
"path": "Patient.extension",
"type": [ {
"code": "Extension",
"profile": [ "http://fhir.hie.moh.gov.id/StructureDefinition/citizenship-id-core" ]
} ],
"sliceName": "citizenship",
"isModifier": false
}, {
"id": "Patient.extension:birthplace",
"max": "1",
"min": 0,
"path": "Patient.extension",
"type": [ {
"code": "Extension",
"profile": [ "http://fhir.hie.moh.gov.id/StructureDefinition/birthplace-id-core" ]
} ],
"sliceName": "birthplace",
"isModifier": false
}, {
"id": "Patient.extension:motherMaidenName",
"max": "1",
"min": 0,
"path": "Patient.extension",
"type": [ {
"code": "Extension",
"profile": [ "http://fhir.hie.moh.gov.id/StructureDefinition/mother-maiden-name-id-core" ]
} ],
"sliceName": "motherMaidenName",
"isModifier": false
}, {
"id": "Patient.identifier",
"min": 1,
"path": "Patient.identifier",
"slicing": {
"rules": "open",
"ordered": true,
"discriminator": [ {
"path": "system",
"type": "value"
} ]
}
}, {
"id": "Patient.identifier:nationalId",
"max": "1",
"path": "Patient.identifier",
"sliceName": "nationalId"
}, {
"id": "Patient.identifier:nationalId.system",
"min": 1,
"path": "Patient.identifier.system",
"fixedUri": "http://fhir.hie.moh.gov.id/sid/national-id"
}, {
"id": "Patient.identifier:nationalId.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.id/sid/patient-mrn"
}, {
"id": "Patient.identifier:patientMrn.value",
"min": 1,
"path": "Patient.identifier.value"
}, {
"id": "Patient.identifier:motherNo",
"max": "1",
"path": "Patient.identifier",
"sliceName": "motherNo"
}, {
"id": "Patient.identifier:motherNo.system",
"min": 1,
"path": "Patient.identifier.system",
"fixedUri": "http://fhir.hie.moh.gov.id/sid/parent-national-id"
}, {
"id": "Patient.identifier:motherNo.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.id/sid/passport-no"
}, {
"id": "Patient.identifier:passportNo.value",
"min": 1,
"path": "Patient.identifier.value"
}, {
"id": "Patient.identifier:otherNo",
"path": "Patient.identifier",
"sliceName": "otherNo"
}, {
"id": "Patient.identifier:otherNo.system",
"min": 1,
"path": "Patient.identifier.system",
"fixedUri": "http://fhir.hie.moh.gov.id/sid/other-no"
}, {
"id": "Patient.identifier:otherNo.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.id/StructureDefinition/person-title-id-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.birthDate",
"min": 1,
"path": "Patient.birthDate",
"mustSupport": false
}, {
"id": "Patient.address",
"path": "Patient.address",
"type": [ {
"code": "Address",
"profile": [ "http://fhir.hie.moh.gov.id/StructureDefinition/Address-id-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.id/StructureDefinition/patient-contact-identifier-id-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.id/StructureDefinition/occupation-sector-id-core" ]
} ],
"sliceName": "occupationSector",
"isModifier": false
}, {
"id": "Patient.contact.relationship",
"path": "Patient.contact.relationship",
"binding": {
"strength": "extensible",
"valueSet": "http://fhir.hie.moh.gov.id/ValueSet/relationship-id-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.id/StructureDefinition/person-title-id-core" ]
} ],
"sliceName": "personTitle"
}, {
"id": "Patient.contact.address",
"path": "Patient.contact.address",
"type": [ {
"code": "Address",
"profile": [ "http://fhir.hie.moh.gov.id/StructureDefinition/Address-id-core" ]
} ]
}, {
"id": "Patient.managingOrganization",
"min": 1,
"path": "Patient.managingOrganization"
} ]
},
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/Patient"
}