department-of-veterans-affairs/vets-website

View on GitHub
src/applications/vaos/services/mocks/var/past.json

Summary

Maintainability
Test Coverage
{
  "data": [
    {
      "id": "ade93d5b68dc06fb47bddfab6548fc64",
      "type": "va_appointments",
      "attributes": {
        "startDate": "2019-10-07T14:00:00Z",
        "clinicId": "455",
        "clinicFriendlyName": null,
        "facilityId": "983",
        "sta6aid": "983",
        "communityCare": false,
        "vdsAppointments": [
          {
            "bookingNote": null,
            "appointmentLength": "60",
            "appointmentTime": "2019-10-07T14:00:00Z",
            "clinic": {
              "name": "CHY PC CASSIDY",
              "askForCheckIn": false,
              "facilityCode": "983"
            },
            "type": "SERVICE CONNECTED",
            "currentStatus": "FUTURE"
          }
        ],
        "vvsAppointments": []
      }
    },
    {
      "id": "8f9792ed196a9112fb17ed2f5fa2996b",
      "type": "va_appointments",
      "attributes": {
        "startDate": "2019-10-07T16:00:00Z",
        "clinicId": "308",
        "clinicFriendlyName": null,
        "facilityId": "983",
        "sta6aid": "983GC",
        "communityCare": false,
        "vdsAppointments": [
          {
            "bookingNote": null,
            "appointmentLength": null,
            "appointmentTime": "2019-10-07T16:00:00Z",
            "clinic": {
              "name": "CHY OPT VAR1",
              "askForCheckIn": false,
              "facilityCode": "983"
            },
            "type": "REGULAR",
            "currentStatus": "FUTURE"
          }
        ],
        "vvsAppointments": []
      }
    },
    {
      "id": "9e68dd069f61de684ba66ea03c67bd69",
      "type": "va_appointments",
      "attributes": {
        "startDate": "2019-10-08T14:20:00Z",
        "clinicId": null,
        "clinicFriendlyName": null,
        "facilityId": "983",
        "communityCare": false,
        "vdsAppointments": [],
        "vvsAppointments": [
          {
            "id": "b1c5777c-7022-47f6-9449-de05ec9744ec",
            "appointmentKind": "ADHOC",
            "sourceSystem": "SM",
            "dateTime": "2019-10-08T14:20:00Z",
            "duration": 20,
            "status": { "description": "F", "code": "FUTURE" },
            "schedulingRequestType": "NEXT_AVAILABLE_APPT",
            "type": "REGULAR",
            "instructionsOther": false,
            "patients": [
              {
                "name": { "firstName": "JUDY", "lastName": "MORRISON" },
                "contactInformation": {
                  "mobile": "3019161234",
                  "preferredEmail": "marcy.nadeau@va.gov"
                },
                "location": {
                  "type": "NonVA",
                  "facility": {
                    "name": "CHEYENNE VAMC",
                    "siteCode": "983",
                    "timeZone": "10"
                  }
                },
                "patientAppointment": true,
                "virtualMeetingRoom": {
                  "conference": "VVC1225319",
                  "pin": "6524020706#",
                  "url": "https://care2.evn.va.gov/vvc-app/?join=1&media=1&escalate=1&conference=VVC1225319@care2.evn.va.gov&pin=6524020706#"
                }
              }
            ],
            "providers": [
              {
                "name": { "firstName": "RP", "lastName": "Test" },
                "contactInformation": {
                  "mobile": "3019122334",
                  "preferredEmail": "ruba.pichaimuthu@va.gov",
                  "timeZone": "10"
                },
                "location": {
                  "type": "VA",
                  "facility": {
                    "name": "CHEYENNE VAMC",
                    "siteCode": "983",
                    "timeZone": "10"
                  }
                },
                "virtualMeetingRoom": {
                  "conference": "VVC1225319",
                  "pin": "3694560#",
                  "url": "https://care2.evn.va.gov/vvc-app/?name=Test%2CRP&join=1&media=1&escalate=1&conference=VVC1225319@care2.evn.va.gov&pin=3694560#"
                }
              }
            ]
          }
        ]
      }
    }
  ],
  "meta": {
    "pagination": {
      "currentPage": 0,
      "perPage": 0,
      "totalPages": 0,
      "totalEntries": 0
    }
  }
}