As part of my university assignment I have to create a xml data model for electronic health monitoring and record keeping, now I understand the concept of XML and the basic structures, however I am a little confused regarding the best way to structure it for example; I have one xml document (see structure below), but I would like to ask if it is a good idea to keep peripheral devices and medical records within the same document under 'health'. As this can make a single document quite large.
<health>
<pat>
<person>
<name></name>
<gender></gender>
<mobile></mobile>
<email></email>
</person>
<address>
<house></house>
<street></street>
<city></city>
<pc></pc>
</address>
</pat>
<Contact>
<name></name>
<tel></tel>
</Contact>
<doctor>
<title></title>
<firstname></firstname>
<surname></surname>
<tel></tel>
</doctor>
<drug>
<name></name>
<quantity></quantity>
<cost></cost>
<expirydate></expirydate>
<prescribedate></prescribedate>
</drug>
<peripheraldata>
<temperature></temperature>
</peripheraldata>
<records>
<warnings></warnings>
<symptoms></symptoms>
<diagnosis></diagnosis>
<date></date>
</records>
</health>
Thanks in advance