Package ca.cdr.api.pub.cdaexchange.model
Class FhirToCdaConversionResultJson
java.lang.Object
ca.cdr.api.pub.cdaexchange.model.FhirToCdaConversionResultJson
- All Implemented Interfaces:
ICdaCamelConversionResultJson
,IModelJson
,IModelJson
Contains all the relevant data involved in the conversion of a FHIR IBaseBundle resource to a CDA document.
-
Field Summary
FieldsFields inherited from interface ca.cdr.api.camel.ICdaCamelConversionResultJson
BUNDLE, MODIFIABLE_DOCUMENT
Fields inherited from interface ca.uhn.fhir.model.api.IModelJson
SENSITIVE_DATA_FILTER_NAME
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromBundle
(IBaseBundle theBundle) fromComposition
(IBaseResource theComposition) fromScriptParameters
(IBaseParameters theScriptParameters) void
setBundle
(IBaseBundle theBundle) void
setComposition
(IBaseResource theComposition) void
setModifiableDocument
(String cdaDocument) Sets the CDA Exchange document which customizations can be applied to.void
setScriptName
(String theScriptName) void
setScriptParameters
(IBaseParameters theScriptParameters)
-
Field Details
-
SCRIPT_NAME
- See Also:
-
SCRIPT_PARAMETERS
- See Also:
-
COMPOSITION
- See Also:
-
-
Constructor Details
-
FhirToCdaConversionResultJson
public FhirToCdaConversionResultJson()
-
-
Method Details
-
fromScriptParameters
public static FhirToCdaConversionResultJson fromScriptParameters(IBaseParameters theScriptParameters) -
fromComposition
-
fromBundle
-
getScriptName
-
setScriptName
-
getScriptParameters
-
setScriptParameters
-
getComposition
-
setComposition
-
getBundle
- Specified by:
getBundle
in interfaceICdaCamelConversionResultJson
- Returns:
- A bundle resource that has been created from a script or a CDA Exchange document.
-
setBundle
-
getModifiableDocument
- Specified by:
getModifiableDocument
in interfaceICdaCamelConversionResultJson
- Returns:
- The customized CDA Exchange document.
-
setModifiableDocument
Description copied from interface:ICdaCamelConversionResultJson
Sets the CDA Exchange document which customizations can be applied to.- Specified by:
setModifiableDocument
in interfaceICdaCamelConversionResultJson
- Parameters:
cdaDocument
- The customized CDA Exchange document.
-