Synchronize concepts for a given code system

Aus Termserver-CTS2
(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
(Die Seite wurde neu angelegt: „=Description= You can synchronize concepts for a given code system with the method "ListCodeSystemConcepts" in the "Search" web service. Therefore you have to sp…“)
 
(Request)
Zeile 9: Zeile 9:
 
'''Method:''' ListCodeSystemConcepts
 
'''Method:''' ListCodeSystemConcepts
 
==Request==
 
==Request==
 +
'''versionId:''' versionId from your code system you want to get concepts from
 +
 +
'''isMainClass:''' true, if you want to get only the root concepts (if code system is hierarchical)
 +
 +
'''lookForward:''' true, if you want to get the childs from the concepts, if available (if code system is hierarchical)
 +
 +
'''statusVisibilityDate:''' '''your last synchronization date'''
 +
 
  <source lang="xml">
 
  <source lang="xml">
 +
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sear="http://search.ws.terminologie.fhdo.de/">
 +
  <soapenv:Header/>
 +
  <soapenv:Body>
 +
    <sear:ListCodeSystemConcepts>
 +
      <parameter>
 +
        <codeSystem>
 +
          <codeSystemVersions>
 +
            <versionId>1</versionId>
 +
          </codeSystemVersions>
 +
        </codeSystem>
 +
        <codeSystemEntity>
 +
          <codeSystemEntityVersions>
 +
            <statusVisibilityDate>2014-11-17T11:10:00+01:00</statusVisibilityDate>
 +
          </codeSystemEntityVersions>
 +
        </codeSystemEntity>
 +
        <searchParameter>
 +
        </searchParameter>
 +
        <lookForward>false</lookForward>
 +
      </parameter>
 +
    </sear:ListCodeSystemConcepts>
 +
  </soapenv:Body>
 +
</soapenv:Envelope>
 
</source>
 
</source>
 +
 
==Response==
 
==Response==
 
A possible response can look like this:
 
A possible response can look like this:

Version vom 25. November 2014, 09:18 Uhr

Inhaltsverzeichnis

Description

You can synchronize concepts for a given code system with the method "ListCodeSystemConcepts" in the "Search" web service.

Therefore you have to specify a timestamp from your last synchronization. If it is your first, leave it empty. You have to save the current timestamp at every synchronization and save it to specify it at the next call.

SOAP

Web service: Search

Method: ListCodeSystemConcepts

Request

versionId: versionId from your code system you want to get concepts from

isMainClass: true, if you want to get only the root concepts (if code system is hierarchical)

lookForward: true, if you want to get the childs from the concepts, if available (if code system is hierarchical)

statusVisibilityDate: your last synchronization date

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sear="http://search.ws.terminologie.fhdo.de/">
  <soapenv:Header/>
  <soapenv:Body>
    <sear:ListCodeSystemConcepts>
      <parameter>
        <codeSystem>
          <codeSystemVersions>
            <versionId>1</versionId>
          </codeSystemVersions>
        </codeSystem>
        <codeSystemEntity>
          <codeSystemEntityVersions>
            <statusVisibilityDate>2014-11-17T11:10:00+01:00</statusVisibilityDate>
          </codeSystemEntityVersions>
        </codeSystemEntity>
        <searchParameter>
        </searchParameter>
        <lookForward>false</lookForward>
      </parameter>
    </sear:ListCodeSystemConcepts>
  </soapenv:Body>
</soapenv:Envelope>

Response

A possible response can look like this:

 
Meine Werkzeuge
Namensräume
Varianten
Aktionen
Navigation
Werkzeuge