Terminologieserver - ConceptAssociation - ListConceptAssociations
Aus Termserver-CTS2
(Unterschied zwischen Versionen)
(automatisch erstellt vom Webservice-Schnittstellen-Tool) |
(automatisch erstellt vom Webservice-Schnittstellen-Tool) |
||
Zeile 59: | Zeile 59: | ||
3 = cross mapping, | 3 = cross mapping, | ||
4 = link</td> | 4 = link</td> | ||
+ | </tr> | ||
+ | <tr id="gray"> | ||
+ | <td id="cardinality_cell">2</td> | ||
+ | <td id="param_level2">associationTypeId</td> | ||
+ | <td>Long</td> | ||
+ | <td></td> <td id="cardinality_cell">-</td> | ||
+ | <td>Specifies the Type of the association (e.g. 'belongs to')</td> | ||
+ | </tr> | ||
+ | <tr id="gray"> | ||
+ | <td id="cardinality_cell">2</td> | ||
+ | <td id="param_level2">codeSystemEntityVersionId1</td> | ||
+ | <td>Long</td> | ||
+ | <td></td> <td id="cardinality_cell">-</td> | ||
+ | <td>Points to the first entity of the association</td> | ||
+ | </tr> | ||
+ | <tr id="gray"> | ||
+ | <td id="cardinality_cell">2</td> | ||
+ | <td id="param_level2">codeSystemEntityVersionId2</td> | ||
+ | <td>Long</td> | ||
+ | <td></td> <td id="cardinality_cell">-</td> | ||
+ | <td>Points to the second entity of the association</td> | ||
+ | </tr> | ||
+ | <tr id="gray"> | ||
+ | <td id="cardinality_cell">2</td> | ||
+ | <td id="param_level2">id</td> | ||
+ | <td>Long</td> | ||
+ | <td></td> <td id="cardinality_cell">-</td> | ||
+ | <td></td> | ||
+ | </tr> | ||
+ | <tr id="gray"> | ||
+ | <td id="cardinality_cell">2</td> | ||
+ | <td id="param_level2">insertTimestamp</td> | ||
+ | <td>java.util.Date</td> | ||
+ | <td></td> <td id="cardinality_cell">-</td> | ||
+ | <td>Point of time, when the association was inserted.</td> | ||
+ | </tr> | ||
+ | <tr id="gray"> | ||
+ | <td id="cardinality_cell">2</td> | ||
+ | <td id="param_level2">leftId</td> | ||
+ | <td>Long</td> | ||
+ | <td></td> <td id="cardinality_cell">-</td> | ||
+ | <td>Specifies the reading direction of the association, if ID 1 or ID 2 is on the left side. E.g. ID 1 = 12, Id 2 = 14: 12 belongs to 14, or 14 belongs to 12. | ||
+ | If the direction should be ID2 -> ID1, forwardName and reverseName have to be reverted as well. </td> | ||
+ | </tr> | ||
+ | <tr id="gray"> | ||
+ | <td id="cardinality_cell">2</td> | ||
+ | <td id="param_level2">status</td> | ||
+ | <td>Integer</td> | ||
+ | <td></td> <td id="cardinality_cell">-</td> | ||
+ | <td>Status of the current entry. Can be taken from a domain. </td> | ||
+ | </tr> | ||
+ | <tr id="gray"> | ||
+ | <td id="cardinality_cell">2</td> | ||
+ | <td id="param_level2">statusDate</td> | ||
+ | <td>java.util.Date</td> | ||
+ | <td></td> <td id="cardinality_cell">-</td> | ||
+ | <td>Point of time of the last change of the status.</td> | ||
</tr> | </tr> | ||
<tr id="row_object"> | <tr id="row_object"> | ||
Zeile 66: | Zeile 123: | ||
<td></td> <td id="cardinality_cell">1..1</td> | <td></td> <td id="cardinality_cell">1..1</td> | ||
<td>Abstract class. Every entry in code_system_entity requires at least one entry in code_system_entity_version. </td> | <td>Abstract class. Every entry in code_system_entity requires at least one entry in code_system_entity_version. </td> | ||
+ | </tr> | ||
+ | <tr id="gray"> | ||
+ | <td id="cardinality_cell">2</td> | ||
+ | <td id="param_level2">currentVersionId</td> | ||
+ | <td>Long</td> | ||
+ | <td></td> <td id="cardinality_cell">-</td> | ||
+ | <td>Current ID of code_system_entity_version.</td> | ||
+ | </tr> | ||
+ | <tr id="gray"> | ||
+ | <td id="cardinality_cell">2</td> | ||
+ | <td id="param_level2">id</td> | ||
+ | <td>Long</td> | ||
+ | <td></td> <td id="cardinality_cell">-</td> | ||
+ | <td></td> | ||
</tr> | </tr> | ||
<tr id="row_object"> | <tr id="row_object"> | ||
Zeile 87: | Zeile 158: | ||
<td></td> <td id="cardinality_cell">0..1</td> | <td></td> <td id="cardinality_cell">0..1</td> | ||
<td>Last change date of the entity version.</td> | <td>Last change date of the entity version.</td> | ||
+ | </tr> | ||
+ | <tr id="gray"> | ||
+ | <td id="cardinality_cell">3</td> | ||
+ | <td id="param_level3">insertTimestamp</td> | ||
+ | <td>java.util.Date</td> | ||
+ | <td></td> <td id="cardinality_cell">-</td> | ||
+ | <td>Point in time when entry was inserted.</td> | ||
+ | </tr> | ||
+ | <tr id="gray"> | ||
+ | <td id="cardinality_cell">3</td> | ||
+ | <td id="param_level3">isLeaf</td> | ||
+ | <td>Boolean</td> | ||
+ | <td></td> <td id="cardinality_cell">-</td> | ||
+ | <td>Indicates if an element is leaf or not. Value will be set by a trigger and is therefore read only. </td> | ||
+ | </tr> | ||
+ | <tr id="gray"> | ||
+ | <td id="cardinality_cell">3</td> | ||
+ | <td id="param_level3">majorRevision</td> | ||
+ | <td>Integer</td> | ||
+ | <td></td> <td id="cardinality_cell">-</td> | ||
+ | <td>Major revision of this entry (composition of major and minor version e.g. 1.3).</td> | ||
+ | </tr> | ||
+ | <tr id="gray"> | ||
+ | <td id="cardinality_cell">3</td> | ||
+ | <td id="param_level3">minorRevision</td> | ||
+ | <td>Integer</td> | ||
+ | <td></td> <td id="cardinality_cell">-</td> | ||
+ | <td>Minor revision of this entry (composition of major and minor version e.g. 1.3)</td> | ||
+ | </tr> | ||
+ | <tr id="gray"> | ||
+ | <td id="cardinality_cell">3</td> | ||
+ | <td id="param_level3">previousVersionId</td> | ||
+ | <td>Long</td> | ||
+ | <td></td> <td id="cardinality_cell">-</td> | ||
+ | <td>Refers to the prior version, if there are more than one version.</td> | ||
+ | </tr> | ||
+ | <tr id="gray"> | ||
+ | <td id="cardinality_cell">3</td> | ||
+ | <td id="param_level3">statusDeactivated</td> | ||
+ | <td>Integer</td> | ||
+ | <td></td> <td id="cardinality_cell">-</td> | ||
+ | <td>Defines the state. Default value is 0 (=visible). Look for available values in the according domain.</td> | ||
+ | </tr> | ||
+ | <tr id="gray"> | ||
+ | <td id="cardinality_cell">3</td> | ||
+ | <td id="param_level3">statusDeactivatedDate</td> | ||
+ | <td>java.util.Date</td> | ||
+ | <td></td> <td id="cardinality_cell">-</td> | ||
+ | <td>Date when statusDeactivated changed</td> | ||
+ | </tr> | ||
+ | <tr id="gray"> | ||
+ | <td id="cardinality_cell">3</td> | ||
+ | <td id="param_level3">statusVisibility</td> | ||
+ | <td>Integer</td> | ||
+ | <td></td> <td id="cardinality_cell">-</td> | ||
+ | <td>Status of the current entry. Can be taken from a domain.</td> | ||
+ | </tr> | ||
+ | <tr id="gray"> | ||
+ | <td id="cardinality_cell">3</td> | ||
+ | <td id="param_level3">statusVisibilityDate</td> | ||
+ | <td>java.util.Date</td> | ||
+ | <td></td> <td id="cardinality_cell">-</td> | ||
+ | <td>Point of time of the last change of the status.</td> | ||
+ | </tr> | ||
+ | <tr id="gray"> | ||
+ | <td id="cardinality_cell">3</td> | ||
+ | <td id="param_level3">statusWorkflow</td> | ||
+ | <td>Integer</td> | ||
+ | <td></td> <td id="cardinality_cell">-</td> | ||
+ | <td>A workflow status, can be unique for each codesystem.</td> | ||
+ | </tr> | ||
+ | <tr id="gray"> | ||
+ | <td id="cardinality_cell">3</td> | ||
+ | <td id="param_level3">statusWorkflowDate</td> | ||
+ | <td>java.util.Date</td> | ||
+ | <td></td> <td id="cardinality_cell">-</td> | ||
+ | <td>Date when statusWorkflow changed</td> | ||
+ | </tr> | ||
+ | <tr id="gray"> | ||
+ | <td id="cardinality_cell">3</td> | ||
+ | <td id="param_level3">versionId</td> | ||
+ | <td>Long</td> | ||
+ | <td></td> <td id="cardinality_cell">-</td> | ||
+ | <td>The ID of this entry.</td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
Zeile 159: | Zeile 314: | ||
<td></td> <td id="cardinality_cell">1..1</td> | <td></td> <td id="cardinality_cell">1..1</td> | ||
<td>Specifies the Type of the association (e.g. 'belongs to')</td> | <td>Specifies the Type of the association (e.g. 'belongs to')</td> | ||
+ | </tr> | ||
+ | <tr id="gray"> | ||
+ | <td id="cardinality_cell">2</td> | ||
+ | <td id="param_level2">codeSystemEntityVersionId1</td> | ||
+ | <td>Long</td> | ||
+ | <td></td> <td id="cardinality_cell">-</td> | ||
+ | <td>Points to the first entity of the association</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
Zeile 359: | Zeile 521: | ||
<td></td> <td id="cardinality_cell">1..1</td> | <td></td> <td id="cardinality_cell">1..1</td> | ||
<td></td> | <td></td> | ||
+ | </tr> | ||
+ | <tr id="gray"> | ||
+ | <td id="cardinality_cell">4</td> | ||
+ | <td id="param_level4">description</td> | ||
+ | <td>String</td> | ||
+ | <td></td> | ||
+ | <td id="cardinality_cell">-</td> | ||
+ | <td>Description of a term or concept</td> | ||
</tr> | </tr> | ||
<tr> | <tr> |
Version vom 30. September 2014, 12:20 Uhr
zurück zur Webservice-Übersicht
Inhaltsverzeichnis |
Beschreibung
List all associations from a given concept. You can filter the results by association kind types.
Request/Response
Request
Level | Parameter | Typ | Länge | Kardinalität | Beschreibung |
---|---|---|---|---|---|
1 | loginToken | String | 0..1 | Login-Token that ensures the user is logged in. | |
1 | reverse | Boolean | 0..1 | Looks for concpets which are associated with the given concept. | |
1 | directionBoth | Boolean | 0..1 | Looks for all concpets which have relations with the given concept. | |
1 | lookForward | Boolean | 0..1 | Get the next associations from every association. Useful if you want to show a tree view and want to know if the following concepts have children. | |
1 | codeSystemEntityVersionAssociation | code_system_entity_version_association | 0..1 | Associates two entity versions with each other. | |
2 | associationKind | Integer | 1..1 | 1 = ontological,
2 = taxonomic, 3 = cross mapping, 4 = link |
|
2 | associationTypeId | Long | - | Specifies the Type of the association (e.g. 'belongs to') | |
2 | codeSystemEntityVersionId1 | Long | - | Points to the first entity of the association | |
2 | codeSystemEntityVersionId2 | Long | - | Points to the second entity of the association | |
2 | id | Long | - | ||
2 | insertTimestamp | java.util.Date | - | Point of time, when the association was inserted. | |
2 | leftId | Long | - | Specifies the reading direction of the association, if ID 1 or ID 2 is on the left side. E.g. ID 1 = 12, Id 2 = 14: 12 belongs to 14, or 14 belongs to 12. If the direction should be ID2 -> ID1, forwardName and reverseName have to be reverted as well. | |
2 | status | Integer | - | Status of the current entry. Can be taken from a domain. | |
2 | statusDate | java.util.Date | - | Point of time of the last change of the status. | |
1 | codeSystemEntity | code_system_entity | 1..1 | Abstract class. Every entry in code_system_entity requires at least one entry in code_system_entity_version. | |
2 | currentVersionId | Long | - | Current ID of code_system_entity_version. | |
2 | id | Long | - | ||
2 | codeSystemEntityVersion | code_system_entity_version | 1..1 | code_system_entity_version is the superclass of every Concept and Association. | |
3 | codeSystemEntityId | Long | 1..1 | Foreign key to code system entities ID | |
3 | effectiveDate | java.util.Date | 0..1 | Last change date of the entity version. | |
3 | insertTimestamp | java.util.Date | - | Point in time when entry was inserted. | |
3 | isLeaf | Boolean | - | Indicates if an element is leaf or not. Value will be set by a trigger and is therefore read only. | |
3 | majorRevision | Integer | - | Major revision of this entry (composition of major and minor version e.g. 1.3). | |
3 | minorRevision | Integer | - | Minor revision of this entry (composition of major and minor version e.g. 1.3) | |
3 | previousVersionId | Long | - | Refers to the prior version, if there are more than one version. | |
3 | statusDeactivated | Integer | - | Defines the state. Default value is 0 (=visible). Look for available values in the according domain. | |
3 | statusDeactivatedDate | java.util.Date | - | Date when statusDeactivated changed | |
3 | statusVisibility | Integer | - | Status of the current entry. Can be taken from a domain. | |
3 | statusVisibilityDate | java.util.Date | - | Point of time of the last change of the status. | |
3 | statusWorkflow | Integer | - | A workflow status, can be unique for each codesystem. | |
3 | statusWorkflowDate | java.util.Date | - | Date when statusWorkflow changed | |
3 | versionId | Long | - | The ID of this entry. |
Response
Level | Parameter | Typ | Länge | Kardinalität | Beschreibung |
---|---|---|---|---|---|
1 | returnInfos | ReturnType | 1..1 | Return information | |
2 | count | Integer | 1..1 | number of results | |
2 | message | String | 1..1 | an additional message | |
2 | overallErrorCategory | 1..1 | INFO, WARN, ERROR | ||
2 | status | 1..1 | OK, FAILURE | ||
1 | codeSystemEntityVersionAssociation | code_system_entity_version_association | 0..N | Associates two entity versions with each other. | |
2 | associationKind | Integer | 1..1 | 1 = ontological,
2 = taxonomic, 3 = cross mapping, 4 = link |
|
2 | associationTypeId | Long | 1..1 | Specifies the Type of the association (e.g. 'belongs to') | |
2 | codeSystemEntityVersionId1 | Long | - | Points to the first entity of the association | |
2 | codeSystemEntityVersionId2 | Long | 1..1 | Points to the second entity of the association | |
2 | id | Long | 1..1 | ||
2 | insertTimestamp | java.util.Date | 1..1 | Point of time, when the association was inserted. | |
2 | leftId | Long | 1..1 | Specifies the reading direction of the association, if ID 1 or ID 2 is on the left side. E.g. ID 1 = 12, Id 2 = 14: 12 belongs to 14, or 14 belongs to 12. If the direction should be ID2 -> ID1, forwardName and reverseName have to be reverted as well. | |
2 | status | Integer | 1..1 | Status of the current entry. Can be taken from a domain. | |
2 | statusDate | java.util.Date | 1..1 | Point of time of the last change of the status. | |
2 | associationType | association_type | 1..1 | Name of an association. Specialization of code_system_entity_version. The codeSystemEntityVersionId is the same as the versionId of code_system_entity_version | |
3 | codeSystemEntityVersionId | Long | 1..1 | Match to the versionId of code_system_entity_version | |
3 | forwardName | String | 50 | 1..1 | Name of association in normal reading direction (ID 1->2) |
3 | reverseName | String | 50 | 1..1 | Name of association in reversed reading direction (ID 2->1) |
2 | codeSystemEntityVersion | code_system_entity_version | 1..1 | code_system_entity_version is the superclass of every Concept and Association. | |
3 | codeSystemEntityId | Long | 1..1 | Foreign key to code system entities ID | |
3 | effectiveDate | java.util.Date | 1..1 | Last change date of the entity version. | |
3 | insertTimestamp | java.util.Date | 1..1 | Point in time when entry was inserted. | |
3 | isLeaf | Boolean | 1..1 | Indicates if an element is leaf or not. Value will be set by a trigger and is therefore read only. | |
3 | majorRevision | Integer | 1..1 | Major revision of this entry (composition of major and minor version e.g. 1.3). | |
3 | minorRevision | Integer | 1..1 | Minor revision of this entry (composition of major and minor version e.g. 1.3) | |
3 | previousVersionId | Long | 1..1 | Refers to the prior version, if there are more than one version. | |
3 | statusDeactivated | Integer | 1..1 | Defines the state. Default value is 0 (=visible). Look for available values in the according domain. | |
3 | statusDeactivatedDate | java.util.Date | 1..1 | Date when statusDeactivated changed | |
3 | statusVisibility | Integer | 1..1 | Status of the current entry. Can be taken from a domain. | |
3 | statusVisibilityDate | java.util.Date | 1..1 | Point of time of the last change of the status. | |
3 | statusWorkflow | Integer | 1..1 | A workflow status, can be unique for each codesystem. | |
3 | statusWorkflowDate | java.util.Date | 1..1 | Date when statusWorkflow changed | |
3 | versionId | Long | 1..1 | The ID of this entry. | |
3 | codeSystemConcept | code_system_concept | 1..1 | Displays a concept or term. Specialization of code_system_entity_version. | |
4 | code | String | 100 | 1..1 | Code of a concept or term. |
4 | codeSystemEntityVersionId | Long | 1..1 | ||
4 | description | String | - | Description of a term or concept | |
4 | isPreferred | Boolean | 1..1 | Specifies, if a term or concept is preferred or not. | |
4 | term | String | 65535 | 1..1 | The term itself |
4 | termAbbrevation | String | 50 | 1..1 | The abbrevation of the term. |
Beispiele
SOAP
Example search for Cross-Mappings
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:con="http://conceptAssociation.ws.terminologie.fhdo.de/"> <soapenv:Header/> <soapenv:Body> <con:ListConceptAssociations> <parameter> <codeSystemEntity> <codeSystemEntityVersions> <status/> <versionId>29769</versionId> </codeSystemEntityVersions> </codeSystemEntity> <codeSystemEntityVersionAssociation> <associationKind>3</associationKind> </codeSystemEntityVersionAssociation> <directionBoth>true</directionBoth> </parameter> </con:ListConceptAssociations> </soapenv:Body> </soapenv:Envelope>
Search for all associations of a given term
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:con="http://conceptAssociation.ws.terminologie.fhdo.de/"> <soapenv:Header/> <soapenv:Body> <con:ListConceptAssociations> <parameter> <codeSystemEntity> <codeSystemEntityVersions> <versionId>17</versionId> </codeSystemEntityVersions> </codeSystemEntity> </parameter> </con:ListConceptAssociations> </soapenv:Body> </soapenv:Envelope>