Downloads Documentation Community Contribute Demo






Show Sidebar
Login | Register

Changeset 2330

Show
Ignore:
Timestamp:
09/17/07 21:02:29 (1 year ago)
Author:
bmamlin
Message:

Clinical summary module - added ability to get patient attribute as a list

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • openmrs-modules/clinicalsummary/src/org/openmrs/module/clinicalsummary/SummaryExportFunctions.java

    r1664 r2330  
    227227        } 
    228228         
     229        /** 
     230         * Returns a patient property as a list 
     231         * @param className 
     232         * @param property  
     233         * @return list of values for given property 
     234         */ 
     235        @SuppressWarnings("unchecked") 
     236        public Object[] getPatientAttrAsList(String className, String property) { 
     237                return (Object[]) super.getPatientAttr(className, property, true); 
     238        } 
     239         
    229240         
    230241        protected List<EncounterType> validEncounterTypes = new Vector<EncounterType>(); //set in constructor 
     
    396407 
    397408        /** 
    398          * Checks list <code>actualAnswers</code> for the existisant of at least one <code>possibleAnswers</code> 
     409         * Checks list <code>actualAnswers</code> for the existence of at least one <code>possibleAnswers</code> 
    399410         * @param actualAnswers 
    400411         * @param possibleAnswers