<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="Registry-Patient" />
  <meta>
    <versionId value="a0122fc6-c560-487e-9c6f-cdaa2f951ab8" />
    <lastUpdated value="2018-02-21T20:31:06.837-06:00" />
    <profile value="http://hl7.org/fhir/StructureDefinition/StructureDefinition" />
  </meta>
  <url value="http://registry-fhir.mayo.edu/StructureDefinition/Registry-Patient" />
  <version value="1.18.0.0" />
  <name value="Registry-Patient" />
  <publisher value="Mayo Clinical Registries" />
  <code>
    <system value="urn:Mayo:Registries:Profiles" />
    <code value="MasterProfile" />
  </code>
  <status value="active" />
  <fhirVersion value="0.5.0" />
  <mapping>
    <identity value="CDM" />
    <uri value="http://registry.mayo.edu/models/CDM" />
    <name value="Registry Assist Concept Model" />
  </mapping>
  <mapping>
    <identity value="EDT" />
    <uri value="http://registry.mayo.edu/models/EDT2.0" />
    <name value="EDT 4P EDTWH Schema Model" />
  </mapping>
  <type value="constraint" />
  <abstract value="false" />
  <base value="http://hl7.org/fhir/StructureDefinition/Patient" />
  <snapshot>
    <element>
      <path value="Patient" />
      <label value="Patient" />
      <definition value="Patient represents the role of an individual who has established a medical relationship with a practitioner or system and has received a clinic number or temporary clinic number" />
      <min value="0" />
      <max value="*" />
      <mapping>
        <identity value="CDM" />
        <map value="Patient" />
      </mapping>
    </element>
    <element>
      <path value="Patient.meta" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Meta" />
      </type>
    </element>
    <element>
      <path value="Patient.meta.lastUpdated" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="instant" />
      </type>
    </element>
    <element>
      <path value="Patient.extension" />
      <slicing>
        <discriminator value="url" />
        <ordered value="false" />
        <rules value="open" />
      </slicing>
    </element>
    <element>
      <path value="Patient.extension" />
      <name value="precaution" />
      <label value="Patient Contact Precautions Code" />
      <definition value="Identifies whether caution needs to be exercised when treating this patient (e.g. (empty) - no precaution is required, M - MRSA, V - VRE)" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://registry-fhir.mayo.edu/StructureDefinition/Patient.Precaution" />
      </type>
      <mapping>
        <identity value="CDM" />
        <map value="Patient.Patient Contact Precautions Code" />
      </mapping>
    </element>
    <element>
      <path value="Patient.extension.valueCodeableConcept" />
      <name value="precaution-valueCodeableConcept" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <binding>
        <name value="Patient Contact Precautions" />
        <strength value="required" />
        <valueSetUri value="http://terms.mayo.edu/valueset/REG_MPII_PT_CONT_PREC" />
      </binding>
    </element>
    <element>
      <path value="Patient.extension.valueCodeableConcept.coding" />
      <name value="precaution-valueCodeableConcept-coding" />
      <min value="1" />
      <max value="*" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element>
      <path value="Patient.extension.valueCodeableConcept.coding.system" />
      <name value="precaution-valueCodeableConcept-coding-system" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="uri" />
      </type>
    </element>
    <element>
      <path value="Patient.extension.valueCodeableConcept.coding.code" />
      <name value="precaution-valueCodeableConcept-coding-code" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="code" />
      </type>
    </element>
    <element>
      <path value="Patient.extension.valueCodeableConcept.coding.display" />
      <name value="precaution-valueCodeableConcept-coding-display" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element>
      <path value="Patient.extension.valueCodeableConcept.coding.primary" />
      <name value="precaution-valueCodeableConcept-coding-primary" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="boolean" />
      </type>
    </element>
    <element>
      <path value="Patient.extension" />
      <name value="confidential" />
      <label value="Patient Confidential Identifier" />
      <definition value="Identifies the four levels of confidentiality of the patient's information (Values: Level 1 (empty), 33 - Level 2, 66 - Level 3, 99 -Level 4)" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://registry-fhir.mayo.edu/StructureDefinition/Patient.Confidential" />
      </type>
      <mapping>
        <identity value="CDM" />
        <map value="Patient.Patient Confidential Identifier" />
      </mapping>
    </element>
    <element>
      <path value="Patient.extension.valueCodeableConcept" />
      <name value="confidential-valueCodeableConcept" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <binding>
        <name value="Patient Confidential Identifier" />
        <strength value="required" />
        <valueSetUri value="http://terms.mayo.edu/valueset/REG_MPII_PT_CONF_ID" />
      </binding>
    </element>
    <element>
      <path value="Patient.extension.valueCodeableConcept.coding" />
      <name value="confidential-valueCodeableConcept-coding" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element>
      <path value="Patient.extension.valueCodeableConcept.coding.system" />
      <name value="confidential-valueCodeableConcept-coding-system" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="uri" />
      </type>
    </element>
    <element>
      <path value="Patient.extension.valueCodeableConcept.coding.code" />
      <name value="confidential-valueCodeableConcept-coding-code" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="code" />
      </type>
    </element>
    <element>
      <path value="Patient.extension.valueCodeableConcept.coding.display" />
      <name value="confidential-valueCodeableConcept-coding-display" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element>
      <path value="Patient.extension.valueCodeableConcept.coding.primary" />
      <name value="confidential-valueCodeableConcept-coding-primary" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="boolean" />
      </type>
    </element>
    <element>
      <path value="Patient.extension" />
      <name value="fromFederalMedicalCenter" />
      <label value="Patient Federal Med Center Flag" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://registry-fhir.mayo.edu/StructureDefinition/Patient.FromFederalMedicalCenter" />
      </type>
      <mapping>
        <identity value="CDM" />
        <map value="Patient Federal Med Center Flag" />
      </mapping>
    </element>
    <element>
      <path value="Patient.extension.valueBoolean" />
      <name value="fromFederalMedicalCenter-valueBoolean" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="boolean" />
      </type>
    </element>
    <element>
      <path value="Patient.extension" />
      <name value="vip" />
      <label value="Patient VIP Flag" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://registry-fhir.mayo.edu/StructureDefinition/Patient.VIP" />
      </type>
      <mapping>
        <identity value="CDM" />
        <map value="PATIENT VIP FLAG" />
      </mapping>
    </element>
    <element>
      <path value="Patient.extension.valueBoolean" />
      <name value="vip-valueBoolean" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="boolean" />
      </type>
    </element>
    <element>
      <path value="Patient.extension" />
      <name value="doNotCall" />
      <label value="Patient Do Not Call Flag" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://registry-fhir.mayo.edu/StructureDefinition/Patient.DoNotCall" />
      </type>
      <mapping>
        <identity value="CDM" />
        <map value="Patient Do Not Call Flag" />
      </mapping>
    </element>
    <element>
      <path value="Patient.extension.valueBoolean" />
      <name value="doNotCall-valueBoolean" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="boolean" />
      </type>
    </element>
    <element>
      <path value="Patient.extension" />
      <name value="legalCase" />
      <label value="Patient Legal Case Flag" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://registry-fhir.mayo.edu/StructureDefinition/Patient.LegalCase" />
      </type>
      <mapping>
        <identity value="CDM" />
        <map value="Patient Legal Case Flag" />
      </mapping>
    </element>
    <element>
      <path value="Patient.extension.valueBoolean" />
      <name value="legalCase-valueBoolean" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="boolean" />
      </type>
    </element>
    <element>
      <path value="Patient.extension" />
      <name value="religion" />
      <label value="Patient Religion Code" />
      <definition value="Set of beliefs and practices generally held by a group of people that relate humanity to the sacred and/or divine and to spirituality and/or morality (e.g. BAP - Baptist, CAT - Catholic)" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://registry-fhir.mayo.edu/StructureDefinition/Patient.Religion" />
      </type>
      <mapping>
        <identity value="CDM" />
        <map value="Patient.Patient Religion Code" />
      </mapping>
    </element>
    <element>
      <path value="Patient.extension.valueCodeableConcept" />
      <name value="religion-valueCodeableConcept" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <binding>
        <name value="Religion" />
        <strength value="required" />
        <valueSetUri value="http://terms.mayo.edu/valueset/REG_MPII_RELIGION" />
      </binding>
    </element>
    <element>
      <path value="Patient.extension.valueCodeableConcept.coding" />
      <name value="religion-valueCodeableConcept-coding" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element>
      <path value="Patient.extension.valueCodeableConcept.coding.system" />
      <name value="religion-valueCodeableConcept-coding-system" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="uri" />
      </type>
    </element>
    <element>
      <path value="Patient.extension.valueCodeableConcept.coding.code" />
      <name value="religion-valueCodeableConcept-coding-code" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="code" />
      </type>
    </element>
    <element>
      <path value="Patient.extension.valueCodeableConcept.coding.display" />
      <name value="religion-valueCodeableConcept-coding-display" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element>
      <path value="Patient.extension.valueCodeableConcept.coding.primary" />
      <name value="religion-valueCodeableConcept-coding-primary" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="boolean" />
      </type>
    </element>
    <element>
      <path value="Patient.extension" />
      <name value="mayoResearchAuthorization" />
      <label value="Research Authorization" />
      <definition value="Patient consents to specific type of research" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://registry-fhir.mayo.edu/StructureDefinition/Patient.ResearchAuthorization" />
      </type>
      <mapping>
        <identity value="CDM" />
        <map value="Research Authorization" />
      </mapping>
    </element>
    <element>
      <path value="Patient.extension.extension" />
      <name value="mayoResearchAuthorization-extension" />
      <slicing>
        <discriminator value="url" />
        <ordered value="false" />
        <rules value="open" />
      </slicing>
    </element>
    <element>
      <path value="Patient.extension.extension" />
      <name value="mayoResearchAuthorization-type" />
      <label value="Research Authorization Type Code" />
      <definition value="Patient consents to specific type of research (Values: Rochester Only, Minnesota, Grandfathered)" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://registry-fhir.mayo.edu/StructureDefinition/Patient.ResearchAuthorization#type" />
      </type>
      <mapping>
        <identity value="CDM" />
        <map value="Research Authorization.Research Authorization Type Code" />
      </mapping>
    </element>
    <element>
      <path value="Patient.extension.extension.valueCode" />
      <name value="mayoResearchAuthorization-type-valueCode" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="code" />
      </type>
      <fixedCode value="Rochester Only" />
      <binding>
        <name value="Research Authorization Type" />
        <strength value="required" />
        <valueSetUri value="http://terms.mayo.edu/registry/valueset/REG_PT_RESEARCH_AUTH" />
      </binding>
    </element>
    <element>
      <path value="Patient.extension.extension" />
      <name value="mayoResearchAuthorization-flag" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://registry-fhir.mayo.edu/StructureDefinition/Patient.ResearchAuthorization#flag" />
      </type>
    </element>
    <element>
      <path value="Patient.extension.extension.valueBoolean" />
      <name value="mayoResearchAuthorization-flag-valueBoolean" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="boolean" />
      </type>
    </element>
    <element>
      <path value="Patient.extension.extension" />
      <name value="mayoResearchAuthorization-date" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://registry-fhir.mayo.edu/StructureDefinition/Patient.ResearchAuthorization#date" />
      </type>
    </element>
    <element>
      <path value="Patient.extension.extension.valueDate" />
      <name value="mayoResearchAuthorization-date-valueDate" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="date" />
      </type>
    </element>
    <element>
      <path value="Patient.extension" />
      <name value="minnesotaResearchAuthorization" />
      <label value="Research Auth - Minnesota" />
      <definition value="Patient consents to specific type of research" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://registry-fhir.mayo.edu/StructureDefinition/Patient.ResearchAuthorization" />
      </type>
      <mapping>
        <identity value="CDM" />
        <map value="Research Authorization" />
      </mapping>
    </element>
    <element>
      <path value="Patient.extension.extension" />
      <name value="minnesotaResearchAuthorization-extension" />
      <slicing>
        <discriminator value="url" />
        <ordered value="false" />
        <rules value="open" />
      </slicing>
    </element>
    <element>
      <path value="Patient.extension.extension" />
      <name value="minnesotaResearchAuthorization-type" />
      <label value="Research Authorization Type Code" />
      <definition value="Patient consents to specific type of research (Values: Rochester Only, Minnesota, Grandfathered)" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://registry-fhir.mayo.edu/StructureDefinition/Patient.ResearchAuthorization#type" />
      </type>
      <mapping>
        <identity value="CDM" />
        <map value="Research Authorization.Research Authorization Type Code" />
      </mapping>
    </element>
    <element>
      <path value="Patient.extension.extension.valueCode" />
      <name value="minnesotaResearchAuthorization-type-valueCode" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="code" />
      </type>
      <fixedCode value="Minnesota" />
      <binding>
        <name value="Research Authorization Type" />
        <strength value="required" />
        <valueSetUri value="http://terms.mayo.edu/registry/valueset/REG_PT_RESEARCH_AUTH" />
      </binding>
    </element>
    <element>
      <path value="Patient.extension.extension" />
      <name value="minnesotaResearchAuthorization-flag" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://registry-fhir.mayo.edu/StructureDefinition/Patient.ResearchAuthorization#flag" />
      </type>
    </element>
    <element>
      <path value="Patient.extension.extension.valueBoolean" />
      <name value="minnesotaResearchAuthorization-flag-valueBoolean" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="boolean" />
      </type>
    </element>
    <element>
      <path value="Patient.extension.extension" />
      <name value="minnesotaResearchAuthorization-date" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://registry-fhir.mayo.edu/StructureDefinition/Patient.ResearchAuthorization#date" />
      </type>
    </element>
    <element>
      <path value="Patient.extension.extension.valueDate" />
      <name value="minnesotaResearchAuthorization-date-valueDate" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="date" />
      </type>
    </element>
    <element>
      <path value="Patient.extension" />
      <name value="grandfatheredResearchAuthorization" />
      <label value="Research Authorization" />
      <definition value="Patient consents to specific type of research" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://registry-fhir.mayo.edu/StructureDefinition/Patient.ResearchAuthorization" />
      </type>
      <mapping>
        <identity value="CDM" />
        <map value="Research Authorization" />
      </mapping>
    </element>
    <element>
      <path value="Patient.extension.extension" />
      <name value="grandfatheredResearchAuthorization-extension" />
      <slicing>
        <discriminator value="url" />
        <ordered value="false" />
        <rules value="open" />
      </slicing>
    </element>
    <element>
      <path value="Patient.extension.extension" />
      <name value="grandfatheredResearchAuthorization-type" />
      <label value="Research Authorization Type Code" />
      <definition value="Patient consents to specific type of research (Values: Rochester Only, Minnesota, Grandfathered)" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://registry-fhir.mayo.edu/StructureDefinition/Patient.ResearchAuthorization#type" />
      </type>
      <mapping>
        <identity value="CDM" />
        <map value="Research Authorization.Research Authorization Type Code" />
      </mapping>
    </element>
    <element>
      <path value="Patient.extension.extension.valueCode" />
      <name value="grandfatheredResearchAuthorization-type-valueCode" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="code" />
      </type>
      <fixedCode value="Grandfathered" />
      <binding>
        <name value="Research Authorization Type" />
        <strength value="required" />
        <valueSetUri value="http://terms.mayo.edu/registry/valueset/REG_PT_RESEARCH_AUTH" />
      </binding>
    </element>
    <element>
      <path value="Patient.extension.extension" />
      <name value="grandfatheredResearchAuthorization-flag" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://registry-fhir.mayo.edu/StructureDefinition/Patient.ResearchAuthorization#flag" />
      </type>
    </element>
    <element>
      <path value="Patient.extension.extension.valueBoolean" />
      <name value="grandfatheredResearchAuthorization-flag-valueBoolean" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="boolean" />
      </type>
    </element>
    <element>
      <path value="Patient.extension" />
      <name value="nonMinnesotaResearchAuthorization" />
      <label value="Research Auth - Non-Minnesota MCHS" />
      <definition value="Patient consents to specific type of research" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://registry-fhir.mayo.edu/StructureDefinition/Patient.ResearchAuthorization" />
      </type>
      <mapping>
        <identity value="CDM" />
        <map value="Research Authorization" />
      </mapping>
    </element>
    <element>
      <path value="Patient.extension.extension" />
      <name value="nonMinnesotaResearchAuthorization-extension" />
      <slicing>
        <discriminator value="url" />
        <ordered value="false" />
        <rules value="open" />
      </slicing>
    </element>
    <element>
      <path value="Patient.extension.extension" />
      <name value="nonMinnesotaResearchAuthorization-type" />
      <label value="Non Minnesota MCHS Research Authorization Type Code" />
      <definition value="Patient consents to specific type of research (Values: Rochester Only, Minnesota, NonMinnesotaMCHS, Florida, Arizona)" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://registry-fhir.mayo.edu/StructureDefinition/Patient.ResearchAuthorization#type" />
      </type>
    </element>
    <element>
      <path value="Patient.extension.extension.valueCode" />
      <name value="nonMinnesotaResearchAuthorization-type-valueCode" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="code" />
      </type>
      <fixedCode value="NonMinnesotaMCHS" />
      <binding>
        <name value="Research Authorization Type" />
        <strength value="required" />
        <valueSetUri value="http://terms.mayo.edu/registry/valueset/REG_PT_RESEARCH_AUTH" />
      </binding>
    </element>
    <element>
      <path value="Patient.extension.extension" />
      <name value="nonMinnesotaResearchAuthorization-flag" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://registry-fhir.mayo.edu/StructureDefinition/Patient.ResearchAuthorization#flag" />
      </type>
    </element>
    <element>
      <path value="Patient.extension.extension.valueBoolean" />
      <name value="nonMinnesotaResearchAuthorization-flag-valueBoolean" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="boolean" />
      </type>
    </element>
    <element>
      <path value="Patient.extension.extension" />
      <name value="nonMinnesotaResearchAuthorization-date" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://registry-fhir.mayo.edu/StructureDefinition/Patient.ResearchAuthorization#date" />
      </type>
    </element>
    <element>
      <path value="Patient.extension.extension.valueDate" />
      <name value="nonMinnesotaResearchAuthorization-date-valueDate" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="date" />
      </type>
    </element>
    <element>
      <path value="Patient.extension" />
      <name value="arizonaAuthorization" />
      <label value="Research Auth - Arizona" />
      <definition value="Patient consents to specific type of research" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://registry-fhir.mayo.edu/StructureDefinition/Patient.ResearchAuthorization" />
      </type>
      <mapping>
        <identity value="CDM" />
        <map value="Research Authorization" />
      </mapping>
    </element>
    <element>
      <path value="Patient.extension.extension" />
      <name value="arizonaAuthorization-extension" />
      <slicing>
        <discriminator value="url" />
        <ordered value="false" />
        <rules value="open" />
      </slicing>
    </element>
    <element>
      <path value="Patient.extension.extension" />
      <name value="arizonaAuthorization-type" />
      <label value="Arizona Authorization Type Code" />
      <definition value="Patient consents to specific type of research (Values: Rochester Only, Minnesota, NonMinnesotaMCHS, Florida, Arizona)" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://registry-fhir.mayo.edu/StructureDefinition/Patient.ResearchAuthorization#type" />
      </type>
    </element>
    <element>
      <path value="Patient.extension.extension.valueCode" />
      <name value="arizonaAuthorization-type-valueCode" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="code" />
      </type>
      <fixedCode value="Arizona" />
      <binding>
        <name value="Research Authorization Type" />
        <strength value="required" />
        <valueSetUri value="http://terms.mayo.edu/registry/valueset/REG_PT_RESEARCH_AUTH" />
      </binding>
    </element>
    <element>
      <path value="Patient.extension.extension" />
      <name value="arizonaAuthorization-flag" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://registry-fhir.mayo.edu/StructureDefinition/Patient.ResearchAuthorization#flag" />
      </type>
    </element>
    <element>
      <path value="Patient.extension.extension.valueBoolean" />
      <name value="arizonaAuthorization-flag-valueBoolean" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="boolean" />
      </type>
    </element>
    <element>
      <path value="Patient.extension.extension" />
      <name value="arizonaAuthorization-date" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://registry-fhir.mayo.edu/StructureDefinition/Patient.ResearchAuthorization#date" />
      </type>
    </element>
    <element>
      <path value="Patient.extension.extension.valueDate" />
      <name value="arizonaAuthorization-date-valueDate" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="date" />
      </type>
    </element>
    <element>
      <path value="Patient.extension" />
      <name value="floridaResearchAuthorization" />
      <label value="Research Auth - Florida" />
      <definition value="Patient consents to specific type of research" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://registry-fhir.mayo.edu/StructureDefinition/Patient.ResearchAuthorization" />
      </type>
      <mapping>
        <identity value="CDM" />
        <map value="Research Authorization" />
      </mapping>
    </element>
    <element>
      <path value="Patient.extension.extension" />
      <name value="floridaResearchAuthorization-extension" />
      <slicing>
        <discriminator value="url" />
        <ordered value="false" />
        <rules value="open" />
      </slicing>
    </element>
    <element>
      <path value="Patient.extension.extension" />
      <name value="floridaResearchAuthorization-type" />
      <label value="Florida Research Authorization Type Code" />
      <definition value="Patient consents to specific type of research (Values: Rochester Only, Minnesota, NonMinnesotaMCHS, Florida, Arizona)" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://registry-fhir.mayo.edu/StructureDefinition/Patient.ResearchAuthorization#type" />
      </type>
    </element>
    <element>
      <path value="Patient.extension.extension.valueCode" />
      <name value="floridaResearchAuthorization-type-valueCode" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="code" />
      </type>
      <fixedCode value="Florida" />
      <binding>
        <name value="Research Authorization Type" />
        <strength value="required" />
        <valueSetUri value="http://terms.mayo.edu/registry/valueset/REG_PT_RESEARCH_AUTH" />
      </binding>
    </element>
    <element>
      <path value="Patient.extension.extension" />
      <name value="floridaResearchAuthorization-flag" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://registry-fhir.mayo.edu/StructureDefinition/Patient.ResearchAuthorization#flag" />
      </type>
    </element>
    <element>
      <path value="Patient.extension.extension.valueBoolean" />
      <name value="floridaResearchAuthorization-flag-valueBoolean" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="boolean" />
      </type>
    </element>
    <element>
      <path value="Patient.extension.extension" />
      <name value="floridaResearchAuthorization-date" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://registry-fhir.mayo.edu/StructureDefinition/Patient.ResearchAuthorization#date" />
      </type>
    </element>
    <element>
      <path value="Patient.extension.extension.valueDate" />
      <name value="floridaResearchAuthorization-date-valueDate" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="date" />
      </type>
    </element>
    <element>
      <path value="Patient.extension" />
      <name value="informationAuthorizationReleaseDate" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://registry-fhir.mayo.edu/StructureDefinition/Patient.InformationAuthorizationReleaseDate" />
      </type>
    </element>
    <element>
      <path value="Patient.extension.valueDate" />
      <name value="informationAuthorizationReleaseDate-valueDate" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="date" />
      </type>
    </element>
    <element>
      <path value="Patient.extension" />
      <name value="race" />
      <label value="Patient Race Code" />
      <definition value="Arbitrary classification based on physical characteristics; a group of persons related by common decent or heredity (e.g. C - White, P - Asian)" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://registry-fhir.mayo.edu/StructureDefinition/Patient.Race" />
      </type>
      <mapping>
        <identity value="CDM" />
        <map value="Patient.Patient Race Code" />
      </mapping>
    </element>
    <element>
      <path value="Patient.extension.valueCodeableConcept" />
      <name value="race-valueCodeableConcept" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <binding>
        <name value="Race" />
        <strength value="required" />
        <valueSetUri value="http://terms.mayo.edu/valueset/REG_MPII_RACE" />
      </binding>
    </element>
    <element>
      <path value="Patient.extension.valueCodeableConcept.coding" />
      <name value="race-valueCodeableConcept-coding" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element>
      <path value="Patient.extension.valueCodeableConcept.coding.system" />
      <name value="race-valueCodeableConcept-coding-system" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="uri" />
      </type>
    </element>
    <element>
      <path value="Patient.extension.valueCodeableConcept.coding.code" />
      <name value="race-valueCodeableConcept-coding-code" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="code" />
      </type>
    </element>
    <element>
      <path value="Patient.extension.valueCodeableConcept.coding.display" />
      <name value="race-valueCodeableConcept-coding-display" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element>
      <path value="Patient.extension.valueCodeableConcept.coding.primary" />
      <name value="race-valueCodeableConcept-coding-primary" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="boolean" />
      </type>
    </element>
    <element>
      <path value="Patient.extension" />
      <name value="ethnicity" />
      <label value="Patient Ethnicity Code" />
      <definition value="Ethnicity is an arbitrary classification based on cultural, religious or linguistic traditions; ethnic traits, background, allegiance or association (e.g. H - Hispanic, HM - Mexican)" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://registry-fhir.mayo.edu/StructureDefinition/Patient.Ethnicity" />
      </type>
      <mapping>
        <identity value="CDM" />
        <map value="Patient.Patient Ethnicity Code" />
      </mapping>
    </element>
    <element>
      <path value="Patient.extension.valueCodeableConcept" />
      <name value="ethnicity-valueCodeableConcept" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <binding>
        <name value="Ethnicity" />
        <strength value="required" />
        <valueSetUri value="http://terms.mayo.edu/valueset/REG_MPII_ETHNICITY" />
      </binding>
    </element>
    <element>
      <path value="Patient.extension.valueCodeableConcept.coding" />
      <name value="ethnicity-valueCodeableConcept-coding" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element>
      <path value="Patient.extension.valueCodeableConcept.coding.system" />
      <name value="ethnicity-valueCodeableConcept-coding-system" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="uri" />
      </type>
    </element>
    <element>
      <path value="Patient.extension.valueCodeableConcept.coding.code" />
      <name value="ethnicity-valueCodeableConcept-coding-code" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="code" />
      </type>
    </element>
    <element>
      <path value="Patient.extension.valueCodeableConcept.coding.display" />
      <name value="ethnicity-valueCodeableConcept-coding-display" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element>
      <path value="Patient.extension.valueCodeableConcept.coding.primary" />
      <name value="ethnicity-valueCodeableConcept-coding-primary" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="boolean" />
      </type>
    </element>
    <element>
      <path value="Patient.identifier" />
      <slicing>
        <discriminator value="system" />
        <discriminator value="use" />
        <ordered value="false" />
        <rules value="open" />
      </slicing>
    </element>
    <element>
      <path value="Patient.identifier" />
      <name value="mpii" />
      <label value="Patient MPII Number" />
      <definition value="MPII (Master Patient Identification Index) is a unique identifier assigned to a patient" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Identifier" />
      </type>
      <mapping>
        <identity value="CDM" />
        <map value="Patient.Patient MPII Number" />
      </mapping>
    </element>
    <element>
      <path value="Patient.identifier.use" />
      <name value="mpii-use" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="code" />
      </type>
      <fixedCode value="official" />
    </element>
    <element>
      <path value="Patient.identifier.system" />
      <name value="mpii-system" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="uri" />
      </type>
      <fixedUri value="http://terms.mayo.edu/systemid/mpii/mpii_id" />
    </element>
    <element>
      <path value="Patient.identifier.value" />
      <name value="mpii-value" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element>
      <path value="Patient.identifier" />
      <name value="mrn" />
      <label value="Patient Mayo Clinic Number" />
      <definition value="ID used to represent a patient in the medical record (Format - X0-000-000)" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Identifier" />
      </type>
      <mapping>
        <identity value="CDM" />
        <map value="Patient.Patient Mayo Clinic Number" />
      </mapping>
    </element>
    <element>
      <path value="Patient.identifier.extension" />
      <name value="mrn-extension" />
      <slicing>
        <discriminator value="url" />
        <ordered value="false" />
        <rules value="open" />
      </slicing>
    </element>
    <element>
      <path value="Patient.identifier.extension" />
      <name value="mrn-issuingSite" />
      <label value="Patient Mayo Clinic Number Issuing Site Abbreviation" />
      <definition value="Mayo Clinic site that issued the patient Mayo Clinic number (e.g. MCA, MCF, MCR and MCHS)" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://registry-fhir.mayo.edu/StructureDefinition/Patient.Identifier.IssuingSite" />
      </type>
      <mapping>
        <identity value="CDM" />
        <map value="Patient.Patient Mayo Clinic Number Issuing Site Abbreviation" />
      </mapping>
    </element>
    <element>
      <path value="Patient.identifier.extension.valueCodeableConcept" />
      <name value="mrn-issuingSite-valueCodeableConcept" />
      <label value="Patient Mayo Clinic Number Issuing Site Abbreviation" />
      <definition value="Mayo Clinic site that issued the patient Mayo Clinic number (e.g. MCA, MCF, MCR and MCHS)" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <binding>
        <name value="Patient Number Issuing Site" />
        <strength value="required" />
        <valueSetUri value="http://terms.mayo.edu/valueset/REG_MPII_PT_NBR_ISS_SITE" />
      </binding>
      <mapping>
        <identity value="CDM" />
        <map value="Patient.Patient Mayo Clinic Number Issuing Site Abbreviation" />
      </mapping>
    </element>
    <element>
      <path value="Patient.identifier.extension.valueCodeableConcept.coding" />
      <name value="mrn-issuingSite-valueCodeableConcept-coding" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element>
      <path value="Patient.identifier.extension.valueCodeableConcept.coding.system" />
      <name value="mrn-issuingSite-valueCodeableConcept-coding-system" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="uri" />
      </type>
    </element>
    <element>
      <path value="Patient.identifier.extension.valueCodeableConcept.coding.code" />
      <name value="mrn-issuingSite-valueCodeableConcept-coding-code" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="code" />
      </type>
    </element>
    <element>
      <path value="Patient.identifier.extension.valueCodeableConcept.coding.display" />
      <name value="mrn-issuingSite-valueCodeableConcept-coding-display" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element>
      <path value="Patient.identifier.extension.valueCodeableConcept.coding.primary" />
      <name value="mrn-issuingSite-valueCodeableConcept-coding-primary" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="boolean" />
      </type>
    </element>
    <element>
      <path value="Patient.identifier.extension.valueCodeableConcept.text" />
      <name value="mrn-issuingSite-valueCodeableConcept-text" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element>
      <path value="Patient.identifier.use" />
      <name value="mrn-use" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="code" />
      </type>
      <fixedCode value="usual" />
    </element>
    <element>
      <path value="Patient.identifier.system" />
      <name value="mrn-system" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="uri" />
      </type>
      <fixedUri value="http://terms.mayo.edu/systemid/registration/mrn" />
    </element>
    <element>
      <path value="Patient.identifier.value" />
      <name value="mrn-value" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element>
      <path value="Patient.name" />
      <slicing>
        <discriminator value="use" />
        <ordered value="false" />
        <rules value="open" />
      </slicing>
    </element>
    <element>
      <path value="Patient.name" />
      <name value="maidenName" />
      <label value="Patient Maiden Name" />
      <definition value="Original last name of the patient as listed on their birth certificate" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="HumanName" />
      </type>
      <mapping>
        <identity value="CDM" />
        <map value="Patient.Patient Maiden Name" />
      </mapping>
    </element>
    <element>
      <path value="Patient.name.use" />
      <name value="maidenName-use" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="code" />
      </type>
      <fixedCode value="maiden" />
    </element>
    <element>
      <path value="Patient.name.family" />
      <name value="maidenName-family" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element>
      <path value="Patient.name" />
      <name value="name" />
      <label value="Patient Full Name" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="HumanName" />
      </type>
      <mapping>
        <identity value="CDM" />
        <map value="Patient.Patient Full Name" />
      </mapping>
    </element>
    <element>
      <path value="Patient.name.use" />
      <name value="name-use" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="code" />
      </type>
      <fixedCode value="official" />
    </element>
    <element>
      <path value="Patient.name.family" />
      <name value="name-family" />
      <label value="Patient Last Name" />
      <definition value="Full legal last name of the patient as listed on their birth certificate, unless it has been changed" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="string" />
      </type>
      <mapping>
        <identity value="CDM" />
        <map value="Patient.Patient Last Name" />
      </mapping>
    </element>
    <element>
      <path value="Patient.name.given" />
      <name value="name-given" />
      <label value="Patient First Name" />
      <definition value="Full legal first name of the patient as listed on their birth certificate, unless it has been changed" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="string" />
      </type>
      <mapping>
        <identity value="CDM" />
        <map value="Patient.Patient First Name" />
      </mapping>
    </element>
    <element>
      <path value="Patient.name.prefix" />
      <name value="name-prefix" />
      <label value="Patient Prefix Code" />
      <definition value="Prefix added to the beginning of the patient's name to signify veneration, official position, professional or academic qualification" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="string" />
      </type>
      <mapping>
        <identity value="CDM" />
        <map value="Patient.Patient Prefix Code" />
      </mapping>
    </element>
    <element>
      <path value="Patient.name.suffix" />
      <name value="name-suffix" />
      <label value="Patient Suffix Code" />
      <definition value="Suffix is added to the end of the patient's name to signify generation (e.g. III, Junior)" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="string" />
      </type>
      <mapping>
        <identity value="CDM" />
        <map value="Patient.Patient Suffix Code" />
      </mapping>
    </element>
    <element>
      <path value="Patient.telecom" />
      <slicing>
        <discriminator value="use" />
        <discriminator value="system" />
        <ordered value="false" />
        <rules value="open" />
      </slicing>
    </element>
    <element>
      <path value="Patient.telecom" />
      <name value="primaryPhone" />
      <label value="Patient Primary Phone Number" />
      <definition value="Patient phone number listed as primary." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="ContactPoint" />
      </type>
      <mapping>
        <identity value="CDM" />
        <map value="Patient.Patient Home Phone Number" />
      </mapping>
    </element>
    <element>
      <path value="Patient.telecom.system" />
      <name value="primaryPhone-system" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="code" />
      </type>
      <fixedCode value="phone" />
    </element>
    <element>
      <path value="Patient.telecom.value" />
      <name value="primaryPhone-value" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element>
      <path value="Patient.telecom.use" />
      <name value="primaryPhone-use" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="code" />
      </type>
      <fixedCode value="home" />
    </element>
    <element>
      <path value="Patient.telecom" />
      <name value="secondaryPhone" />
      <label value="Patient Secondary Phone Number" />
      <definition value="Patient phone number listed as secondary." />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="ContactPoint" />
      </type>
      <mapping>
        <identity value="CDM" />
        <map value="Patient.Patient Secondary Phone Number" />
      </mapping>
    </element>
    <element>
      <path value="Patient.telecom.system" />
      <name value="secondaryPhone-system" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="code" />
      </type>
      <fixedCode value="phone" />
    </element>
    <element>
      <path value="Patient.telecom.value" />
      <name value="secondaryPhone-value" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element>
      <path value="Patient.telecom.use" />
      <name value="secondaryPhone-use" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="code" />
      </type>
      <fixedCode value="temp" />
    </element>
    <element>
      <path value="Patient.telecom" />
      <name value="cellPhone" />
      <label value="Patient Mobile Phone Number" />
      <definition value="Cell phone number of the patient" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="ContactPoint" />
      </type>
      <mapping>
        <identity value="CDM" />
        <map value="Patient.Patient Cell Phone Number" />
      </mapping>
    </element>
    <element>
      <path value="Patient.telecom.system" />
      <name value="cellPhone-system" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="code" />
      </type>
      <fixedCode value="phone" />
    </element>
    <element>
      <path value="Patient.telecom.value" />
      <name value="cellPhone-value" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element>
      <path value="Patient.telecom.use" />
      <name value="cellPhone-use" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="code" />
      </type>
      <fixedCode value="mobile" />
    </element>
    <element>
      <path value="Patient.gender" />
      <label value="Patient Gender Code" />
      <definition value="Gender of the patient (e.g. M - Male, F - Female)" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="code" />
      </type>
      <binding>
        <name value="HL7 Administrative Gender" />
        <strength value="required" />
        <valueSetUri value="http://hl7.org/fhir/vs/administrative-gender" />
      </binding>
      <mapping>
        <identity value="CDM" />
        <map value="Patient.Patient Gender Code" />
      </mapping>
    </element>
    <element>
      <path value="Patient.birthDate" />
      <label value="Patient Date Of Birth" />
      <definition value="Birth date as listed on the patient's birth certificate" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="date" />
      </type>
      <mapping>
        <identity value="CDM" />
        <map value="Patient.Patient Date Of Birth" />
      </mapping>
    </element>
    <element>
      <path value="Patient.deceasedBoolean" />
      <label value="Patient Deceased Flag" />
      <definition value="Set to true if the patient is known to be deceased, otherwise set to false" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="boolean" />
      </type>
      <mapping>
        <identity value="CDM" />
        <map value="Patient.Patient Deceased Flag" />
      </mapping>
    </element>
    <element>
      <path value="Patient.deceasedDateTime" />
      <label value="Patient Death Date" />
      <definition value="Date on which the patient died, only present on deceased patients but may not be known for all deceased patients" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="dateTime" />
      </type>
      <mapping>
        <identity value="CDM" />
        <map value="Patient.Patient Death Date" />
      </mapping>
    </element>
    <element>
      <path value="Patient.address" />
      <slicing>
        <discriminator value="use" />
        <ordered value="false" />
        <rules value="open" />
      </slicing>
    </element>
    <element>
      <path value="Patient.address" />
      <name value="homeAddress" />
      <definition value="Primary Home Address" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Address" />
      </type>
    </element>
    <element>
      <path value="Patient.address.extension" />
      <name value="homeAddress-extension" />
      <slicing>
        <discriminator value="url" />
        <ordered value="false" />
        <rules value="open" />
      </slicing>
    </element>
    <element>
      <path value="Patient.address.extension" />
      <name value="homeAddress-institutionalGeographicCode" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Extension" />
        <profile value="http://registry-fhir.mayo.edu/StructureDefinition/Patient.Address.GeographicCode" />
      </type>
    </element>
    <element>
      <path value="Patient.address.extension.valueString" />
      <name value="homeAddress-institutionalGeographicCode-valueString" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element>
      <path value="Patient.address.extension" />
      <name value="homeAddress-county" />
      <label value="Address County Name" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Extension" />
        <profile value="http://registry-fhir.mayo.edu/StructureDefinition/Patient.Address.County" />
      </type>
      <mapping>
        <identity value="CDM" />
        <map value="Patient Address.Address County Name" />
      </mapping>
    </element>
    <element>
      <path value="Patient.address.extension.valueString" />
      <name value="homeAddress-county-valueString" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element>
      <path value="Patient.address.use" />
      <name value="homeAddress-use" />
      <label value="Address Type Code" />
      <definition value="Identifies the type of patient address (e.g. home, temp)" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="code" />
      </type>
      <fixedCode value="home" />
      <binding>
        <name value="HL7 Address Use" />
        <strength value="required" />
        <valueSetUri value="http://hl7.org/fhir/vs/address-use" />
      </binding>
      <mapping>
        <identity value="CDM" />
        <map value="Patient Address.Address Type Code" />
      </mapping>
    </element>
    <element>
      <path value="Patient.address.line" />
      <name value="homeAddress-line" />
      <label value="Address Line 1" />
      <definition value="First line of the patient's address" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="string" />
      </type>
      <mapping>
        <identity value="CDM" />
        <map value="Patient Address.Address Line 1" />
      </mapping>
    </element>
    <element>
      <path value="Patient.address.line2" />
      <name value="homeAddress-line2" />
      <label value="Address Line 2" />
      <definition value="Second line of the patient's address" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="string" />
      </type>
      <mapping>
        <identity value="CDM" />
        <map value="Patient Address.Address Line 2" />
      </mapping>
    </element>
    <element>
      <path value="Patient.address.city" />
      <name value="homeAddress-city" />
      <label value="Address City Name" />
      <definition value="Name of the city where the patient resides" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
      <mapping>
        <identity value="CDM" />
        <map value="Patient Address.Address City Name" />
      </mapping>
    </element>
    <element>
      <path value="Patient.address.state" />
      <name value="homeAddress-state" />
      <label value="Address State Code" />
      <definition value="Name of the State where the patient resides" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
      <mapping>
        <identity value="CDM" />
        <map value="Patient Address.Address State Code" />
      </mapping>
    </element>
    <element>
      <path value="Patient.address.postalCode" />
      <name value="homeAddress-postalCode" />
      <label value="Address Postal Code" />
      <definition value="Most complete series of numeric digits available, appended to the patient's postal address (e.g. 12345-1234, 12345)" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
      <mapping>
        <identity value="CDM" />
        <map value="Patient Address.Address Postal Code" />
      </mapping>
    </element>
    <element>
      <path value="Patient.address.country" />
      <name value="homeAddress-country" />
      <label value="Address Country Code" />
      <definition value="Name of the country where the patient resides" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
      <mapping>
        <identity value="CDM" />
        <map value="Patient Address.Address Country Code" />
      </mapping>
    </element>
    <element>
      <path value="Patient.address" />
      <name value="temporaryAddress" />
      <definition value="Secondary Home Address" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Address" />
      </type>
    </element>
    <element>
      <path value="Patient.address.extension" />
      <name value="temporaryAddress-extension" />
      <slicing>
        <discriminator value="url" />
        <ordered value="false" />
        <rules value="open" />
      </slicing>
    </element>
    <element>
      <path value="Patient.address.extension" />
      <name value="temporaryAddress-county" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Extension" />
        <profile value="http://registry-fhir.mayo.edu/StructureDefinition/Patient.Address.County" />
      </type>
    </element>
    <element>
      <path value="Patient.address.extension.valueString" />
      <name value="temporaryAddress-county-valueString" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element>
      <path value="Patient.address.use" />
      <name value="temporaryAddress-use" />
      <label value="Address Type Code" />
      <definition value="Identifies the type of patient address (e.g. home, temp)" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="code" />
      </type>
      <fixedCode value="temp" />
      <binding>
        <name value="HL7 Address Use" />
        <strength value="required" />
        <valueSetUri value="http://hl7.org/fhir/vs/address-use" />
      </binding>
      <mapping>
        <identity value="CDM" />
        <map value="Patient Address.Address Type Code" />
      </mapping>
    </element>
    <element>
      <path value="Patient.address.line" />
      <name value="temporaryAddress-line" />
      <label value="Address Line 1" />
      <definition value="First line of the patient's address" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="string" />
      </type>
      <mapping>
        <identity value="CDM" />
        <map value="Patient Address.Address Line 1" />
      </mapping>
    </element>
    <element>
      <path value="Patient.address.city" />
      <name value="temporaryAddress-city" />
      <label value="Address City Name" />
      <definition value="Name of the city where the patient resides" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
      <mapping>
        <identity value="CDM" />
        <map value="Patient Address.Address City Name" />
      </mapping>
    </element>
    <element>
      <path value="Patient.address.state" />
      <name value="temporaryAddress-state" />
      <label value="Address State Code" />
      <definition value="Name of the State where the patient resides" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
      <mapping>
        <identity value="CDM" />
        <map value="Patient Address.Address State Code" />
      </mapping>
    </element>
    <element>
      <path value="Patient.address.postalCode" />
      <name value="temporaryAddress-postalCode" />
      <label value="Address Postal Code" />
      <definition value="Most complete series of numeric digits available, appended to the patient's postal address (e.g. 12345-1234, 12345)" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
      <mapping>
        <identity value="CDM" />
        <map value="Patient Address.Address Postal Code" />
      </mapping>
    </element>
    <element>
      <path value="Patient.address.country" />
      <name value="temporaryAddress-country" />
      <label value="Address Country Code" />
      <definition value="Name of the country where the patient resides" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
      <mapping>
        <identity value="CDM" />
        <map value="Patient Address.Address Country Code" />
      </mapping>
    </element>
    <element>
      <path value="Patient.address.period" />
      <name value="temporaryAddress-period" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Period" />
      </type>
    </element>
    <element>
      <path value="Patient.address.period.start" />
      <name value="temporaryAddress-period-start" />
      <label value="Address Start Date" />
      <definition value="First date the patient resided at the given address" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="dateTime" />
      </type>
      <mapping>
        <identity value="CDM" />
        <map value="Patient Address.Address Start Date" />
      </mapping>
    </element>
    <element>
      <path value="Patient.address.period.end" />
      <name value="temporaryAddress-period-end" />
      <label value="Address End Date" />
      <definition value="Last date the patient resided at the given address" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="dateTime" />
      </type>
      <mapping>
        <identity value="CDM" />
        <map value="Patient Address.Address End Date" />
      </mapping>
    </element>
    <element>
      <path value="Patient.maritalStatus" />
      <label value="Patient Marital Status Code" />
      <definition value="Indicates the marital status of the patient (e.g. M - Married, D - Divorced)" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <mapping>
        <identity value="CDM" />
        <map value="Patient.Patient Marital Status Code" />
      </mapping>
    </element>
    <element>
      <path value="Patient.maritalStatus.coding" />
      <slicing>
        <discriminator value="system" />
        <ordered value="false" />
        <rules value="open" />
      </slicing>
    </element>
    <element>
      <path value="Patient.maritalStatus.coding" />
      <name value="maritalStatusHL7" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Coding" />
      </type>
      <binding>
        <name value="HL7 Marital Status" />
        <strength value="required" />
        <valueSetUri value="http://hl7.org/fhir/vs/marital-status" />
      </binding>
    </element>
    <element>
      <path value="Patient.maritalStatus.coding.system" />
      <name value="maritalStatusHL7-system" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="uri" />
      </type>
      <fixedUri value="http://hl7.org/fhir/v3/MaritalStatus" />
    </element>
    <element>
      <path value="Patient.maritalStatus.coding.code" />
      <name value="maritalStatusHL7-code" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="code" />
      </type>
    </element>
    <element>
      <path value="Patient.maritalStatus.coding.display" />
      <name value="maritalStatusHL7-display" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element>
      <path value="Patient.maritalStatus.coding.primary" />
      <name value="maritalStatusHL7-primary" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="boolean" />
      </type>
    </element>
    <element>
      <path value="Patient.maritalStatus.coding" />
      <name value="maritalStatusMPII" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Coding" />
      </type>
      <binding>
        <name value="REG_MPII Marital Status" />
        <strength value="required" />
        <valueSetUri value="http://terms.mayo.edu/valueset/REG_MPII_MAR_STATUS" />
      </binding>
    </element>
    <element>
      <path value="Patient.maritalStatus.coding.system" />
      <name value="maritalStatusMPII-system" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="uri" />
      </type>
      <fixedUri value="http://terms.mayo.edu/codesystem/REG_MPII_MAR_STATUS" />
    </element>
    <element>
      <path value="Patient.maritalStatus.coding.code" />
      <name value="maritalStatusMPII-code" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="code" />
      </type>
    </element>
    <element>
      <path value="Patient.maritalStatus.coding.display" />
      <name value="maritalStatusMPII-display" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element>
      <path value="Patient.maritalStatus.coding.primary" />
      <name value="maritalStatusMPII-primary" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="boolean" />
      </type>
    </element>
    <element>
      <path value="Patient.maritalStatus.coding.code" />
      <name value="maritalStatusMPII-code" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element>
      <path value="Patient.communication" />
      <min value="0" />
      <max value="*" />
    </element>
    <element>
      <path value="Patient.communication.language" />
      <name value="" />
      <label value="Patient Language Code" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <binding>
        <name value="Language" />
        <strength value="required" />
        <description value="Full language domain" />
        <valueSetUri value="http://terms.mayo.edu/valueset/REG_MPII_LANGUAGE" />
      </binding>
      <mapping>
        <identity value="CDM" />
        <map value="Patient Language Code" />
      </mapping>
    </element>
    <element>
      <path value="Patient.communication.language.coding" />
      <name value="communication-language" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Coding" />
      </type>
    </element>
    <element>
      <path value="Patient.communication.language.coding.system" />
      <name value="communication-language-system" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="uri" />
      </type>
      <fixedUri value="http://terms.mayo.edu/codesystem/REG_MPII_LANGUAGE" />
    </element>
    <element>
      <path value="Patient.communication.language.coding.code" />
      <name value="communication-language-code" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="code" />
      </type>
    </element>
    <element>
      <path value="Patient.communication.language.coding.display" />
      <name value="communication-language-display" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element>
      <path value="Patient.communication.language.coding.primary" />
      <name value="communication-language-primary" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="boolean" />
      </type>
    </element>
  </snapshot>
  <differential>
    <element>
      <path value="Patient" />
      <label value="Patient" />
      <definition value="Patient represents the role of an individual who has established a medical relationship with a practitioner or system and has received a clinic number or temporary clinic number" />
      <min value="0" />
      <max value="*" />
    </element>
    <element>
      <path value="Patient.extension" />
      <slicing>
        <discriminator value="url" />
        <ordered value="false" />
        <rules value="open" />
      </slicing>
    </element>
    <element>
      <path value="Patient.extension" />
      <name value="precaution" />
      <label value="Patient Contact Precautions Code" />
      <definition value="Identifies whether caution needs to be exercised when treating this patient (e.g. (empty) - no precaution is required, M - MRSA, V - VRE)" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://registry-fhir.mayo.edu/StructureDefinition/Patient.Precaution" />
      </type>
    </element>
    <element>
      <path value="Patient.extension" />
      <name value="confidential" />
      <label value="Patient Confidential Identifier" />
      <definition value="Identifies the four levels of confidentiality of the patient's information (Values: Level 1 (empty), 33 - Level 2, 66 - Level 3, 99 -Level 4)" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://registry-fhir.mayo.edu/StructureDefinition/Patient.Confidential" />
      </type>
    </element>
    <element>
      <path value="Patient.extension" />
      <name value="fromFederalMedicalCenter" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://registry-fhir.mayo.edu/StructureDefinition/Patient.FromFederalMedicalCenter" />
      </type>
    </element>
    <element>
      <path value="Patient.extension" />
      <name value="vip" />
      <label value="Patient VIP Flag" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://registry-fhir.mayo.edu/StructureDefinition/Patient.VIP" />
      </type>
    </element>
    <element>
      <path value="Patient.extension" />
      <name value="doNotCall" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://registry-fhir.mayo.edu/StructureDefinition/Patient.DoNotCall" />
      </type>
    </element>
    <element>
      <path value="Patient.extension" />
      <name value="legalCase" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://registry-fhir.mayo.edu/StructureDefinition/Patient.LegalCase" />
      </type>
    </element>
    <element>
      <path value="Patient.extension" />
      <name value="religion" />
      <label value="Patient Religion Code" />
      <definition value="Set of beliefs and practices generally held by a group of people that relate humanity to the sacred and/or divine and to spirituality and/or morality (e.g. BAP - Baptist, CAT - Catholic)" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://registry-fhir.mayo.edu/StructureDefinition/Patient.Religion" />
      </type>
    </element>
    <element>
      <path value="Patient.extension" />
      <name value="mayoResearchAuthorization" />
      <label value="Research Authorization" />
      <definition value="Patient consents to specific type of research" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://registry-fhir.mayo.edu/StructureDefinition/Patient.ResearchAuthorization" />
      </type>
    </element>
    <element>
      <path value="Patient.extension.extension.valueCode" />
      <name value="mayoResearchAuthorization-type-valueCode" />
      <fixedCode value="Rochester Only" />
    </element>
    <element>
      <path value="Patient.extension" />
      <name value="minnesotaResearchAuthorization" />
      <label value="Research Auth - Minnesota" />
      <definition value="Patient consents to specific type of research" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://registry-fhir.mayo.edu/StructureDefinition/Patient.ResearchAuthorization" />
      </type>
    </element>
    <element>
      <path value="Patient.extension.extension.valueCode" />
      <name value="minnesotaResearchAuthorization-type-valueCode" />
      <fixedCode value="Minnesota" />
    </element>
    <element>
      <path value="Patient.extension" />
      <name value="grandfatheredResearchAuthorization" />
      <label value="Research Authorization" />
      <definition value="Patient consents to specific type of research" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://registry-fhir.mayo.edu/StructureDefinition/Patient.ResearchAuthorization" />
      </type>
    </element>
    <element>
      <path value="Patient.extension.extension.valueCode" />
      <name value="grandfatheredResearchAuthorization-type-valueCode" />
      <fixedCode value="Grandfathered" />
    </element>
    <element>
      <path value="Patient.extension" />
      <name value="nonMinnesotaResearchAuthorization" />
      <label value="Research Auth - Non-Minnesota MCHS" />
      <definition value="Patient consents to specific type of research" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://registry-fhir.mayo.edu/StructureDefinition/Patient.ResearchAuthorization" />
      </type>
    </element>
    <element>
      <path value="Patient.extension.extension.valueCode" />
      <name value="nonMinnesotaResearchAuthorization-type-valueCode" />
      <fixedCode value="NonMinnesotaMCHS" />
    </element>
    <element>
      <path value="Patient.extension" />
      <name value="arizonaAuthorization" />
      <label value="Research Auth - Arizona" />
      <definition value="Patient consents to specific type of research" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://registry-fhir.mayo.edu/StructureDefinition/Patient.ResearchAuthorization" />
      </type>
    </element>
    <element>
      <path value="Patient.extension.extension.valueCode" />
      <name value="arizonaAuthorization-type-valueCode" />
      <fixedCode value="Arizona" />
    </element>
    <element>
      <path value="Patient.extension" />
      <name value="floridaResearchAuthorization" />
      <label value="Research Auth - Florida" />
      <definition value="Patient consents to specific type of research" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://registry-fhir.mayo.edu/StructureDefinition/Patient.ResearchAuthorization" />
      </type>
    </element>
    <element>
      <path value="Patient.extension.extension.valueCode" />
      <name value="floridaResearchAuthorization-type-valueCode" />
      <fixedCode value="Florida" />
    </element>
    <element>
      <path value="Patient.extension" />
      <name value="informationAuthorizationReleaseDate" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://registry-fhir.mayo.edu/StructureDefinition/Patient.InformationAuthorizationReleaseDate" />
      </type>
    </element>
    <element>
      <path value="Patient.extension" />
      <name value="race" />
      <label value="Patient Race Code" />
      <definition value="Arbitrary classification based on physical characteristics; a group of persons related by common decent or heredity (e.g. C - White, P - Asian)" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://registry-fhir.mayo.edu/StructureDefinition/Patient.Race" />
      </type>
    </element>
    <element>
      <path value="Patient.extension" />
      <name value="ethnicity" />
      <label value="Patient Ethnicity Code" />
      <definition value="Ethnicity is an arbitrary classification based on cultural, religious or linguistic traditions; ethnic traits, background, allegiance or association (e.g. H - Hispanic, HM - Mexican)" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://registry-fhir.mayo.edu/StructureDefinition/Patient.Ethnicity" />
      </type>
    </element>
    <element>
      <path value="Patient.identifier" />
      <slicing>
        <discriminator value="system" />
        <discriminator value="use" />
        <ordered value="false" />
        <rules value="open" />
      </slicing>
    </element>
    <element>
      <path value="Patient.identifier" />
      <name value="mpii" />
      <label value="Patient MPII Number" />
      <definition value="MPII (Master Patient Identification Index) is a unique identifier assigned to a patient" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Identifier" />
      </type>
    </element>
    <element>
      <path value="Patient.identifier.use" />
      <name value="mpii-use" />
      <min value="1" />
      <max value="1" />
      <fixedCode value="official" />
    </element>
    <element>
      <path value="Patient.identifier.system" />
      <name value="mpii-system" />
      <min value="1" />
      <max value="1" />
      <fixedUri value="http://terms.mayo.edu/systemid/mpii/mpii_id" />
    </element>
    <element>
      <path value="Patient.identifier.value" />
      <name value="mpii-value" />
      <min value="1" />
      <max value="1" />
    </element>
    <element>
      <path value="Patient.identifier" />
      <name value="mrn" />
      <label value="Patient Mayo Clinic Number" />
      <definition value="ID used to represent a patient in the medical record (Format - X0-000-000)" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Identifier" />
      </type>
    </element>
    <element>
      <path value="Patient.identifier.extension" />
      <name value="mrn-extension" />
      <slicing>
        <discriminator value="url" />
        <ordered value="false" />
        <rules value="open" />
      </slicing>
    </element>
    <element>
      <path value="Patient.identifier.extension" />
      <name value="mrn-issuingSite" />
      <label value="Patient Mayo Clinic Number Issuing Site Abbreviation" />
      <definition value="Mayo Clinic site that issued the patient Mayo Clinic number (e.g. MCA, MCF, MCR and MCHS)" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://registry-fhir.mayo.edu/StructureDefinition/Patient.Identifier.IssuingSite" />
      </type>
    </element>
    <element>
      <path value="Patient.identifier.use" />
      <name value="mrn-use" />
      <min value="1" />
      <max value="1" />
      <fixedCode value="usual" />
    </element>
    <element>
      <path value="Patient.identifier.system" />
      <name value="mrn-system" />
      <min value="1" />
      <max value="1" />
      <fixedUri value="http://terms.mayo.edu/systemid/registration/mrn" />
    </element>
    <element>
      <path value="Patient.identifier.value" />
      <name value="mrn-value" />
      <min value="1" />
      <max value="1" />
    </element>
    <element>
      <path value="Patient.name" />
      <slicing>
        <discriminator value="use" />
        <ordered value="false" />
        <rules value="open" />
      </slicing>
    </element>
    <element>
      <path value="Patient.name" />
      <name value="maidenName" />
      <label value="Patient Maiden Name" />
      <definition value="Original last name of the patient as listed on their birth certificate" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="HumanName" />
      </type>
    </element>
    <element>
      <path value="Patient.name.use" />
      <name value="maidenName-use" />
      <min value="1" />
      <max value="1" />
      <fixedCode value="maiden" />
    </element>
    <element>
      <path value="Patient.name.family" />
      <name value="maidenName-family" />
      <min value="1" />
      <max value="1" />
    </element>
    <element>
      <path value="Patient.name" />
      <name value="name" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="HumanName" />
      </type>
    </element>
    <element>
      <path value="Patient.name.use" />
      <name value="name-use" />
      <min value="1" />
      <max value="1" />
      <fixedCode value="official" />
    </element>
    <element>
      <path value="Patient.telecom" />
      <slicing>
        <discriminator value="use" />
        <discriminator value="system" />
        <ordered value="false" />
        <rules value="open" />
      </slicing>
    </element>
    <element>
      <path value="Patient.telecom" />
      <name value="primaryPhone" />
      <label value="Patient Primary Phone Number" />
      <definition value="Patient phone number listed as primary." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="ContactPoint" />
      </type>
    </element>
    <element>
      <path value="Patient.telecom.system" />
      <name value="primaryPhone-system" />
      <min value="1" />
      <max value="1" />
      <fixedCode value="phone" />
    </element>
    <element>
      <path value="Patient.telecom.value" />
      <name value="primaryPhone-value" />
      <min value="1" />
      <max value="1" />
    </element>
    <element>
      <path value="Patient.telecom.use" />
      <name value="primaryPhone-use" />
      <min value="1" />
      <max value="1" />
      <fixedCode value="home" />
    </element>
    <element>
      <path value="Patient.telecom" />
      <name value="secondaryPhone" />
      <label value="Patient Secondary Phone Number" />
      <definition value="Patient phone number listed as secondary." />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="ContactPoint" />
      </type>
    </element>
    <element>
      <path value="Patient.telecom.system" />
      <name value="secondaryPhone-system" />
      <min value="1" />
      <max value="1" />
      <fixedCode value="phone" />
    </element>
    <element>
      <path value="Patient.telecom.value" />
      <name value="secondaryPhone-value" />
      <min value="1" />
      <max value="1" />
    </element>
    <element>
      <path value="Patient.telecom.use" />
      <name value="secondaryPhone-use" />
      <min value="1" />
      <max value="1" />
      <fixedCode value="temp" />
    </element>
    <element>
      <path value="Patient.telecom" />
      <name value="cellPhone" />
      <label value="Patient Mobile Phone Number" />
      <definition value="Cell phone number of the patient" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="ContactPoint" />
      </type>
    </element>
    <element>
      <path value="Patient.telecom.system" />
      <name value="cellPhone-system" />
      <min value="1" />
      <max value="1" />
      <fixedCode value="phone" />
    </element>
    <element>
      <path value="Patient.telecom.value" />
      <name value="cellPhone-value" />
      <min value="1" />
      <max value="1" />
    </element>
    <element>
      <path value="Patient.telecom.use" />
      <name value="cellPhone-use" />
      <min value="1" />
      <max value="1" />
      <fixedCode value="mobile" />
    </element>
    <element>
      <path value="Patient.gender" />
      <label value="Patient Gender Code" />
      <definition value="Gender of the patient (e.g. M - Male, F - Female)" />
      <binding>
        <name value="HL7 Administrative Gender" />
        <strength value="required" />
        <valueSetUri value="http://hl7.org/fhir/vs/administrative-gender" />
      </binding>
    </element>
    <element>
      <path value="Patient.deceasedBoolean" />
      <label value="Patient Deceased Flag" />
      <definition value="Set to true if the patient is known to be deceased, otherwise set to false" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="boolean" />
      </type>
    </element>
    <element>
      <path value="Patient.deceasedDateTime" />
      <label value="Patient Death Date" />
      <definition value="Date on which the patient died, only present on deceased patients but may not be known for all deceased patients" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="dateTime" />
      </type>
    </element>
    <element>
      <path value="Patient.address" />
      <slicing>
        <discriminator value="use" />
        <ordered value="false" />
        <rules value="open" />
      </slicing>
    </element>
    <element>
      <path value="Patient.address" />
      <name value="homeAddress" />
      <definition value="Primary Home Address" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Address" />
      </type>
    </element>
    <element>
      <path value="Patient.address.extension" />
      <name value="homeAddress-extension" />
      <slicing>
        <discriminator value="url" />
        <ordered value="false" />
        <rules value="open" />
      </slicing>
    </element>
    <element>
      <path value="Patient.address.extension" />
      <name value="homeAddress-institutionalGeographicCode" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Extension" />
        <profile value="http://registry-fhir.mayo.edu/StructureDefinition/Patient.Address.GeographicCode" />
      </type>
    </element>
    <element>
      <path value="Patient.address.extension" />
      <name value="homeAddress-county" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Extension" />
        <profile value="http://registry-fhir.mayo.edu/StructureDefinition/Patient.Address.County" />
      </type>
    </element>
    <element>
      <path value="Patient.address.use" />
      <name value="homeAddress-use" />
      <label value="Address Type Code" />
      <definition value="Identifies the type of patient address (e.g. home, temp)" />
      <min value="1" />
      <max value="1" />
      <fixedCode value="home" />
      <binding>
        <name value="HL7 Address Use" />
        <strength value="required" />
        <valueSetUri value="http://hl7.org/fhir/vs/address-use" />
      </binding>
    </element>
    <element>
      <path value="Patient.address" />
      <name value="temporaryAddress" />
      <definition value="Secondary Home Address" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Address" />
      </type>
    </element>
    <element>
      <path value="Patient.address.extension" />
      <name value="temporaryAddress-extension" />
      <slicing>
        <discriminator value="url" />
        <ordered value="false" />
        <rules value="open" />
      </slicing>
    </element>
    <element>
      <path value="Patient.address.extension" />
      <name value="temporaryAddress-county" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Extension" />
        <profile value="http://registry-fhir.mayo.edu/StructureDefinition/Patient.Address.County" />
      </type>
    </element>
    <element>
      <path value="Patient.address.use" />
      <name value="temporaryAddress-use" />
      <label value="Address Type Code" />
      <definition value="Identifies the type of patient address (e.g. home, temp)" />
      <min value="1" />
      <max value="1" />
      <fixedCode value="temp" />
      <binding>
        <name value="HL7 Address Use" />
        <strength value="required" />
        <valueSetUri value="http://hl7.org/fhir/vs/address-use" />
      </binding>
    </element>
    <element>
      <path value="Patient.maritalStatus.coding" />
      <slicing>
        <discriminator value="system" />
        <ordered value="false" />
        <rules value="open" />
      </slicing>
    </element>
    <element>
      <path value="Patient.maritalStatus.coding" />
      <name value="maritalStatusHL7" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Coding" />
      </type>
      <binding>
        <name value="HL7 Marital Status" />
        <strength value="required" />
        <valueSetUri value="http://hl7.org/fhir/vs/marital-status" />
      </binding>
    </element>
    <element>
      <path value="Patient.maritalStatus.coding.system" />
      <name value="maritalStatusHL7-system" />
      <min value="1" />
      <max value="1" />
      <fixedUri value="http://hl7.org/fhir/v3/MaritalStatus" />
    </element>
    <element>
      <path value="Patient.maritalStatus.coding" />
      <name value="maritalStatusMPII" />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Coding" />
      </type>
      <binding>
        <name value="REG_MPII Marital Status" />
        <strength value="required" />
        <valueSetUri value="http://terms.mayo.edu/valueset/REG_MPII_MAR_STATUS" />
      </binding>
    </element>
    <element>
      <path value="Patient.maritalStatus.coding.system" />
      <name value="maritalStatusMPII-system" />
      <min value="1" />
      <max value="1" />
      <fixedUri value="http://terms.mayo.edu/codesystem/REG_MPII_MAR_STATUS" />
    </element>
    <element>
      <path value="Patient.communication.language" />
      <label value="Patient Language Code" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <binding>
        <name value="Language" />
        <strength value="required" />
        <description value="Full language domain" />
        <valueSetUri value="http://terms.mayo.edu/valueset/REG_MPII_LANGUAGE" />
      </binding>
    </element>
    <element>
      <path value="Patient.communication.language.coding.system" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="uri" />
      </type>
      <fixedUri value="http://terms.mayo.edu/codesystem/REG_MPII_LANGUAGE" />
    </element>
    <element>
      <path value="Patient.communication.language.coding.code" />
      <min value="1" />
      <max value="1" />
    </element>
  </differential>
</StructureDefinition>