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
+ * <p>
7
+ * Copyright (C) OpenMRS Inc. OpenMRS is a registered trademark and the OpenMRS
8
+ * graphic logo is a trademark of OpenMRS Inc.
9
+ */
1
10
package org .openmrs .module .initializer .api .fhir .cpm ;
2
11
3
12
import org .openmrs .PersonAttributeType ;
14
23
import org .openmrs .module .initializer .api .CsvParser ;
15
24
import org .springframework .beans .factory .annotation .Autowired ;
16
25
17
- @ OpenmrsProfile (modules = { "fhir2:1.11.* - 9.*" }, openmrsPlatformVersion = "2.5.13 - 2.5.*, 2.6.2 - 2.6.*, 2.7.* - 9.*" )
26
+ @ OpenmrsProfile (modules = { "fhir2:1.11.* - 9.*" }, openmrsPlatformVersion = "2.6.3 - 2.6.*, 2.7.* - 9.*" )
18
27
public class FhirContactPointMapCsvParser extends CsvParser <FhirContactPointMap , BaseLineProcessor <FhirContactPointMap >> {
19
28
20
29
public static final String ATTRIBUTE_TYPE_DOMAIN_HEADER = "Entity name" ;
@@ -124,7 +133,6 @@ protected BaseAttributeType<?> getBaseAttributeType(String attributeDomain, Stri
124
133
}
125
134
126
135
return locationService .getLocationAttributeTypeByUuid (attributeType );
127
- break ;
128
136
case PROVIDER :
129
137
baseAttributeType = providerService .getProviderAttributeTypeByName (attributeType );
130
138
@@ -133,7 +141,6 @@ protected BaseAttributeType<?> getBaseAttributeType(String attributeDomain, Stri
133
141
}
134
142
135
143
return providerService .getProviderAttributeTypeByUuid (attributeType );
136
- break ;
137
144
}
138
145
return baseAttributeType ;
139
146
}
0 commit comments