Package ca.cdr.api.pub.cdaexchange.model
Class CdaToFhirConversionResultJson
java.lang.Object
ca.cdr.api.pub.cdaexchange.model.CdaToFhirConversionResultJson
- All Implemented Interfaces:
ICdaCamelConversionResultJson,IModelJson,IModelJson
Contains all the relevant data involved in the conversion of a CDA document to a FHIR IBaseBundle resource.
-
Field Summary
FieldsFields inherited from interface ca.cdr.api.camel.ICdaCamelConversionResultJson
BUNDLE, MODIFIABLE_DOCUMENTFields inherited from interface ca.uhn.fhir.model.api.IModelJson
SENSITIVE_DATA_FILTER_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidsetBundle(IBaseBundle theBundle) Sets the bundle resource that has been created from the modifiable CDA Exchange document.voidsetDoProcess(boolean theDoProcess) Sets a flag to indicate whether the modifiable CDA Exchange document should be processed.voidsetModifiableDocument(String theModifiableDocument) Sets the CDA Exchange document which customizations can be applied to.voidsetOperationOutcome(IBaseOperationOutcome theOperationOutcome) Set the operation outcome resource.
-
Field Details
-
ORIGINAL_DOCUMENT
- See Also:
-
DO_PROCESS
- See Also:
-
OPERATION_OUTCOME
- See Also:
-
-
Constructor Details
-
CdaToFhirConversionResultJson
-
-
Method Details
-
getOriginalDocument
- Returns:
- A copy of the original CDA Exchange document before any customizations have been applied.
-
getModifiableDocument
- Specified by:
getModifiableDocumentin interfaceICdaCamelConversionResultJson- Returns:
- The CDA Exchange document which customizations can be applied to.
-
setModifiableDocument
Sets the CDA Exchange document which customizations can be applied to.- Specified by:
setModifiableDocumentin interfaceICdaCamelConversionResultJson- Parameters:
theModifiableDocument- The modifiable document
-
getBundle
- Specified by:
getBundlein interfaceICdaCamelConversionResultJson- Returns:
- A bundle resource that has been created from the modifiable CDA Exchange document.
-
setBundle
Sets the bundle resource that has been created from the modifiable CDA Exchange document.- Parameters:
theBundle- The bundle resource
-
isDoProcess
- Returns:
- Whether the modifiable CDA Exchange document should be processed.
-
setDoProcess
Sets a flag to indicate whether the modifiable CDA Exchange document should be processed.- Parameters:
theDoProcess- The value of the flag
-
setOperationOutcome
Set the operation outcome resource.- Parameters:
theOperationOutcome- the operation outcome
-
getOperationOutcome
- Returns:
- The operation outcome resource.
-