PackagesCanonicalsLogsProblems
    Packages
    ca.on.oh.mha-pds@0.9.0-alpha-1.9.7.37
    http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-profile-patient
{
  "description": "Proposed constraints and extensions on the Patient Resource. This represents client information.",
  "_filename": "Patient.json",
  "package_name": "ca.on.oh.mha-pds",
  "date": "2023-10-03T13:43:06.889914+00:00",
  "derivation": "constraint",
  "meta": {
    "lastUpdated": "2024-09-20T16:22:09.2751728+00:00"
  },
  "publisher": "HL7 Canada",
  "fhirVersion": "4.0.1",
  "purpose": "The Patient Profile will serve to exchange client related data including but not limited to identifiers and demographics.",
  "name": "Patient",
  "mapping": [ {
    "name": "MHA PDS Mapping",
    "identity": "MHA-PDS-Mapping"
  } ],
  "abstract": false,
  "type": "Patient",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": "MHA Patient Profile",
  "package_version": "0.9.0-alpha-1.9.7.37",
  "status": "active",
  "id": "979827e1-03bb-4dae-af9c-61e531ce72d6",
  "kind": "resource",
  "url": "http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-profile-patient",
  "version": "0.1.1",
  "differential": {
    "element": [ {
      "id": "Patient",
      "path": "Patient",
      "short": "Patient Profile",
      "definition": "The Patient Profile is based upon the core FHIR Patient Resource",
      "isModifier": false,
      "mustSupport": true
    }, {
      "id": "Patient.meta",
      "min": 1,
      "path": "Patient.meta",
      "mustSupport": true
    }, {
      "id": "Patient.meta.profile",
      "max": "1",
      "min": 1,
      "path": "Patient.meta.profile",
      "mustSupport": true,
      "fixedCanonical": "http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-profile-patient"
    }, {
      "id": "Patient.extension:clientReligion",
      "path": "Patient.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://hl7.org/fhir/StructureDefinition/patient-religion" ]
      } ],
      "mapping": [ {
        "map": "Religion and Spiritual Affiliation",
        "identity": "MHA-PDS-Mapping"
      } ],
      "sliceName": "clientReligion",
      "mustSupport": true
    }, {
      "id": "Patient.extension:clientReligion.value[x]",
      "path": "Patient.extension.value[x]",
      "binding": {
        "strength": "required",
        "valueSet": "http://ontariohealth.ca/fhir/ValueSet/religion-and-spiritual-affiliation",
        "description": "Assignment of spiritual faith affiliation"
      },
      "mustSupport": true
    }, {
      "id": "Patient.extension:clientReligion.value[x].coding",
      "path": "Patient.extension.value[x].coding"
    }, {
      "id": "Patient.extension:clientReligion.value[x].coding.system",
      "min": 1,
      "path": "Patient.extension.value[x].coding.system",
      "mustSupport": true
    }, {
      "id": "Patient.extension:clientReligion.value[x].coding.code",
      "min": 1,
      "path": "Patient.extension.value[x].coding.code",
      "mustSupport": true
    }, {
      "id": "Patient.extension:clientReligion.value[x].coding.display",
      "min": 1,
      "path": "Patient.extension.value[x].coding.display",
      "mustSupport": true
    }, {
      "id": "Patient.extension:ethnicity",
      "path": "Patient.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-ext-ethnicity" ]
      } ],
      "sliceName": "ethnicity",
      "mustSupport": true
    }, {
      "id": "Patient.extension:ethnicity.value[x]",
      "min": 1,
      "path": "Patient.extension.value[x]",
      "mustSupport": true
    }, {
      "id": "Patient.identifier",
      "path": "Patient.identifier",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "type.coding.code",
          "type": "value"
        } ]
      },
      "mustSupport": true
    }, {
      "id": "Patient.identifier.type",
      "min": 1,
      "path": "Patient.identifier.type",
      "example": [ {
        "label": "Pattern",
        "valueCodeableConcept": {
          "coding": [ {
            "code": "MR",
            "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
          } ]
        }
      } ],
      "mapping": [ {
        "map": "Identifier Type",
        "identity": "MHA-PDS-Mapping"
      } ]
    }, {
      "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:MRN",
      "max": "1",
      "min": 1,
      "path": "Patient.identifier",
      "short": "Medical Record Number",
      "sliceName": "MRN",
      "definition": "An identifier assigned by the vendor system.",
      "mustSupport": true
    }, {
      "id": "Patient.identifier:MRN.type",
      "min": 1,
      "path": "Patient.identifier.type",
      "short": "Medical Record Number identifier type",
      "binding": {
        "strength": "required",
        "valueSet": "http://ontariohealth.ca/fhir/ValueSet/client-identifier-type-code"
      },
      "mustSupport": true,
      "fixedCodeableConcept": {
        "coding": [ {
          "code": "MR",
          "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
          "display": "Medical record number"
        } ]
      }
    }, {
      "id": "Patient.identifier:MRN.type.coding",
      "max": "1",
      "min": 1,
      "path": "Patient.identifier.type.coding",
      "mustSupport": true
    }, {
      "id": "Patient.identifier:MRN.type.coding.system",
      "min": 1,
      "path": "Patient.identifier.type.coding.system",
      "fixedUri": "http://terminology.hl7.org/CodeSystem/v2-0203",
      "mustSupport": true
    }, {
      "id": "Patient.identifier:MRN.type.coding.code",
      "min": 1,
      "path": "Patient.identifier.type.coding.code",
      "fixedCode": "MR",
      "mustSupport": true
    }, {
      "id": "Patient.identifier:MRN.type.coding.display",
      "min": 1,
      "path": "Patient.identifier.type.coding.display",
      "mustSupport": true
    }, {
      "id": "Patient.identifier:MRN.system",
      "min": 1,
      "path": "Patient.identifier.system",
      "binding": {
        "strength": "required",
        "valueSet": "http://ontariohealth.ca/fhir/ValueSet/mha/patient-mrn-identifier-system",
        "description": "MHA Patient MRN system URI values"
      },
      "mustSupport": true
    }, {
      "id": "Patient.identifier:MRN.value",
      "min": 1,
      "path": "Patient.identifier.value",
      "short": "A Medical Record Number.",
      "mapping": [ {
        "map": "Client Identifier - MRN",
        "identity": "MHA-PDS-Mapping"
      } ],
      "mustSupport": true
    }, {
      "id": "Patient.identifier:MRN.assigner",
      "path": "Patient.identifier.assigner",
      "short": "Vendor that issued id (may be just text)",
      "definition": "Vendor that issued/manages the identifier."
    }, {
      "id": "Patient.identifier:MRN.assigner.display",
      "min": 1,
      "path": "Patient.identifier.assigner.display"
    }, {
      "id": "Patient.identifier:JHN",
      "path": "Patient.identifier",
      "short": "Jurisdictional Health Number",
      "sliceName": "JHN",
      "definition": "Federal patient and person health numbers used by all jurisdictions across Canada",
      "mustSupport": true
    }, {
      "id": "Patient.identifier:JHN.extension:VersionCode",
      "path": "Patient.identifier.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://hl7.org/fhir/ca/baseline/StructureDefinition/ext-identifierversion" ]
      } ],
      "sliceName": "VersionCode",
      "isModifier": false
    }, {
      "id": "Patient.identifier:JHN.type",
      "min": 1,
      "path": "Patient.identifier.type",
      "binding": {
        "strength": "required",
        "valueSet": "http://ontariohealth.ca/fhir/ValueSet/client-identifier-type-code"
      },
      "mustSupport": true,
      "fixedCodeableConcept": {
        "coding": [ {
          "code": "JHN",
          "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
          "display": "Jurisdictional health number"
        } ]
      }
    }, {
      "id": "Patient.identifier:JHN.type.coding",
      "max": "1",
      "min": 1,
      "path": "Patient.identifier.type.coding",
      "mustSupport": true
    }, {
      "id": "Patient.identifier:JHN.type.coding.system",
      "min": 1,
      "path": "Patient.identifier.type.coding.system",
      "fixedUri": "http://terminology.hl7.org/CodeSystem/v2-0203",
      "mustSupport": true
    }, {
      "id": "Patient.identifier:JHN.type.coding.code",
      "min": 1,
      "path": "Patient.identifier.type.coding.code",
      "fixedCode": "JHN",
      "mustSupport": true
    }, {
      "id": "Patient.identifier:JHN.type.coding.display",
      "min": 1,
      "path": "Patient.identifier.type.coding.display",
      "mustSupport": true
    }, {
      "id": "Patient.identifier:JHN.system",
      "min": 1,
      "path": "Patient.identifier.system",
      "short": "A Health Number Naming System from the Canadian URI Registry",
      "binding": {
        "strength": "required",
        "valueSet": "http://ontariohealth.ca/fhir/ValueSet/mha/patient-jhn-identifier-system",
        "description": "MHA Patient JHN system URI values"
      },
      "mustSupport": true
    }, {
      "id": "Patient.identifier:JHN.value",
      "min": 1,
      "path": "Patient.identifier.value",
      "mapping": [ {
        "map": "Health Card Number",
        "identity": "MHA-PDS-Mapping"
      } ],
      "mustSupport": true
    }, {
      "id": "Patient.active",
      "path": "Patient.active",
      "definition": "Only use this field to mark a patient record is inactive.",
      "mustSupport": true
    }, {
      "id": "Patient.name",
      "max": "1",
      "min": 1,
      "path": "Patient.name",
      "short": "A name associated with the patient(client)",
      "constraint": [ {
        "key": "ca-baseline-name",
        "human": "Patient.name.given  or Patient.name.family or both SHALL be present",
        "xpath": "f:given or f:family",
        "source": "http://hl7.org/fhir/ca/baseline/StructureDefinition/profile-patient",
        "severity": "error",
        "expression": "family.exists() or given.exists()"
      } ],
      "mustSupport": true
    }, {
      "id": "Patient.name.family",
      "min": 1,
      "path": "Patient.name.family",
      "mapping": [ {
        "map": "Client Last Name",
        "identity": "MHA-PDS-Mapping"
      } ],
      "mustSupport": true
    }, {
      "id": "Patient.name.given",
      "max": "2",
      "min": 1,
      "path": "Patient.name.given",
      "mapping": [ {
        "map": "Client First Name, Client Middle Name",
        "identity": "MHA-PDS-Mapping"
      } ],
      "definition": "The first or given name of the client. If middle name is available, it should be provided as the second value.",
      "mustSupport": true
    }, {
      "id": "Patient.birthDate",
      "min": 1,
      "path": "Patient.birthDate",
      "comment": "At least an estimated year should be provided as a guess if the real DOB is unknown",
      "mapping": [ {
        "map": "Date of Birth",
        "identity": "MHA-PDS-Mapping"
      } ],
      "constraint": [ {
        "key": "bd-1",
        "human": "birthDate must have a date value",
        "severity": "error",
        "expression": "hasValue() = true"
      }, {
        "key": "bd-2",
        "human": "If birthDate is \"1900-01-01\", BirthDate estimated flag must be set to 'true'",
        "severity": "error",
        "expression": "$this = @1900-01-01 implies $this.extension.value = true"
      }, {
        "key": "bd-3",
        "human": "BirthDate must not be before '1900-01-01' or after the current date and it must be a valid date",
        "severity": "error",
        "expression": "$this >= @1900-01-01 and $this < today()"
      } ],
      "mustSupport": true,
      "requirements": "• Used to calculate the age of the person and which age group the person belongs to.\r\n• Used to categorize data for reporting."
    }, {
      "id": "Patient.birthDate.extension:BirthDateEstimatedFlag",
      "max": "1",
      "path": "Patient.birthDate.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ext-birthdate-estimated-flag" ]
      } ],
      "sliceName": "BirthDateEstimatedFlag",
      "mustSupport": true
    }, {
      "id": "Patient.address",
      "path": "Patient.address",
      "mustSupport": true
    }, {
      "id": "Patient.address.extension:preferred",
      "path": "Patient.address.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://hl7.org/fhir/StructureDefinition/iso21090-preferred" ]
      } ],
      "short": "HL7 Preferred Address Flag extension",
      "sliceName": "preferred",
      "definition": "Flag denoting whether parent address item is preferred"
    }, {
      "id": "Patient.address.extension:noFixedAddress",
      "path": "Patient.address.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://hl7.org/fhir/ca/baseline/StructureDefinition/ext-nofixedaddress" ]
      } ],
      "short": "No Fixed Address indicator",
      "sliceName": "noFixedAddress",
      "definition": "Flag indicating that there is an assertion that there is no fixed address"
    }, {
      "id": "Patient.address.use",
      "path": "Patient.address.use",
      "mapping": [ {
        "map": "Address Use",
        "identity": "MHA-PDS-Mapping"
      } ],
      "mustSupport": true
    }, {
      "id": "Patient.address.line",
      "path": "Patient.address.line",
      "mapping": [ {
        "map": "Address Line 1",
        "identity": "MHA-PDS-Mapping"
      } ]
    }, {
      "id": "Patient.address.city",
      "path": "Patient.address.city",
      "mapping": [ {
        "map": "City",
        "identity": "MHA-PDS-Mapping"
      } ],
      "mustSupport": true
    }, {
      "id": "Patient.address.state",
      "min": 1,
      "path": "Patient.address.state",
      "binding": {
        "strength": "required",
        "valueSet": "https://fhir.infoway-inforoute.ca/ValueSet/canadianjurisdiction",
        "description": "Codes to identify the provinces and territories of Canada"
      },
      "mapping": [ {
        "map": "Province",
        "identity": "MHA-PDS-Mapping"
      } ],
      "mustSupport": true
    }, {
      "id": "Patient.address.postalCode",
      "path": "Patient.address.postalCode",
      "mapping": [ {
        "map": "Postal Code",
        "identity": "MHA-PDS-Mapping"
      } ],
      "mustSupport": true
    }, {
      "id": "Patient.maritalStatus",
      "path": "Patient.maritalStatus",
      "mustSupport": true
    }, {
      "id": "Patient.communication",
      "path": "Patient.communication",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "extension.value.coding.code",
          "type": "value"
        } ]
      },
      "mustSupport": true
    }, {
      "id": "Patient.communication.extension",
      "min": 1,
      "path": "Patient.communication.extension"
    }, {
      "id": "Patient.communication.extension:languageUse",
      "min": 1,
      "path": "Patient.communication.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-ext-LanguageUse" ]
      } ],
      "sliceName": "languageUse"
    }, {
      "id": "Patient.communication.language",
      "path": "Patient.communication.language",
      "mapping": [ {
        "map": "Preferred Language",
        "identity": "MHA-PDS-Mapping"
      } ]
    }, {
      "id": "Patient.communication.language.coding.system",
      "min": 1,
      "path": "Patient.communication.language.coding.system"
    }, {
      "id": "Patient.communication.language.coding.code",
      "min": 1,
      "path": "Patient.communication.language.coding.code",
      "mustSupport": true
    }, {
      "id": "Patient.communication.language.coding.display",
      "min": 1,
      "path": "Patient.communication.language.coding.display",
      "mustSupport": true
    }, {
      "id": "Patient.communication:MotherTongue",
      "path": "Patient.communication",
      "sliceName": "MotherTongue",
      "mustSupport": true
    }, {
      "id": "Patient.communication:MotherTongue.extension",
      "min": 1,
      "path": "Patient.communication.extension"
    }, {
      "id": "Patient.communication:MotherTongue.extension:languageUse",
      "min": 1,
      "path": "Patient.communication.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-ext-LanguageUse" ]
      } ],
      "sliceName": "languageUse"
    }, {
      "id": "Patient.communication:MotherTongue.extension:languageUse.value[x]",
      "min": 1,
      "path": "Patient.communication.extension.value[x]",
      "label": "MotherTongue"
    }, {
      "id": "Patient.communication:MotherTongue.extension:languageUse.value[x].coding",
      "path": "Patient.communication.extension.value[x].coding"
    }, {
      "id": "Patient.communication:MotherTongue.extension:languageUse.value[x].coding.code",
      "path": "Patient.communication.extension.value[x].coding.code",
      "fixedCode": "224075005"
    }, {
      "id": "Patient.communication:MotherTongue.language",
      "path": "Patient.communication.language",
      "binding": {
        "strength": "extensible",
        "valueSet": "http://ontariohealth.ca/fhir/ValueSet/human-language",
        "description": "Languages understood or supported by Ontario clients and organizations."
      },
      "mustSupport": true
    }, {
      "id": "Patient.communication:MotherTongue.language.coding",
      "max": "1",
      "min": 1,
      "path": "Patient.communication.language.coding",
      "mustSupport": true
    }, {
      "id": "Patient.communication:MotherTongue.language.coding.system",
      "min": 1,
      "path": "Patient.communication.language.coding.system",
      "mustSupport": true
    }, {
      "id": "Patient.communication:MotherTongue.language.coding.code",
      "min": 1,
      "path": "Patient.communication.language.coding.code",
      "mustSupport": true
    }, {
      "id": "Patient.communication:MotherTongue.language.coding.display",
      "min": 1,
      "path": "Patient.communication.language.coding.display",
      "mustSupport": true
    }, {
      "id": "Patient.communication:preferredOfficialLanguage",
      "max": "1",
      "path": "Patient.communication",
      "sliceName": "preferredOfficialLanguage",
      "mustSupport": true
    }, {
      "id": "Patient.communication:preferredOfficialLanguage.extension",
      "min": 1,
      "path": "Patient.communication.extension"
    }, {
      "id": "Patient.communication:preferredOfficialLanguage.extension:languageUse",
      "min": 1,
      "path": "Patient.communication.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-ext-LanguageUse" ]
      } ],
      "sliceName": "languageUse"
    }, {
      "id": "Patient.communication:preferredOfficialLanguage.extension:languageUse.value[x]",
      "min": 1,
      "path": "Patient.communication.extension.value[x]"
    }, {
      "id": "Patient.communication:preferredOfficialLanguage.extension:languageUse.value[x].coding",
      "path": "Patient.communication.extension.value[x].coding"
    }, {
      "id": "Patient.communication:preferredOfficialLanguage.extension:languageUse.value[x].coding.code",
      "path": "Patient.communication.extension.value[x].coding.code",
      "fixedCode": "OFL"
    }, {
      "id": "Patient.communication:preferredOfficialLanguage.language",
      "path": "Patient.communication.language",
      "binding": {
        "strength": "required",
        "valueSet": "http://ontariohealth.ca/fhir/ValueSet/official-language",
        "description": "Official languages of Canada."
      },
      "mustSupport": true
    }, {
      "id": "Patient.communication:preferredOfficialLanguage.language.coding",
      "max": "1",
      "min": 1,
      "path": "Patient.communication.language.coding",
      "mustSupport": true
    }, {
      "id": "Patient.communication:preferredOfficialLanguage.language.coding.system",
      "min": 1,
      "path": "Patient.communication.language.coding.system",
      "mustSupport": true
    }, {
      "id": "Patient.communication:preferredOfficialLanguage.language.coding.code",
      "min": 1,
      "path": "Patient.communication.language.coding.code",
      "mustSupport": true
    }, {
      "id": "Patient.communication:preferredOfficialLanguage.language.coding.display",
      "min": 1,
      "path": "Patient.communication.language.coding.display",
      "mustSupport": true
    }, {
      "id": "Patient.communication:serviceLanguage",
      "path": "Patient.communication",
      "sliceName": "serviceLanguage",
      "mustSupport": true
    }, {
      "id": "Patient.communication:serviceLanguage.extension",
      "min": 1,
      "path": "Patient.communication.extension"
    }, {
      "id": "Patient.communication:serviceLanguage.extension:languageUse",
      "min": 1,
      "path": "Patient.communication.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-ext-LanguageUse" ]
      } ],
      "sliceName": "languageUse"
    }, {
      "id": "Patient.communication:serviceLanguage.extension:languageUse.value[x]",
      "min": 1,
      "path": "Patient.communication.extension.value[x]",
      "label": "ServiceLanguage"
    }, {
      "id": "Patient.communication:serviceLanguage.extension:languageUse.value[x].coding",
      "path": "Patient.communication.extension.value[x].coding"
    }, {
      "id": "Patient.communication:serviceLanguage.extension:languageUse.value[x].coding.code",
      "path": "Patient.communication.extension.value[x].coding.code",
      "fixedCode": "428996008"
    }, {
      "id": "Patient.communication:serviceLanguage.language",
      "path": "Patient.communication.language",
      "binding": {
        "strength": "extensible",
        "valueSet": "http://ontariohealth.ca/fhir/ValueSet/human-language",
        "description": "Languages understood or supported by Ontario clients and organizations."
      },
      "mustSupport": true
    }, {
      "id": "Patient.communication:serviceLanguage.language.coding",
      "max": "1",
      "min": 1,
      "path": "Patient.communication.language.coding",
      "mustSupport": true
    }, {
      "id": "Patient.communication:serviceLanguage.language.coding.system",
      "min": 1,
      "path": "Patient.communication.language.coding.system",
      "mustSupport": true
    }, {
      "id": "Patient.communication:serviceLanguage.language.coding.code",
      "min": 1,
      "path": "Patient.communication.language.coding.code",
      "mustSupport": true
    }, {
      "id": "Patient.communication:serviceLanguage.language.coding.display",
      "min": 1,
      "path": "Patient.communication.language.coding.display",
      "mustSupport": true
    }, {
      "id": "Patient.managingOrganization",
      "path": "Patient.managingOrganization",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-profile-organization" ]
      } ],
      "mustSupport": true
    } ]
  },
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Patient"
}