Prescription DTD
<!DOCTYPE PRESCRIPTION [
<!--<Title>Untitled - 1--
>
<!ELEMENT PRESCRIPTION - - (FORM? & DISPENSE? & DOSAGE? & INSTRUCTIONS? &
SUBSTITUTE? & NUMBER? & REFILL? & (#PCDATA))?
--<Title>PRESCRIPTION-- >
<!ELEMENT INSTRUCTIONS - - (#PCDATA) --<Title>INSTRUCTIONS--
--This element contains instructions about the medication--
----
>
<!ELEMENT DOSAGE - - (#PCDATA) --<Title>DOSAGE--
--The element contains the dosage amount.--
>
<!ELEMENT DISPENSE - - (#PCDATA) --<Title>DISPENSE--
--This element exlpains how the medication is to be
dispensed.--
>
<!ELEMENT FORM - - (#PCDATA) --<Title>FORM--
--This is to indicate the form of the medication: tablet,
capsule, etc.--
>
<!ELEMENT SUBSTITUTE - - (#PCDATA) --<Title>SUBSTITUTE--
--This element contains possibel substitute medications, if
any.--
>
<!ELEMENT REFILL - - (#PCDATA) --<Title>REFILL--
--Refill instructions for the medication--
>
<!ELEMENT NUMBER - - (#PCDATA) --<Title>NUMBER-- --DEA number-- >
<!ATTLIST NUMBER
--<Title>Untitled - 1 - Attribute List-000--
NOTYPE (DEA , LICENSE) #IMPLIED
--<Title>NOTYPE--
>
]>
Document instance based on prescription DTD
<PRESCRIPTION>Amoxicillin<FORM>250 mg.
capsule</FORM><DISPENSE>30</DISPENSE><DOSAGE>1 cap(s)
po</DOSAGE><INSTRUCTIONS>3 times daily until
gone</INSTRUCTIONS><REFILL>0</REFILL><SUBSTITUTE>may
substitute</SUBSTITUTE><NUMBER NOTYPE="DEA">AB1234567</NUMBER></PRESCRIPTION>