Package org.emau.icmvc.ganimed.ttp.cm2
Interface GICSFhirService
public interface GICSFhirService
An interface for import and export of consent-templates using custom fhir formats
 for details read our publication.
- Author:
- bialkem
- 
Method SummaryModifier and TypeMethodDescriptionexportDefinition(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, boolean finalizeElements) Import domain-, policy-, module- and template definitionspreviewImportDefinition(String definition, boolean allowUpdates, String fileFormat) Import domain-, policy-, module- and template definitions
- 
Method Details- 
importDefinitionImportResultDTO importDefinition(String definition, boolean allowUpdates, String fileFormat, boolean finalizeElements) throws InvalidExchangeFormatException, InternalException Import domain-, policy-, module- and template definitions- Parameters:
- definition- content of definition to import
- allowUpdates- true if existing definitions are allowed to be updated
- fileFormat- format of definition (e.g. xml or json)
- finalizeElements-
- Returns:
- Map with Lists of add, updated and ignored items.
- Throws:
- InvalidExchangeFormatException
- InternalException
 
- 
previewImportDefinitionImportResultDTO previewImportDefinition(String definition, boolean allowUpdates, String fileFormat) throws InvalidExchangeFormatException, InternalException Import domain-, policy-, module- and template definitions- Parameters:
- definition- content of definition to import
- allowUpdates- true if existing definitions are allowed to be updated
- fileFormat- format of definition (e.g. xml or json)
- Returns:
- Map with Lists of add, updated and ignored items.
- Throws:
- InvalidExchangeFormatException
- InternalException
 
- 
exportDefinitionString 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- Parameters:
- domainName- Name of selected domain
- exportMode- mode of export: all, domain, policies, modules, templates, specify
- itemList- specify items by key (domain, name, version) to be exported, processed only when ExportMode.SPECIFY is used
- exportLogo- true, if export should contain base64 encoded domain logo if available
- fileFormat- format of definition (e.g. xml or json)
- Returns:
- definition with export information
- Throws:
- UnknownDomainException
- InternalException
- InvalidExchangeFormatException
 
 
-