<?xml version="1.0" encoding="UTF-8"?>
<Procedure xmlns="http://hl7.org/fhir" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xsi:schemaLocation="http://www.w3.org/2005/Atom
           http://www.hl7.org/implement/standards/fhir/procedure.xsd">
    <!-- 1..1 -->
    <!-- 4.1 Procedūros būsena -->
    <!-- Classifier: procedure-status -->
    <extension url="http://esveikata.lt/Profile/ltnhr-procedure#status">
        <valueCodeableConcept>
            <coding>
                <system value="http://esveikata.lt/classifiers/Procedure/Status"/>
                <code value="1"/>
                <display value="Suplanuota"/>
            </coding>
        </valueCodeableConcept>
    </extension>

    <!-- 1..1 -->
    <!-- 4.2 Procedūrų grupė -->
    <!-- Classifier: nursing-procedure-group -->
    <extension url="http://esveikata.lt/Profile/ltnhr-procedure#group">
        <valueCodeableConcept>
            <coding>
                <system value="http://esveikata.lt/classifiers/Procedure/Group"/>
                <code value="1"/>
                <display value="Asmens higienos paslaugos"/>
            </coding>
        </valueCodeableConcept>
    </extension>

    <!-- 1..1 -->
    <!-- 4.7 Skubus -->
    <extension url="http://esveikata.lt/Profile/ltnhr-procedure#urgent">
        <valueBoolean value="false"/>
    </extension>

    <!-- 1..1 -->
    <!-- 4.10 Periodiškumas -->
    <!-- Classifier: repeat-period -->
    <extension url="http://esveikata.lt/Profile/ltnhr-procedure#repeatPeriod">
        <valueCodeableConcept>
            <coding>
                <system value="http://esveikata.lt/classifiers/RepeatPeriod"/>
                <code value="4"/>
                <display value="Per savaitę"/>
            </coding>
        </valueCodeableConcept>
    </extension>

    <!-- 0..1 -->
    <!-- 4.9 Dažnumas -->
    <extension url="http://esveikata.lt/Profile/ltnhr-procedure#frequency">
        <valueInteger value="2"/>
    </extension>

    <!-- 0..* -->
    <!-- Priemonės / Medikamentai -->
    <extension url="http://esveikata.lt/Profile/ltnhr-procedure#relatedMedication">
        <valueResource>
            <reference value="Medication/1"/>
        </valueResource>
    </extension>

    <extension url="http://esveikata.lt/Profile/ltnhr-procedure#relatedMedication">
        <valueResource>
            <reference value="Medication/2"/>
        </valueResource>
    </extension>

    <!-- 1..1 -->
    <!-- Pacientas, su kuriuo susijusi procedūra / Patient who the procedure record is associated with -->
    <subject>
        <reference value="Patient/32856257683256"/>
    </subject>

    <!-- 1..1 -->
    <!-- 4.3 Procedūra -->
    <type>
        <!-- 1..1 -->
        <!--4.3 Procedūra -->
        <!-- Classifiers:
            personal-hygiene-procedure
            drain-care-procedure
            enteral-nutrition-procedure
            functional-observation-procedure
            treatment-procedure
            mucus-suction-procedure
            other-nursing-care-procedure
            medical-service-organization-procedure
            training-informational-procedure
            condition-monitoring-procedure
            mobility-aid-procedure
            nutrition-aid-procedure
            nurse-assistance-procedure
            defecation-aid-procedure
            bedsore-prevention-procedure
            psychologist-service-procedure
            stoma-care-procedure
            bladder-catheterization-procedure
            medication-administering-procedure
            wound-care-procedure
            intestinal-enemas-cleansing-procedure-->
        <coding>
            <system value="http://esveikata.lt/classifiers/Procedure/PersonalHygieneService"/>
            <code value="1"/>
            <display value="akių higieninė priežiūra"/>
        </coding>
    </type>

    <!-- 0..* -->
    <!-- 4.4 Procedūros vieta -->
    <!-- Classifier: procedure-body-site -->
    <bodySite>
        <coding>
            <system value="http://esveikata.lt/classifiers/Procedure/BodySite"/>
            <code value="1"/>
            <display value="D. galvos pusės"/>
        </coding>
    </bodySite>

    <bodySite>
        <coding>
            <system value="http://esveikata.lt/classifiers/Procedure/BodySite"/>
            <code value="2"/>
            <display value="K. galvos pusės"/>
        </coding>
    </bodySite>

    <!-- 0..1 -->
    <!-- 4.5 Procedūrą atlikti nuo/iki -->
    <date>
        <!-- 0..1 -->
        <!-- 4.5 Procedūrą atlikti nuo -->
        <start value="2014-02-01T09:12:40.031+02:00"/>
        <!-- 0..1 -->
        <!-- 4.6 Procedūrą atlikti iki -->
        <end value="2014-02-20T09:12:40.031+02:00"/>
    </date>

    <!-- 0..1 -->
    <!-- Nuoroda į paskyros procedūrą kurios įtrauktos į vizitą -->
    <relatedItem>
        <type value="because-of" />

        <target>
            <reference value="Procedure/123123123" />
        </target>
    </relatedItem>

    <!-- 0..1 -->
    <!-- 4.11 Rekomendacijos ir pastabos -->
    <notes value="Atlikta intraskilvelinė neuroendoskopija"/>
</Procedure>
