๐Ÿšถโ€โ™‚๏ธ 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
}

Last updated