FHIR IG analytics
| Package | nostalgic-ie.fhir.core |
| Resource Type | StructureDefinition |
| Id | StructureDefinition-ie-core-patient-eprescription.json |
| FHIR Version | R4 |
| Source | https://simplifier.net/resolve?scope=nostalgic-ie.fhir.core@0.2.0&canonical=https://hl7-ie.github.io/ie-core/fhir/ie/core/StructureDefinition/ie-core-patient-eprescription |
| URL | https://hl7-ie.github.io/ie-core/fhir/ie/core/StructureDefinition/ie-core-patient-eprescription |
| Version | 0.2.0 |
| Status | draft |
| Name | IECorePatientEPrescription |
| Title | IE Core Patient (ePrescription/eDispensation) |
| Description | The patient as the subject of an ePrescription or eDispensation. It carries the HIQA ePrescription/eDispensation patient dataset (Section 1) and nothing more. Ethnicity, mother's maiden name, nationality, citizenship, place of birth, religion, marital status, pronouns, photo and contact persons are not part of that dataset, so they are prohibited (GDPR Art. 5(1)(c) data minimisation; ethnicity and religion are Art. 9 special-category data). Patient identity is established by the IHI (when available) together with name, date of birth and address (see the clinical-safety log, HZ-06). |
| Type | Patient |
| Kind | resource |
Resources that use this resource
| CapabilityStatement |
| nostalgic-ie.fhir.core#0.2.0 | ie-core-client | IE Core Client CapabilityStatement |
| nostalgic-ie.fhir.core#0.2.0 | ie-core-server | IE Core Server CapabilityStatement |
Resources that this resource uses
Narrative
No narrative content found in resource
Source1
{
"resourceType": "StructureDefinition",
"id": "ie-core-patient-eprescription",
"url": "https://hl7-ie.github.io/ie-core/fhir/ie/core/StructureDefinition/ie-core-patient-eprescription",
"version": "0.2.0",
"name": "IECorePatientEPrescription",
"title": "IE Core Patient (ePrescription/eDispensation)",
"status": "draft",
"description": "The patient as the subject of an ePrescription or eDispensation. It carries the HIQA ePrescription/eDispensation patient dataset (Section 1) and nothing more. Ethnicity, mother's maiden name, nationality, citizenship, place of birth, religion, marital status, pronouns, photo and contact persons are not part of that dataset, so they are prohibited (GDPR Art. 5(1)(c) data minimisation; ethnicity and religion are Art. 9 special-category data). Patient identity is established by the IHI (when available) together with name, date of birth and address (see the clinical-safety log, HZ-06).",
"fhirVersion": "4.0.1",
"kind": "resource",
"abstract": false,
"type": "Patient",
"baseDefinition": "https://hl7-ie.github.io/ie-core/fhir/ie/core/StructureDefinition/ie-core-patient",
"derivation": "constraint",
"differential": {
"element": [
{
"id": "Patient.extension",
"path": "Patient.extension",
"min": 1
},
{
"id": "Patient.extension:birthPlace",
"path": "Patient.extension",
"sliceName": "birthPlace",
"comment": "Prohibited: not in the HIQA EP dataset (it is PS 1.4.3).",
"max": "0"
},
{
"id": "Patient.extension:gender-identity",
"path": "Patient.extension",
"sliceName": "gender-identity",
"comment": "HIQA EP 1.4.4 Gender cluster (Required 0..1): 1.4.4.1 Gender (coded) and 1.4.4.2 Other gender identity (free text in valueCodeableConcept.text).",
"max": "1"
},
{
"id": "Patient.extension:pronouns",
"path": "Patient.extension",
"sliceName": "pronouns",
"max": "0"
},
{
"id": "Patient.extension:patient-citizenship",
"path": "Patient.extension",
"sliceName": "patient-citizenship",
"max": "0"
},
{
"id": "Patient.extension:patient-nationality",
"path": "Patient.extension",
"sliceName": "patient-nationality",
"comment": "Prohibited: not in the HIQA EP dataset (it is PS 1.4.7).",
"max": "0"
},
{
"id": "Patient.extension:sexAssignedAtBirth",
"path": "Patient.extension",
"sliceName": "sexAssignedAtBirth",
"comment": "HIQA EP 1.4.3 Sex (Mandatory 1..1): the sex of the patient assigned at birth.",
"min": 1
},
{
"id": "Patient.extension:ethnicity",
"path": "Patient.extension",
"sliceName": "ethnicity",
"comment": "Prohibited: not in the HIQA EP dataset; GDPR Art. 9 special-category data (ADR-002).",
"max": "0"
},
{
"id": "Patient.extension:mothersMaidenName",
"path": "Patient.extension",
"sliceName": "mothersMaidenName",
"comment": "Prohibited: not in the HIQA EP dataset (ADR-002). Identity: see HZ-06.",
"max": "0"
},
{
"id": "Patient.extension:interpreterRequired",
"path": "Patient.extension",
"sliceName": "interpreterRequired",
"max": "0"
},
{
"id": "Patient.extension:religion",
"path": "Patient.extension",
"sliceName": "religion",
"comment": "Prohibited: not in either HIQA dataset; GDPR Art. 9 special-category data.",
"min": 0,
"max": "0",
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/StructureDefinition/patient-religion"
]
}
]
},
{
"id": "Patient.extension:mothersFormerSurname",
"path": "Patient.extension",
"sliceName": "mothersFormerSurname",
"min": 0,
"max": "0",
"type": [
{
"code": "Extension",
"profile": [
"https://hl7-ie.github.io/ie-core/fhir/ie/core/StructureDefinition/ie-core-mothers-former-surname"
]
}
]
},
{
"id": "Patient.extension:countryOfAffiliation",
"path": "Patient.extension",
"sliceName": "countryOfAffiliation",
"min": 0,
"max": "0",
"type": [
{
"code": "Extension",
"profile": [
"https://hl7-ie.github.io/ie-core/fhir/ie/core/StructureDefinition/ie-core-country-of-affiliation"
]
}
]
},
{
"id": "Patient.identifier:IHI",
"path": "Patient.identifier",
"sliceName": "IHI",
"comment": "HIQA EP 1.3.1 IHI (Required 0..1). For individuals living outside Ireland, record their healthcare ID as an 'other identifier' (EP 1.3.3)."
},
{
"id": "Patient.identifier:PPSN",
"path": "Patient.identifier",
"sliceName": "PPSN",
"short": "Personal Public Service Number (PPSN): Requires Clarification",
"definition": "HIQA EP 1.3.2 Personal Public Service Number (Required 0..1): seven numbers followed by one or two letters.",
"comment": "Deliberately NOT MustSupport. The legal basis for using the PPSN as a health identifier is Requires Clarification (OI-008), so a sender is never obliged to send it. The system URI is a placeholder (OI-003).",
"min": 0,
"max": "1",
"constraint": [
{
"key": "ie-pat-ppsn-1",
"severity": "warning",
"human": "PPSN format: seven numbers followed by one or two letters (HIQA EP/PS 1.3.2)",
"expression": "value.matches('^[0-9]{7}[A-Za-z]{1,2}[%content%]#39;)",
"source": "https://hl7-ie.github.io/ie-core/fhir/ie/core/StructureDefinition/ie-core-patient-eprescription"
}
]
},
{
"id": "Patient.identifier:PPSN.system",
"path": "Patient.identifier.system",
"min": 1,
"patternUri": "https://hl7-ie.github.io/ie-core/fhir/ie/core/sid/pps"
},
{
"id": "Patient.identifier:PPSN.value",
"path": "Patient.identifier.value",
"min": 1
},
{
"id": "Patient.name.family",
"path": "Patient.name.family",
"comment": "HIQA EP 1.1.3 Surname (Mandatory 1..1): the legal family or marital name.",
"min": 1
},
{
"id": "Patient.name.given",
"path": "Patient.name.given",
"comment": "HIQA EP 1.1.2 Forename (Mandatory 1..1): the legal first name.",
"min": 1
},
{
"id": "Patient.name.prefix",
"path": "Patient.name.prefix",
"comment": "HIQA EP 1.1.1 Name title (Optional 0..*)."
},
{
"id": "Patient.name.suffix",
"path": "Patient.name.suffix",
"comment": "HIQA EP 1.1.4 Name suffix (Optional 0..*)."
},
{
"id": "Patient.telecom",
"path": "Patient.telecom",
"comment": "HIQA EP 1.5.1 Mobile phone (Required 0..*), 1.5.2 Email (Required 0..*), 1.5.3 Other communication details (Optional 0..*)."
},
{
"id": "Patient.birthDate",
"path": "Patient.birthDate",
"comment": "HIQA EP 1.4.1 Date of birth (Mandatory 1..1). A legal requirement on cross-border prescriptions. Age under 12: see IECorePatientAgeAtPrescribing on the prescription (EP 1.4.2)."
},
{
"id": "Patient.address",
"path": "Patient.address",
"min": 1
},
{
"id": "Patient.address.use",
"path": "Patient.address.use",
"comment": "HIQA EP 1.2.6 Address type (Mandatory 1..1): type or purpose of the address, e.g. place of residence (home) or temporary accommodation (temp). No HL7 code exists for homelessness; that is Requires Clarification (see open issues).",
"min": 1
},
{
"id": "Patient.address.type",
"path": "Patient.address.type",
"comment": "HIQA EP 1.2.7 Address use (Optional 0..1): whether the address is a postal address."
},
{
"id": "Patient.address.line",
"path": "Patient.address.line",
"comment": "HIQA EP 1.2.2 Address line(s) (Mandatory 1..1). If the address is unknown, HIQA says it may be recorded here.",
"min": 1
},
{
"id": "Patient.address.city",
"path": "Patient.address.city",
"comment": "HIQA EP 1.2.3 Suburb/Town/Townland/Locality (Required 0..1)."
},
{
"id": "Patient.address.state",
"path": "Patient.address.state",
"comment": "HIQA EP 1.2.4 District/County (Mandatory 1..1). Outside Ireland: the equivalent district or city.",
"min": 1
},
{
"id": "Patient.address.postalCode",
"path": "Patient.address.postalCode",
"comment": "HIQA EP 1.2.1 Postcode (Required 0..1): Eircode in the format XXX XXXX."
},
{
"id": "Patient.address.country",
"path": "Patient.address.country",
"comment": "HIQA EP 1.2.5 Country (Required 0..1)."
},
{
"id": "Patient.maritalStatus",
"path": "Patient.maritalStatus",
"comment": "Prohibited: not in the HIQA EP dataset.",
"max": "0"
},
{
"id": "Patient.multipleBirth[x]",
"path": "Patient.multipleBirth[x]",
"max": "0"
},
{
"id": "Patient.photo",
"path": "Patient.photo",
"max": "0"
},
{
"id": "Patient.contact",
"path": "Patient.contact",
"comment": "Prohibited: third-party personal data not in the HIQA EP dataset. The person collecting a dispensed medicine is recorded on the dispense (EP 6.4 Receiver).",
"max": "0"
},
{
"id": "Patient.communication",
"path": "Patient.communication",
"comment": "Not a HIQA EP element. MustSupport is inherited from IECorePatient; useful for choosing the language of the patient instructions. Not personal special-category data."
}
]
}
}