Documentation ¶
Overview ¶
package quickumlsrest provides an API client to the quickUMLS-rest service. The server can be found as a docker image from https://hub.docker.com/r/aehrc/quickumls-rest/.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Candidate ¶
type Candidate struct { Start int `json:"start"` End int `json:"end"` Preferred int `json:"preferred"` Similarity float64 `json:"similarity"` CUI string `json:"cui"` NGram string `json:"ngram"` Term string `json:"term"` SemTypes []string `json:"semtypes"` SnomedCT []string `json:"snomed_ct"` }
Candidate defines the response from the quickUMLS-rest service.
type MatchRequest ¶
type MatchRequest struct {
Text string `json:"text"`
}
MatchRequest is the request body sent to the match endpoint of the quickUMLS-rest service.
Click to show internal directories.
Click to hide internal directories.