-
Notifications
You must be signed in to change notification settings - Fork 1
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
6 changed files
with
23 additions
and
6 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
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
8 changes: 8 additions & 0 deletions
8
src/main/java/it/finanze/sanita/fse2/gtwfhirmappingenginems/enums/GtwOperationEnum.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,8 @@ | ||
package it.finanze.sanita.fse2.gtwfhirmappingenginems.enums; | ||
|
||
public enum GtwOperationEnum { | ||
CREATE, | ||
REPLACE, | ||
UPDATE, | ||
DELETE | ||
} |
5 changes: 3 additions & 2 deletions
5
src/main/java/it/finanze/sanita/fse2/gtwfhirmappingenginems/service/IConverterSRV.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 |
---|---|---|
@@ -1,10 +1,11 @@ | ||
package it.finanze.sanita.fse2.gtwfhirmappingenginems.service; | ||
|
||
import it.finanze.sanita.fse2.gtwfhirmappingenginems.enums.BundleTypeEnum; | ||
import it.finanze.sanita.fse2.gtwfhirmappingenginems.enums.GtwOperationEnum; | ||
import org.bson.Document; | ||
|
||
public interface IConverterSRV { | ||
Document convert(BundleTypeEnum type, String transaction); | ||
Document convert(BundleTypeEnum type, GtwOperationEnum op, String transaction); | ||
String toMessage(String transaction); | ||
String toDocument(String transaction); | ||
String toDocument(String transaction, GtwOperationEnum op); | ||
} |
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
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