<?xml version="1.0" encoding="UTF-8"?>
<MedicationStatement xmlns="http://hl7.org/fhir"
                     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                     xsi:schemaLocation="http://hl7.org/fhir http://www.hl7.org/implement/standards/fhir/DSTU1/fhir-all.xsd">
    <!-- Specs: https://hl7.org/fhir/DSTU1/medicationstatement.html -->

    <!-- 0..* -->
    <identifier>
        <system value="http://esveikata.lt/identifiers/MedicationStatement"/>
        <value value="12341234" />
    </identifier>

    <!-- 0..1 -->
    <patient>
        <reference value="Patient/1000017309"/>
    </patient>

    <!-- 1..1 -->
    <!-- Nuoroda į vaisto resursą / Reference to medication given -->
    <medication>
        <reference value="Medication/123456"/>
    </medication>

    <!-- 0..* -->
    <dosage>
        <!-- 0..1 -->
        <!-- Dozė/ Dose (Nestruktūrizuotas aprašymas) -->
        <extension url="http://esveikata.lt/Profile/ltnhr-medicationStatement#dose">
            <valueString value="22ml per dieną"/>
        </extension>

        <!-- 0..1 -->
        <!-- Dozuočių skaičius/ Number of doses -->
        <quantity>
            <value value="3"/>
        </quantity>
    </dosage>
</MedicationStatement>