Kligo
v2
v2
  • Documentation de Kligo
  • SERVICES
    • ๐Ÿ‘จโ€๐Ÿ’ป API
    • ๐Ÿ‘ฎโ€โ™€๏ธ Authentication
    • ๐Ÿ”Observation
    • ๐Ÿ“ฒDevices
    • ๐Ÿšถโ€โ™‚๏ธ Patient (experimental)
    • โ›๏ธGetting data points
      • ๐Ÿ—„๏ธREST server
      • ๐Ÿ’ซSocket.IO
  • UTILISATION
    • ๐Ÿ‡ซ๐Ÿ‡ท Installation
    • ๐Ÿ‡ซ๐Ÿ‡ท Configuration LGC
    • ๐Ÿ‡ซ๐Ÿ‡ท Jumelage
    • ๐Ÿ‡ซ๐Ÿ‡ท Utilisation
    • โ˜‘๏ธ Compatibilitรฉ
  • Distributeurs
    • Offre d'essai
  • Misc
    • ๐Ÿ“ฏChangelog
Powered by GitBook
On this page
  • Patient
  • E.g. for an spirometry :

Was this helpful?

  1. SERVICES

๐Ÿšถโ€โ™‚๏ธ Patient (experimental)

You can send information of the current patient via this route :

Patient

POST localhost:63336/v0/patient

with this JSON

POST patient body
{
  "id" : "7809812", // identifiant unique
  "gender" : "Male", // Male | Female | Other | Unknown
  "birthDate" : "1967-01-18", // mercredi 18 janvier 1967
  "ethnicity" : "Caucasian", // Caucasian | SouthEastAsian | NorthEastAsian | AfricanAmerican | Other
  "height" : "175", // height in Cm
  "weight" : "85", // weight in Kg
  "firstName": "John", 
  "lastName": "Doe"
}

E.g. for an spirometry :

You send this :

{
 "id" : "7809812",
 "gender" : "Male",
 "birthDate" : "1967-01-18",
 "ethnicity" : "Caucasian",
 "height" : "175",
 "weight" : "85"
}

You get this :

body.json
{    
    "deviceId":"59c4df93435de30024751c5a",
    "deviceType":"spirometer",
    "consultationId":"afd2c1a5-0112-4ee5-8e56-43addd80d7fa",
    "id":"1496fb4a-128e-4636-90bf-6dcfbcc7fa25",
    "subjectId" "7809812",
    "components":{    
        "FVC":{
            "value":2.3399999141693115,
            "unit":"L"        
        },
        "FEV1":{
            "value":2.3399999141693115,            
            "unit":"L"        
        },        
        "PEF":{            
            "value":3.180000066757202,            
            "unit":"L/s"
        },        
        "Flow":{            
            "value":["data"],            
            "unit":"L/s"        
        }    
    },    
    "type":"Spirometry panel",
    "archived":false,
    "timestamp":1544628006343
}
Previous๐Ÿ“ฒDevicesNextGetting data points

Last updated 6 years ago

Was this helpful?