public class FhirMeta extends Object
Constructor and Description |
---|
FhirMeta(ca.uhn.fhir.rest.client.api.IGenericClient client) |
Modifier and Type | Method and Description |
---|---|
<T extends org.hl7.fhir.instance.model.api.IBaseMetaType> |
add(T meta,
org.hl7.fhir.instance.model.api.IIdType id,
Map<ExtraParameters,Object> extraParameters)
Add the elements in the given metadata to the already existing set (do not remove any)
|
<T extends org.hl7.fhir.instance.model.api.IBaseMetaType> |
delete(T meta,
org.hl7.fhir.instance.model.api.IIdType id,
Map<ExtraParameters,Object> extraParameters)
Delete the elements in the given metadata from the given id
|
<T extends org.hl7.fhir.instance.model.api.IBaseMetaType> |
getFromResource(Class<T> metaType,
org.hl7.fhir.instance.model.api.IIdType id,
Map<ExtraParameters,Object> extraParameters)
Fetch the current metadata from a specific resource
|
<T extends org.hl7.fhir.instance.model.api.IBaseMetaType> |
getFromServer(Class<T> metaType,
Map<ExtraParameters,Object> extraParameters)
Fetch the current metadata from the whole Server
|
<T extends org.hl7.fhir.instance.model.api.IBaseMetaType> |
getFromType(Class<T> metaType,
String resourceType,
Map<ExtraParameters,Object> extraParameters)
Fetch the current metadata from a specific type
|
public <T extends org.hl7.fhir.instance.model.api.IBaseMetaType> T getFromServer(Class<T> metaType, Map<ExtraParameters,Object> extraParameters)
T
- extends IBaseMetaType
metaType
- The type of the meta datatype for the given FHIR model version (should be MetaDt.class
or MetaType.class
)extraParameters
- see ExtraParameters
for a full list of parameters that can be passed, may be NULLIBaseMetaType
public <T extends org.hl7.fhir.instance.model.api.IBaseMetaType> T getFromResource(Class<T> metaType, org.hl7.fhir.instance.model.api.IIdType id, Map<ExtraParameters,Object> extraParameters)
T
- extends IBaseMetaType
extraParameters
- see ExtraParameters
for a full list of parameters that can be passed, may be NULLmetaType
- the IBaseMetaType
classid
- the idIBaseMetaType
public <T extends org.hl7.fhir.instance.model.api.IBaseMetaType> T getFromType(Class<T> metaType, String resourceType, Map<ExtraParameters,Object> extraParameters)
T
- extends IBaseMetaType
metaType
- the IBaseMetaType
classresourceType
- the resource type e.g "Patient"extraParameters
- see ExtraParameters
for a full list of parameters that can be passed, may be NULLIBaseMetaType
public <T extends org.hl7.fhir.instance.model.api.IBaseMetaType> T add(T meta, org.hl7.fhir.instance.model.api.IIdType id, Map<ExtraParameters,Object> extraParameters)
T
- extends IBaseMetaType
id
- the idmeta
- the IBaseMetaType
classextraParameters
- see ExtraParameters
for a full list of parameters that can be passed, may be NULLIBaseMetaType
public <T extends org.hl7.fhir.instance.model.api.IBaseMetaType> T delete(T meta, org.hl7.fhir.instance.model.api.IIdType id, Map<ExtraParameters,Object> extraParameters)
T
- extends IBaseMetaType
id
- the idmeta
- the IBaseMetaType
classextraParameters
- see ExtraParameters
for a full list of parameters that can be passed, may be NULLIBaseMetaType
Apache Camel