CTS2-LE REST API: Resolve Value Set: Unterschied zwischen den Versionen
Billig (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „xxx ---- <p class=MsoNormal style='margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><b><span style='font-size:9.0pt;font-family:"Segoe UI","sans-…“) |
Billig (Diskussion | Beiträge) K |
||
| Zeile 1: | Zeile 1: | ||
| − | xxx | + | == xxx == |
---- | ---- | ||
Version vom 5. Juni 2015, 17:02 Uhr
xxx
Response webCts2Le.rest.FhirValueSets.resolveValueSet(@Context HttpServletRequest request, @QueryParam(value="_query") String query, @QueryParam(value="identifier") String identifier, @QueryParam(value="codeSystemUri") String codeSystemUri, @QueryParam(value="code") String code, @QueryParam(value="stylesheet") String stylesheet)
@GET
@Produces(value={"application/xml"})
Value set resolution. This
REST function is a multi-modal function to retrieve value set resolutions.
(A) If _query == 'expand' then identifier must be an URI of a
value set and the response is the corresponding FHIR expansion. To restrict the
expansion to code systems or codes, codeSystemUri and code have
to be set accordingly.
(B) If _query == 'expandDefinedCodeSystem' then identifier has no
meaning and codeSystemUri must be set. To restrict the expansion to a code, code has to
be set accordingly.
(C) If _query == 'expandResource' then identifier must
be an URI of a (1) CTS2 value set OR a (2) code system. In case of (1)
processing (A) will be performed. In case of (2) processing (B) will be
performed where codeSystemUri=identifier.
Parameters:
request HTTP request.
query Query refinement. _query must match '(expand|expandDefinedCodeSystem|expandResource)'.
identifier Identifier of a resource.
codeSystemUri Code system URI.
code Code.
stylesheet the stylesheet that will be referenced within the XML response.
Returns:
FHIR expansion according to <a href="http://hl7.org/fhir/2015Jan/valueset.html">FHIR</a>, or an error XML
xxx