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+ */
110package org .openmrs .module .initializer .api .fhir .cpm ;
211
312import org .openmrs .PersonAttributeType ;
1423import org .openmrs .module .initializer .api .CsvParser ;
1524import org .springframework .beans .factory .annotation .Autowired ;
1625
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.*" )
1827public class FhirContactPointMapCsvParser extends CsvParser <FhirContactPointMap , BaseLineProcessor <FhirContactPointMap >> {
1928
2029 public static final String ATTRIBUTE_TYPE_DOMAIN_HEADER = "Entity name" ;
@@ -124,7 +133,6 @@ protected BaseAttributeType<?> getBaseAttributeType(String attributeDomain, Stri
124133 }
125134
126135 return locationService .getLocationAttributeTypeByUuid (attributeType );
127- break ;
128136 case PROVIDER :
129137 baseAttributeType = providerService .getProviderAttributeTypeByName (attributeType );
130138
@@ -133,7 +141,6 @@ protected BaseAttributeType<?> getBaseAttributeType(String attributeDomain, Stri
133141 }
134142
135143 return providerService .getProviderAttributeTypeByUuid (attributeType );
136- break ;
137144 }
138145 return baseAttributeType ;
139146 }
0 commit comments