• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

openmrs / openmrs-core / 15205088843

23 May 2025 07:43AM UTC coverage: 65.083% (+0.01%) from 65.069%
15205088843

push

github

rkorytkowski
TRUNK-6300: Adding Windows test, cleaning up logs, adjusting variable name

2 of 2 new or added lines in 2 files covered. (100.0%)

336 existing lines in 18 files now uncovered.

23379 of 35922 relevant lines covered (65.08%)

0.65 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

81.82
/api/src/main/java/org/openmrs/ConceptClass.java
1
/**
2
 * This Source Code Form is subject to the terms of the Mozilla Public License,
3
 * v. 2.0. If a copy of the MPL was not distributed with this file, You can
4
 * obtain one at http://mozilla.org/MPL/2.0/. OpenMRS is also distributed under
5
 * the terms of the Healthcare Disclaimer located at http://openmrs.org/license.
6
 *
7
 * Copyright (C) OpenMRS Inc. OpenMRS is a registered trademark and the OpenMRS
8
 * graphic logo is a trademark of OpenMRS Inc.
9
 */
10
package org.openmrs;
11

12
import javax.persistence.Cacheable;
13

14
import org.hibernate.envers.Audited;
15

16
/**
17
 * ConceptClass
18
 */
19
@Audited
20
@Cacheable
21
public class ConceptClass extends BaseChangeableOpenmrsMetadata {
22
        
23
        public static final long serialVersionUID = 33473L;
24
        
25
        //UUIDs for core concept classes
26
        
27
        public static final String TEST_UUID = "8d4907b2-c2cc-11de-8d13-0010c6dffd0f";
28
        
29
        public static final String PROCEDURE_UUID = "8d490bf4-c2cc-11de-8d13-0010c6dffd0f";
30
        
31
        public static final String DRUG_UUID = "8d490dfc-c2cc-11de-8d13-0010c6dffd0f";
32
        
33
        public static final String DIAGNOSIS_UUID = "8d4918b0-c2cc-11de-8d13-0010c6dffd0f";
34
        
35
        public static final String FINDING_UUID = "8d491a9a-c2cc-11de-8d13-0010c6dffd0f";
36
        
37
        public static final String ANATOMY_UUID = "8d491c7a-c2cc-11de-8d13-0010c6dffd0f";
38
        
39
        public static final String QUESTION_UUID = "8d491e50-c2cc-11de-8d13-0010c6dffd0f";
40
        
41
        public static final String LABSET_UUID = "8d492026-c2cc-11de-8d13-0010c6dffd0f";
42
        
43
        public static final String MEDSET_UUID = "8d4923b4-c2cc-11de-8d13-0010c6dffd0f";
44
        
45
        public static final String CONVSET_UUID = "8d492594-c2cc-11de-8d13-0010c6dffd0f";
46
        
47
        public static final String MISC_UUID = "8d492774-c2cc-11de-8d13-0010c6dffd0f";
48
        
49
        public static final String SYMPTOM_UUID = "8d492954-c2cc-11de-8d13-0010c6dffd0f";
50
        
51
        public static final String SYMPTOM_FINDING_UUID = "8d492b2a-c2cc-11de-8d13-0010c6dffd0f";
52
        
53
        public static final String SPECIMEN_UUID = "8d492d0a-c2cc-11de-8d13-0010c6dffd0f";
54
        
55
        public static final String MISC_ORDER_UUID = "8d492ee0-c2cc-11de-8d13-0010c6dffd0f";
56
        
57
        public static final String ORDER_SET_UUID = "baa7a1b8-a1ba-11e0-9616-705ab6a580e0";
58
        
59
        public static final String FREQUENCY_UUID = "8e071bfe-520c-44c0-a89b-538e9129b42a";
60
        
61
        // Fields
62
        private Integer conceptClassId;
63
        
64
        // Constructors
65
        
66
        /** default constructor */
67
        public ConceptClass() {
1✔
68
        }
1✔
69
        
70
        /** constructor with id */
71
        public ConceptClass(Integer conceptClassId) {
1✔
72
                this.conceptClassId = conceptClassId;
1✔
73
        }
1✔
74
        
75
        // Property accessors
76
        
77
        public Integer getConceptClassId() {
78
                return this.conceptClassId;
1✔
79
        }
80
        
81
        public void setConceptClassId(Integer conceptClassId) {
82
                this.conceptClassId = conceptClassId;
1✔
83
        }
1✔
84
        
85
        /**
86
         * @since 1.5
87
         * @see org.openmrs.OpenmrsObject#getId()
88
         */
89
        @Override
90
        public Integer getId() {
91
                return getConceptClassId();
1✔
92
        }
93
        
94
        /**
95
         * @since 1.5
96
         * @see org.openmrs.OpenmrsObject#setId(java.lang.Integer)
97
         */
98
        @Override
99
        public void setId(Integer id) {
UNCOV
100
                setConceptClassId(id);
×
101
                
UNCOV
102
        }
×
103
        
104
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc