Package org.resmedicinae.resmedlib.term

Examples of org.resmedicinae.resmedlib.term.String


        filterXml.addExtension("xml");
        filterXml.setDescription("XML");
        chooser.setFileFilter(filterXml);
        int returnVal = chooser.showSaveDialog(new JFrame());
        if (returnVal == JFileChooser.APPROVE_OPTION) {
            String curFile = chooser.getSelectedFile().getAbsolutePath();
            curFile = curFile.replace('\\', '/');
            setIndexFile(curFile);
            setGlobalPath(curFile.substring(0, curFile.lastIndexOf("/") + 1));
            System.out.println("You choose to save this file: " + curFile);
            System.out.println("save index...");
            saveHealthRecordIndex(healthRecordIndex);
            saveAllHealthRecords(loadedHealthRecords);
            System.out.println("healthRecord index saved");
View Full Code Here


     */
    public void saveXMLFile(Document doc, String fName) {
        try {
            if (fName.indexOf(".xml") > -1)
                fName = fName.substring(0, fName.indexOf(".xml"));
            String fileName = getGlobalPath() + fName + ".xml";
            System.out.println("Speichern der Datei " + fileName);
            FileOutputStream out = new FileOutputStream(fileName);
            XMLSerializer serializer = new XMLSerializer(out, null);
            try {
                serializer.serialize(doc);
View Full Code Here

        //        String zipCode = new String();
        //        String street = new String();
        //        String town = new String();
        //        String birthday = new String();
        //        String gender = new String();
        String anamnese = new String("Anamnese");
        String subject = new String();
        //        String insurance = new String();
        String objectText = new String();
        String overlayName = new String();
        Vector xCoordinates = new Vector();
        Vector yCoordinates = new Vector();
        String assessment = new String();
        String plan = new String();
        String problemName = new String();
        org.resmedicinae.resmedlib.term.String problemId = new org.resmedicinae.resmedlib.term.String();
        String partialContactId = new String();
        String partialContactDate = new String();
        String partialContactNumber = new String();
        int partialContactNumberAsInt = 0;
        //        String image = new String();
        //String tempCaveId = new String("0");
        //String tempProblemId = new String("0");
        //String tempEpisodeId = new String("0");
        //String tempPartialContactId = new String("0");
        //        String tempSubjectId = new String("0");
        //        String tempObjectId = new String("0");
        //        String tempAssessmentId = new String("0");
        //String tempPlanId = new String("0");
        //get the name of healthRecord and so on....
        HealthRecord healthRecord = new HealthRecord();
        healthRecord.setIdentifier(getTagDataFromDocument(doc, "HealthRecordId"));
        healthRecord.setName(getTagDataFromDocument(doc, "Name"));
        System.out.println("+++++++++++++++++++++++Getting first name: " + (getTagDataFromDocument(doc, "FirstName")).getValue());
        healthRecord.setFirstName(getTagDataFromDocument(doc, "FirstName"));
        healthRecord.setBirthday(getTagDataFromDocument(doc, "Birthday"));
        healthRecord.setGender(getTagDataFromDocument(doc, "Gender"));
        healthRecord.setStreet(getTagDataFromDocument(doc, "Street"));
        healthRecord.setZipCode(getTagDataFromDocument(doc, "ZipCode"));
        healthRecord.setTown(getTagDataFromDocument(doc, "Town"));
        healthRecord.setCountry(getTagDataFromDocument(doc, "Country"));
        healthRecord.setPhoneNumber(getTagDataFromDocument(doc, "PhoneNumber"));
        healthRecord.setInsurance(getTagDataFromDocument(doc, "Insurance"));
        healthRecord.setInsuranceNumber(getTagDataFromDocument(doc, "InsuranceNumber"));
        healthRecord.setBloodType(getTagDataFromDocument(doc, "BloodType"));
        healthRecord.setHeight(getTagDataFromDocument(doc, "Height"));
        healthRecord.setWeight(getTagDataFromDocument(doc, "Weight"));
        NodeList caveElementList = doc.getElementsByTagName("Cave");
        for (int cavesIndex = 0; cavesIndex < caveElementList.getLength(); cavesIndex++) {
            NodeList cavePropertyNodeList = caveElementList.item(cavesIndex).getChildNodes();
            Cave cave = new Cave();
            cave.initialize();
            for (int cavePropertyIndex = 0; cavePropertyIndex < cavePropertyNodeList.getLength(); cavePropertyIndex++) {
                if (cavePropertyNodeList.item(cavePropertyIndex).getNodeName().equals("CaveID")) {
                    cave.setIdentifier(new org.resmedicinae.resmedlib.term.String(getNodeValue(cavePropertyNodeList.item(cavePropertyIndex))));
                } else if (cavePropertyNodeList.item(cavePropertyIndex).getNodeName().equals("CaveName")) {
                    cave.setName(new org.resmedicinae.resmedlib.term.String(getNodeValue(cavePropertyNodeList.item(cavePropertyIndex))));
                } else if (cavePropertyNodeList.item(cavePropertyIndex).getNodeName().equals("CaveDescription")) {
                    cave.setDescription(new org.resmedicinae.resmedlib.term.String(getNodeValue(cavePropertyNodeList.item(cavePropertyIndex))));
                }
            }
            healthRecord.set(cave.getIdentifier(), cave);
        }
        //extraction the problems, getting tags with name "problem"
        NodeList elementList = doc.getElementsByTagName("Problem");

        /*if there are problems, go on*/

        if (elementList.getLength() != 0) {
            System.out.println("Jens: Health Record has problems!!!");
            for (int i = 0; i < elementList.getLength(); i++) {
                Problem problem = new Problem();
                //initialization from item
                problem.initialize();
                if (elementList.item(i).hasChildNodes()) {
                    //getting all sub elements of one problem, the problem properties
                    NodeList problemPropertyNodeList = elementList.item(i).getChildNodes();
                    for (int f = 0; f < problemPropertyNodeList.getLength(); f++) {
                        //has a property sub elements??? sub elements are ProblemName or ProblemId for example
                        System.out.println("f: " + f + "  problemPropertyNodeList.item(f).getNodeName():" + problemPropertyNodeList.item(f).getNodeName());
                        // if (problemPropertyNodeList.item(f).hasChildNodes()) {
                        // problem name is a property
                        if (problemPropertyNodeList.item(f).getNodeName().equals("ProblemName")) {
                            if (hasNodeValue(problemPropertyNodeList.item(f))) {
                                System.out.println("Catching Problem name");
                                problemName = getNodeValue(problemPropertyNodeList.item(f));
                                System.out.println("Jens: Catching Problem Name!!!");
                            }
                            problem.setName(new org.resmedicinae.resmedlib.term.String(problemName));
                        } else if (problemPropertyNodeList.item(f).getNodeName().equals("ProblemId")) {
                            // problem id is a property
                            if (hasNodeValue(problemPropertyNodeList.item(f))) {
                                System.out.println("Catching Problem id");
                                problemId.setValue(getNodeValue(problemPropertyNodeList.item(f)));
                            }
                            problem.setIdentifier(problemId);
                        } else if (problemPropertyNodeList.item(f).getNodeName().equals("Anamnese")) {
                            System.out.println("<<<<<<<<<<<<<<<<<<<<anamnese: " + anamnese);
                            if (hasNodeValue(problemPropertyNodeList.item(f))) {
                                anamnese = getNodeValue(problemPropertyNodeList.item(f));
                            }
                            System.out.println("<<<<<<<<<<<<<<<<<<<<anamnese: " + anamnese);
                            problem.setAnamnese(new org.resmedicinae.resmedlib.term.String(anamnese));
                        } else if (problemPropertyNodeList.item(f).getNodeName().equals("Episodes")) {
                            System.out.println("Catching Episodes");
                            if (problemPropertyNodeList.item(f).hasChildNodes()) {
                                NodeList episodesNodeList = problemPropertyNodeList.item(f).getChildNodes();
                                for (int ee = 0; ee < episodesNodeList.getLength(); ee++) {
                                    if ((episodesNodeList.item(ee).getNodeName().equals("Episode")) && (episodesNodeList.item(ee).hasChildNodes())) {

                                        System.out.println("a: " + episodesNodeList.item(ee).getNodeName());
                                        System.out.println("b: " + episodesNodeList.item(ee).hasChildNodes());

                                        NodeList episodePropertyNodeList = episodesNodeList.item(ee).getChildNodes();

                                        Episode episode = new Episode();
                                        for (int tt = 0; tt < episodePropertyNodeList.getLength(); tt++) {
                                            System.out.println("G");
                                            System.out.println("Catching Episode");

                                            if (episodePropertyNodeList.item(tt).getNodeName().equals("EpisodeId")) {
                                                if (hasNodeValue(episodePropertyNodeList.item(tt))) {
                                                    String episodeId = getNodeValue(episodePropertyNodeList.item(tt));
                                                    episode.setIdentifier(new org.resmedicinae.resmedlib.term.String(episodeId));
                                                }
                                            } else if (episodePropertyNodeList.item(tt).getNodeName().equals("PartialContacts")) {
                                                NodeList partialContactsNodeList = episodePropertyNodeList.item(tt).getChildNodes();
                                                for (int tu = 0; tu < partialContactsNodeList.getLength(); tu++) {
                                                    if (partialContactsNodeList.item(tu).getNodeName().equals("PartialContact")) {
                                                        System.out.println("Catching Partial Contact");
                                                        NodeList partialContactNodeList =
                                                                partialContactsNodeList.item(tu).getChildNodes();
                                                        PartialContact partialContact = new PartialContact();
                                                        //initialization from item
                                                        partialContact.initialize();
                                                        for (int t = 0; t < partialContactNodeList.getLength(); t++) {
                                                            if (partialContactNodeList.item(t).getNodeName().equals("PartialContactId")) {
                                                                if (hasNodeValue(partialContactNodeList.item(t))) {
                                                                    partialContactId = getNodeValue(partialContactNodeList.item(t));
                                                                    //Construction of an partialContact. add(...) from Item is used as well as
                                                                    //set...-methods from the business objects (which have to be removed...!!!)
                                                                    partialContact.setIdentifier(new org.resmedicinae.resmedlib.term.String(partialContactId));
                                                                    partialContact.setPartialContactNumber(partialContactNumberAsInt);
                                                                }
                                                            } else if (partialContactNodeList.item(t).getNodeName().equals("PartialContactNumber")) {
                                                                if (hasNodeValue(partialContactNodeList.item(t))) {
                                                                    partialContactNumber = getNodeValue(partialContactNodeList.item(t));
                                                                    partialContactNumberAsInt =
                                                                            (Integer.valueOf(partialContactNumber)).intValue();
                                                                }
                                                            } else if (partialContactNodeList.item(t).getNodeName().equals("PartialContactDate")) {
                                                                if (hasNodeValue(partialContactNodeList.item(t))) {
                                                                    partialContactDate = getNodeValue(partialContactNodeList.item(t));
                                                                    partialContact.setPartialContactDate(new org.resmedicinae.resmedlib.term.String(partialContactDate));
                                                                }
                                                            } else if (partialContactNodeList.item(t).getNodeName().equals("Subjective")) {
                                                                if (hasNodeValue(partialContactNodeList.item(t))) {
                                                                    subject = getNodeValue(partialContactNodeList.item(t));

                                                                    /*Adding the subject*/

                                                                    System.out.println("Catching subjective");
                                                                    Subjective soapSubject = new Subjective(subject);
                                                                    partialContact.set(
                                                                            new org.resmedicinae.resmedlib.term.String("subjective"), soapSubject);
                                                                }
                                                            } else if (partialContactNodeList.item(t).getNodeName().equals("Objectives")) {
                                                                if (hasNodeValue(partialContactNodeList.item(t))) {
                                                                    NodeList objectNodeList = partialContactNodeList.item(t).getChildNodes();
                                                                    for (int oo = 0; oo < objectNodeList.getLength(); oo++) {
                                                                        if (objectNodeList.item(oo).getNodeName().equals("Objective")) {
                                                                            if (objectNodeList.item(oo).hasChildNodes()) {
                                                                                /*Adding the object*/

                                                                                Objective soapObject = new Objective();
                                                                                NodeList objectPropertiesList = objectNodeList.item(oo).getChildNodes();
                                                                                for (int te = 0; te < objectPropertiesList.getLength(); te++) {
                                                                                    if (objectPropertiesList.item(te).getNodeName().equals("ObjectiveID")) {
                                                                                        if (hasNodeValue(objectPropertiesList.item(te))) {
                                                                                            soapObject.setIdentifier(new org.resmedicinae.resmedlib.term.String(getNodeValue(objectPropertiesList.item(te))));
                                                                                        }
                                                                                    } else if (objectPropertiesList.item(te).getNodeName().equals("Text")) {
                                                                                        if (hasNodeValue(objectPropertiesList.item(te))) {
                                                                                            objectText = getNodeValue(objectPropertiesList.item(te));
                                                                                            soapObject.setText(new org.resmedicinae.resmedlib.term.String(objectText));
                                                                                        }
                                                                                    } else if (objectPropertiesList.item(te).getNodeName().equals("OverlayName")) {
                                                                                        if (hasNodeValue(objectPropertiesList.item(te))) {
                                                                                            overlayName = getNodeValue(objectPropertiesList.item(te));
                                                                                            soapObject.setOverlayName(overlayName);
                                                                                        }
                                                                                    } else if (objectPropertiesList.item(te).getNodeName().equals("Markers")) {
                                                                                        String y = new String();
                                                                                        String x = new String();
                                                                                        //new Vector() not clear()!!!!!!
                                                                                        xCoordinates = new Vector();
                                                                                        yCoordinates = new Vector();
                                                                                        NodeList markerList = objectPropertiesList.item(te).getChildNodes();
                                                                                        for (int r = 0; r < markerList.getLength(); r++) {
                                                                                            if (markerList.item(r).getNodeName().equals("Marker")) {
                                                                                                NodeList coordList = markerList.item(r).getChildNodes();
                                                                                                for (int a = 0; a < coordList.getLength(); a++) {
                                                                                                    if (coordList.item(a).getNodeName().equals("X")) {
                                                                                                        if (hasNodeValue(coordList.item(a))) {
                                                                                                            x = getNodeValue(coordList.item(a));
                                                                                                            xCoordinates.add(new Integer(x));
                                                                                                        }
                                                                                                    } else if (coordList.item(a).getNodeName().equals("Y")) {
                                                                                                        if (hasNodeValue(coordList.item(a))) {
                                                                                                            y = getNodeValue(coordList.item(a));
                                                                                                            yCoordinates.add(new Integer(y));
                                                                                                        }
                                                                                                    }
                                                                                                }
                                                                                                soapObject.setMarkerXCoordinates(xCoordinates);
                                                                                                soapObject.setMarkerYCoordinates(yCoordinates);
                                                                                            }
                                                                                        }
                                                                                    }
                                                                                }

                                                                                /*Add another soapObject to vector*/

                                                                                System.out.println("Catching objective");
                                                                                partialContact.set(soapObject.getIdentifier(), soapObject);
                                                                            }
                                                                        }
                                                                    }
                                                                }
                                                            } else if (partialContactNodeList.item(t).getNodeName().equals("Assessment")) {
                                                                if (hasNodeValue(partialContactNodeList.item(t))) {
                                                                    assessment = getNodeValue(partialContactNodeList.item(t));

                                                                    /*Adding the assessment*/

                                                                    System.out.println("Catching assessment");
                                                                    Assessment soapAssessment = new Assessment(assessment);
                                                                    partialContact.set(
                                                                            new org.resmedicinae.resmedlib.term.String("assessment"), soapAssessment);
                                                                }
                                                            } else if (partialContactNodeList.item(t).getNodeName().equals("Plan")) {
                                                                Plan soapPlan = new Plan(plan);
                                                                NodeList planPropertyNodeList =
                                                                        partialContactNodeList.item(t).getChildNodes();
                                                                for (int ppIndex = 0; ppIndex < planPropertyNodeList.getLength();
                                                                     ppIndex++) {
                                                                    if (planPropertyNodeList.item(ppIndex).getNodeName().equals("PlanText")) {
                                                                        plan = getNodeValue(planPropertyNodeList.item(ppIndex));
                                                                        soapPlan.setText(new org.resmedicinae.resmedlib.term.String(plan));
                                                                    } else if (planPropertyNodeList.item(ppIndex).getNodeName().equals("Medications")) {
                                                                        NodeList medicationsList =
                                                                                planPropertyNodeList.item(ppIndex).getChildNodes();
                                                                        System.out.println("++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++Medication gefunden!!!!!!!");
                                                                        System.out.println("Medications List ist " +
                                                                                medicationsList.getLength() + " lang.");
                                                                        for (int medIndex = 0; medIndex < medicationsList.getLength();
                                                                             medIndex++) {
                                                                            if (medicationsList.item(medIndex).getNodeName().equals("Medication")) {
                                                                                Medication medication = new Medication();
                                                                                String medicationName = new String();
                                                                                String medicationDose = new String();
                                                                                NodeList medicationNodeList =
                                                                                        medicationsList.item(medIndex).getChildNodes();
                                                                                for (int medicationIndex = 0; medicationIndex < medicationNodeList.getLength();
                                                                                     medicationIndex++) {
                                                                                    if (medicationNodeList.item(medicationIndex).getNodeName().equals("MedicationName")) {
View Full Code Here

            System.out.println("================================");
            System.out.println("Problem-Anzahl: " + problems.length);
            System.out.println("================================");
            for (int i = 0; i < problems.length; i++) {
                Problem problem = (Problem) problems[i];
                String problemName = problem.getName().getValue();
                System.out.println("Problem Nr. : " + problem.getIdentifier().getValue());
                String problemDescription = problem.getAnamnese().getValue();
                Element problemTag = doc.createElement("Problem");
                Element problemIdTag = doc.createElement("ProblemId");
                problemIdTag.appendChild(doc.createTextNode(problem.getIdentifier().getValue()));
                Element problemNameTag = doc.createElement("ProblemName");
                problemNameTag.appendChild(doc.createTextNode(problemName));
                Element anamneseTag = doc.createElement("Anamnese");
                anamneseTag.appendChild(doc.createTextNode(problemDescription));
                problemTag.appendChild(problemIdTag);
                problemTag.appendChild(problemNameTag);
                problemTag.appendChild(anamneseTag);
                if (problem.hasEpisodes()) {
                    Element episodesTag = doc.createElement("Episodes");
                    Object[] episodes = problem.getEpisodes();
                    System.out.println("Episoden-Anzahl: " + episodes.length);
                    for (int ii = 0; ii < episodes.length; ii++) {
                        Episode episode = (Episode) episodes[ii];
                        System.out.println("Episoden-Nr. :" + episode.getIdentifier().getValue());
                        Element episodeTag = doc.createElement("Episode");
                        Element episodeIdTag = doc.createElement("EpisodeId");
                        episodeIdTag.appendChild(doc.createTextNode(episode.getIdentifier().getValue()));
                        episodeTag.appendChild(episodeIdTag);
                        if (episode.hasPartialContacts()) {
                            Element partialContactsTag = doc.createElement("PartialContacts");
                            Object[] partialContacts = episode.getPartialContacts();
                            System.out.println("Partial Contact-Anzahl: " + partialContacts.length);
                            for (int iii = 0; iii < partialContacts.length; iii++) {
                                PartialContact partialContact = (PartialContact) partialContacts[iii];
                                System.out.println("Partial Contact Nr. :" + partialContact.getIdentifier().getValue());
                                Element partialContactTag = doc.createElement("PartialContact");
                                Element partialContactIdTag = doc.createElement("PartialContactId");
                                partialContactIdTag.appendChild(doc.createTextNode(partialContact.getIdentifier().getValue()));
                                Element partialContactNumberTag = doc.createElement("PartialContactNumber");
                                partialContactNumberTag.appendChild(doc.createTextNode((
                                        new Integer(partialContact.getPartialContactNumber())).toString()));
                                Element partialContactDateTag = doc.createElement("PartialContactDate");
                                partialContactDateTag.appendChild(doc.createTextNode(partialContact.getPartialContactDate().getValue()));
                                System.out.println("++++++++++++++++++++Partial Contact date: " +
                                        partialContact.getPartialContactDate());
                                Element subjectTag = doc.createElement("Subjective");
                                if (partialContact.hasSubjectives()) {
                                    Subjective subjective = (Subjective) partialContact.getSubjectives()[0];
                                    subjectTag.appendChild(doc.createTextNode(subjective.getText().getValue()));
                                }
                                Element objectsTag = doc.createElement("Objectives");
                                if (partialContact.hasObjectives()) {
                                    for (int iiii = 0; iiii < partialContact.getObjectiveCount(); iiii++) {
                                        Element objectTag = doc.createElement("Objective");
                                        Element objectIDTag = doc.createElement("ObjectiveID");
                                        Element textTag = doc.createElement("Text");
                                        Objective soapObject = ((Objective) partialContact.getObjectives()[iii]);
                                        String soapObjectText = soapObject.getText().getValue();
                                        objectIDTag.appendChild(doc.createTextNode(soapObject.getIdentifier().getValue()));
                                        textTag.appendChild(doc.createTextNode(soapObjectText));
                                        Element overlayNameTag = doc.createElement("OverlayName");
                                        String soapObjectOverlayName = soapObject.getOverlayName();
                                        overlayNameTag.appendChild(doc.createTextNode(soapObjectOverlayName));
                                        Element markersTag = doc.createElement("Markers");
                                        for (int index = 0; index < soapObject.getMarkerCount(); index++) {
                                            Integer x = soapObject.getXMarker(index);
                                            Integer y = soapObject.getYMarker(index);
View Full Code Here

            idString = idString.substring(0, idString.indexOf("/"));
        } catch (Exception e) {
            e.printStackTrace();
        }
        idString = "rmi://" + idString + "/" + modulName.getValue();
        set(RMI_HOST, new String(idString));
        return new RMIServerLauncher(new String(idString));
    }
View Full Code Here

        st = st.replaceAll("�", "Ue");
        st = st.replaceAll("�", "Oe");
        st = st.replaceAll("�", "ae");
        st = st.replaceAll("�", "oe");
        st = st.replaceAll("�", "ue");
        return new String(st);
    }
View Full Code Here

            //            ((HealthRecordViewModel) getModel()).getHealthRecordIndex().addNotUsedId(getHealthRecordIds().elementAt(vectorId).toString());
            Hashtable healthRecordData = new Hashtable();
            int i = -1;
            healthRecordData.put(HealthRecordIndex.ID, new org.resmedicinae.resmedlib.term.String("-1"));
            if (((HealthRecordViewModel) getModel()).getHealthRecordIndex().size() > 0) {
                String searchID = ((Vector) getVectorHealthRecords().elementAt(vectorId)).elementAt(0).toString();
                while ((i < ((HealthRecordViewModel) getModel()).getHealthRecordIndex().size()) &&
                        (((org.resmedicinae.resmedlib.term.String)
                        healthRecordData.get(HealthRecordIndex.ID)).getValue().compareTo(searchID) != 0)) {
                    i++;
                    healthRecordData = (Hashtable) ((HealthRecordViewModel) getModel()).getHealthRecordIndex().elementAt(i);
View Full Code Here

     * @return a Vector of all possible variations of healthRecord names
     */
    public Vector updateSubSetHealthRecords(String healthRecordNameFragment) {
        if ((healthRecordNameFragment != null) && (healthRecordNameFragment.trim().compareTo("") != 0)) {
            Vector subSetHR = new Vector();
            String st;
            for (int i = 0; i < getSubSetVectorHealthRecords().size(); i++) {
                st = ((Vector) getSubSetVectorHealthRecords().elementAt(i)).elementAt(2).toString();
                if (st.startsWith(healthRecordNameFragment)) {
                    subSetHR.add(this.subSetVectorHealthRecords.elementAt(i));
                }
            }
            setSubSetVectorHealthRecords(new Vector(subSetHR));
        } else {
View Full Code Here

//        HealthRecordManager healthRecordManager = getHealthRecordManager();
//        getLoadPatientDialog().getBSelect().setEnabled(false);
//        healthRecordManager.getBRemove().setEnabled(false);
        if ((healthRecordNameFragment != null) && (healthRecordNameFragment.trim().compareTo("") != 0)) {
            Vector subSetHR = new Vector();
            String st;
            for (int i = 0; i < getVectorHealthRecords().size(); i++) {
                st = ((Vector) getVectorHealthRecords().elementAt(i)).elementAt(2).toString();
                if (st.startsWith(healthRecordNameFragment)) {
                    subSetHR.add(getVectorHealthRecords().elementAt(i));
                }
            }
            setSubSetVectorHealthRecords(new Vector(subSetHR));
        } else {
View Full Code Here

//        HealthRecordManager healthRecordManager = getHealthRecordManager();
//        getLoadPatientDialog().getBSelect().setEnabled(false);
//        healthRecordManager.getBRemove().setEnabled(false);
        if ((healthRecordNameFragment != null) && (healthRecordNameFragment.trim().compareTo("") != 0)) {
            Vector subSetHR = new Vector();
            String st;
            for (int i = 0; i < getVectorHealthRecords().size(); i++) {
                st = ((Vector) getVectorHealthRecords().elementAt(i)).elementAt(2).toString();
                if (st.startsWith(healthRecordNameFragment)) {
                    subSetHR.add(getVectorHealthRecords().elementAt(i));
                }
            }
            setSubSetVectorHealthRecords(new Vector(subSetHR));
        } else {
View Full Code Here

TOP

Related Classes of org.resmedicinae.resmedlib.term.String

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.