Package org.emau.icmvc.ganimed.ttp.cm2
Schnittstelle GICSFhirService
public interface GICSFhirService
An interface for import and export of consent-templates using custom fhir formats
for details read our publication.
- Autor:
- bialkem
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungexportDefinition
(String domainName, FhirExportMode exportMode, List<String> itemList, boolean exportLogo, String fileFormat) export domain-, policy-, module- and template definitions for selected domainimportDefinition
(String definition, boolean allowUpdates, String fileFormat) Import domain-, policy-, module- and template definitionspreviewImportDefinition
(String definition, boolean allowUpdates, String fileFormat) Import domain-, policy-, module- and template definitions
-
Methodendetails
-
importDefinition
ImportResultDTO importDefinition(String definition, boolean allowUpdates, String fileFormat) throws InvalidExchangeFormatException, InternalException Import domain-, policy-, module- and template definitions- Parameter:
definition
- content of definition to importallowUpdates
- true if existing definitions are allowed to be updatedfileFormat
- format of definition (e.g. xml or json)- Gibt zurück:
- Map with Lists of add, updated and ignored items.
- Löst aus:
InvalidExchangeFormatException
InternalException
-
previewImportDefinition
ImportResultDTO previewImportDefinition(String definition, boolean allowUpdates, String fileFormat) throws InvalidExchangeFormatException, InternalException Import domain-, policy-, module- and template definitions- Parameter:
definition
- content of definition to importallowUpdates
- true if existing definitions are allowed to be updatedfileFormat
- format of definition (e.g. xml or json)- Gibt zurück:
- Map with Lists of add, updated and ignored items.
- Löst aus:
InvalidExchangeFormatException
InternalException
-
exportDefinition
String exportDefinition(String domainName, FhirExportMode exportMode, List<String> itemList, boolean exportLogo, String fileFormat) throws InternalException, InvalidExchangeFormatException export domain-, policy-, module- and template definitions for selected domain- Parameter:
domainName
- Name of selected domainexportMode
- mode of export: all, domain, policies, modules, templates, specifyitemList
- specify items by key (domain, name, version) to be exported, processed only when ExportMode.SPECIFY is usedexportLogo
- true, if export should contain base64 encoded domain logo if availablefileFormat
- format of definition (e.g. xml or json)- Gibt zurück:
- definition with export information
- Löst aus:
UnknownDomainException
InternalException
InvalidExchangeFormatException
-