{ "description": "This profile defines a set of constraints to the FHIR Patient resource for use in Ontario Patient Summaries (PS-ON). It refines constraints applied to the Patient resource by the PS-CA project to represent the minimum expectations for the Patient resource when used in the PS-CA composition profile or in one of the referred resources. It is informed by the constraints of the [Patient-UV-IPS profile](http://hl7.org/fhir/uv/ips/StructureDefinition-Patient-uv-ips.html) and the [Canadian Baseline Profile](http://build.fhir.org/ig/HL7-Canada/ca-baseline/branches/master/StructureDefinition-profile-patient.html)", "_filename": "PatientPSON.json", "package_name": "ca.on.oh.patient-summary", "date": "2021-10-04T11:30:20+00:00", "derivation": "constraint", "publisher": "Ontario Health", "name": "PatientPSON", "abstract": false, "type": "Patient", "experimental": null, "resourceType": "StructureDefinition", "title": "Patient (PS-ON)", "package_version": "0.0.9-alpha-2", "status": "draft", "id": "f78e074d-518f-437e-8b06-2a1e8c40fc8f", "kind": "resource", "url": "http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ps-profile-patient", "version": "0.9.1", "differential": { "element": [ { "id": "Patient", "path": "Patient", "constraint": [ { "key": "pson-pat-1", "human": "Patient.identifier:JHN or Patient.identifier:MRN or both SHALL be present", "severity": "error", "expression": "identifier.where(type.coding.code = 'JHN').exists() or identifier.where(type.coding.code = 'MR').exists()" } ] }, { "id": "Patient.id", "path": "Patient.id", "definition": "Logical id of this artifact" }, { "id": "Patient.meta", "min": 1, "path": "Patient.meta", "mustSupport": true }, { "id": "Patient.meta.profile", "min": 1, "path": "Patient.meta.profile", "mustSupport": true }, { "id": "Patient.identifier", "min": 1, "path": "Patient.identifier", "type": [ { "code": "Identifier", "profile": [ "http://hl7.org/fhir/ca/baseline/StructureDefinition/profile-identifier" ] } ], "comment": "This element employs the constraints on identifier put forth in the CA Baseline using a profiled data type.", "slicing": { "rules": "open", "discriminator": [ { "path": "type", "type": "pattern" } ] }, "mustSupport": true }, { "id": "Patient.identifier.type", "path": "Patient.identifier.type", "example": [ { "label": "Pattern", "valueCodeableConcept": { "coding": [ { "code": "MR", "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } ] } } ] }, { "id": "Patient.identifier.system", "min": 1, "path": "Patient.identifier.system", "isModifier": false }, { "id": "Patient.identifier.value", "min": 1, "path": "Patient.identifier.value", "short": "The value that is unique within the system.", "isModifier": false }, { "id": "Patient.identifier:JHN", "path": "Patient.identifier", "short": "Jurisdictional Health Number", "comment": "**MS applied in PS-ON**", "sliceName": "JHN", "definition": "Federal patient and person health numbers used by all jurisdictions across Canada", "mustSupport": true }, { "id": "Patient.identifier:JHN.extension", "path": "Patient.identifier.extension", "slicing": { "rules": "open", "discriminator": [ { "path": "url", "type": "value" } ] } }, { "id": "Patient.identifier:JHN.extension:versionCode", "path": "Patient.identifier.extension", "type": [ { "code": "Extension", "profile": [ "http://hl7.org/fhir/ca/baseline/StructureDefinition/ext-identifierversion" ] } ], "short": "Health Number Version Code", "sliceName": "versionCode" }, { "id": "Patient.identifier:JHN.type", "min": 1, "path": "Patient.identifier.type", "fixedCodeableConcept": { "coding": [ { "code": "JHN", "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } ] } }, { "id": "Patient.identifier:JHN.system", "min": 1, "path": "Patient.identifier.system", "short": "A Health Number Naming System from the Canadian URI Registry" }, { "id": "Patient.identifier:JHN.value", "min": 1, "path": "Patient.identifier.value" }, { "id": "Patient.identifier:MRN", "path": "Patient.identifier", "short": "Medical Record Number", "sliceName": "MRN", "definition": "A local patient identifier from the submitting PoS System", "mustSupport": true }, { "id": "Patient.identifier:MRN.type", "min": 1, "path": "Patient.identifier.type", "fixedCodeableConcept": { "coding": [ { "code": "MR", "system": "http://terminology.hl7.org/CodeSystem/v2-0203" } ] } }, { "id": "Patient.identifier:MRN.system", "min": 1, "path": "Patient.identifier.system", "short": "An identifier for the system supplying the MRN" }, { "id": "Patient.identifier:MRN.value", "min": 1, "path": "Patient.identifier.value" }, { "id": "Patient.name", "max": "*", "min": 1, "path": "Patient.name", "constraint": [ { "key": "cabaseline-pat-1", "human": "Patient.name.given or Patient.name.family or both SHALL be present", "xpath": "f:given or f:family", "severity": "error", "expression": "family.exists() or given.exists()" } ], "mustSupport": true, "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.text", "path": "Patient.name.text", "comment": "Some systems will not have a field for representing the full name as a string, these systems are still expected to be able to demonstrate they can construct name.text when developing the patient summary instance", "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", "mustSupport": true }, { "id": "Patient.name.family", "path": "Patient.name.family", "mustSupport": true }, { "id": "Patient.name.given", "path": "Patient.name.given", "mustSupport": true }, { "id": "Patient.telecom", "path": "Patient.telecom", "mustSupport": true }, { "id": "Patient.gender", "min": 1, "path": "Patient.gender", "mustSupport": true }, { "id": "Patient.birthDate", "min": 1, "path": "Patient.birthDate", "mustSupport": true }, { "id": "Patient.address", "path": "Patient.address", "constraint": [ { "key": "pat-cnt-2or3-char", "human": "The content of the country element (if present) SHALL be selected EITHER from ValueSet ISO Country Alpha-2 http://hl7.org/fhir/ValueSet/iso3166-1-2 OR MAY be selected from ISO Country Alpha-3 Value Set http://hl7.org/fhir/ValueSet/iso3166-1-3, IF the country is not specified in value Set ISO Country Alpha-2 http://hl7.org/fhir/ValueSet/iso3166-1-2.", "severity": "warning", "expression": "country.empty() or (country.memberOf('http://hl7.org/fhir/ValueSet/iso3166-1-2') or country.memberOf('http://hl7.org/fhir/ValueSet/iso3166-1-3'))" } ], "mustSupport": true }, { "id": "Patient.contact", "path": "Patient.contact", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", "valueString": "Contact" } ], "mustSupport": true }, { "id": "Patient.contact.relationship", "path": "Patient.contact.relationship", "type": [ { "code": "CodeableConcept", "profile": [ "http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ps-profile-codeableconcept" ] } ], "binding": { "strength": "required", "valueSet": "http://hl7.org/fhir/ValueSet/patient-contactrelationship", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "ContactRelationship" } ] }, "mustSupport": true }, { "id": "Patient.contact.name", "path": "Patient.contact.name", "mustSupport": true }, { "id": "Patient.contact.telecom", "path": "Patient.contact.telecom", "mustSupport": true }, { "id": "Patient.contact.address", "path": "Patient.contact.address", "mustSupport": true }, { "id": "Patient.contact.organization", "path": "Patient.contact.organization" }, { "id": "Patient.communication", "path": "Patient.communication", "mustSupport": true }, { "id": "Patient.communication.language", "path": "Patient.communication.language", "binding": { "strength": "required", "valueSet": "http://hl7.org/fhir/ValueSet/all-languages" }, "mustSupport": true }, { "id": "Patient.generalPractitioner", "path": "Patient.generalPractitioner", "slicing": { "rules": "open", "discriminator": [ { "path": "$this.resolve()", "type": "profile" } ] }, "mustSupport": true }, { "id": "Patient.generalPractitioner:PractitionerRolePSON", "min": 1, "path": "Patient.generalPractitioner", "type": [ { "code": "Reference", "targetProfile": [ "http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ps-profile-practitionerrole" ] } ], "sliceName": "PractitionerRolePSON", "mustSupport": true } ] }, "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Patient" }