<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="3e8ef1c5-74e3-4594-88e9-e44097907f61" />
  <meta>
    <lastUpdated value="2020-10-23T08:49:58.246+00:00" />
  </meta>
  <url value="https://theprsb.org/fhir/StructureDefinition/PatientDemographics" />
  <name value="PatientDemographics" />
  <status value="draft" />
  <date value="2020-10-20T14:18:36.3424907+00:00" />
  <fhirVersion value="4.0.1" />
  <kind value="logical" />
  <abstract value="false" />
  <type value="https://theprsb.org/fhir/StructureDefinition/PatientDemographics" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Element" />
  <derivation value="specialization" />
  <differential>
    <element id="PatientDemographics">
      <path value="PatientDemographics" />
      <short value="Patient demographics" />
      <definition value="Patient Demographics" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="BackboneElement" />
      </type>
    </element>
    <element id="PatientDemographics.patient_name">
      <path value="PatientDemographics.patient_name" />
      <short value="Patient name" />
      <definition value="The full name of the person." />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="string" />
      </type>
      <mapping>
        <identity value="FHIR.UKCore" />
        <map value="Person.name" />
      </mapping>
    </element>
    <element id="PatientDemographics.patient_preferred_name">
      <path value="PatientDemographics.patient_preferred_name" />
      <short value="Patient preferred name" />
      <definition value="The name by which a patient wishes to be addressed." />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="PatientDemographics.date_of_birth">
      <path value="PatientDemographics.date_of_birth" />
      <short value="Date of birth" />
      <definition value="The date of birth of the patient." />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="dateTime" />
      </type>
    </element>
    <element id="PatientDemographics.gender">
      <path value="PatientDemographics.gender" />
      <short value="Gender" />
      <definition value="The person's stated gender.&lt;br clear=&quot;none&quot;/&gt;&#xA;&lt;br clear=&quot;none&quot;/&gt;" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="PatientDemographics.person_alias">
      <path value="PatientDemographics.person_alias" />
      <short value="Person alias" />
      <definition value="Record details where a person is known to use assumed identities to access health and care services." />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="PatientDemographics.ethnicity">
      <path value="PatientDemographics.ethnicity" />
      <short value="Ethnicity" />
      <definition value="The ethnicity of a person as specified by the person." />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="PatientDemographics.religion">
      <path value="PatientDemographics.religion" />
      <short value="Religion" />
      <definition value="The religious affiliation as specified by the person." />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="PatientDemographics.sex">
      <path value="PatientDemographics.sex" />
      <short value="Sex" />
      <definition value="The person’s phenotypic sex. Determines how the person will be treated clinically." />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="PatientDemographics.nhs_number">
      <path value="PatientDemographics.nhs_number" />
      <short value="NHS number" />
      <definition value="The unique identifier for a patient within the NHS in England and Wales." />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="PatientDemographics.other_identifier">
      <path value="PatientDemographics.other_identifier" />
      <short value="Other identifier" />
      <definition value="Country specific or local identifier, e.g., Community Health Index (CHI) in Scotland." />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="PatientDemographics.patient_address">
      <path value="PatientDemographics.patient_address" />
      <short value="Patient address" />
      <definition value="Patient’s usual place of residence." />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="PatientDemographics.patient_email_address">
      <path value="PatientDemographics.patient_email_address" />
      <short value="Patient email address" />
      <definition value="Email address of the patient" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="PatientDemographics.patient_telephone_number">
      <path value="PatientDemographics.patient_telephone_number" />
      <short value="Patient telephone number" />
      <definition value="Telephone contact details of the patient. To include, e.g., mobile, work and home number if available." />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="PatientDemographics.relevant_contacts">
      <path value="PatientDemographics.relevant_contacts" />
      <short value="Relevant contacts" />
      <definition value="Include the most important contacts including:&lt;p/&gt;* Personal contacts e.g., next of kin, in case of emergency contact, lasting power of attorney, dependents, informal carers etc.&lt;p/&gt;* Health/care professional contacts e.g., social worker, hospital clinician, care coordinator, key worker, Independent Mental Capacity Advocate (IMCA) etc.&lt;p/&gt;Name, relationship, role (if formal role), contact details and availability, e.g. out of hours.&lt;p/&gt;" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="PatientDemographics.communication_preferences">
      <path value="PatientDemographics.communication_preferences" />
      <short value="Communication preferences" />
      <definition value="Preferred contact method, e.g., sign language, letter, phone, etc. Also preferred written communication format, e.g., large print, braille." />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="PatientDemographics.place_of_birth">
      <path value="PatientDemographics.place_of_birth" />
      <short value="Place of birth" />
      <definition value="The town and country of birth of the patient" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="PatientDemographics.marital_status">
      <path value="PatientDemographics.marital_status" />
      <short value="Marital status" />
      <definition value="An indicator to identify the legal marital status of the patient" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="PatientDemographics.date_of_death">
      <path value="PatientDemographics.date_of_death" />
      <short value="Date of death" />
      <definition value="The date of death of the patient (if applicable)" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="PatientDemographics.time_of_death">
      <path value="PatientDemographics.time_of_death" />
      <short value="Time of death" />
      <definition value="The time of death of the patient (if applicable)" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element id="PatientDemographics.educational_establishment">
      <path value="PatientDemographics.educational_establishment" />
      <short value="Educational establishment" />
      <definition value="If the person is a child, name and address of where the child attends, eg play group, nursery, school." />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="string" />
      </type>
    </element>
  </differential>
</StructureDefinition>