public interface ICreateTyped extends IClientExecutable<ICreateTyped,MethodOutcome>
| Modifier and Type | Method and Description |
|---|---|
ICreateWithQuery |
conditional() |
ICreateTyped |
conditionalByUrl(String theSearchUrl)
Specifies that the create should be performed as a conditional create
against a given search URL.
|
ICreateTyped |
prefer(PreferReturnEnum theReturn)
Add a
Prefer header to the request, which requests that the server include
or suppress the resource body as a part of the result. |
ICreateTyped |
withId(IdDt theId)
If you want the explicitly state an ID for your created resource, put that ID here.
|
ICreateTyped |
withId(String theId)
If you want the explicitly state an ID for your created resource, put that ID here.
|
andLogRequestAndResponse, elementsSubset, encodedJson, encodedXml, execute, prettyPrint, summaryModeICreateWithQuery conditional()
ICreateTyped conditionalByUrl(String theSearchUrl)
theSearchUrl - The search URL to use. The format of this URL should be of the form [ResourceType]?[Parameters],
for example: Patient?name=Smith&identifier=13.2.4.11.4%7C847366ICreateTyped prefer(PreferReturnEnum theReturn)
Prefer header to the request, which requests that the server include
or suppress the resource body as a part of the result. If a resource is returned by the server
it will be parsed an accessible to the client via MethodOutcome.getResource()ICreateTyped withId(IdDt theId)
Note that creating a resource by ID is no longer supported as of FHIR DSTU2. You should use the IGenericClient.update() operation
to create-by-ID in DSTU2.
ICreateTyped withId(String theId)
Note that creating a resource by ID is no longer supported as of FHIR DSTU2. You should use the IGenericClient.update() operation
to create-by-ID in DSTU2.
Copyright © 2014–2016 University Health Network. All rights reserved.