Skip to content

Commit 93423e2

Browse files
committed
update fhir version from snapshot version
1 parent d05c5fd commit 93423e2

File tree

4 files changed

+13
-9
lines changed

4 files changed

+13
-9
lines changed

api-2.5/pom.xml

+3-2
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,13 @@
22
<project xmlns="http://maven.apache.org/POM/4.0.0"
33
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
44
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5-
<modelVersion>4.0.0</modelVersion>
5+
66
<parent>
77
<groupId>org.openmrs.module</groupId>
88
<artifactId>initializer</artifactId>
9-
<version>2.6.0-SNAPSHOT</version>
9+
<version>2.7.0-SNAPSHOT</version>
1010
</parent>
11+
<modelVersion>4.0.0</modelVersion>
1112

1213
<artifactId>initializer-api-2.5</artifactId>
1314
<packaging>jar</packaging>

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

+3-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ protected FhirContactPointMapCsvParser(FhirContactPointMapService fhirContactPoi
4949
public FhirContactPointMap bootstrap(CsvLine line) throws IllegalArgumentException {
5050
FhirContactPointMap contactPointMap = null;
5151
if (line.getUuid() != null) {
52-
contactPointMap = fhirContactPointMapService.getFhirConactPointMapByUuid(line.getUuid());
52+
contactPointMap = fhirContactPointMapService.getFhirContactPointMapByUuid(line.getUuid())
53+
.orElse(null);
5354
}
5455

5556
if (contactPointMap != null) {
@@ -134,5 +135,6 @@ protected BaseAttributeType<?> getBaseAttributeType(String attributeDomain, Stri
134135
return providerService.getProviderAttributeTypeByUuid(attributeType);
135136
break;
136137
}
138+
return baseAttributeType;
137139
}
138140
}

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
<metadatasharingVersion>1.2.2</metadatasharingVersion>
7070
<metadatamappingVersion>1.3.4</metadatamappingVersion>
7171
<openconceptlabVersion>1.2.9</openconceptlabVersion>
72-
<fhir2Version>1.11.0-SNAPSHOT</fhir2Version>
72+
<fhir2Version>1.11.0</fhir2Version>
7373

7474
<!-- Modules compatibility > Core 2.3.0 -->
7575
<datafilterVersion>1.0.0</datafilterVersion>

readme/fhir.md

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

91-
| <sub>Uuid</sub> | <sub>Void/Retire</sub> | <sub>Attribute Type Domain</sub> | <sub>Attribute Type Id</sub> | <sub>System</sub> | <sub>Use</sub> | <sub>Rank</sub> | <sub>_order:1000</sub>
92-
| - | - | - | - | - | - | - | - |
93-
| <sub>fa48acc4-ef1f-46d6-b0af-150b00ddee9d</sub> | | <sub>person</sub> | | <sub>10001</sub> | | <sub>phone</sub> | | <sub>work</sub> | | <sub>1</sub> |
94-
| <sub>bcf23315-a236-42aa-be95-b9e0931e22b0</sub> | | <sub>provider</sub> | | <sub>10002</sub> | | <sub>email</sub> | | <sub>home</sub> | | <sub>2</sub> |
95-
| <sub>800e48ba-666c-445c-b871-68e54eec6de8</sub> | | <sub>location</sub> | | <sub>10003</sub> | | <sub>url</sub> | | <sub>temp</sub> | | <sub>3</sub> |
91+
| Uuid | Void/Retire | Entity name | Attribute Type | System | Use | Rank | _order:1000 |
92+
|--------------------------------------|-------------|-------------|--------------------------------------|--------|------|------|-------------|
93+
| fa48acc4-ef1f-46d6-b0af-150b00ddee9d | | person | 717ec942-3c4a-11ea-b024-ffc81a23382e | phone | work | 1 | |
94+
| | | person | PAT_RENAME_NEW_NAME | phone | home | | |
95+
| bcf23315-a236-42aa-be95-b9e0931e22b0 | | provider | Provider Speciality | email | home | 2 | |
96+
| 800e48ba-666c-445c-b871-68e54eec6de8 | | location | e7aacc6e-d151-4d9e-a808-6ed9ff761212 | phone | temp | 3 | |
9697

9798
Headers that start with an underscore such as `_order:1000` are metadata headers. The values in the columns under those headers are never read by the CSV parser.
9899

0 commit comments

Comments
 (0)