CTS2-LE SVS API: Retrieve Codesystem or Value Set
Version vom 27. Juli 2017, 14:39 Uhr von Krebs (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „== Operation Syntax == <b>GET</b> /WebCts2LE/service/crud/svs/retrieveValueSet : Exports a code system or value set in XML format (strongly aligned to IHE Shar…“)
Operation Syntax
GET /WebCts2LE/service/crud/svs/retrieveValueSet
- Exports a code system or value set in XML format (strongly aligned to IHE Sharing Value Sets format).
- Parameters
- versionOf (type:
string, occurence:mandatory) the versionOf (usually an OID) of the requested resource - versionId (type:
string, occurence:mandatory) the versionId of the requested resource - type (type:
string, occurence:mandatory) the type of the requested resource, for code systems use CSV, for value sets use VS - Responses
application/xml200no errors409errors specified in XML
Example Response
GET /WebCts2LE/service/crud/svs/retrieveValueSet?versionOf=http://test/stu3/cs&versionId=2017-01&type=CSV
1 <?xml version="1.0" encoding="UTF-8"?>
2 <valueSet id="http://test/stu3/cs" version="2017-01" verantw_Org="fhg ehealth" description="... descr ..." name="code-system-stu3-88">
3 <conceptList>
4 <concept codeSystem="http://test/stu3/cs" code="1" displayName="designation-1" level="0" type="S" />
5 <concept codeSystem="http://test/stu3/cs" code="1.1" displayName="designation-11" level="1" type="S" />
6 <concept codeSystem="http://test/stu3/cs" code="1.1.1" displayName="1.1.1" level="2" type="L" />
7 <concept codeSystem="http://test/stu3/cs" code="2" displayName="designation-2" level="0" type="L" />
8 <concept codeSystem="http://test/stu3/cs" code="3" displayName="3" level="0" type="L" prop="val2; val1" />
9 </conceptList>
10 </valueSet>