<template>
    <v-card class="pa-1" height="100%">
        <v-layout column>

            <v-flex xs12 class="pa-2">
                <v-layout>
                    <v-flex xs5 mr-1>
                        <v-text-field
                            label="Dokter Pengirim"
                            placeholder=""
                            :value="d_name"
                            readonly
                        ></v-text-field>
                    </v-flex>

                    <v-flex xs7 ml-1>
                        <v-text-field
                            label="Alamat"
                            placeholder=""
                            :value="d_address"
                            readonly
                        ></v-text-field>
                    </v-flex>

                </v-layout>

                <v-layout>
                    <v-flex xs12 mr-1>
                        <v-text-field
                            label="Dokter Penanggung Jawab"
                            placeholder=""
                            :value="d_name"
                            readonly
                        ></v-text-field>
                    </v-flex>

                </v-layout>

                <v-layout>
                    <v-flex xs5>
                        <v-text-field
                            label="Bahasa"
                            placeholder=""
                            :value="lang"
                            readonly
                        ></v-text-field>
                    </v-flex>

                    <v-spacer></v-spacer>
                    <v-flex xs2>
                        <!-- <v-btn
                            color="blue"
                            dark
                            block
                        >
                            Pengiriman
                        </v-btn> -->
                    </v-flex>

                </v-layout>

                <v-layout>
                    <v-flex xs12 mr-1>
                        <v-textarea
                            label="Diagnosa"
                            rows="3"
                            :value="diagnose"
                        ></v-textarea>
                    </v-flex>

                </v-layout>
                
            </v-flex>

            <v-flex xs12>
                <patient-delivery></patient-delivery>
            </v-flex>
        </v-layout>
    </v-card>
</template>
<script>
module.exports = {
    components: {
        'patient-history': httpVueLoader('./patientHistory.vue'),
        'patient-detail': httpVueLoader('./patientDetail.vue'),
        'patient-notes': httpVueLoader('./patientNotes.vue'),
        'patient-delivery' : httpVueLoader('./patientDelivery.vue')
    },
    
    data() {
        return {
            d_name : 'dr. Amanullah SPBd.',
            d_address : 'Jl. Sultan Trenggono 56 Semarang',
            lang : 'Bahasa Indonesia',
            diagnose : 'Penyakit turunan'
        }
    }
}
</script>