<?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-R005.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:referral>
      <nhis:nrnReferral value="[string]"/>
      <nhis:executeDate value="[date]"/>
      <nhis:isCorrection value="[boolean]"/>
      <!--Conditional:-->
      <nhis:correctionReason value="[string]"/>
    </nhis:referral>
    <!--1 to 6 repetitions:-->
    <nhis:procedure>
      <nhis:code value="[code]"/>
      <nhis:performedDateTime value="[dateTime]"/>
      <nhis:cannotPerform value="[boolean]"/>
      <!--Conditional:-->
      <nhis:cannotPerformReason value="[string]"/>
      <!--Conditional:-->
      <!--Zero or more repetitions:-->
      <nhis:device value="[code]"/>
      <!--Conditional:-->
      <!--Zero or more repetitions:-->
      <nhis:observation>
        <nhis:code value="[code]"/>
        <nhis:valueScale value="[code]"/>
        <!--Conditional:-->
        <nhis:valueNomenclature value="[code]"/>
        <!--You have a CHOICE of the next 3 items at this level:-->
        <nhis:valueQuantity value="[decimal]"/>
        <nhis:valueCode value="[code]"/>
        <nhis:valueString value="[string]"/>
        <!--Conditional:-->
        <nhis:valueUnit value="[string]"/>
        <!--Optional:-->
        <nhis:valueDateTime value="[dateTime]"/>
        <!--Optional:-->
        <nhis:referenceRange>
          <!--Optional:-->
          <nhis:low value="[decimal]"/>
          <!--Optional:-->
          <nhis:high value="[decimal]"/>
          <!--Optional:-->
          <nhis:text value="[string]"/>
        </nhis:referenceRange>
        <!--Optional:-->
        <nhis:method value="[code]"/>
        <nhis:category value="[code]"/>
      </nhis:observation>
    </nhis:procedure>
    <nhis:subject>
      <nhis:identifierType value="[code]"/>
      <nhis:identifier value="[string]"/>
      <!--Optional:-->
      <nhis:phone value="[string]"/>
      <!--Optional:-->
      <nhis:email value="[string]"/>
    </nhis:subject>
    <nhis:requester>
      <nhis:pmi value="[string]"/>
    </nhis:requester>
    <nhis:performer>
      <!--1 to 6 repetitions:-->
      <nhis:practitioner>
        <nhis:pmi value="[string]"/>
        <nhis:qualification value="[code]"/>
      </nhis:practitioner>
      <nhis:practiceNumber value="[string]"/>
      <!--Optional:-->
      <nhis:nhifNumber value="[string]"/>
      <!--Optional:-->
      <nhis:phone value="[string]"/>
      <!--Optional:-->
      <nhis:email value="[string]"/>
    </nhis:performer>
  </nhis:contents>
  <Signature/>
</nhis:message>
