Сравнение версий

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.

...

Блок кода
titleПример модели в формате JSON
collapsetrue
 {
  "visit_id": "c3c977af-c3b4-4517-9d57-50a6844ec66068be3b8d-ab25-4d45-9761-d5f3905fbd2f"
  "lpu": {
    "status": {
      "name": "Online",
      "lastChangeTime": "2018-07-01T13:19:25+03:00",
      "ping": 18
    },
    "guid": "c3c977af-c3b4-4517-9d57-50a6844ec660",
    "name": "Демиховская участковая больница",
    "address": "142632, Московская область, Орехово-Зуевский район, д. Демихово, ул. Заводская",
    "type": [
      "milk",
      "smp",
      "lpu"
    ],
    "phone": "8-496-416-04-13",
    "mcod": "330501",
    "fullName": "ГОСУДАРСТВЕННОЕ БЮДЖЕТНОЕ УЧРЕЖДЕНИЕ ЗДРАВООХРАНЕНИЯ МОСКОВСКОЙ ОБЛАСТИ \"ДЕМИХОВСКАЯ УЧАСТКОВАЯ БОЛЬНИЦА\"\"",
    "fcod": "503305",
    "stLpu": true,
    "hostID": 209,
    "isChildrenPoliclinic": false,
    "isCallDoctor": true,
    "isWaitingList": true,
    "isDisp": true,
    "isActive": true,
    "haveSchedule": true,
    "parent": {
      "guid": "c3c977af-c3b4-4517-9d57-50a6844ec660",
      "name": "ГБУЗ МО \"Демиховская участковая больница\""
    },
    "postIndex": "142632",
    "ratings": {
      "mcod": "330501    ",
      "avg": 4.6,
      "item": {
        "queue": {
          "avg": 4.45,
          "vote_count": 314,
          "summa": 1397,
          "detail_1": 219,
          "detail_2": 40,
          "detail_3": 40,
          "detail_4": 7,
          "detail_5": 8
        },
        "result": {
          "avg": 4.61,
          "vote_count": 314,
          "summa": 1449,
          "detail_1": 237,
          "detail_2": 43,
          "detail_3": 27,
          "detail_4": 4,
          "detail_5": 3
        },
        "attitude": {
          "avg": 4.72,
          "vote_count": 314,
          "summa": 1481,
          "detail_1": 258,
          "detail_2": 32,
          "detail_3": 17,
          "detail_4": 5,
          "detail_5": 2
        },
        "cleanliness": {
          "avg": 4.63,
          "vote_count": 314,
          "summa": 1453,
          "detail_1": 227,
          "detail_2": 62,
          "detail_3": 20,
          "detail_4": 5,
          "detail_5": 0
        }
      }
    },
    "addressDetail": {
      "postcode": "142632",
      "settlement": "",
      "street": "",
      "building": "",
      "house": ""
    },
    "worktimes": {
      "monday": "8:00 - 18:00",
      "tuesday": "8:00 - 18:00",
      "wednesday": "8:00 - 18:00",
      "thursday": "8:00 - 18:00",
      "friday": "8:00 - 18:00",
      "saturday": "выходной",
      "sunday": "выходной"
    },
    "cityId": "2dr_geo_57074312",
    "inn": "5073002930",
    "kpp": "503401001",
    "ogrn": "1035011301038",
    "okato": "46243822001",
    "management": "ЗУБКОВ СЕРГЕЙ ИВАНОВИЧ",
    "photo": "http://www.volgogradgiprobiosintez.ru/images/article/11/anons.jpg",
    "site": " ",
    "email": "muzdub@yandex.ru",
    "gps": "55.797093, 38.884107"
  },
  "callDoctorGuid": "68be3b8d-ab25-4d45-9761-d5f3905fbd2f",
  "callDoctorId": 17615,
  "address": "ул. Есенина, д. 48, кв. 391",
  "createdBy": null,
  "status": 0,
  "type": 1,
  "dateStatus": null,
  "diagnosis": null,
  "ticketGuid": "00000000-0000-0000-0000-000000000000",
  "timeTableGuid": "00000000-0000-0000-0000-000000000000",
  "docFio": null,
  "docGuid": "00000000-0000-0000-0000-000000000000",
  "doctorRole": null,
  "speciality": null,
  "beginTime": "0001-01-01T00:00:00+02:31",
  "endTime": "0001-01-01T00:00:00+02:31",
  "dateOfAppointment": "2018-07-05T11:59:30+03:00",
  "source": 1,
  "login": null,
  "sourceName": "Internet",
  "history": [
    {
      "element": "Статус",
      "elementGuid": "e162dfc8-2201-41de-b1c8-6531331e1436",
      "oldValue": "",
      "newValue": "Предварительный",
      "editor": "SuperPatient",
      "date": "2018-07-05T11:59:30+03:00",
      "client": {
        "mnem": "Internet",
        "name": "Портал самозаписи",
        "description": "Интернет"
      }
    }
  ]
}

...