The Patient Database

A small example which is used extensively in the documentation of the schema language and the X-Query language. The DTD is rather simple, and with only a few XML documents you can create a small database in order to become familiar with the basic concepts of Tamino. All XML document instances conform to the "patient" DTD and are encoded in UTF-8, if not otherwise noted.

You will find the following example files in <TaminoDocRootDir>/examples/patient:

Doctype and schema definition files
patient.dtd Document type definition
HospitalSchema.tsd TSD3 Schema definition file
patient_kr.dtd Document type definition using Korean names for elements and attributes
Document instances
atkins.xml Document instance with English contents describing the patient named "Atkins" (encoded in ISO 8859-1)
bloggs.xml Document instance with English contents describing the patient named "Bloggs" (encoded in ISO 8859-1)
chendehua-sc.xml Document instance with contents in Simplified Chinese describing the patient 陈德华 ("Chen De Hua")
chendehua-tc.xml Document instance with contents in Traditional Chinese describing the patient 陳德華 ("Chen De Hua")
sunhui-sc.xml Document instance with contents in Simplified Chinese describing the patient 孙惠 ("Sun Hui")
sunhui-tc.xml Document instance with contents in Traditional Chinese describing the patient 孫惠 ("Sun Hui")
sato.xml Document instance with Japanese contents describing the patient 佐藤ヒロシ ("Sato")
suzuki.xml Document instance with Japanese contents describing the patient 鈴木ヨウコ ("Suzuki")
hong.xml Document instance with Korean contents describing the patient 홍길동 ("Hong")
jang.xml Document instance with Korean contents describing the patient 장길산 ("Jang")
hong_kr.xml Document instance with Korean contents describing the patient 홍길동 ("Hong"); conforms to the Korean version of the "Patient" DTD
jang_kr.xml Document instance with Korean contents describing the patient 장길산 ("Jang"); conforms to the Korean version of the "Patient" DTD
Non-XML document
fevercurve.gif Graphic file as an example for a non-XML document, describing patient named "Bloggs"

For this example, you can create a Tamino database using the TSD3 schema file or you can use the Tamino Schema Editor to create a new schema taking the DTD as basis.