{
"description": "This profile is for PCR Contributions.",
"_filename": "StructureDefinition-profile-patient-contribution.json",
"package_name": "ca.on.pcr.r4",
"date": null,
"derivation": "constraint",
"publisher": null,
"fhirVersion": "4.0.1",
"name": "PCRPatientContribution",
"abstract": false,
"type": "Patient",
"experimental": null,
"resourceType": "StructureDefinition",
"title": "PCR Patient Contribution Profile",
"package_version": "1.0.0-draft1",
"status": "active",
"id": "584a48bc-4bb8-4208-b9b8-4d405d9d7085",
"kind": "resource",
"url": "http://ontariohealth.ca/fhir/pcr/StructureDefinition/profile-patient-contribution",
"version": "1.0.0-draft1",
"differential": {
"element": [ {
"id": "Patient.meta.lastUpdated",
"path": "Patient.meta.lastUpdated",
"mustSupport": true
}, {
"id": "Patient.identifier",
"min": 1,
"path": "Patient.identifier",
"mustSupport": true
}, {
"id": "Patient.identifier.use",
"path": "Patient.identifier.use",
"mustSupport": true
}, {
"id": "Patient.identifier.type",
"min": 1,
"path": "Patient.identifier.type",
"binding": {
"strength": "required",
"valueSet": "http://ontariohealth.ca/fhir/pcr/ValueSet/pcr-patient-identifier-type"
},
"mustSupport": true
}, {
"id": "Patient.identifier.system",
"min": 1,
"path": "Patient.identifier.system",
"mustSupport": true
}, {
"id": "Patient.identifier.value",
"min": 1,
"path": "Patient.identifier.value",
"short": "Maximum of 40 characters or 10 characters for HCNs",
"mustSupport": true
}, {
"id": "Patient.active",
"path": "Patient.active",
"mustSupport": true
}, {
"id": "Patient.name",
"min": 1,
"path": "Patient.name",
"mustSupport": true
}, {
"id": "Patient.name.use",
"path": "Patient.name.use",
"mustSupport": true
}, {
"id": "Patient.name.text",
"path": "Patient.name.text",
"mustSupport": true
}, {
"id": "Patient.name.family",
"min": 1,
"path": "Patient.name.family",
"short": "Maximum length of 75 characters",
"mustSupport": true
}, {
"id": "Patient.name.given",
"path": "Patient.name.given",
"short": "Maximum length of 50 characters",
"slicing": {
"rules": "open",
"description": "by extension('http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier')",
"discriminator": [ {
"path": "extension('http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier')",
"type": "exists"
} ]
},
"mustSupport": true
}, {
"id": "Patient.name.given:given-first",
"max": "1",
"min": 0,
"path": "Patient.name.given",
"sliceName": "given-first",
"mustSupport": true
}, {
"id": "Patient.name.given:given-first.extension",
"path": "Patient.name.given.extension",
"slicing": {
"rules": "open",
"ordered": false,
"discriminator": [ {
"path": "url",
"type": "value"
} ]
}
}, {
"id": "Patient.name.given:given-first.extension:EN-qualifier",
"max": "0",
"min": 0,
"path": "Patient.name.given.extension",
"type": [ {
"code": "Extension",
"profile": [ "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier" ]
} ],
"sliceName": "EN-qualifier"
}, {
"id": "Patient.name.given:given-middle",
"max": "1",
"min": 0,
"path": "Patient.name.given",
"sliceName": "given-middle",
"mustSupport": true
}, {
"id": "Patient.name.given:given-middle.extension",
"min": 1,
"path": "Patient.name.given.extension",
"slicing": {
"rules": "open",
"ordered": false,
"discriminator": [ {
"path": "url",
"type": "value"
} ]
}
}, {
"id": "Patient.name.given:given-middle.extension:EN-qualifier",
"max": "1",
"min": 1,
"path": "Patient.name.given.extension",
"type": [ {
"code": "Extension",
"profile": [ "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier" ]
} ],
"sliceName": "EN-qualifier",
"mustSupport": true
}, {
"id": "Patient.name.given:given-middle.extension:EN-qualifier.value[x]",
"path": "Patient.name.given.extension.value[x]",
"fixedCode": "MID"
}, {
"id": "Patient.name.prefix",
"path": "Patient.name.prefix",
"short": "Maximum length of 20 characters",
"mustSupport": true
}, {
"id": "Patient.name.suffix",
"path": "Patient.name.suffix",
"short": "Maximum length of 50 characters",
"mustSupport": true
}, {
"id": "Patient.telecom",
"path": "Patient.telecom",
"mustSupport": true
}, {
"id": "Patient.telecom.system",
"min": 1,
"path": "Patient.telecom.system",
"mustSupport": true
}, {
"id": "Patient.telecom.value",
"min": 1,
"path": "Patient.telecom.value",
"mustSupport": true
}, {
"id": "Patient.telecom.use",
"min": 1,
"path": "Patient.telecom.use",
"mustSupport": true
}, {
"id": "Patient.telecom.rank",
"path": "Patient.telecom.rank",
"mustSupport": true
}, {
"id": "Patient.gender",
"min": 1,
"path": "Patient.gender",
"mustSupport": true
}, {
"id": "Patient.birthDate",
"path": "Patient.birthDate",
"mustSupport": true
}, {
"id": "Patient.deceased[x]",
"path": "Patient.deceased[x]",
"mustSupport": true
}, {
"id": "Patient.address",
"path": "Patient.address",
"constraint": [ {
"key": "CANUSStateRequired",
"human": "If the country is CAN or USA, then the state and postalCode must exist",
"source": "http://ontariohealth.ca/fhir/pcr/StructureDefinition/profile-patient-contribution",
"severity": "error",
"expression": "(country = 'USA' or country = 'CAN') implies (state.exists() and postalCode.exists())"
} ],
"mustSupport": true
}, {
"id": "Patient.address.use",
"min": 1,
"path": "Patient.address.use",
"mustSupport": true
}, {
"id": "Patient.address.type",
"min": 1,
"path": "Patient.address.type",
"mustSupport": true
}, {
"id": "Patient.address.text",
"path": "Patient.address.text",
"short": "Maximum length of 250 characters",
"mustSupport": true
}, {
"id": "Patient.address.line",
"max": "4",
"min": 1,
"path": "Patient.address.line",
"short": "Maximum length of 80 characters",
"mustSupport": true
}, {
"id": "Patient.address.city",
"path": "Patient.address.city",
"short": "Maximum length of 10 characters",
"mustSupport": true
}, {
"id": "Patient.address.state",
"path": "Patient.address.state",
"binding": {
"strength": "extensible",
"valueSet": "http://ontariohealth.ca/fhir/pcr/ValueSet/province-state-code"
},
"mustSupport": true
}, {
"id": "Patient.address.postalCode",
"path": "Patient.address.postalCode",
"mustSupport": true
}, {
"id": "Patient.address.country",
"path": "Patient.address.country",
"binding": {
"strength": "extensible",
"valueSet": "http://hl7.org/fhir/ValueSet/iso3166-1-3"
},
"mustSupport": true
}, {
"id": "Patient.maritalStatus",
"path": "Patient.maritalStatus",
"mustSupport": true
}, {
"id": "Patient.multipleBirth[x]",
"path": "Patient.multipleBirth[x]",
"mustSupport": true
}, {
"id": "Patient.contact",
"path": "Patient.contact",
"mustSupport": true
}, {
"id": "Patient.contact.relationship",
"max": "1",
"min": 1,
"path": "Patient.contact.relationship",
"mustSupport": true
}, {
"id": "Patient.contact.name",
"path": "Patient.contact.name",
"mustSupport": true
}, {
"id": "Patient.contact.name.text",
"path": "Patient.contact.name.text",
"mustSupport": true
}, {
"id": "Patient.contact.telecom",
"max": "1",
"min": 1,
"path": "Patient.contact.telecom",
"mustSupport": true
}, {
"id": "Patient.contact.telecom.system",
"path": "Patient.contact.telecom.system",
"mustSupport": true
}, {
"id": "Patient.contact.telecom.value",
"min": 1,
"path": "Patient.contact.telecom.value",
"mustSupport": true
}, {
"id": "Patient.contact.telecom.use",
"path": "Patient.contact.telecom.use",
"mustSupport": true
}, {
"id": "Patient.contact.telecom.rank",
"path": "Patient.contact.telecom.rank",
"mustSupport": true
}, {
"id": "Patient.contact.address",
"path": "Patient.contact.address",
"mustSupport": true
}, {
"id": "Patient.contact.address.text",
"path": "Patient.contact.address.text",
"mustSupport": true
}, {
"id": "Patient.contact.gender",
"path": "Patient.contact.gender",
"mustSupport": true
}, {
"id": "Patient.communication",
"path": "Patient.communication",
"mustSupport": true
}, {
"id": "Patient.communication.language",
"path": "Patient.communication.language",
"binding": {
"strength": "extensible",
"valueSet": "http://ontariohealth.ca/fhir/pcr/ValueSet/human-language"
},
"mustSupport": true
}, {
"id": "Patient.communication.preferred",
"path": "Patient.communication.preferred",
"mustSupport": true
}, {
"id": "Patient.link",
"path": "Patient.link",
"mustSupport": true
} ]
},
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/Patient"
}