Spécifications techniques du projet ATIH-CNG

Contenu

Profil d'un utilisateur 1

XSD.. 1

XML (exemple) 2

Fiche d'établissement 6

XSD.. 6

XML (exemple) 9

 

Profil d'un utilisateur

XSD

 

1

<?xml version="1.0" encoding="UTF-8"?>

2

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">

3

        <xs:element name="user">

4

               <xs:complexType>

5

                       <xs:choice>

6

                               <xs:element name="exception">

7

                                      <xs:complexType>

8

                                              <xs:sequence minOccurs="1" maxOccurs="1">

9

                                                     <xs:element name="id" type="xs:string"/>

10

                                                     <xs:element name="libelle" type="xs:string"/>

11

                                              </xs:sequence>

12

                                      </xs:complexType>

13

                               </xs:element>

14

                      

15

                               <xs:sequence>

16

                                      <xs:element name="id" type="xs:string"/>

17

                                      <xs:element name="nom" type="xs:string"/>

18

                                      <xs:element name="prenom" type="xs:string"/>

19

                                      <xs:element name="email" type="xs:string" nillable="true"/>

20

                                      <xs:element name="emailValide" type="xs:string" nillable="true"/>

21

                                      <xs:element name="compteActif" type="xs:string" nillable="true"/>

22

                                      <xs:element name="adresse" type="xs:string" nillable="true"/>

23

                                      <xs:element name="telephone" type="xs:string" nillable="true"/>

24

                                      <xs:element name="niveau" type="objectType"/>

25

                                      <xs:element name="organisation" type="objectType" minOccurs="0"/>

26

                                      <xs:element name="region" type="objectType" minOccurs="0"/>

27

                                      <xs:element name="ipe" type="xs:string" nillable="true"/>

28

                                      <xs:element name="structures" minOccurs="0" maxOccurs="1">

29

                                              <xs:complexType>

30

                                                     <xs:sequence minOccurs="0" maxOccurs="unbounded">

31

                                                             <xs:element name="structure" type="objectType"/>

32

                                                     </xs:sequence>

33

                                              </xs:complexType>

34

                                      </xs:element>

35

                                      <xs:element name="dateCreation" type="xs:dateTime" nillable="true"/>

36

                                      <xs:element name="dateDernierAcces" type="xs:dateTime" nillable="true"/>

37

                                      <xs:element name="drs">

38

                                              <xs:complexType>

39

                                                     <xs:sequence minOccurs="0" maxOccurs="unbounded">

40

                                                             <xs:element name="dr">

41

                                                                     <xs:complexType>

42

                                                                            <xs:sequence>

43

                                                                                    <xs:element name="domaine" type="objectType"/>

44

                                                                                    <xs:element name="roles">

45

                                                                                            <xs:complexType>

46

                                                                                                   <xs:sequence maxOccurs="unbounded">

47

                                                                                                           <xs:element name="role" type="objectType"/>

48

                                                                                                   </xs:sequence>

49

                                                                                            </xs:complexType>

50

                                                                                    </xs:element>

51

                                                                            </xs:sequence>

52

                                                                     </xs:complexType>

53

                                                             </xs:element>

54

                                                     </xs:sequence>

55

                                              </xs:complexType>

56

                                      </xs:element>

57

                                      <xs:element name="dscs">

58

                                              <xs:complexType>

59

                                                     <xs:sequence minOccurs="0" maxOccurs="unbounded">

60

                                                             <xs:element name="dsc">

61

                                                                     <xs:complexType>

62

                                                                            <xs:sequence>

63

                                                                                    <xs:element name="domaine" type="objectType"/>

64

                                                                                    <xs:element name="statuts" nillable="true" minOccurs="0" maxOccurs="1">

65

                                                                                            <xs:complexType>

66

                                                                                                   <xs:sequence>

67

                                                                                                           <xs:element name="statut" type="statutType" minOccurs="0" maxOccurs="unbounded"/>

68

                                                                                                   </xs:sequence>

69

                                                                                            </xs:complexType>

70

                                                                                    </xs:element>

71

                                                                            </xs:sequence>

72

                                                                     </xs:complexType>

73

                                                             </xs:element>

74

                                                     </xs:sequence>

75

                                              </xs:complexType>

76

                                      </xs:element>

77

                               </xs:sequence>

78

                       </xs:choice>

79

               </xs:complexType>

80

        </xs:element>

81

        <!-- ================= -->

82

        <xs:complexType name="objectType" id="objectType">

83

               <xs:sequence>

84

                       <xs:element name="id" type="xs:string"/>

85

                       <xs:element name="libelle" type="xs:string"/>

86

               </xs:sequence>

87

        </xs:complexType>

88

        <!-- ================= -->

89

        <xs:complexType name="statutType" id="statutType">

90

               <xs:complexContent>

91

                       <xs:extension base="objectType">

92

                               <xs:sequence minOccurs="0">

93

                                      <xs:element name="champs">

94

                                              <xs:complexType>

95

                                                     <xs:sequence>

96

                                                             <xs:element name="champ" type="objectType" maxOccurs="unbounded"/>

97

                                                     </xs:sequence>

98

                                              </xs:complexType>

99

                                      </xs:element>

100

                               </xs:sequence>

101

                       </xs:extension>

102

               </xs:complexContent>

103

        </xs:complexType>

104

</xs:schema>

 

XML (exemple)

 

1

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

2

<user xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="userInfo.xsd">

3

        <!-- <exception> <id>KO_1</id> <libelle>USER_PASSWORD NULL (le paramètre "userPwd" est absent de la requête).</libelle> </exception> -->

4

        <id>xxx</id>

5

        <nom>xxxx</nom>

6

        <prenom>xxxx</prenom>

7

        <email>xxxxxx@atih.sante.fr</email>

8

        <emailValide>oui</emailValide>

9

        <compteActif>oui</compteActif>

10

        <adresse></adresse>

11

        <telephone />

12

        <niveau>

13

                <id>1</id>

14

                <libelle>NIV_1</libelle>

15

        </niveau>

16

        <ipe />

17

        <structures>

18

                <structure>

19

                        <id>1</id>

20

                        <libelle></libelle>

21

                </structure>

22

        </structures>

23

        <dateCreation xsi:nil="true" />

24

        <dateDernierAcces>2011-01-28T14:32:04.000+01:00</dateDernierAcces>

25

        <drs>

26

                <dr>

27

                        <domaine>

28

                                <id>0</id>

29

                                <libelle>Administration</libelle>

30

                        </domaine>

31

                        <roles>

32

                                <role>

33

                                        <id>0</id>

34

                                        <libelle>Administrateur</libelle>

35

                                </role>

36

                                <role>

37

                                        <id>1</id>

38

                                        <libelle>Principal</libelle>

39

                                </role>

40

                                <role>

41

                                        <id>7</id>

42

                                        <libelle>Superviseur</libelle>

43

                                </role>

44

                                <role>

45

                                        <id>15</id>

46

                                        <libelle>Gestionnaire FINESS</libelle>

47

                                </role>

48

                        </roles>

49

                </dr>

50

                <dr>

51

                        <domaine>

52

                                <id>1</id>

53

                                <libelle>PMSI</libelle>

54

                        </domaine>

55

                        <roles>

56

                                <role>

57

                                        <id>0</id>

58

                                        <libelle>Administrateur</libelle>

59

                                </role>

60

                                <role>

61

                                        <id>1</id>

62

                                        <libelle>Principal</libelle>

63

                                </role>

64

                                <role>

65

                                        <id>8</id>

66

                                        <libelle>Lecteur</libelle>

67

                                </role>

68

                                <role>

69

                                        <id>9</id>

70

                                        <libelle>Valideur</libelle>

71

                                </role>

72

                        </roles>

73

                </dr>

74

                <dr>

75

                        <domaine>

76

                                <id>2</id>

77

                                <libelle>ATIH</libelle>

78

                        </domaine>

79

                        <roles>

80

                                <role>

81

                                        <id>8</id>

82

                                        <libelle>Lecteur</libelle>

83

                                </role>

84

                                <role>

85

                                        <id>10</id>

86

                                        <libelle>Correspondant</libelle>

87

                                </role>

88

                        </roles>

89

                </dr>

90

                <dr>

91

                        <domaine>

92

                                <id>3</id>

93

                                <libelle>ENC</libelle>

94

                        </domaine>

95

                        <roles>

96

                                <role>

97

                                        <id>0</id>

98

                                        <libelle>Administrateur</libelle>

99

                                </role>

100

                                <role>

101

                                        <id>6</id>

102

                                        <libelle>Référent</libelle>

103

                                </role>

104

                                <role>

105

                                        <id>7</id>

106

                                        <libelle>Superviseur</libelle>

107

                                </role>

108

                        </roles>

109

                </dr>

110

                <dr>

111

                        <domaine>

112

                                <id>5</id>

113

                                <libelle>CONTROLE</libelle>

114

                        </domaine>

115

                        <roles>

116

                                <role>

117

                                        <id>9</id>

118

                                        <libelle>Valideur</libelle>

119

                                </role>

120

                                <role>

121

                                        <id>3</id>

122

                                        <libelle>Contrôleur</libelle>

123

                                </role>

124

                                <role>

125

                                        <id>8</id>

126

                                        <libelle>Lecteur</libelle>

127

                                </role>

128

                        </roles>

129

                </dr>

130

                <dr>

131

                        <domaine>

132

                                <id>6</id>

133

                                <libelle>OMEDIT</libelle>

134

                        </domaine>

135

                        <roles>

136

                                <role>

137

                                        <id>0</id>

138

                                        <libelle>Administrateur</libelle>

139

                                </role>

140

                                <role>

141

                                        <id>8</id>

142

                                        <libelle>Lecteur</libelle>

143

                                </role>

144

                                <role>

145

                                        <id>11</id>

146

                                        <libelle>Concepteur de grilles</libelle>

147

                                </role>

148

                                <role>

149

                                        <id>12</id>

150

                                        <libelle>Animateur</libelle>

151

                                </role>

152

                        </roles>

153

                </dr>

154

                <dr>

155

                        <domaine>

156

                                <id>7</id>

157

                                <libelle>AGORA</libelle>

158

                        </domaine>

159

                        <roles>

160

                                <role>

161

                                        <id>0</id>

162

                                        <libelle>Administrateur</libelle>

163

                                </role>

164

                                <role>

165

                                        <id>8</id>

166

                                        <libelle>Lecteur</libelle>

167

                                </role>

168

                                <role>

169

                                        <id>3</id>

170

                                        <libelle>Contrôleur</libelle>

171

                                </role>

172

                                <role>

173

                                        <id>6</id>

174

                                        <libelle>Référent</libelle>

175

                                </role>

176

                                <role>

177

                                        <id>10</id>

178

                                        <libelle>Correspondant</libelle>

179

                                </role>

180

                        </roles>

181

                </dr>

182

                <dr>

183

                        <domaine>

184

                                <id>8</id>

185

                                <libelle>QUALHAS</libelle>

186

                        </domaine>

187

                        <roles>

188

                                <role>

189

                                        <id>0</id>

190

                                        <libelle>Administrateur</libelle>

191

                                </role>

192

                                <role>

193

                                        <id>8</id>

194

                                        <libelle>Lecteur</libelle>

195

                                </role>

196

                                <role>

197

                                        <id>7</id>

198

                                        <libelle>Superviseur</libelle>

199

                                </role>

200

                                <role>

201

                                        <id>3</id>

202

                                        <libelle>Contrôleur</libelle>

203

                                </role>

204

                        </roles>

205

                </dr>

206

                <dr>

207

                        <domaine>

208

                                <id>9</id>

209

                                <libelle>SNATIH</libelle>

210

                        </domaine>

211

                        <roles>

212

                                <role>

213

                                        <id>8</id>

214

                                        <libelle>Lecteur</libelle>

215

                                </role>

216

                        </roles>

217

                </dr>

218

                <dr>

219

                        <domaine>

220

                                <id>10</id>

221

                                <libelle>ICARE</libelle>

222

                        </domaine>

223

                        <roles>

224

                                <role>

225

                                        <id>0</id>

226

                                        <libelle>Administrateur</libelle>

227

                                </role>

228

                                <role>

229

                                        <id>7</id>

230

                                        <libelle>Superviseur</libelle>

231

                                </role>

232

                                <role>

233

                                        <id>8</id>

234

                                        <libelle>Lecteur</libelle>

235

                                </role>

236

                        </roles>

237

                </dr>

238

                <dr>

239

                        <domaine>

240

                                <id>11</id>

241

                                <libelle>ARBUST</libelle>

242

                        </domaine>

243

                        <roles>

244

                                <role>

245

                                        <id>0</id>

246

                                        <libelle>Administrateur</libelle>

247

                                </role>

248

                                <role>

249

                                        <id>3</id>

250

                                        <libelle>Contrôleur</libelle>

251

                                </role>

252

                                <role>

253

                                        <id>7</id>

254

                                        <libelle>Superviseur</libelle>

255

                                </role>

256

                                <role>

257

                                        <id>8</id>

258

                                        <libelle>Lecteur</libelle>

259

                                </role>

260

                        </roles>

261

                </dr>

262

                <dr>

263

                        <domaine>

264

                                <id>12</id>

265

                                <libelle>ANCRE</libelle>

266

                        </domaine>

267

                        <roles>

268

                                <role>

269

                                        <id>0</id>

270

                                        <libelle>Administrateur</libelle>

271

                                </role>

272

                                <role>

273

                                        <id>7</id>

274

                                        <libelle>Superviseur</libelle>

275

                                </role>

276

                                <role>

277

                                        <id>8</id>

278

                                        <libelle>Lecteur</libelle>

279

                                </role>

280

                        </roles>

281

                </dr>

282

                <dr>

283

                        <domaine>

284

                                <id>15</id>

285

                                <libelle>DomaineYann</libelle>

286

                        </domaine>

287

                        <roles>

288

                                <role>

289

                                        <id>10</id>

290

                                        <libelle>Correspondant</libelle>

291

                                </role>

292

                                <role>

293

                                        <id>9</id>

294

                                        <libelle>Valideur</libelle>

295

                                </role>

296

                        </roles>

297

                </dr>

298

                <dr>

299

                        <domaine>

300

                                <id>16</id>

301

                                <libelle>DomaineTestt</libelle>

302

                        </domaine>

303

                        <roles>

304

                                <role>

305

                                        <id>0</id>

306

                                        <libelle>Administrateur</libelle>

307

                                </role>

308

                        </roles>

309

                </dr>

310

                <dr>

311

                        <domaine>

312

                                <id>17</id>

313

                                <libelle>DomImp</libelle>

314

                        </domaine>

315

                        <roles>

316

                                <role>

317

                                        <id>0</id>

318

                                        <libelle>Administrateur</libelle>

319

                                </role>

320

                        </roles>

321

                </dr>

322

                <dr>

323

                        <domaine>

324

                                <id>18</id>

325

                                <libelle>DomaineDSImp</libelle>

326

                        </domaine>

327

                        <roles>

328

                                <role>

329

                                        <id>0</id>

330

                                        <libelle>Administrateur</libelle>

331

                                </role>

332

                        </roles>

333

                </dr>

334

        </drs>

335

        <dscs>

336

                <dsc>

337

                        <domaine>

338

                                <id>20</id>

339

                                <libelle>Dom test impertinent</libelle>

340

                        </domaine>

341

                        <statuts>

342

                                <statut>

343

                                        <id>0</id>

344

                                        <libelle>Tous statuts</libelle>

345

                                </statut>

346

                        </statuts>

347

348

                </dsc>

349

350

                <dsc>

351

                        <domaine>

352

                                <id>21</id>

353

                                <libelle>Dom Stat test impertinent</libelle>

354

                        </domaine>

355

                        <statuts>

356

                                <statut>

357

                                        <id>1</id>

358

                                        <libelle>ex-DGF</libelle>

359

                                        <champs>

360

                                                <champ>

361

                                                        <id>0</id>

362

                                                        <libelle>Tous champ</libelle>

363

                                                </champ>

364

365

                                        </champs>

366

                                </statut>

367

                        </statuts>

368

                </dsc>

369

                <dsc>

370

                        <domaine>

371

                                <id>15</id>

372

                                <libelle>I-SATISFACTION</libelle>

373

                        </domaine>

374

                        <statuts>

375

                                <statut>

376

                                        <id>0</id>

377

                                        <libelle>Tous statuts</libelle>

378

                                </statut>

379

                        </statuts>

380

                </dsc>

381

                <dsc>

382

                        <domaine>

383

                                <id>14</id>

384

                                <libelle>BILANLIN</libelle>

385

                        </domaine>

386

                        <statuts>

387

                                <statut>

388

                                        <id>0</id>

389

                                        <libelle>Tous statuts</libelle>

390

                                </statut>

391

                        </statuts>

392

                </dsc>

393

                <dsc>

394

                        <domaine>

395

                                <id>0</id>

396

                                <libelle>Administration</libelle>

397

                        </domaine>

398

                        <statuts>

399

                                <statut>

400

                                        <id>1</id>

401

                                        <libelle>ex-DGF</libelle>

402

                                        <champs>

403

                                                <champ>

404

                                                        <id>1</id>

405

                                                        <libelle>MCO</libelle>

406

                                                </champ>

407

                                                <champ>

408

                                                        <id>2</id>

409

                                                        <libelle>SSR</libelle>

410

                                                </champ>

411

                                        </champs>

412

                                </statut>

413

                        </statuts>

414

                </dsc>

415

        </dscs>

416

</user>

 

Fiche d'établissement

XSD

 

1

<?xml version="1.0" encoding="UTF-8"?>

2

<!-- edited with XMLSpy v2011 sp1 (http://www.altova.com) by Yann Abd-el-Kader (ATIH) -->

3

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">

4

        <xs:element name="es">

5

               <xs:complexType>

6

                       <xs:choice>

7

                               <xs:element name="exception">

8

                                      <xs:complexType>

9

                                              <xs:sequence minOccurs="1" maxOccurs="1">

10

                                                     <xs:element name="id" type="xs:string"/>

11

                                                     <xs:element name="libelle" type="xs:string"/>

12

                                              </xs:sequence>

13

                                      </xs:complexType>

14

                               </xs:element>

15

                              

16

                       <xs:sequence>

17

                               <xs:element name="id" type="xs:string"/>

18

                               <xs:element name="libelle" type="xs:string"/>

19

                               <xs:element name="ville" type="xs:string"/>

20

                               <xs:element name="codePostal" type="xs:string" nillable="true"/>

21

                               <xs:element name="region" type="objectType"/>

22

                               <xs:element name="critere" type="xs:string" nillable="true"/>

23

                               <xs:element name="idESPrincipal" type="xs:string" nillable="true"/>

24

                               <!-- booléens -->

25

                               <xs:element name="longSejour" type="xs:boolean"/>

26

                               <xs:element name="grandsBrules" type="xs:boolean"/>

27

                               <xs:element name="t2a" type="xs:boolean"/>

28

                               <xs:element name="dialyse" type="xs:boolean"/>

29

                               <xs:element name="structures" minOccurs="0" maxOccurs="1">

30

                                      <xs:complexType>

31

                                              <xs:sequence minOccurs="0" maxOccurs="unbounded">

32

                                                     <xs:element name="structure" type="objectType"/>

33

                                              </xs:sequence>

34

                                      </xs:complexType>

35

                               </xs:element>

36

                              

37

                               <!-- ========================= -->

38

                               <xs:element name="finessDomaines" nillable="true">

39

                                      <xs:complexType>

40

                                              <xs:sequence>

41

                                                     <xs:element name="finessDomaine" minOccurs="0" maxOccurs="unbounded">