question: public synchronized void updatePatientObsUi ( int chartNum ) { mObservations = mChartHelper . getObservations ( mPatientUuid ) ; Map < String , Obs > latestObservations = new HashMap < > ( mChartHelper . getLatestObservations ( mPatientUuid ) ) ; List < Order > orders = mChartHelper . getOrders ( mPatientUuid ) ; mOrdersByUuid = new HashMap < > ( ) ; for ( Order order : orders ) { mOrdersByUuid . put ( order . uuid , order ) ; } LOG . d ( "Showing " + mObservations . size ( ) + " observations and " + orders . size ( ) + " orders" ) ; LocalDate admissionDate = getObservedDate ( latestObservations , ConceptUuids . ADMISSION_DATE_UUID ) ; LocalDate firstSymptomsDate = getObservedDate ( latestObservations , ConceptUuids . FIRST_SYMPTOM_DATE_UUID ) ; mUi . updateAdmissionDateAndFirstSymptomsDateUi ( admissionDate , firstSymptomsDate ) ; mUi . updateWeightUi ( latestObservations ) ; mUi . updateEbolaPcrTestResultUi ( latestObservations ) ; mUi . updatePregnancyAndIvStatusUi ( latestObservations ) ; lastChartIndex = chartNum ; mUi . updateTilesAndGrid ( mCharts . get ( chartNum ) , latestObservations , mObservations , orders , admissionDate , firstSymptomsDate ) ; }
target:  Gets the latest observation values and displays them on the UI. 