Skip to content

Commit 55f1658

Browse files
committed
fix according to reviews
1 parent c372bae commit 55f1658

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ configuration/
6060
├── encounterroles/
6161
├── fhirconceptsources/
6262
├── fhirpatientidentifiersystems/
63-
├── fhirContactPointMap/
63+
├── fhircontactpointmaps/
6464
├── globalproperties/
6565
├── htmlforms/
6666
├── idgen/
@@ -150,7 +150,7 @@ This is the list of currently supported domains in their loading order:
150150
1. [Cohort Attribute Types (CSV files)](readme/cohort.md#domain-cohortattributetypes)
151151
1. [FHIR Concept Sources (CSV files)](readme/fhir.md#domain-fhirconceptsources)
152152
1. [FHIR Patient Identifier Systems (CSV Files)](readme/fhir.md#domain-fhirpatientidentifiersystems)
153-
2. [FHIR ContactPointMap (CSV Files)](https://github.com/mherman22/openmrs-module-initializer/blob/ContactPointMap-impl/readme/fhir.md#domain-fhircontactpointmap)
153+
2. [FHIR Contact Point Map (CSV Files)](readme/fhir.md#domain-fhircontactpointmap)
154154
1. [AMPATH Forms (JSON files)](readme/ampathforms.md)
155155
1. [AMPATH Forms Translations (JSON files)](readme/ampathformstranslations.md)
156156
1. [HTML Forms (XML files)](readme/htmlforms.md)

api-2.6/src/main/java/org/openmrs/module/initializer/api/fhir/cpm/FhirContactPointMapCsvParser.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@
2525
import org.springframework.stereotype.Component;
2626

2727
@Component
28-
@OpenmrsProfile(modules = { "fhir2:1.11.* - 9.*" }, openmrsPlatformVersion = "2.6.3 - 2.6.*, 2.7.* - 9.*")
28+
@OpenmrsProfile(modules = { "fhir2:1.11.0" }, openmrsPlatformVersion = "2.6.3")
2929
public class FhirContactPointMapCsvParser extends CsvParser<FhirContactPointMap, BaseLineProcessor<FhirContactPointMap>> {
3030

3131
public static final String ATTRIBUTE_TYPE_DOMAIN_HEADER = "Entity name";
3232

33-
public static final String ATTRIBUTE_TYPE = "Attribute Type";
33+
public static final String ATTRIBUTE_TYPE = "Attribute type";
3434

3535
private static final String LOCATION = "location";
3636

api-2.6/src/main/java/org/openmrs/module/initializer/api/fhir/cpm/FhirContactPointMapLineProcessor.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@
2020
import static org.openmrs.module.initializer.api.fhir.cpm.FhirContactPointMapCsvParser.ATTRIBUTE_TYPE_DOMAIN_HEADER;
2121

2222
@Component
23-
@OpenmrsProfile(modules = { "fhir2:1.11.* - 9.*" }, openmrsPlatformVersion = "2.6.3 - 2.6.*, 2.7.* - 9.*")
23+
@OpenmrsProfile(modules = { "fhir2:1.11.0" }, openmrsPlatformVersion = "2.6.3")
2424
public class FhirContactPointMapLineProcessor extends BaseLineProcessor<FhirContactPointMap> {
2525

26-
private static final String SYSTEM_HEADER = "system";
26+
private static final String SYSTEM_HEADER = "System";
2727

28-
private static final String USE_HEADER = "use";
28+
private static final String USE_HEADER = "Use";
2929

30-
private static final String RANK_HEADER = "rank";
30+
private static final String RANK_HEADER = "Rank";
3131

3232
@Override
3333
public FhirContactPointMap fill(FhirContactPointMap instance, CsvLine line) throws IllegalArgumentException {

api-2.6/src/main/java/org/openmrs/module/initializer/api/fhir/cpm/FhirContactPointMapLoader.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
import org.springframework.stereotype.Component;
1717

1818
@Component
19-
@OpenmrsProfile(modules = { "fhir2:1.11.* - 9.*" }, openmrsPlatformVersion = "2.6.3 - 2.6.*, 2.7.* - 9.*")
19+
@OpenmrsProfile(modules = { "fhir2:1.11.0" }, openmrsPlatformVersion = "2.6.3")
2020
public class FhirContactPointMapLoader extends BaseCsvLoader<FhirContactPointMap, FhirContactPointMapCsvParser> {
2121

2222
@Autowired

readme/fhir.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ fhirContactPointMap/
8888
```
8989
The format of this CSV should be as follows:
9090

91-
| Uuid | Void/Retire | Entity name | Attribute Type | System | Use | Rank | _order:1000 |
91+
| Uuid | Void/Retire | Entity name | Attribute type | System | Use | Rank | _order:1000 |
9292
|--------------------------------------|-------------|-------------|--------------------------------------|--------|------|------|-------------|
9393
| fa48acc4-ef1f-46d6-b0af-150b00ddee9d | | person | 717ec942-3c4a-11ea-b024-ffc81a23382e | PHONE | WORK | 1 | |
9494
| | | person | PAT_RENAME_NEW_NAME | PHONE | HOME | | |

0 commit comments

Comments
 (0)