Package com.ibm.fhir.path.patch
Class FHIRPathPatchReplace
- java.lang.Object
-
- com.ibm.fhir.path.patch.FHIRPathPatchOperation
-
- com.ibm.fhir.path.patch.FHIRPathPatchReplace
-
- All Implemented Interfaces:
com.ibm.fhir.model.patch.FHIRPatch
class FHIRPathPatchReplace extends FHIRPathPatchOperation
-
-
Constructor Summary
Constructors Constructor Description FHIRPathPatchReplace(String fhirPath, com.ibm.fhir.model.type.Element value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends com.ibm.fhir.model.resource.Resource>
Tapply(T resource)com.ibm.fhir.model.resource.Parameters.ParametertoParameter()Convert the FHIRPathPatchOperation to a Parameters.Parameter element
-
-
-
Field Detail
-
fhirPath
String fhirPath
-
value
com.ibm.fhir.model.type.Element value
-
-
Constructor Detail
-
FHIRPathPatchReplace
public FHIRPathPatchReplace(String fhirPath, com.ibm.fhir.model.type.Element value)
-
-
Method Detail
-
apply
public <T extends com.ibm.fhir.model.resource.Resource> T apply(T resource) throws com.ibm.fhir.model.patch.exception.FHIRPatchException- Throws:
com.ibm.fhir.model.patch.exception.FHIRPatchException
-
toParameter
public com.ibm.fhir.model.resource.Parameters.Parameter toParameter()
Description copied from class:FHIRPathPatchOperationConvert the FHIRPathPatchOperation to a Parameters.Parameter element- Specified by:
toParameterin classFHIRPathPatchOperation
-
-