<StructureDefinition xmlns="http://hl7.org/fhir">
  <meta>
    <lastUpdated value="2017-08-08T18:26:53.299-03:00" />
  </meta>
  <text>
    <status value="generated" />
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p>
These are the requirements for the Patient resource as they are appeared in the BMOHORB (Berzerkistan Ministry of Health Official Requirement Bulletin), April 25, 2016 – Edition #150
</p>
    </div>
  </text>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="pa" />
  </extension>
  <url value="http://hl7.org/fhir/StructureDefinition/BMOPatient" />
  <version value="1" />
  <name value="MyPatient" />
  <title value="BMOHORB150-Patient" />
  <status value="draft" />
  <date value="2017-07-16T09:37:27.389-03:00" />
  <description value="These are the requirements for the Patient resource as they are appeared in the BMOHORB (Berzerkistan Ministry of Health Official Requirement Bulletin), April 25, 2016 – Edition #150" />
  <purpose value="Patient Information" />
  <fhirVersion value="3.0.1" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="Patient" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Patient" />
  <derivation value="constraint" />
  <differential>
    <element>
      <path value="Patient.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="Patient.extension:PPHTaxSituation">
      <path value="Patient.extension" />
      <sliceName value="PPHTaxSituation" />
      <definition value="Req # BMHO.121.5: PPH Tax: The resource shall include the PPH TaxSituation extension which is mandatory and shall be coded using the PPH Tax Value Set" />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="PPHTaxSituation" />
      </type>
      <binding>
        <strength value="required" />
        <valueSetUri value="https://stu3.simplifier.net/open/ValueSet/48d0d643-8223-4a53-81a7-af8856e8e1f4" />
      </binding>
    </element>
    <element id="Patient.identifier">
      <path value="Patient.identifier" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="system" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <min value="1" />
      <max value="1" />
    </element>
    <element id="Patient.identifier:BNI">
      <path value="Patient.identifier" />
      <sliceName value="BNI" />
      <short value="BNI Identifier for the patient" />
      <definition value="Req # BMHO.121.4.a: BNI : The first one shall be the BNI identifier (system: www.berzerkistan.gov/bni, value equal to the BNI identifier for the patient)" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="Patient.identifier:BNI.system:BNI">
      <path value="Patient.identifier.system" />
      <sliceName value="BNI" />
      <short value="BNI Identifier" />
      <definition value="Req # BMHO.121.4.a: BNI : The first one shall be the BNI identifier (system: www.berzerkistan.gov/bni, value equal to the BNI identifier for the patient)" />
      <min value="1" />
      <fixedUri value="www.berzerkistan.gov/bni" />
    </element>
    <element id="Patient.identifier:BNI.value:BNI">
      <path value="Patient.identifier.value" />
      <sliceName value="BNI" />
      <short value="BNI Identifier for the patient" />
      <min value="1" />
    </element>
    <element id="Patient.identifier:NHIB">
      <path value="Patient.identifier" />
      <sliceName value="NHIB" />
      <short value="NHIB Identifier for the patient" />
      <definition value="Req # BMHO.121.4.b: NHIB: The second one shall be the NHIB identifier (system: www.berzerkistan.gov/nhib, value equal to the NHIB identifier for the patient)" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="Patient.identifier:NHIB.system:NHIB">
      <path value="Patient.identifier.system" />
      <sliceName value="NHIB" />
      <short value="NHIB identifier" />
      <min value="1" />
      <fixedUri value="http://www.berzerkistan.gov/nhib" />
    </element>
    <element id="Patient.identifier:NHIB.value">
      <path value="Patient.identifier.value" />
      <short value="NHIB Identifier for the patient" />
      <min value="1" />
    </element>
    <element id="Patient.name">
      <path value="Patient.name" />
      <requirements value="Req # BMHO.121.3: Name - Element name is mandatory and shall contain family and given names" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="Patient.name.family">
      <path value="Patient.name.family" />
      <min value="1" />
    </element>
    <element id="Patient.name.given">
      <path value="Patient.name.given" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="Patient.gender">
      <path value="Patient.gender" />
      <definition value="Req # BMHO.121.1: Gender - Element gender is mandatory, and should be extracted from the FHIR vocabulary for gender: Options for value are ‘male’ and ‘female’, 'other' and 'unknown'" />
      <min value="1" />
    </element>
    <element id="Patient.birthDate">
      <path value="Patient.birthDate" />
      <definition value="Req # BMHO.121.2: BirthDate - Element birthdate is mandatory, birthdate, shall be populated with the patient birthdate in the format ‘yyyy-mm-dd’." />
      <min value="1" />
    </element>
  </differential>
</StructureDefinition>