<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="PatientRole" />
  <url value="http://hl7.org/fhir/us/bser/StructureDefinition/PatientRole" />
  <name value="BSeR Patient" />
  <status value="draft" />
  <publisher value="Hi3 Solutions" />
  <contact>
    <name value="AbdulMalik Shakir" />
    <telecom>
      <system value="phone" />
      <value value="6266444491" />
      <use value="work" />
    </telecom>
    <telecom>
      <system value="email" />
      <value value="abdulmalik.shakir@hi3solutions.com" />
      <use value="work" />
    </telecom>
  </contact>
  <description value="" />
  <kind value="resource" />
  <abstract value="false" />
  <contextType value="resource" />
  <context value="Patient" />
  <type value="Patient" />
  <baseDefinition value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" />
  <derivation value="constraint" />
  <differential>
    <element id="Patient">
      <path value="Patient" />
    </element>
    <element id="Patient.id">
      <path value="Patient.id" />
      <short value="id" />
      <definition value="MAY contain zero or one [0..1] id (CONF:4383-796)." />
      <min value="0" />
      <max value="1" />
    </element>
    <element id="Patient.meta">
      <path value="Patient.meta" />
      <short value="meta" />
      <definition value="MAY contain zero or one [0..1] meta (CONF:4383-795)." />
      <min value="0" />
      <max value="1" />
    </element>
    <element id="Patient.meta.profile">
      <path value="Patient.meta.profile" />
      <short value="profile" />
      <definition value="The meta, if present, SHALL contain exactly one [1..1] profile=&quot;http://hl7.org/fhir/us/bser/StructureDefinition/PatientRole&quot; (CONF:4383-797)." />
      <min value="1" />
      <max value="1" />
      <patternString value="http://hl7.org/fhir/us/bser/StructureDefinition/PatientRole" />
    </element>
    <element id="Patient.identifier">
      <path value="Patient.identifier" />
      <short value="identifier" />
      <definition value="SHALL contain at least one [1..*] identifier (CONF:4383-34)." />
      <min value="1" />
      <max value="*" />
    </element>
    <element id="Patient.identifier.type">
      <path value="Patient.identifier.type" />
      <short value="type" />
      <definition value="Such identifiers SHALL contain exactly one [1..1] type, which SHALL be selected from ValueSet Identifier-type http://hl7.org/fhir/ValueSet/identifier-type DYNAMIC (CONF:4383-39)." />
      <min value="1" />
      <max value="1" />
      <binding>
        <strength value="required" />
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/identifier-type" />
          <display value="Identifier-type" />
        </valueSetReference>
      </binding>
    </element>
    <element id="Patient.identifier.system">
      <path value="Patient.identifier.system" />
      <short value="system" />
      <definition value="Such identifiers SHALL contain exactly one [1..1] system (CONF:4383-40)." />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="Patient.identifier.value">
      <path value="Patient.identifier.value" />
      <short value="value" />
      <definition value="Such identifiers SHALL contain exactly one [1..1] value (CONF:4383-41)." />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="Patient.name">
      <path value="Patient.name" />
      <short value="name" />
      <definition value="SHALL contain at least one [1..*] name (CONF:4383-54)." />
      <min value="1" />
      <max value="*" />
    </element>
    <element id="Patient.name.use">
      <path value="Patient.name.use" />
      <short value="use" />
      <definition value="Such names SHALL contain exactly one [1..1] use, which SHALL be selected from ValueSet Name-use http://hl7.org/fhir/ValueSet/name-use DYNAMIC (CONF:4383-110)." />
      <min value="1" />
      <max value="1" />
      <binding>
        <strength value="required" />
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/name-use" />
          <display value="Name-use" />
        </valueSetReference>
      </binding>
    </element>
    <element id="Patient.name.family">
      <path value="Patient.name.family" />
      <short value="family" />
      <definition value="Such names SHALL contain exactly one [1..1] family (CONF:4383-60)." />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="Patient.name.given">
      <path value="Patient.name.given" />
      <short value="given" />
      <definition value="Such names SHALL contain at least one [1..*] given (CONF:4383-61)." />
      <min value="1" />
      <max value="*" />
    </element>
    <element id="Patient.telecom">
      <path value="Patient.telecom" />
      <short value="telecom" />
      <definition value="SHOULD contain zero or more [0..*] telecom (CONF:4383-35)." />
      <min value="0" />
      <max value="*" />
    </element>
    <element id="Patient.telecom.system">
      <path value="Patient.telecom.system" />
      <short value="system" />
      <definition value="The telecom, if present, SHALL contain exactly one [1..1] system, which SHALL be selected from ValueSet Contact-point-system http://hl7.org/fhir/ValueSet/contact-point-system DYNAMIC (CONF:4383-42)." />
      <min value="1" />
      <max value="1" />
      <binding>
        <strength value="required" />
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/contact-point-system" />
          <display value="Contact-point-system" />
        </valueSetReference>
      </binding>
    </element>
    <element id="Patient.telecom.value">
      <path value="Patient.telecom.value" />
      <short value="value" />
      <definition value="The telecom, if present, SHALL contain exactly one [1..1] value (CONF:4383-43)." />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="Patient.telecom.use">
      <path value="Patient.telecom.use" />
      <short value="use" />
      <definition value="The telecom, if present, SHALL contain exactly one [1..1] use, which SHALL be selected from ValueSet Contact-point-use http://hl7.org/fhir/ValueSet/contact-point-use DYNAMIC (CONF:4383-44)." />
      <min value="1" />
      <max value="1" />
      <binding>
        <strength value="required" />
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/contact-point-use" />
          <display value="Contact-point-use" />
        </valueSetReference>
      </binding>
    </element>
    <element id="Patient.gender">
      <path value="Patient.gender" />
      <short value="gender" />
      <definition value="SHALL contain exactly one [1..1] gender, which SHALL be selected from ValueSet Administrative-gender http://hl7.org/fhir/ValueSet/administrative-gender DYNAMIC (CONF:4383-55)." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="code" />
      </type>
      <binding>
        <strength value="required" />
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/administrative-gender" />
          <display value="Administrative-gender" />
        </valueSetReference>
      </binding>
    </element>
    <element id="Patient.birthDate">
      <path value="Patient.birthDate" />
      <short value="birthDate" />
      <definition value="SHALL contain exactly one [1..1] birthDate (CONF:4383-56)." />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="Patient.address">
      <path value="Patient.address" />
      <short value="address" />
      <definition value="SHOULD contain zero or more [0..*] address (CONF:4383-36)." />
      <min value="0" />
      <max value="*" />
    </element>
    <element id="Patient.address.text">
      <path value="Patient.address.text" />
      <short value="text" />
      <definition value="The address, if present, MAY contain zero or one [0..1] text (CONF:4383-111)." />
      <min value="0" />
      <max value="1" />
    </element>
    <element id="Patient.address.line">
      <path value="Patient.address.line" />
      <short value="line" />
      <definition value="The address, if present, SHOULD contain zero or more [0..*] line (CONF:4383-45)." />
      <min value="0" />
      <max value="*" />
    </element>
    <element id="Patient.address.city">
      <path value="Patient.address.city" />
      <short value="city" />
      <definition value="The address, if present, SHOULD contain zero or one [0..1] city (CONF:4383-46)." />
      <min value="0" />
      <max value="1" />
    </element>
    <element id="Patient.address.state">
      <path value="Patient.address.state" />
      <short value="state" />
      <definition value="The address, if present, SHOULD contain zero or one [0..1] state (CONF:4383-47)." />
      <min value="0" />
      <max value="1" />
    </element>
    <element id="Patient.address.postalCode">
      <path value="Patient.address.postalCode" />
      <short value="postalCode" />
      <definition value="The address, if present, SHOULD contain zero or one [0..1] postalCode (CONF:4383-48)." />
      <min value="0" />
      <max value="1" />
    </element>
    <element id="Patient.address.country">
      <path value="Patient.address.country" />
      <short value="country" />
      <definition value="The address, if present, SHALL contain exactly one [1..1] country, which SHALL be selected from CodeSystem ISO 3166 Part 1 Country Codes, 2nd Edition, Alpha-2 (urn:oid:1.0.3166.1.2.2) DYNAMIC (CONF:4383-49)." />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="Patient.communication">
      <path value="Patient.communication" />
      <short value="communication" />
      <definition value="SHOULD contain zero or one [0..1] communication (CONF:4383-107)." />
      <min value="0" />
      <max value="1" />
    </element>
    <element id="Patient.communication.language">
      <path value="Patient.communication.language" />
      <short value="language" />
      <definition value="The communication, if present, SHALL contain exactly one [1..1] language, which SHALL be selected from ValueSet Languages http://hl7.org/fhir/ValueSet/languages DYNAMIC (CONF:4383-108)." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <binding>
        <strength value="required" />
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/languages" />
          <display value="Languages" />
        </valueSetReference>
      </binding>
    </element>
    <element id="Patient.communication.preferred">
      <path value="Patient.communication.preferred" />
      <short value="preferred" />
      <definition value="The communication, if present, SHALL contain zero or one [0..1] preferred (CONF:4383-109)." />
      <min value="0" />
      <max value="1" />
    </element>
  </differential>
</StructureDefinition>