Package ca.cdr.api.pub.cdaexchange.model
Class CdaToFhirConversionResultJson
java.lang.Object
ca.cdr.api.pub.cdaexchange.model.CdaToFhirConversionResultJson
- All Implemented Interfaces:
IModelJson
,IModelJson
Contains all the relevant data involved in the conversion of a CDA document to a FHIR IBaseBundle resource.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
Fields inherited from interface ca.uhn.fhir.model.api.IModelJson
SENSITIVE_DATA_FILTER_NAME
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
setBundle
(IBaseBundle theBundle) Sets the bundle resource that has been created from the modifiable CDA Exchange document.void
setDoProcess
(boolean theDoProcess) Sets a flag to indicate whether the modifiable CDA Exchange document should be processed.void
setModifiableDocument
(String theModifiableDocument) Sets the CDA Exchange document which customizations can be applied to.void
setOperationOutcome
(IBaseOperationOutcome theOperationOutcome) Set the operation outcome resource.
-
Field Details
-
ORIGINAL_DOCUMENT
- See Also:
-
MODIFIABLE_DOCUMENT
- See Also:
-
BUNDLE
- 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
- Returns:
- The CDA Exchange document which customizations can be applied to.
-
setModifiableDocument
Sets the CDA Exchange document which customizations can be applied to.- Parameters:
theModifiableDocument
- The modifiable document
-
getBundle
- 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.
-