Skip to content

Arrive an appointment

Oridashi edited this page Mar 19, 2020 · 1 revision

Arrive an appointment

  • copy existing appointment change the status to 'arrived'
  • update the appointment via PUT Request
PUT http://demo.oridashi.com.au:8304/Appointment/B5C410B1158847ACA70C0FC83B4C2888.1432
{
   "resourceType":"Appointment",
   "id":"B5C410B1158847ACA70C0FC83B4C2888.1432",
   "meta":{
      "versionId":"20200319003724",
      "lastUpdated":"2020-03-19T00:37:24.943+00:00"
   },
   "status":"arrived",
   "serviceCategory":[
      {
         "coding":[
            {
               "system":"http://oridashi.com.au/system/code/bestpracticeappointmenttype",
               "code":"1"
            }
         ]
      }
   ],
   "start":"2020-03-19T10:45:00+11:00",
   "end":"2020-03-19T11:00:00+11:00",
   "participant":[
      {
         "actor":{
            "reference":"Practitioner/B5C410B1158847ACA70C0FC83B4C2888.1"
         },
         "status":"accepted"
      },
      {
         "actor":{
            "reference":"Patient/B5C410B1158847ACA70C0FC83B4C2888.9"
         },
         "status":"accepted"
      }
   ]
}

Response

{
   "resourceType":"Appointment",
   "id":"B5C410B1158847ACA70C0FC83B4C2888.1432",
   "meta":{
      "versionId":"20200319003724",
      "lastUpdated":"2020-03-19T00:37:24.943+00:00"
   },
   "status":"arrived",
   "serviceCategory":[
      {
         "coding":[
            {
               "system":"http://oridashi.com.au/system/code/bestpracticeappointmenttype",
               "code":"1"
            }
         ]
      }
   ],
   "start":"2020-03-19T10:45:00+11:00",
   "end":"2020-03-19T11:00:00+11:00",
   "participant":[
      {
         "actor":{
            "reference":"Practitioner/B5C410B1158847ACA70C0FC83B4C2888.1"
         },
         "status":"accepted"
      },
      {
         "actor":{
            "reference":"Patient/B5C410B1158847ACA70C0FC83B4C2888.9"
         },
         "status":"accepted"
      }
   ]
}
Clone this wiki locally