<?xml version="1.0" encoding="UTF-8"?>

<Patient xmlns="http://hl7.org/fhir">
  <id value="hiqa-patient-tomas-quinn"/>
  <meta>
    <profile value="https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-patient-eprescription"/>
  </meta>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: Patient hiqa-patient-tomas-quinn</b></p><a name="hiqa-patient-tomas-quinn"> </a><a name="hchiqa-patient-tomas-quinn"> </a><div style="display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%"><p style="margin-bottom: 0px"/><p style="margin-bottom: 0px">Profile: <a href="StructureDefinition-ie-mpd-patient-eprescription.html">IE MPD Patient (ePrescription/eDispensation)</a></p></div><p style="border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;">Tomás Quinn (official) Male, DoB: 1979-06-21 ( National unique individual identifier: IEMpdNamingSystemIHI#999000000000000001)</p><hr/><table class="grid"><tr><td style="background-color: #f3f5da" title="Other Id (see the one above)">Other Id:</td><td colspan="3">Medical card scheme number/9900001A</td></tr><tr><td style="background-color: #f3f5da" title="Ways to contact the Patient">Contact Detail</td><td colspan="3">12 Shannon View Athlone Westmeath N37 XX10 IE (home)</td></tr><tr><td style="background-color: #f3f5da" title="Recorded sex or gender (RSG) information includes the various sex and gender concepts that are often used in existing systems but are known NOT to represent a gender identity, sex parameter for clinical use, or attributes related to sexuality, such as sexual orientation, sexual activity, or sexual attraction. Examples of recorded sex or gender concepts include administrative gender, administrative sex, and sex assigned at birth.  When exchanging this concept, refer to the guidance in the [Gender Harmony Implementation Guide](http://hl7.org/xprod/ig/uv/gender-harmony/).">Person Recorded Sex Or Gender:</td><td colspan="3"><ul><li>value: <span title="Codes:{http://hl7.org/fhir/administrative-gender male}">Male</span></li><li>type: <span title="Codes:{http://loinc.org 76689-9}">Sex assigned at birth</span></li></ul></td></tr></table></div>
  </text>
  <extension url="http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender">
    <extension url="value">
      <valueCodeableConcept>
        <coding>
          <system value="http://hl7.org/fhir/administrative-gender"/>
          <code value="male"/>
          <display value="Male"/>
        </coding>
      </valueCodeableConcept>
    </extension>
    <extension url="type">
      <valueCodeableConcept>
        <coding>
          <system value="http://loinc.org"/>
          <code value="76689-9"/>
          <display value="Sex assigned at birth"/>
        </coding>
      </valueCodeableConcept>
    </extension>
  </extension>
  <identifier>
    <type>
      <coding>
        <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/>
        <code value="NI"/>
        <display value="National unique individual identifier"/>
      </coding>
    </type>
    <system value="https://hl7-ie.github.io/ie-core/fhir/ie/core/sid/ihi"/>
    <value value="999000000000000001"/>
  </identifier>
  <identifier>
    <type>
      <coding>
        <system value="https://hl7-ie.github.io/medication-events/fhir/CodeSystem/ie-mpd-pcrs-scheme-type"/>
        <code value="medical-card"/>
        <display value="Medical card scheme number"/>
      </coding>
    </type>
    <system value="https://hl7-ie.github.io/ie-core/fhir/ie/core/sid/gms"/>
    <value value="9900001A"/>
    <assigner>
      <display value="HSE"/>
    </assigner>
  </identifier>
  <name>
    <use value="official"/>
    <family value="Quinn"/>
    <given value="Tomás"/>
  </name>
  <gender value="male"/>
  <birthDate value="1979-06-21"/>
  <address>
    <use value="home"/>
    <line value="12 Shannon View"/>
    <city value="Athlone"/>
    <state value="Westmeath"/>
    <postalCode value="N37 XX10"/>
    <country value="IE"/>
  </address>
</Patient>