Downloads Documentation Community Contribute Demo






Show Sidebar
Login | Register
Show
Ignore:
Timestamp:
05/13/08 13:12:05 (6 months ago)
Author:
bwolfe
Message:

Fixing display value of PersonAttribute on patient dashboard - #742

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • openmrs/trunk/src/api/org/openmrs/Concept.java

    r4158 r4189  
    553553 
    554554         
     555        /** 
     556         * @see org.openmrs.Attributable#findPossibleValues(java.lang.String) 
     557         */ 
    555558        public List<Concept> findPossibleValues(String searchText) { 
    556559                List<Concept> concepts = new Vector<Concept>(); 
     
    567570         
    568571 
     572        /** 
     573         * @see org.openmrs.Attributable#getPossibleValues() 
     574         */ 
    569575        public List<Concept> getPossibleValues() { 
    570576                try { 
     
    578584         
    579585 
     586        /** 
     587         * @see org.openmrs.Attributable#hydrate(java.lang.String) 
     588         */ 
    580589        public Concept hydrate(String s) { 
    581590                try { 
     
    589598         
    590599 
     600        /** 
     601         * @see org.openmrs.Attributable#serialize() 
     602         */ 
    591603        public String serialize() { 
    592604                return "" + this.getConceptId(); 
    593605        } 
     606         
     607        /** 
     608         * @see org.openmrs.Attributable#getDisplayString() 
     609         */ 
     610        public String getDisplayString() { 
     611                if (getName() == null) 
     612                        return toString(); 
     613                else 
     614                        return getName().getName(); 
     615        } 
    594616 
    595617