Project

General

Profile

« Previous | Next » 

Revision 0aa652ff

Added by Mikaël Ates over 11 years ago

fixtures: fix various things to make automated validation successes from fixtures.

View differences:

calebasse/fixtures/actes.json
1 1
[
2
  {
3
    "pk": 1,
4
    "model": "actes.act",
5
    "fields": {
6
      "patient": 8,
7
      "date": "2012-10-30T00:00:00",
8
      "act_type": 1,
9
      "validation_locked": false,
10
      "transport_type": null,
11
      "transport_company": null
2
    {
3
        "fields": {
4
            "act_type": 1,
5
            "date": "2012-10-30T12:00:00",
6
            "patient": 8,
7
            "transport_company": null,
8
            "transport_type": null,
9
            "validation_locked": false
10
        },
11
        "model": "actes.act",
12
        "pk": 1
13
    },
14
    {
15
        "fields": {
16
            "act_type": 10,
17
            "date": "2012-10-30T00:00:00",
18
            "patient": 9,
19
            "transport_company": null,
20
            "transport_type": null,
21
            "validation_locked": false
22
        },
23
        "model": "actes.act",
24
        "pk": 2
25
    },
26
    {
27
        "fields": {
28
            "attendance": "absent",
29
            "convocation_sent": false,
30
            "event_ptr": 1,
31
            "participants": [
32
                5
33
            ],
34
            "services": [
35
                1
36
            ]
37
        },
38
        "model": "actes.eventact",
39
        "pk": 1
40
    },
41
    {
42
        "fields": {
43
            "attendance": "absent",
44
            "convocation_sent": false,
45
            "event_ptr": 2,
46
            "participants": [
47
                5
48
            ],
49
            "services": [
50
                1
51
            ]
52
        },
53
        "model": "actes.eventact",
54
        "pk": 2
55
    },
56
    {
57
        "fields": {
58
            "act": 1,
59
            "author": 1,
60
            "auto": false,
61
            "created": "2012-10-30T00:00:00",
62
            "previous_state": null,
63
            "state_name": "NON_VALIDE"
64
        },
65
        "model": "actes.actvalidationstate",
66
        "pk": 1
67
    },
68
    {
69
        "fields": {
70
            "act": 2,
71
            "author": 1,
72
            "auto": false,
73
            "created": "2012-10-30T00:00:00",
74
            "previous_state": null,
75
            "state_name": "NON_VALIDE"
76
        },
77
        "model": "actes.actvalidationstate",
78
        "pk": 2
12 79
    }
13
  },
14
  {
15
    "pk": 2,
16
    "model": "actes.act",
17
    "fields": {
18
      "patient": 9,
19
      "date": "2012-10-30T00:00:00",
20
      "act_type": 10,
21
      "validation_locked": false,
22
      "transport_type": null,
23
      "transport_company": null
24
    }
25
  },
26
  {
27
    "pk": 1,
28
    "model": "actes.eventact",
29
    "fields": {
30
      "attendance": "absent",
31
      "participants": [
32
        5
33
      ],
34
      "services": [
35
        1
36
      ],
37
      "event_ptr": 1,
38
      "convocation_sent": false
39
    }
40
  },
41
  {
42
    "pk": 2,
43
    "model": "actes.eventact",
44
    "fields": {
45
      "attendance": "absent",
46
      "participants": [
47
        5
48
      ],
49
      "services": [
50
        1
51
      ],
52
      "event_ptr": 2,
53
      "convocation_sent": false
54
    }
55
  }
56 80
]
calebasse/fixtures/agenda.json
1 1
[
2 2
  {
3
    "pk": 4, 
4
    "model": "agenda.eventtype", 
3
    "pk": 4,
4
    "model": "agenda.eventtype",
5 5
    "fields": {
6 6
      "label": "R\u00e9union \u00e0 l'ext\u00e9rieur"
7 7
    }
8
  }, 
8
  },
9 9
  {
10
    "pk": 5, 
11
    "model": "agenda.eventtype", 
10
    "pk": 5,
11
    "model": "agenda.eventtype",
12 12
    "fields": {
13 13
      "label": "En formation"
14 14
    }
15
  }, 
15
  },
16 16
  {
17
    "pk": 6, 
18
    "model": "agenda.eventtype", 
17
    "pk": 6,
18
    "model": "agenda.eventtype",
19 19
    "fields": {
20 20
      "label": "Donne une formation"
21 21
    }
22
  }, 
22
  },
23 23
  {
24
    "pk": 7, 
25
    "model": "agenda.eventtype", 
24
    "pk": 7,
25
    "model": "agenda.eventtype",
26 26
    "fields": {
27 27
      "label": "Equipe pluridisciplinaire MLA"
28 28
    }
29
  }, 
29
  },
30 30
  {
31
    "pk": 8, 
32
    "model": "agenda.eventtype", 
31
    "pk": 8,
32
    "model": "agenda.eventtype",
33 33
    "fields": {
34 34
      "label": "Supervision"
35 35
    }
36
  }, 
36
  },
37 37
  {
38
    "pk": 9, 
39
    "model": "agenda.eventtype", 
38
    "pk": 9,
39
    "model": "agenda.eventtype",
40 40
    "fields": {
41 41
      "label": "R\u00e9union de service"
42 42
    }
43
  }, 
43
  },
44 44
  {
45
    "pk": 10, 
46
    "model": "agenda.eventtype", 
45
    "pk": 10,
46
    "model": "agenda.eventtype",
47 47
    "fields": {
48 48
      "label": "R\u00e9union de direction"
49 49
    }
50
  }, 
50
  },
51 51
  {
52
    "pk": 11, 
53
    "model": "agenda.eventtype", 
52
    "pk": 11,
53
    "model": "agenda.eventtype",
54 54
    "fields": {
55 55
      "label": "R\u00e9union administratifs"
56 56
    }
57
  }, 
57
  },
58 58
  {
59
    "pk": 12, 
60
    "model": "agenda.eventtype", 
59
    "pk": 12,
60
    "model": "agenda.eventtype",
61 61
    "fields": {
62 62
      "label": "R\u00e9union agents de service"
63 63
    }
64
  }, 
64
  },
65 65
  {
66
    "pk": 13, 
67
    "model": "agenda.eventtype", 
66
    "pk": 13,
67
    "model": "agenda.eventtype",
68 68
    "fields": {
69 69
      "label": "Concertation direction"
70 70
    }
71
  }, 
71
  },
72 72
  {
73
    "pk": 14, 
74
    "model": "agenda.eventtype", 
73
    "pk": 14,
74
    "model": "agenda.eventtype",
75 75
    "fields": {
76 76
      "label": "P\u00e9rinatalit\u00e9"
77 77
    }
78
  }, 
78
  },
79 79
  {
80
    "pk": 15, 
81
    "model": "agenda.eventtype", 
80
    "pk": 15,
81
    "model": "agenda.eventtype",
82 82
    "fields": {
83 83
      "label": "R\u00e9union des parents"
84 84
    }
85
  }, 
85
  },
86 86
  {
87
    "pk": 16, 
88
    "model": "agenda.eventtype", 
87
    "pk": 16,
88
    "model": "agenda.eventtype",
89 89
    "fields": {
90 90
      "label": "Temps de trajet"
91 91
    }
92
  }, 
92
  },
93 93
  {
94
    "pk": 3, 
95
    "model": "agenda.event", 
94
    "pk": 3,
95
    "model": "agenda.event",
96 96
    "fields": {
97
      "event_type": 4, 
98
      "title": "Entr'ouvert", 
99
      "description": "Bla bla bla", 
97
      "event_type": 4,
98
      "title": "Entr'ouvert",
99
      "description": "Bla bla bla",
100 100
      "participants": [
101
        5, 
101
        5,
102 102
        6
103
      ], 
103
      ],
104 104
      "services": [
105
        1, 
105
        1,
106 106
        2
107
      ], 
107
      ],
108 108
      "room": 2
109 109
    }
110
  }, 
110
  },
111 111
  {
112
    "pk": 2, 
113
    "model": "agenda.event", 
112
    "pk": 2,
113
    "model": "agenda.event",
114 114
    "fields": {
115
      "event_type": 1, 
116
      "title": "Jack Itchan", 
117
      "description": "blabla bla bla", 
115
      "event_type": 1,
116
      "title": "Jack Itchan",
117
      "description": "blabla bla bla",
118 118
      "participants": [
119 119
        5
120
      ], 
120
      ],
121 121
      "services": [
122
        2
123
      ], 
122
        1
123
      ],
124 124
      "room": 1
125 125
    }
126
  }, 
126
  },
127 127
  {
128
    "pk": 1, 
129
    "model": "agenda.event", 
128
    "pk": 1,
129
    "model": "agenda.event",
130 130
    "fields": {
131
      "event_type": 1, 
132
      "title": "John Doe", 
133
      "description": "blabla", 
131
      "event_type": 1,
132
      "title": "John Doe",
133
      "description": "blabla",
134 134
      "participants": [
135 135
        5
136
      ], 
136
      ],
137 137
      "services": [
138 138
        1
139
      ], 
139
      ],
140 140
      "room": 2
141 141
    }
142
  }, 
142
  },
143 143
  {
144
    "pk": 1, 
145
    "model": "agenda.occurrence", 
144
    "pk": 1,
145
    "model": "agenda.occurrence",
146 146
    "fields": {
147
      "notes": [], 
148
      "start_time": "2012-10-30T10:00:00", 
149
      "end_time": "2012-10-30T10:45:00", 
147
      "notes": [],
148
      "start_time": "2012-10-30T10:00:00",
149
      "end_time": "2012-10-30T10:45:00",
150 150
      "event": 1
151 151
    }
152
  }, 
152
  },
153 153
  {
154
    "pk": 2, 
155
    "model": "agenda.occurrence", 
154
    "pk": 2,
155
    "model": "agenda.occurrence",
156 156
    "fields": {
157
      "notes": [], 
158
      "start_time": "2012-10-30T10:45:00", 
159
      "end_time": "2012-10-30T11:30:00", 
157
      "notes": [],
158
      "start_time": "2012-10-30T10:45:00",
159
      "end_time": "2012-10-30T11:30:00",
160 160
      "event": 2
161 161
    }
162
  }, 
162
  },
163 163
  {
164
    "pk": 3, 
165
    "model": "agenda.occurrence", 
164
    "pk": 3,
165
    "model": "agenda.occurrence",
166 166
    "fields": {
167
      "notes": [], 
168
      "start_time": "2012-10-30T11:30:00", 
169
      "end_time": "2012-10-30T12:00:00", 
167
      "notes": [],
168
      "start_time": "2012-10-30T11:30:00",
169
      "end_time": "2012-10-30T12:00:00",
170 170
      "event": 3
171 171
    }
172 172
  }
calebasse/fixtures/dossiers.json
1 1
[
2 2
  {
3
    "pk": 1, 
4
    "model": "dossiers.filestate", 
3
    "pk": 1,
4
    "model": "dossiers.filestate",
5 5
    "fields": {
6
      "status": 1, 
7
      "comment": "", 
8
      "patient": 8, 
9
      "author": 1, 
10
      "created": "2012-11-07T18:54:59.893", 
11
      "previous_state": null, 
6
      "status": 1,
7
      "comment": "",
8
      "patient": 8,
9
      "author": 1,
10
      "created": "2012-10-29T00:00:00",
11
      "previous_state": null,
12 12
      "date_selected": "2012-11-07T00:00:00"
13 13
    }
14
  }, 
14
  },
15 15
  {
16
    "pk": 2, 
17
    "model": "dossiers.filestate", 
16
    "pk": 2,
17
    "model": "dossiers.filestate",
18 18
    "fields": {
19
      "status": 1, 
20
      "comment": "", 
21
      "patient": 9, 
22
      "author": 1, 
23
      "created": "2012-11-07T18:55:09.426", 
24
      "previous_state": null, 
19
      "status": 1,
20
      "comment": "",
21
      "patient": 9,
22
      "author": 1,
23
      "created": "2012-10-29T00:00:00",
24
      "previous_state": null,
25 25
      "date_selected": "2012-11-07T00:00:00"
26 26
    }
27
  }, 
27
  },
28 28
  {
29
    "pk": 3, 
30
    "model": "dossiers.filestate", 
29
    "pk": 3,
30
    "model": "dossiers.filestate",
31 31
    "fields": {
32
      "status": 2, 
33
      "comment": "", 
34
      "patient": 10, 
35
      "author": 1, 
36
      "created": "2012-11-21T14:27:19.671", 
37
      "previous_state": null, 
32
      "status": 2,
33
      "comment": "",
34
      "patient": 10,
35
      "author": 1,
36
      "created": "2012-11-21T14:27:19.671",
37
      "previous_state": null,
38 38
      "date_selected": "2012-11-21T00:00:00"
39 39
    }
40
  }, 
40
  },
41 41
  {
42
    "pk": 4, 
43
    "model": "dossiers.filestate", 
42
    "pk": 4,
43
    "model": "dossiers.filestate",
44 44
    "fields": {
45
      "status": 4, 
46
      "comment": "", 
47
      "patient": 11, 
48
      "author": 1, 
49
      "created": "2012-11-21T14:27:50.036", 
50
      "previous_state": null, 
45
      "status": 4,
46
      "comment": "",
47
      "patient": 11,
48
      "author": 1,
49
      "created": "2012-11-21T14:27:50.036",
50
      "previous_state": null,
51 51
      "date_selected": "2012-11-21T00:00:00"
52 52
    }
53
  }, 
53
  },
54 54
  {
55
    "pk": 5, 
56
    "model": "dossiers.filestate", 
55
    "pk": 5,
56
    "model": "dossiers.filestate",
57 57
    "fields": {
58
      "status": 5, 
59
      "comment": "", 
60
      "patient": 12, 
61
      "author": 1, 
62
      "created": "2012-11-21T14:28:20.773", 
63
      "previous_state": null, 
58
      "status": 5,
59
      "comment": "",
60
      "patient": 12,
61
      "author": 1,
62
      "created": "2012-11-21T14:28:20.773",
63
      "previous_state": null,
64 64
      "date_selected": "2012-11-21T00:00:00"
65 65
    }
66
  }, 
66
  },
67 67
  {
68
    "pk": 6, 
69
    "model": "dossiers.filestate", 
68
    "pk": 6,
69
    "model": "dossiers.filestate",
70 70
    "fields": {
71
      "status": 7, 
72
      "comment": "", 
73
      "patient": 13, 
74
      "author": 1, 
75
      "created": "2012-11-21T14:28:43.228", 
76
      "previous_state": null, 
71
      "status": 7,
72
      "comment": "",
73
      "patient": 13,
74
      "author": 1,
75
      "created": "2012-11-21T14:28:43.228",
76
      "previous_state": null,
77 77
      "date_selected": "2012-11-21T00:00:00"
78 78
    }
79
  }, 
79
  },
80 80
  {
81
    "pk": 7, 
82
    "model": "dossiers.filestate", 
81
    "pk": 7,
82
    "model": "dossiers.filestate",
83 83
    "fields": {
84
      "status": 3, 
85
      "comment": "", 
86
      "patient": 9, 
87
      "author": 1, 
88
      "created": "2012-11-21T14:30:05.626", 
89
      "previous_state": null, 
84
      "status": 3,
85
      "comment": "",
86
      "patient": 9,
87
      "author": 1,
88
      "created": "2012-11-21T14:30:05.626",
89
      "previous_state": null,
90 90
      "date_selected": "2012-11-21T00:00:00"
91 91
    }
92
  }, 
92
  },
93 93
  {
94
    "pk": 8, 
95
    "model": "dossiers.filestate", 
94
    "pk": 8,
95
    "model": "dossiers.filestate",
96 96
    "fields": {
97
      "status": 1, 
98
      "comment": "ceci est un test", 
99
      "patient": 14, 
100
      "author": 1, 
101
      "created": "2012-11-28T11:28:25.717", 
102
      "previous_state": null, 
97
      "status": 1,
98
      "comment": "ceci est un test",
99
      "patient": 14,
100
      "author": 1,
101
      "created": "2012-11-28T11:28:25.717",
102
      "previous_state": null,
103 103
      "date_selected": "2012-11-28T00:00:00"
104 104
    }
105
  }, 
105
  },
106 106
  {
107
    "pk": 1, 
108
    "model": "dossiers.patientaddress", 
107
    "pk": 1,
108
    "model": "dossiers.patientaddress",
109 109
    "fields": {
110
      "city": "Saint Etienne", 
111
      "fax": "04 77 49 28 91", 
112
      "address_complement": "", 
113
      "phone": "04 77 49 28 90", 
114
      "address": "30 rue de la libert\u00e9", 
110
      "city": "Saint Etienne",
111
      "fax": "04 77 49 28 91",
112
      "address_complement": "",
113
      "phone": "04 77 49 28 90",
114
      "address": "30 rue de la libert\u00e9",
115 115
      "zip_code": "4200"
116 116
    }
117
  }, 
117
  },
118 118
  {
119
    "pk": 2, 
120
    "model": "dossiers.patientaddress", 
119
    "pk": 2,
120
    "model": "dossiers.patientaddress",
121 121
    "fields": {
122
      "city": "Saint-\u00c9tienne", 
123
      "fax": "", 
124
      "address_complement": "", 
125
      "phone": "04 24 42 52 36", 
126
      "address": "42 avenue John Doe", 
122
      "city": "Saint-\u00c9tienne",
123
      "fax": "",
124
      "address_complement": "",
125
      "phone": "04 24 42 52 36",
126
      "address": "42 avenue John Doe",
127 127
      "zip_code": "42000"
128 128
    }
129
  }, 
129
  },
130 130
  {
131
    "pk": 10, 
132
    "model": "dossiers.patientcontact", 
131
    "pk": 10,
132
    "model": "dossiers.patientcontact",
133 133
    "fields": {
134
      "mobile": "0642121674", 
135
      "social_security_id": "2420910236578", 
136
      "email": "jeanne.darc@gmail.com", 
134
      "mobile": "0642121674",
135
      "social_security_id": "2420910236578",
136
      "email": "jeanne.darc@gmail.com",
137 137
      "addresses": [
138 138
        1
139 139
      ]
140 140
    }
141
  }, 
141
  },
142 142
  {
143
    "pk": 8, 
144
    "model": "dossiers.patientcontact", 
143
    "pk": 8,
144
    "model": "dossiers.patientcontact",
145 145
    "fields": {
146
      "mobile": "0654123654", 
147
      "social_security_id": "1424868464768", 
148
      "email": "john.doe@gmail.com", 
146
      "mobile": "0654123654",
147
      "social_security_id": "1424868464768",
148
      "email": "john.doe@gmail.com",
149 149
      "addresses": [
150 150
        1
151 151
      ]
152 152
    }
153
  }, 
153
  },
154 154
  {
155
    "pk": 14, 
156
    "model": "dossiers.patientcontact", 
155
    "pk": 14,
156
    "model": "dossiers.patientcontact",
157 157
    "fields": {
158
      "mobile": "0654123654", 
159
      "social_security_id": "1544868464768", 
160
      "email": "jean.dupond@gmail.com", 
158
      "mobile": "0654123654",
159
      "social_security_id": "1544868464768",
160
      "email": "jean.dupond@gmail.com",
161 161
      "addresses": [
162 162
        2
163 163
      ]
164 164
    }
165
  }, 
165
  },
166 166
  {
167
    "pk": 12, 
168
    "model": "dossiers.patientcontact", 
167
    "pk": 12,
168
    "model": "dossiers.patientcontact",
169 169
    "fields": {
170
      "mobile": "0644452130", 
171
      "social_security_id": "1841853654541", 
172
      "email": "guillaume.bouclier@yahoo.com", 
170
      "mobile": "0644452130",
171
      "social_security_id": "1841853654541",
172
      "email": "guillaume.bouclier@yahoo.com",
173 173
      "addresses": [
174 174
        1
175 175
      ]
176 176
    }
177
  }, 
177
  },
178 178
  {
179
    "pk": 13, 
180
    "model": "dossiers.patientcontact", 
179
    "pk": 13,
180
    "model": "dossiers.patientcontact",
181 181
    "fields": {
182
      "mobile": "0608451237", 
183
      "social_security_id": "1006895123654", 
184
      "email": "andre.hendrickx@toto.com", 
182
      "mobile": "0608451237",
183
      "social_security_id": "1006895123654",
184
      "email": "andre.hendrickx@toto.com",
185 185
      "addresses": [
186 186
        1
187 187
      ]
188 188
    }
189
  }, 
189
  },
190 190
  {
191
    "pk": 9, 
192
    "model": "dossiers.patientcontact", 
191
    "pk": 9,
192
    "model": "dossiers.patientcontact",
193 193
    "fields": {
194
      "mobile": "0654123654", 
195
      "social_security_id": "1180549588157", 
196
      "email": "jack.itchan@hotmail.com", 
194
      "mobile": "0654123654",
195
      "social_security_id": "1180549588157",
196
      "email": "jack.itchan@hotmail.com",
197 197
      "addresses": [
198 198
        1
199 199
      ]
200 200
    }
201
  }, 
201
  },
202 202
  {
203
    "pk": 11, 
204
    "model": "dossiers.patientcontact", 
203
    "pk": 11,
204
    "model": "dossiers.patientcontact",
205 205
    "fields": {
206
      "mobile": "0728452130", 
207
      "social_security_id": "2540913236578", 
208
      "email": "claudia.schiffer@yahoo.com", 
206
      "mobile": "0728452130",
207
      "social_security_id": "2540913236578",
208
      "email": "claudia.schiffer@yahoo.com",
209 209
      "addresses": [
210
        1, 
210
        1,
211 211
        2
212 212
      ]
213 213
    }
214
  }, 
214
  },
215 215
  {
216
    "pk": 8, 
217
    "model": "dossiers.patientrecord", 
216
    "pk": 8,
217
    "model": "dossiers.patientrecord",
218 218
    "fields": {
219
      "last_state": 1, 
220
      "school": 1, 
219
      "last_state": 1,
220
      "school": 1,
221 221
      "addresses": [
222 222
        1
223
      ], 
224
      "service": 1, 
225
      "creator": 1, 
226
      "created": "2012-11-28T11:02:06.292", 
223
      ],
224
      "service": 1,
225
      "creator": 1,
226
      "created": "2012-11-28T11:02:06.292",
227 227
      "contacts": [
228
        1, 
229
        2, 
230
        4, 
228
        1,
229
        2,
230
        4,
231 231
        3
232
      ], 
233
      "birthdate": "1980-10-31", 
234
      "paper_id": "1024", 
232
      ],
233
      "birthdate": "1980-10-31",
234
      "paper_id": "1024",
235 235
      "nationality": "Fran\u00e7ais"
236 236
    }
237
  }, 
237
  },
238 238
  {
239
    "pk": 9, 
240
    "model": "dossiers.patientrecord", 
239
    "pk": 9,
240
    "model": "dossiers.patientrecord",
241 241
    "fields": {
242
      "last_state": 7, 
243
      "school": 1, 
242
      "last_state": 7,
243
      "school": 1,
244 244
      "addresses": [
245 245
        1
246
      ], 
247
      "service": 1, 
248
      "creator": 1, 
249
      "created": "2012-11-28T11:02:06.292", 
246
      ],
247
      "service": 1,
248
      "creator": 1,
249
      "created": "2012-11-28T11:02:06.292",
250 250
      "contacts": [
251
        1, 
252
        2, 
253
        4, 
251
        1,
252
        2,
253
        4,
254 254
        3
255
      ], 
256
      "birthdate": "1988-12-30", 
257
      "paper_id": "45789", 
255
      ],
256
      "birthdate": "1988-12-30",
257
      "paper_id": "45789",
258 258
      "nationality": "Fran\u00e7ais"
259 259
    }
260
  }, 
260
  },
261 261
  {
262
    "pk": 10, 
263
    "model": "dossiers.patientrecord", 
262
    "pk": 10,
263
    "model": "dossiers.patientrecord",
264 264
    "fields": {
265
      "last_state": 3, 
266
      "school": 1, 
265
      "last_state": 3,
266
      "school": 1,
267 267
      "addresses": [
268 268
        1
269
      ], 
270
      "service": 1, 
271
      "creator": 1, 
272
      "created": "2012-11-28T11:02:06.292", 
269
      ],
270
      "service": 1,
271
      "creator": 1,
272
      "created": "2012-11-28T11:02:06.292",
273 273
      "contacts": [
274 274
        2
275
      ], 
276
      "birthdate": "1995-11-21", 
277
      "paper_id": "4243", 
275
      ],
276
      "birthdate": "1995-11-21",
277
      "paper_id": "4243",
278 278
      "nationality": "Fran\u00e7ais"
279 279
    }
280
  }, 
280
  },
281 281
  {
282
    "pk": 11, 
283
    "model": "dossiers.patientrecord", 
282
    "pk": 11,
283
    "model": "dossiers.patientrecord",
284 284
    "fields": {
285
      "last_state": 4, 
286
      "school": 1, 
285
      "last_state": 4,
286
      "school": 1,
287 287
      "addresses": [
288
        1, 
288
        1,
289 289
        2
290
      ], 
291
      "service": 1, 
292
      "creator": 1, 
293
      "created": "2012-11-28T11:02:06.292", 
290
      ],
291
      "service": 1,
292
      "creator": 1,
293
      "created": "2012-11-28T11:02:06.292",
294 294
      "contacts": [
295 295
        2
296
      ], 
297
      "birthdate": "1998-01-21", 
298
      "paper_id": "424243L", 
296
      ],
297
      "birthdate": "1998-01-21",
298
      "paper_id": "424243L",
299 299
      "nationality": "Fran\u00e7ais"
300 300
    }
301
  }, 
301
  },
302 302
  {
303
    "pk": 12, 
304
    "model": "dossiers.patientrecord", 
303
    "pk": 12,
304
    "model": "dossiers.patientrecord",
305 305
    "fields": {
306
      "last_state": 4, 
307
      "school": 1, 
306
      "last_state": 4,
307
      "school": 1,
308 308
      "addresses": [
309 309
        1
310
      ], 
311
      "service": 1, 
312
      "creator": 1, 
313
      "created": "2012-11-28T11:02:06.292", 
310
      ],
311
      "service": 1,
312
      "creator": 1,
313
      "created": "2012-11-28T11:02:06.292",
314 314
      "contacts": [
315
        7, 
315
        7,
316 316
        6
317
      ], 
318
      "birthdate": "1984-11-21", 
319
      "paper_id": "424546", 
317
      ],
318
      "birthdate": "1984-11-21",
319
      "paper_id": "424546",
320 320
      "nationality": "Fran\u00e7ais"
321 321
    }
322
  }, 
322
  },
323 323
  {
324
    "pk": 13, 
325
    "model": "dossiers.patientrecord", 
324
    "pk": 13,
325
    "model": "dossiers.patientrecord",
326 326
    "fields": {
327
      "last_state": 6, 
328
      "school": 1, 
327
      "last_state": 6,
328
      "school": 1,
329 329
      "addresses": [
330 330
        1
331
      ], 
332
      "service": 3, 
333
      "creator": 1, 
334
      "created": "2012-11-28T11:02:06.292", 
331
      ],
332
      "service": 3,
333
      "creator": 1,
334
      "created": "2012-11-28T11:02:06.292",
335 335
      "contacts": [
336 336
        5
337
      ], 
338
      "birthdate": "2000-11-21", 
339
      "paper_id": "425874", 
337
      ],
338
      "birthdate": "2000-11-21",
339
      "paper_id": "425874",
340 340
      "nationality": "Fran\u00e7ais"
341 341
    }
342
  }, 
342
  },
343 343
  {
344
    "pk": 14, 
345
    "model": "dossiers.patientrecord", 
344
    "pk": 14,
345
    "model": "dossiers.patientrecord",
346 346
    "fields": {
347
      "last_state": 8, 
348
      "school": null, 
347
      "last_state": 8,
348
      "school": null,
349 349
      "addresses": [
350 350
        2
351
      ], 
352
      "service": 3, 
353
      "creator": 1, 
354
      "created": "2012-11-28T11:02:06.292", 
351
      ],
352
      "service": 3,
353
      "creator": 1,
354
      "created": "2012-11-28T11:02:06.292",
355 355
      "contacts": [
356 356
        2
357
      ], 
358
      "birthdate": "1989-11-28", 
359
      "paper_id": "123456", 
357
      ],
358
      "birthdate": "1989-11-28",
359
      "paper_id": "123456",
360 360
      "nationality": "Fran\u00e7ais"
361 361
    }
362 362
  }

Also available in: Unified diff