Appointments

From Hiasobi - FHIR
Jump to: navigation, search

Key elements


Appointment
   id
   meta
      lastUpdated - modified date/time
   status
   serviceCategory 
      coding - type of appointment
   start
   end
   comment
   participant(1)
      actor - reference to patient
   participant(2)
      actor - reference to practitioner

Sample JSON (XML is available)

             {
                "resourceType": "Appointment",
                "id": "BCCBF3360BD44AD1AFCE1091AA469563.312",
                "meta": {
                    "versionId": "20200513061617",
                    "lastUpdated": "2020-05-13T06:16:17.977+00:00"
                },
                "status": "booked",
                "serviceCategory": [
                    {
                        "coding": [
                            {
                                "system": "http://oridashi.com.au/system/code/medicaldirectorappointmenttype",
                                "code": "0",
                                "display": "Standard"
                            }
                        ]
                    }
                ],
                "start": "2020-05-13T16:35:00+10:00",
                "end": "2020-05-13T16:40:00+10:00",
                "comment": "Anderson,Penny",
                "participant": [
                    {
                        "actor": {
                            "reference": "Practitioner/BCCBF3360BD44AD1AFCE1091AA469563.2"
                        },
                        "status": "accepted"
                    },
                    {
                        "actor": {
                            "reference": "Patient/BCCBF3360BD44AD1AFCE1091AA469563.21"
                        },
                        "status": "accepted"
                    }
                ]
            }

Sample cancelled JSON

             {
                "resourceType": "Appointment",
                "id": "BCCBF3360BD44AD1AFCE1091AA469563.313",
                "meta": {
                    "versionId": "20200513062404",
                    "lastUpdated": "2020-05-13T06:24:04.593+00:00"
                },
                "status": "cancelled",
                "description": "Andrews,Jennifer",
                "start": "2020-05-13T16:40:00+10:00",
                "end": "2020-05-13T16:45:00+10:00",
                "comment": "Patient cancelled appointment on 13/5/2020 at 4:24 PM",
                "participant": [
                    {
                        "actor": {
                            "reference": "Practitioner/BCCBF3360BD44AD1AFCE1091AA469563.2"
                        },
                        "status": "declined"
                    },
                    {
                        "actor": {
                            "reference": "Patient/BCCBF3360BD44AD1AFCE1091AA469563.31"
                        },
                        "status": "needs-action"
                    }
                ]
            }