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
FieldsModifier and TypeFieldDescriptionstatic final String
Composition associated with conversion resultFields 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) void
setBundle
(IBaseBundle theBundle) void
setComposition
(IBaseResource theComposition) void
setModifiableDocument
(String cdaDocument) Sets the CDA Exchange document which customizations can be applied to.
-
Field Details
-
COMPOSITION
Composition associated with conversion result- See Also:
-
-
Constructor Details
-
FhirToCdaConversionResultJson
public FhirToCdaConversionResultJson()
-
-
Method Details
-
fromBundle
-
fromComposition
-
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.
-