A9. Thésaurus d'indications (CIM-10)
curl --request GET \
--url https://drugs.locusmedical.fr/v1/indications \
--header 'X-Locus-Abonne: <api-key>' \
--header 'X-Locus-Editeur: <api-key>'import requests
url = "https://drugs.locusmedical.fr/v1/indications"
headers = {
"X-Locus-Editeur": "<api-key>",
"X-Locus-Abonne": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {'X-Locus-Editeur': '<api-key>', 'X-Locus-Abonne': '<api-key>'}
};
fetch('https://drugs.locusmedical.fr/v1/indications', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://drugs.locusmedical.fr/v1/indications",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-Locus-Abonne: <api-key>",
"X-Locus-Editeur: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://drugs.locusmedical.fr/v1/indications"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Locus-Editeur", "<api-key>")
req.Header.Add("X-Locus-Abonne", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://drugs.locusmedical.fr/v1/indications")
.header("X-Locus-Editeur", "<api-key>")
.header("X-Locus-Abonne", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://drugs.locusmedical.fr/v1/indications")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Locus-Editeur"] = '<api-key>'
request["X-Locus-Abonne"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"edition": {
"id": "<string>",
"date": "2023-12-25",
"hors_cycle": false,
"motif": "<string>"
},
"indications": [
{
"id": "<string>",
"libelle": "<string>",
"cim10": [],
"remboursable": true
}
]
}A. Référentiel
A9. Thésaurus d'indications (CIM-10)
GET
/
v1
/
indications
A9. Thésaurus d'indications (CIM-10)
curl --request GET \
--url https://drugs.locusmedical.fr/v1/indications \
--header 'X-Locus-Abonne: <api-key>' \
--header 'X-Locus-Editeur: <api-key>'import requests
url = "https://drugs.locusmedical.fr/v1/indications"
headers = {
"X-Locus-Editeur": "<api-key>",
"X-Locus-Abonne": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {'X-Locus-Editeur': '<api-key>', 'X-Locus-Abonne': '<api-key>'}
};
fetch('https://drugs.locusmedical.fr/v1/indications', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://drugs.locusmedical.fr/v1/indications",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-Locus-Abonne: <api-key>",
"X-Locus-Editeur: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://drugs.locusmedical.fr/v1/indications"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Locus-Editeur", "<api-key>")
req.Header.Add("X-Locus-Abonne", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://drugs.locusmedical.fr/v1/indications")
.header("X-Locus-Editeur", "<api-key>")
.header("X-Locus-Abonne", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://drugs.locusmedical.fr/v1/indications")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Locus-Editeur"] = '<api-key>'
request["X-Locus-Abonne"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"edition": {
"id": "<string>",
"date": "2023-12-25",
"hors_cycle": false,
"motif": "<string>"
},
"indications": [
{
"id": "<string>",
"libelle": "<string>",
"cim10": [],
"remboursable": true
}
]
}Authorizations
Clé d'éditeur de LGC, remise par Locus à la signature du contrat.
Identifiant de l'abonné (le médecin) chez l'éditeur, par exemple rpps:10001234567.