<?xml version="1.0" encoding="UTF-8"?>
<nhis:message xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:nhis="https://www.his.bg"
  xsi:schemaLocation="https://www.his.bg https://www.his.bg/api/v1/NHIS-H009.xsd">
  <nhis:header>
    <nhis:sender value="[code]"/>
    <nhis:senderId value="[string]"/>
    <nhis:senderISName value="[string]"/>
    <nhis:recipient value="[code]"/>
    <nhis:recipientId value="[string]"/>
    <nhis:messageId value="[string]"/>
    <nhis:messageType value="[string]"/>
    <nhis:createdOn value="[dateTime]"/>
  </nhis:header>
  <nhis:contents>
    <nhis:birth>
      <!--Optional:-->
      <nhis:nrnHospitalization value="[string]"/>
      <nhis:term value="[date]"/>
      <nhis:location value="[code]"/>
      <nhis:birthNumber value="[positiveInt]"/>
      <nhis:birthStart value="[dateTime]"/>
      <nhis:birthEnd value="[dateTime]"/>
      <nhis:isMultiplePregnancy value="[boolean]"/>
      <nhis:newbornNumber value="[positiveInt]"/>
      <nhis:isInVitro value="[boolean]"/>
      <!--Optional:-->
      <nhis:note value="[string]"/>
      <!--Optional:-->
      <nhis:motherUnknown value="[boolean]"/>
      <!--Optional:-->
      <nhis:mother>
        <nhis:identifierType value="[code]"/>
        <nhis:identifier value="[string]"/>
        <nhis:name>
          <nhis:given value="[string]"/>
          <nhis:family value="[string]"/>
        </nhis:name>
      </nhis:mother>
      <!--1 or more repetitions:-->
      <nhis:newborn>
        <nhis:sequenceId value="[positiveInt]"/>
        <nhis:name>
          <nhis:given value="[string]"/>
          <nhis:family value="[string]"/>
        </nhis:name>
        <nhis:birthType value="[code]"/>
        <nhis:birthDatetime value="[dateTime]"/>
        <nhis:isStillborn value="[boolean]"/>
        <nhis:gender value="[code]"/>
        <nhis:weight value="[decimal]"/>
        <nhis:size value="[decimal]"/>
        <nhis:headCircumference value="[decimal]"/>
        <nhis:chestCircumference value="[decimal]"/>
        <nhis:seatCircumference value="[decimal]"/>
        <nhis:apgarMinute1 value="[unsignedInt]"/>
        <nhis:apgarMinute5 value="[unsignedInt]"/>
        <nhis:gestationalAge value="[positiveInt]"/>
        <!--Optional:-->
        <nhis:note value="[string]"/>
        <!--1 or more repetitions:-->
        <nhis:obstetrician>
          <nhis:role value="[string]"/>
          <nhis:name>
            <nhis:given value="[string]"/>
            <nhis:family value="[string]"/>
          </nhis:name>
        </nhis:obstetrician>
      </nhis:newborn>
    </nhis:birth>
    <nhis:requester>
      <nhis:pmi value="[string]"/>
      <nhis:qualification value="[code]"/>
      <nhis:practiceNumber value="[string]"/>
      <!--Optional:-->
      <nhis:phone value="[string]"/>
      <!--Optional:-->
      <nhis:email value="[string]"/>
    </nhis:requester>
  </nhis:contents>
  <Signature/>
</nhis:message>