From 16e1261b0edeb0f8ec23130e9698402cded11bc0 Mon Sep 17 00:00:00 2001 From: sherrif10 Date: Fri, 5 Feb 2021 16:41:50 +0300 Subject: [PATCH] FM2-136:Inital Implementation of FhirAppointment Resource --- api/pom.xml | 26 +++- .../constants/PrivilegeConstants.java | 1 + .../FhirAppointmentService.java | 5 + pom.xml | 138 +++++++++++++++++- 4 files changed, 167 insertions(+), 3 deletions(-) create mode 100644 api/src/main/java/org/openmrs/module/fhirAppointments/FhirAppointmentService.java diff --git a/api/pom.xml b/api/pom.xml index 24ebf3258..32c04ed1b 100644 --- a/api/pom.xml +++ b/api/pom.xml @@ -1,7 +1,7 @@ 4.0.0 - + org.bahmni.module appointments @@ -154,7 +154,29 @@ provided - + diff --git a/api/src/main/java/org/openmrs/module/appointments/constants/PrivilegeConstants.java b/api/src/main/java/org/openmrs/module/appointments/constants/PrivilegeConstants.java index 6fd71c0ac..e456d288a 100644 --- a/api/src/main/java/org/openmrs/module/appointments/constants/PrivilegeConstants.java +++ b/api/src/main/java/org/openmrs/module/appointments/constants/PrivilegeConstants.java @@ -7,4 +7,5 @@ public class PrivilegeConstants { public static final String RESET_APPOINTMENT_STATUS = "Reset Appointment Status"; public static final String MANAGE_APPOINTMENTS_SERVICE = "Manage Appointment Services"; public static final String VIEW_APPOINTMENTS_SERVICE = "View Appointment Services"; + public static final String FHIR_APPOINTMENTS = "Fhir Appointmenrs"; } diff --git a/api/src/main/java/org/openmrs/module/fhirAppointments/FhirAppointmentService.java b/api/src/main/java/org/openmrs/module/fhirAppointments/FhirAppointmentService.java new file mode 100644 index 000000000..01e905b49 --- /dev/null +++ b/api/src/main/java/org/openmrs/module/fhirAppointments/FhirAppointmentService.java @@ -0,0 +1,5 @@ +package org.openmrs.module.fhirAppointments; + +public class FhirAppointmentService { + +} diff --git a/pom.xml b/pom.xml index 3bee9a26e..1d93809d3 100644 --- a/pom.xml +++ b/pom.xml @@ -46,6 +46,8 @@ 0.7.9 2.5.6 1.9.4 + 1.2.0-SNAPSHOT + 5.0.21 @@ -69,6 +71,11 @@ maven-dependency-plugin 2.4 + + org.openmrs.module + fhir2 + {openmrsModuleFhirVersion} + org.apache.maven.plugins maven-jar-plugin @@ -189,7 +196,13 @@ ${openmrs.platform.version} provided - + + + org.openmrs.web + openmrs-web + ${openmrs.platform.version} + provided + org.openmrs.web openmrs-web @@ -197,6 +210,128 @@ test-jar test + + + org.openmrs.module + fhir2 + ${openmrsModuleFhirVersion} + provided + + + ca.uhn.hapi.fhir + hapi-fhir-base + ${hapifhirVersion} + + + org.slf4j + slf4j-api + + + org.slf4j + jcl-over-slf4j + + + commons-io + commons-io + + + org.eclipse.jetty + jetty-server + + + servlet-api + javax.servlet + + + + + ca.uhn.hapi.fhir + hapi-fhir-server + ${hapifhirVersion} + + + ca.uhn.hapi.fhir + hapi-fhir-client + ${hapifhirVersion} + + + + ca.uhn.hapi.fhir + hapi-fhir-structures-r4 + ${hapifhirVersion} + + + xpp3 + xpp3 + + + + + ca.uhn.hapi.fhir + hapi-fhir-converter + ${hapifhirVersion} + + + net.sf.saxon + Saxon-HE + + + + + ca.uhn.hapi.fhir + hapi-fhir-validation + ${hapifhirVersion} + test + + + xpp3 + xpp3 + + + net.sf.saxon + Saxon-HE + + + + + ca.uhn.hapi.fhir + hapi-fhir-validation-resources-r4 + ${hapifhirVersion} + test + + + ca.uhn.hapi.fhir + hapi-fhir-validation-resources-dstu3 + ${hapifhirVersion} + test + + + org.projectlombok + lombok + ${lombokVersion} + provided + + + org.apache.commons + commons-lang3 + 3.9 + + + com.google.guava + guava + 28.1-jre + + + javax.servlet + javax.servlet-api + 3.1.0 + provided + + + com.fasterxml.jackson.core + jackson-databind + 2.10.1 + org.bahmni.module email-notification-omod @@ -258,6 +393,7 @@ 3.0.1 provided +