-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
94 changed files
with
13,595 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,176 @@ | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<artifactId>husky-service</artifactId> | ||
<name>Husky Service</name> | ||
|
||
<parent> | ||
<groupId>org.projecthusky.communication</groupId> | ||
<artifactId>husky-communication</artifactId> | ||
<version>2.2.1-SNAPSHOT</version> | ||
</parent> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>org.projecthusky.fhir.structures</groupId> | ||
<artifactId>husky-fhir-structures-gen</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.projecthusky.communication</groupId> | ||
<artifactId>husky-xua-gen-impl</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.projecthusky.communication</groupId> | ||
<artifactId>husky-xua-ch-impl</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.projecthusky.communication</groupId> | ||
<artifactId>husky-communication-gen</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.projecthusky.communication</groupId> | ||
<artifactId>husky-valueset-gen</artifactId> | ||
<version>2.2.1-SNAPSHOT</version> | ||
</dependency> | ||
|
||
|
||
<dependency> | ||
<groupId>org.apache.httpcomponents</groupId> | ||
<artifactId>httpcore</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.apache.httpcomponents</groupId> | ||
<artifactId>httpcore-nio</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>commons-codec</groupId> | ||
<artifactId>commons-codec</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>commons-io</groupId> | ||
<artifactId>commons-io</artifactId> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>org.slf4j</groupId> | ||
<artifactId>slf4j-api</artifactId> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>jakarta.annotation</groupId> | ||
<artifactId>jakarta.annotation-api</artifactId> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>javax.mail</groupId> | ||
<artifactId>javax.mail-api</artifactId> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>javax.xml.ws</groupId> | ||
<artifactId>jaxws-api</artifactId> | ||
</dependency> | ||
|
||
<!-- ipf stuff --> | ||
<dependency> | ||
<groupId>org.openehealth.ipf.boot</groupId> | ||
<artifactId>ipf-xds-spring-boot-starter</artifactId> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>org.openehealth.ipf.boot</groupId> | ||
<artifactId>ipf-hl7v3-spring-boot-starter</artifactId> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>org.openehealth.ipf.platform-camel</groupId> | ||
<artifactId>ipf-platform-camel-ihe-hl7v3</artifactId> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>org.openehealth.ipf.platform-camel</groupId> | ||
<artifactId>ipf-platform-camel-ihe-hpd</artifactId> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>org.springframework.boot</groupId> | ||
<artifactId>spring-boot-starter-actuator</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.projectlombok</groupId> | ||
<artifactId>lombok</artifactId> | ||
</dependency> | ||
|
||
<!-- test stuff --> | ||
|
||
<dependency> | ||
<groupId>org.junit.jupiter</groupId> | ||
<artifactId>junit-jupiter-engine</artifactId> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.junit.platform</groupId> | ||
<artifactId>junit-platform-suite</artifactId> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.junit.jupiter</groupId> | ||
<artifactId>junit-jupiter-api</artifactId> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>ca.uhn.hapi.fhir</groupId> | ||
<artifactId>hapi-fhir-validation-resources-r4</artifactId> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.springframework.boot</groupId> | ||
<artifactId>spring-boot-starter-test</artifactId> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.springframework.boot</groupId> | ||
<artifactId>spring-boot-starter-log4j2</artifactId> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.sun.xml.messaging.saaj</groupId> | ||
<artifactId>saaj-impl</artifactId> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.mockito</groupId> | ||
<artifactId>mockito-core</artifactId> | ||
<scope>test</scope> | ||
</dependency> | ||
</dependencies> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-resources-plugin</artifactId> | ||
<configuration> | ||
<encoding>UTF-8</encoding> | ||
<nonFilteredFileExtensions> | ||
<nonFilteredFileExtension>jks</nonFilteredFileExtension> | ||
<nonFilteredFileExtension>pdf</nonFilteredFileExtension> | ||
<nonFilteredFileExtension>zip</nonFilteredFileExtension> | ||
</nonFilteredFileExtensions> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-jar-plugin</artifactId> | ||
<executions> | ||
<execution> | ||
<goals> | ||
<goal>test-jar</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</project> |
86 changes: 86 additions & 0 deletions
86
...on/husky-service/src/main/java/org/projecthusky/communication/enums/HpdAttributeName.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
package org.projecthusky.communication.enums; | ||
|
||
import lombok.Getter; | ||
|
||
/** | ||
* Refer to the following | ||
* <a href="https://www.ihe.net/uploadedFiles/Documents/ITI/IHE_ITI_Suppl_HPD.pdf"></a> | ||
* <a href="https://www.fedlex.admin.ch/filestore/fedlex.data.admin.ch/eli/oce/2022/39/de/pdf-a/fedlex-data-admin-ch-eli-oce-2022-39-de-pdf-a.pdf></a> | ||
* for the enum values | ||
*/ | ||
@Getter | ||
public enum HpdAttributeName { | ||
AUDIO("audio"), | ||
BUSINESS_CATEGORY("businessCategory"), | ||
CAR_LICENSE("carLicense"), | ||
COMMON_NAME("cn"), | ||
COUNTRY_OF_CITIZENSHIP("countryOfCitizenship"), | ||
COUNTRY_OF_RESIDENCE("countryOfResidence"), | ||
DATE_OF_BIRTH("dateOfBirth"), | ||
DEPARTMENT_NUMBER("departmentNumber"), | ||
DESCRIPTION("description"), | ||
DISPLAY_NAME("displayName"), | ||
EMAIL_ADDRESS("emailAddress"), | ||
EMPLOYEE_NUMBER("employeeNumber"), | ||
EMPLOYEE_TYPE("employeeType"), | ||
GENDER("gender"), | ||
GIVEN_NAME("givenName"), // First name | ||
HC_ATTRIBUTE_CERTIFICATE("hcAttributeCertificate"), | ||
HC_IDENTIFICATION_SERVICE("hcIdentificationService"), | ||
HC_IDENTIFIER("hcIdentifier"), | ||
HC_ORGANIZATION_CERTIFICATES("HcOrganizationCertificates"), | ||
HC_PRACTICE_LOCATION("HcPracticeLocation"), | ||
HC_PRINCIPAL_PRACTICE_LOCATION("hcPrincipalPracticeLocation"), | ||
HC_PROFESSION("hcProfession"), | ||
HC_REGISTERED_NAME("HcRegisteredName"), | ||
HC_REGISTRATION_STATUS("HcRegistrationStatus"), | ||
HC_ROLE("hcRole"), | ||
HC_SIGNING_CERTIFICATE("HcSigningCertificate"), | ||
HC_SPECIALIZATION("HcSpecialization"), | ||
HOME_PHONE("homePhone"), | ||
HOME_POSTAL_ADDRESS("homePostalAddress"), | ||
HPD_CREDENTIAL("hpdCredential"), | ||
HPD_HAS_A_SERVICE("hpdHasAService"), | ||
HPD_MEDICAL_RECORDS_DELIVERY_EMAIL_ADDRESS("hpdMedicalRecordsDeliveryEmailAddress"), | ||
HPD_PROVIDER_BILLING_ADDRESS("hpdProviderBillingAddress"), | ||
HPD_PROVIDER_LANGUAGE_SUPPORTED("hpdProviderLanguageSupported"), | ||
HPD_PROVIDER_LEGAL_ADDRESS("hpdProviderLegalAddress"), | ||
HPD_PROVIDER_MAILING_ADDRESS("hpdProviderMailingAddress"), | ||
HPD_PROVIDER_PRACTICE_ADDRESS("hpdProviderPracticeAddress"), | ||
HPD_PROVIDER_STATUS("hpdProviderStatus"), | ||
INITIALS("initials"), | ||
JPEG_PHOTO("jpegPhoto"), | ||
LABELED_URI("labeledURI"), | ||
MAIL("mail"), | ||
MANAGER("manager"), | ||
MEMBER_OF("memberOf"), | ||
MOBILE("mobile"), | ||
OBJECT_CLASS("objectClass"), | ||
ORGANIZATION("o"), | ||
OWNER("owner"), | ||
PAGER("pager"), | ||
PHOTO("photo"), | ||
PLACE_OF_BIRTH("placeOfBirth"), | ||
PREFERRED_LANGUAGE("preferredLanguage"), | ||
PSEUDONYM("pseudonym"), | ||
ROOM_NUMBER("roomNumber"), | ||
SECRETARY("secretary"), | ||
SEE_ALSO("seeAlso"), | ||
SERIAL_NUMBER("serialNumber"), | ||
SURNAME("sn"), // Last name | ||
TELEPHONE_NUMBER("telephoneNumber"), | ||
TITLE("title"), | ||
UID("uid"), | ||
UNSTRUCTURED_ADDRESS("unstructuredAddress"), | ||
UNSTRUCTURED_NAME("unstructuredName"), | ||
USER_CERTIFICATE("userCertificate"), | ||
USER_PASSWORD("userPassword"), | ||
USER_PKCS_12("userPKCS12"), | ||
USER_SMIME_CERTIFICATE("userSMIMECertificate"), | ||
X500_UNIQUE_IDENTIFIER("x500UniqueIdentifier"); | ||
|
||
private String name; | ||
HpdAttributeName(String name) { | ||
this.name = name; | ||
} | ||
} |
Oops, something went wrong.