added archetype field to ClinicalRecord class