<ServiceRequest xmlns="http://hl7.org/fhir">
  <id value="pieprasijums1" />
  <implicitRules value="http://hl7.org/fhir/reference" />
  <extension url="https://digives.gov.lv/fhir/StructureDefinition/PatientGroup">
    <valueCoding>
      <system value="urn:oid:1.3.6.1.4.1.38760.2.831" />
      <version value="ZV" />
      <display value="Zupas virtuves apmeklētājs" />
    </valueCoding>
  </extension>
  <extension url="https://digives.gov.lv/fhir/StructureDefinition/PatientContact">
    <valueExtendedContactDetail>
      <telecom>
        <system value="phone" />
        <value value="+37111111111" />
      </telecom>
      <telecom>
        <system value="email" />
        <value value="me@myhealth" />
      </telecom>
      <address>
        <use value="physical" />
        <line value="Gaujas iela, Liepa, Liepas pag., Cēsu nov." />
      </address>
    </valueExtendedContactDetail>
  </extension>
  <extension url="https://digives.gov.lv/fhir/StructureDefinition/Extension/RelatedPerson">
    <valueReference>
      <reference value="RelatedPerson/fhirId" />
      <type value="RelatedPerson" />
    </valueReference>
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/request-statusReason">
    <valueCodeableConcept>
      <coding>
        <system value="urn:oid:1.3.6.1.4.1.38760.2.822" />
        <code value="other" />
        <display value="Cits" />
      </coding>
      <text value="Iemesls anulēt vai atsaukt pakalpojuma pieprasījumu, ja tas nav atrodams klasifikatorā" />
    </valueCodeableConcept>
  </extension>
  <identifier>
    <type>
      <coding>
        <code value="PLAC" />
        <display value="Placer Identifier" />
      </coding>
    </type>
    <value value="PLAC-150802" />
    <assigner>
      <reference value="Organization/fhirId" />
      <type value="Organization" />
    </assigner>
  </identifier>
  <requisition>
    <type>
      <coding>
        <code value="PLAC" />
        <display value="Placer Identifier" />
      </coding>
    </type>
    <value value="01JD77D1Q9XB8FH4" />
    <assigner>
      <reference value="Organization/fhirId" />
      <type value="Organization" />
    </assigner>
  </requisition>
  <status value="active" />
  <intent value="original-order" />
  <category>
    <coding>
      <system value="urn:oid:1.3.6.1.4.1.38760.2.914" />
      <code value="1.3.6.1.4.1.38760.2.914-1" />
      <display value="Ambulators pakalpojums" />
    </coding>
  </category>
  <category>
    <coding>
      <system value="urn:oid:1.3.6.1.4.1.38760.2.917" />
      <code value="1.3.6.1.4.1.38760.2.917-3" />
      <display value="Vizuālā diagnostika" />
    </coding>
  </category>
  <category>
    <coding>
      <system value="urn:oid:1.3.6.1.4.1.38760.2.917" />
      <code value="1.3.6.1.4.1.38760.2.917-12" />
      <display value="Rentgenogrāfija (RGT)" />
    </coding>
  </category>
  <priority value="routine">
    <extension url="https://digives.gov.lv/fhir/StructureDefinition/Priority">
      <valueCodeableConcept>
        <coding>
          <system value="urn:oid:1.3.6.1.4.1.38760.2.912" />
          <code value="1.3.6.1.4.1.38760.2.912-2" />
          <display value="Zaļais koridoris" />
        </coding>
      </valueCodeableConcept>
    </extension>
  </priority>
  <code>
    <concept>
      <coding>
        <system value="urn:oid:1.3.6.1.4.1.38760.2.917" />
        <code value="1.3.6.1.4.1.38760.2.917-126" />
        <display value="Uzņēmums speciālās projekcijās" />
      </coding>
      <text value="apildus norādes saistībā ar sniedzamo pakalpojumu." />
    </concept>
  </code>
  <orderDetail>
    <parameterFocus>
      <concept>
        <coding>
          <system value="http://hl7.org/fhir/reference" />
          <version value="Fast Dog" />
          <display value="Energetic Elephant" />
        </coding>
        <text value="Fantastic Cat" />
      </concept>
      <reference>
        <reference value="Fantastic Mouse" />
        <type value="http://hl7.org/fhir/reference" />
        <identifier>
          <system value="http://www.acme.com/identifiers/patient" />
          <value value="123456" />
        </identifier>
        <display value="Fantastic Badger" />
      </reference>
    </parameterFocus>
    <parameter>
      <code>
        <coding>
          <system value="http://hl7.org/fhir/reference" />
          <version value="Fast Giraffe" />
          <display value="Crazy Cat" />
        </coding>
        <text value="Fantastic Dog" />
      </code>
      <valueQuantity>
        <unit value="Energetic Elephant" />
        <system value="http://hl7.org/fhir/reference" />
      </valueQuantity>
    </parameter>
  </orderDetail>
  <subject>
    <reference value="Hilarious Cat" />
    <type value="Patient" />
    <identifier>
      <type>
        <coding>
          <system value="http://hl7.org/fhir/reference" />
          <version value="Fantastic Dog" />
          <display value="Slow Cat" />
        </coding>
        <text value="Crazy Mouse" />
      </type>
      <system value="http://www.acme.com/identifiers/patient" />
      <value value="123456" />
      <period>
        <start value="1997-03-10" />
        <end value="2016-03-11" />
      </period>
    </identifier>
    <display value="Fantastic Giraffe" />
  </subject>
  <focus>
    <reference value="Fast Mouse" />
    <type value="http://hl7.org/fhir/reference" />
    <identifier>
      <type>
        <coding>
          <system value="http://hl7.org/fhir/reference" />
          <version value="Hilarious Elephant" />
          <display value="Fast Dog" />
        </coding>
        <text value="Fantastic Giraffe" />
      </type>
      <system value="http://www.acme.com/identifiers/patient" />
      <value value="123456" />
      <period>
        <start value="1972-04-10" />
        <end value="1980-02-05" />
      </period>
    </identifier>
    <display value="Crazy Dog" />
  </focus>
  <occurrencePeriod>
    <start value="1951-10-31" />
    <end value="1959-11-07" />
  </occurrencePeriod>
  <authoredOn value="1966-01-10" />
  <requester>
    <reference value="Energetic Mouse" />
    <type value="PractitionerRole" />
    <identifier>
      <type>
        <coding>
          <system value="http://hl7.org/fhir/reference" />
          <version value="Energetic Elephant" />
          <display value="Slow Elephant" />
        </coding>
        <text value="Hilarious Giraffe" />
      </type>
      <system value="http://www.acme.com/identifiers/patient" />
      <value value="123456" />
      <period>
        <start value="1965-10-28" />
        <end value="1960-03-21" />
      </period>
    </identifier>
    <display value="Fast Cat" />
  </requester>
  <performer>
    <reference value="Fast Giraffe" />
    <type value="http://hl7.org/fhir/reference" />
    <identifier>
      <type>
        <coding>
          <system value="http://hl7.org/fhir/reference" />
          <version value="Crazy Cat" />
          <display value="Fast Badger" />
        </coding>
        <text value="Energetic Mouse" />
      </type>
      <system value="http://www.acme.com/identifiers/patient" />
      <value value="123456" />
      <period>
        <start value="2012-03-02" />
        <end value="1956-03-31" />
      </period>
    </identifier>
    <display value="Crazy Cat" />
  </performer>
  <performer>
    <reference value="Fast Dog" />
    <type value="Organization" />
    <identifier>
      <type>
        <coding>
          <system value="http://hl7.org/fhir/reference" />
          <version value="Hilarious Zebra" />
          <display value="Energetic Zebra" />
        </coding>
        <text value="Hilarious Giraffe" />
      </type>
      <system value="http://www.acme.com/identifiers/patient" />
      <value value="123456" />
      <period>
        <start value="1971-04-25" />
        <end value="1965-06-13" />
      </period>
    </identifier>
    <display value="Crazy Mouse" />
  </performer>
  <location>
    <concept>
      <coding>
        <system value="http://hl7.org/fhir/reference" />
        <version value="Crazy Giraffe" />
        <display value="Hilarious Zebra" />
      </coding>
      <text value="Energetic Dog" />
    </concept>
    <reference>
      <reference value="Fantastic Dog" />
      <type value="http://hl7.org/fhir/reference" />
      <identifier>
        <type>
          <text value="Hilarious Zebra" />
        </type>
        <system value="http://www.acme.com/identifiers/patient" />
        <value value="123456" />
        <period>
          <start value="1960-06-04" />
          <end value="1985-03-04" />
        </period>
      </identifier>
      <display value="Inventive Zebra" />
    </reference>
  </location>
  <location>
    <concept>
      <coding>
        <system value="http://hl7.org/fhir/reference" />
        <version value="Crazy Mouse" />
        <display value="Crazy Giraffe" />
      </coding>
      <coding>
        <system value="urn:oid:1.3.6.1.4.1.38760.2.915" />
        <version value="Inventive Giraffe" />
        <display value="Crazy Giraffe" />
      </coding>
      <text value="Hilarious Cat" />
    </concept>
    <reference>
      <reference value="Slow Elephant" />
      <type value="http://hl7.org/fhir/reference" />
      <identifier>
        <type>
          <text value="Inventive Mouse" />
        </type>
        <system value="http://www.acme.com/identifiers/patient" />
        <value value="123456" />
        <period>
          <start value="2001-04-18" />
          <end value="1979-03-16" />
        </period>
      </identifier>
      <display value="Energetic Badger" />
    </reference>
  </location>
  <reason>
    <concept>
      <coding>
        <system value="http://hl7.org/fhir/reference" />
        <version value="Fast Dog" />
        <display value="Inventive Zebra" />
      </coding>
      <text value="Fantastic Dog" />
    </concept>
    <reference>
      <reference value="Slow Elephant" />
      <type value="http://hl7.org/fhir/reference" />
      <identifier>
        <type>
          <text value="Fantastic Elephant" />
        </type>
        <system value="http://www.acme.com/identifiers/patient" />
        <value value="123456" />
        <period>
          <start value="1955-01-23" />
          <end value="1995-06-17" />
        </period>
      </identifier>
      <display value="Inventive Elephant" />
    </reference>
  </reason>
  <reason>
    <concept>
      <coding>
        <system value="http://hl7.org/fhir/reference" />
        <version value="Inventive Dog" />
        <display value="Crazy Zebra" />
      </coding>
      <text value="Inventive Cat" />
    </concept>
    <reference>
      <reference value="Slow Cat" />
      <type value="http://hl7.org/fhir/reference" />
      <identifier>
        <type>
          <text value="Energetic Elephant" />
        </type>
        <system value="http://www.acme.com/identifiers/patient" />
        <value value="123456" />
        <period>
          <start value="1990-11-24" />
          <end value="1980-10-22" />
        </period>
      </identifier>
      <display value="Inventive Giraffe" />
    </reference>
  </reason>
  <insurance>
    <reference value="Energetic Giraffe" />
    <type value="http://hl7.org/fhir/reference" />
    <identifier>
      <type>
        <coding>
          <system value="http://hl7.org/fhir/reference" />
          <version value="Hilarious Elephant" />
          <display value="Hilarious Badger" />
        </coding>
        <text value="Inventive Elephant" />
      </type>
      <system value="http://www.acme.com/identifiers/patient" />
      <value value="123456" />
      <period>
        <start value="2006-07-08" />
        <end value="1961-09-11" />
      </period>
    </identifier>
    <display value="Hilarious Elephant" />
  </insurance>
  <insurance>
    <reference value="Slow Cat" />
    <type value="Coverage" />
    <identifier>
      <type>
        <coding>
          <system value="http://hl7.org/fhir/reference" />
          <version value="Crazy Cat" />
          <display value="Fast Zebra" />
        </coding>
        <text value="Inventive Badger" />
      </type>
      <system value="http://www.acme.com/identifiers/patient" />
      <value value="123456" />
      <period>
        <start value="1968-12-13" />
        <end value="1993-01-26" />
      </period>
    </identifier>
    <display value="Hilarious Cat" />
  </insurance>
  <supportingInfo>
    <concept>
      <coding>
        <system value="http://hl7.org/fhir/reference" />
        <version value="Energetic Dog" />
        <display value="Inventive Mouse" />
      </coding>
      <text value="Fantastic Mouse" />
    </concept>
    <reference>
      <reference value="Fantastic Mouse" />
      <type value="http://hl7.org/fhir/reference" />
      <identifier>
        <type>
          <text value="Inventive Elephant" />
        </type>
        <system value="http://www.acme.com/identifiers/patient" />
        <value value="123456" />
        <period>
          <start value="1998-09-06" />
          <end value="1967-02-06" />
        </period>
      </identifier>
      <display value="Fast Zebra" />
    </reference>
  </supportingInfo>
  <bodySite>
    <coding>
      <system value="http://hl7.org/fhir/reference" />
      <version value="Slow Cat" />
      <display value="Energetic Mouse" />
    </coding>
    <text value="Crazy Giraffe" />
  </bodySite>
  <bodySite>
    <extension url="https://digives.gov.lv/fhir/StructureDefinition/Extension/Laterality">
      <valueCoding>
        <system value="urn:oid:1.3.6.1.4.1.38760.2.651" />
        <version value="Slow Giraffe" />
        <display value="Fantastic Cat" />
      </valueCoding>
    </extension>
    <coding>
      <system value="http://hl7.org/fhir/reference" />
      <version value="Energetic Mouse" />
      <display value="Slow Dog" />
    </coding>
    <coding>
      <system value="urn:oid:1.3.6.1.4.1.38760.2.918" />
      <version value="Hilarious Cat" />
      <display value="Slow Elephant" />
    </coding>
    <text value="Energetic Dog" />
  </bodySite>
  <bodyStructure>
    <reference value="Slow Cat" />
    <type value="http://hl7.org/fhir/reference" />
    <identifier>
      <type>
        <coding>
          <system value="http://hl7.org/fhir/reference" />
          <version value="Energetic Mouse" />
          <display value="Inventive Dog" />
        </coding>
        <text value="Fantastic Zebra" />
      </type>
      <system value="http://www.acme.com/identifiers/patient" />
      <value value="123456" />
      <period>
        <start value="1984-09-07" />
        <end value="1951-01-09" />
      </period>
    </identifier>
    <display value="Inventive Dog" />
  </bodyStructure>
  <note>
    <authorReference>
      <reference value="Crazy Elephant" />
      <type value="http://hl7.org/fhir/reference" />
      <identifier>
        <type>
          <text value="Energetic Mouse" />
        </type>
        <system value="http://www.acme.com/identifiers/patient" />
        <value value="123456" />
        <period>
          <start value="1960-10-05" />
          <end value="1983-10-30" />
        </period>
      </identifier>
      <display value="Hilarious Giraffe" />
    </authorReference>
    <time value="1996-06-14" />
  </note>
</ServiceRequest>