Skip to content

Commit 9ff7515

Browse files
Merge pull request #90 from IleniaCentonze/master
QA error fixing
2 parents 79c9f22 + 00e2be0 commit 9ff7515

File tree

4 files changed

+104
-52
lines changed

4 files changed

+104
-52
lines changed

input/fsh/examples/diagnosticreport_micro.fsh

Lines changed: 96 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -10,48 +10,100 @@ Usage: #example
1010
* timestamp = "2023-02-25T14:30:00+01:00"
1111
* entry[+].fullUrl = "/DiagnosticReport" //urn:uuid:56f19992-e73e-45b5-bbdd-6d9aeb60b15a
1212
* entry[=].resource = DiagnosticReport-Lab-Esempio2
13+
* entry[=].request.method = #POST
14+
* entry[=].request.url = "/DiagnosticReport"
1315
* entry[+].fullUrl = "/Observation/1"
1416
* entry[=].resource = Inline-Observation-org-id2-susc-2
17+
* entry[=].request.method = #POST
18+
* entry[=].request.url = "/Observation"
1519
* entry[+].fullUrl = "/Observation/2"
1620
* entry[=].resource = Inline-Observation-gs-org2
21+
* entry[=].request.method = #POST
22+
* entry[=].request.url = "/Observation"
1723
* entry[+].fullUrl = "/Observation/3"
1824
* entry[=].resource = Inline-Observation-aerobic-culture
25+
* entry[=].request.method = #POST
26+
* entry[=].request.url = "/Observation"
1927
* entry[+].fullUrl = "/Observation/4"
2028
* entry[=].resource = Inline-Observation-wbc
29+
* entry[=].request.method = #POST
30+
* entry[=].request.url = "/Observation"
2131
* entry[+].fullUrl = "/Observation/5"
2232
* entry[=].resource = Inline-Observation-gram-stain
33+
* entry[=].request.method = #POST
34+
* entry[=].request.url = "/Observation"
2335
* entry[+].fullUrl = "/Observation/6"
2436
* entry[=].resource = Inline-Observation-org-id1-susc-panel
37+
* entry[=].request.method = #POST
38+
* entry[=].request.url = "/Observation"
2539
* entry[+].fullUrl = "/Observation/7"
2640
* entry[=].resource = Inline-Observation-org-id2
41+
* entry[=].request.method = #POST
42+
* entry[=].request.url = "/Observation"
2743
* entry[+].fullUrl = "/Observation/8"
2844
* entry[=].resource = Inline-Observation-org-id2-susc-panel
45+
* entry[=].request.method = #POST
46+
* entry[=].request.url = "/Observation"
2947
* entry[+].fullUrl = "/Observation/9"
3048
* entry[=].resource = Inline-Observation-org-id2-susc-1
49+
* entry[=].request.method = #POST
50+
* entry[=].request.url = "/Observation"
3151
* entry[+].fullUrl = "/Observation/10"
3252
* entry[=].resource = Inline-Observation-gs-org1
53+
* entry[=].request.method = #POST
54+
* entry[=].request.url = "/Observation"
3355
* entry[+].fullUrl = "/Observation/11"
3456
* entry[=].resource = Inline-Observation-org-id1-susc-3
57+
* entry[=].request.method = #POST
58+
* entry[=].request.url = "/Observation"
3559
* entry[+].fullUrl = "/Observation/12"
3660
* entry[=].resource = Inline-Observation-org-id1-susc-1
61+
* entry[=].request.method = #POST
62+
* entry[=].request.url = "/Observation"
3763
* entry[+].fullUrl = "/Observation/13"
3864
* entry[=].resource = Inline-Observation-org-id1
65+
* entry[=].request.method = #POST
66+
* entry[=].request.url = "/Observation"
3967
* entry[+].fullUrl = "/Observation/14"
4068
* entry[=].resource = Inline-Observation-org-id1-susc-4
69+
* entry[=].request.method = #POST
70+
* entry[=].request.url = "/Observation"
4171
* entry[+].fullUrl = "/Observation/15"
4272
* entry[=].resource = Inline-Observation-gs-org1-quant
73+
* entry[=].request.method = #POST
74+
* entry[=].request.url = "/Observation"
4375
* entry[+].fullUrl = "/Observation/16"
4476
* entry[=].resource = Inline-Observation-org-id1-growth
77+
* entry[=].request.method = #POST
78+
* entry[=].request.url = "/Observation"
4579
* entry[+].fullUrl = "/Observation/17"
4680
* entry[=].resource = Inline-Observation-org-id2-susc-4
81+
* entry[=].request.method = #POST
82+
* entry[=].request.url = "/Observation"
4783
* entry[+].fullUrl = "/Observation/18"
4884
* entry[=].resource = Inline-Observation-org-id1-susc-2
85+
* entry[=].request.method = #POST
86+
* entry[=].request.url = "/Observation"
4987
* entry[+].fullUrl = "/Observation/19"
5088
* entry[=].resource = Inline-Observation-anaerobic-culture
89+
* entry[=].request.method = #POST
90+
* entry[=].request.url = "/Observation"
5191
* entry[+].fullUrl = "/Observation/20"
5292
* entry[=].resource = Inline-Observation-org-id2-growth
93+
* entry[=].request.method = #POST
94+
* entry[=].request.url = "/Observation"
5395
* entry[+].fullUrl = "/Observation/21"
5496
* entry[=].resource = Inline-Observation-gs-org2-quant
97+
* entry[=].request.method = #POST
98+
* entry[=].request.url = "/Observation"
99+
* entry[+].fullUrl = "/Observation/22"
100+
* entry[=].resource = Inline-Observation-gs-org2-quant
101+
* entry[=].request.method = #POST
102+
* entry[=].request.url = "/Observation"
103+
* entry[+].fullUrl = "/Observation/23"
104+
* entry[=].resource = Inline-Observation-org-id2-susc-3
105+
* entry[=].request.method = #POST
106+
* entry[=].request.url = "/Observation"
55107

56108
Instance: DiagnosticReport-Lab-Esempio2
57109
InstanceOf: diagnosticreport-it-lab
@@ -76,9 +128,9 @@ Description: "Esempio di Observation: rilevazione della colorazione di gram su c
76128

77129
* id = "333b62b2-47b0-43b5-9745-abec1f0c4656"
78130
* status = #final
79-
* category[esame-laboratorio] = $observation-category#laboratory
131+
* category[+] = $observation-category#laboratory
80132
* category[+] = $v2-0074#MB "Microbiology"
81-
* code = $LOINC#664-3 "Colorazione di Gram Microbiologia Presenza o Identità Punto nel tempo (episodio)"
133+
* code = $LOINC#664-3 //"Colorazione di Gram Microbiologia Presenza o Identità Punto nel tempo (episodio)"
82134
* code.text = "Gram Stain"
83135
* subject = Reference(Paziente-SSN)
84136
* effectiveDateTime = "2022-10-25T13:35:00+01:00"
@@ -97,7 +149,7 @@ Usage: #inline
97149
* id = "2b209d21-dc7b-4267-a089-d3b61667945a"
98150
* status = #final
99151
* category[+] = $observation-category#laboratory
100-
* code = $LOINC#72163-9 "Colorazione di Gram Ematologia (coagulazione) conta differenziale Presenza o Soglia Punto nel tempo (episodio)"
152+
* code = $LOINC#72163-9 //"Colorazione di Gram Ematologia (coagulazione) conta differenziale Presenza o Soglia Punto nel tempo (episodio)"
101153
* subject = Reference(Paziente-SSN)
102154
* effectiveDateTime = "2022-10-25T13:35:00+01:00"
103155
* performer = Reference(PractitionerRole-Lab-Esempio)
@@ -110,9 +162,9 @@ InstanceOf: observation-it-lab
110162
Usage: #inline
111163
* id = "516884c4-8a1f-4e5b-8492-a7dd190f1fb0"
112164
* status = #final
113-
* category[esame-laboratorio] = $observation-category#laboratory
165+
* category[+] = $observation-category#laboratory
114166
* category[+] = $v2-0074#MB "Microbiology"
115-
* code = $LOINC#664-3 "Colorazione di Gram Microbiologia Presenza o Identità Punto nel tempo (episodio)"
167+
* code = $LOINC#664-3 //"Colorazione di Gram Microbiologia Presenza o Identità Punto nel tempo (episodio)"
116168
* subject = Reference(Paziente-SSN)
117169
* effectiveDateTime = "2022-10-25T13:35:00+01:00"
118170
* performer = Reference(PractitionerRole-Lab-Esempio)
@@ -126,7 +178,7 @@ InstanceOf: observation-it-lab
126178
Usage: #inline
127179
* id = "9018b020-6e21-4afa-9131-5832132092c1"
128180
* status = #final
129-
* category[esame-laboratorio] = $observation-category#laboratory
181+
* category[+] = $observation-category#laboratory
130182
* category[+] = $v2-0074#MB "Microbiology"
131183
* code.text = "Quantità osservata"
132184
* subject = Reference(Paziente-SSN)
@@ -141,9 +193,9 @@ InstanceOf: observation-it-lab
141193
Usage: #inline
142194
* id = "25c5aa73-387d-4b80-9245-8e1adfa470f5"
143195
* status = #final
144-
* category[esame-laboratorio] = $observation-category#laboratory
196+
* category[+] = $observation-category#laboratory
145197
* category[+] = $v2-0074#MB "Microbiology"
146-
* code = $LOINC#664-3 "Colorazione di Gram Microbiologia Presenza o Identità Punto nel tempo (episodio)"
198+
* code = $LOINC#664-3 //"Colorazione di Gram Microbiologia Presenza o Identità Punto nel tempo (episodio)"
147199
* subject = Reference(Paziente-SSN)
148200
* effectiveDateTime = "2022-10-25T13:35:00+01:00"
149201
* performer = Reference(PractitionerRole-Lab-Esempio)
@@ -157,7 +209,7 @@ InstanceOf: observation-it-lab
157209
Usage: #inline
158210
* id = "f2e48d96-a153-46b3-a15b-58b5aa761853"
159211
* status = #final
160-
* category[esame-laboratorio] = $observation-category#laboratory
212+
* category[+] = $observation-category#laboratory
161213
* category[+] = $v2-0074#MB "Microbiology"
162214
* code.text = "Quantità osservata"
163215
* subject = Reference(Paziente-SSN)
@@ -173,9 +225,10 @@ Usage: #inline
173225
Description: "Esempio di Observation: rilevazione coltura aerobica da campione di sangue."
174226
* id = "297c84f2-28d6-41b5-a270-6f563ef0fdfc"
175227
* status = #final
176-
* category[esame-laboratorio] = $observation-category#laboratory
228+
* category[+] = $observation-category#laboratory
177229
* category[+] = $v2-0074#MB "Microbiology"
178-
* code = $LOINC#LP6103-8 "Coltura Aerobica"
230+
* code = $LOINC#17898-8
231+
//"Coltura Aerobica"
179232
* code.text = "Coltura Aerobica"
180233
* subject = Reference(Paziente-SSN)
181234
* effectiveDateTime = "2022-10-25T13:35:00+01:00"
@@ -189,9 +242,9 @@ InstanceOf: observation-it-lab
189242
Usage: #inline
190243
* id = "6b103ad8-1870-45bb-884a-86675ad404f1"
191244
* status = #final
192-
* category[esame-laboratorio] = $observation-category#laboratory
245+
* category[+] = $observation-category#laboratory
193246
* category[+] = $v2-0074#MB "Microbiology"
194-
* code = $LOINC#634-6 "Coltura aerobi Microbiologia Presenza o Identità (episodio)"
247+
* code = $LOINC#634-6 //"Coltura aerobi Microbiologia Presenza o Identità (episodio)"
195248
* subject = Reference(Paziente-SSN)
196249
* effectiveDateTime = "2022-10-25T13:35:00+01:00"
197250
* performer = Reference(PractitionerRole-Lab-Esempio)
@@ -205,7 +258,7 @@ InstanceOf: observation-it-lab
205258
Usage: #inline
206259
* id = "a99f7742-c77d-4650-918b-1e9a6e28cefd"
207260
* status = #final
208-
* category[esame-laboratorio] = $observation-category#laboratory
261+
* category[+] = $observation-category#laboratory
209262
* category[+] = $v2-0074#MB "Microbiology"
210263
* code.text = "Crescita di microrganismi"
211264
* subject = Reference(Paziente-SSN)
@@ -220,9 +273,9 @@ InstanceOf: observation-it-lab
220273
Usage: #inline
221274
* id = "31747c3c-0a07-4937-9529-378140609e96"
222275
* status = #final
223-
* category[esame-laboratorio] = $observation-category#laboratory
276+
* category[+] = $observation-category#laboratory
224277
* category[+] = $v2-0074#MB "Microbiology"
225-
* code = $LOINC#29576-6 "Suscettibilità batterica, panel"
278+
* code = $LOINC#29576-6 //"Suscettibilità batterica, panel"
226279
* subject = Reference(Paziente-SSN)
227280
* effectiveDateTime = "2022-10-25T13:35:00+01:00"
228281
* performer = Reference(PractitionerRole-Lab-Esempio)
@@ -238,9 +291,9 @@ InstanceOf: observation-it-lab
238291
Usage: #inline
239292
* id = "652d16a5-91d9-40fb-9c5c-3950683e5d9f"
240293
* status = #final
241-
* category[esame-laboratorio] = $observation-category#laboratory
294+
* category[+] = $observation-category#laboratory
242295
* category[+] = $v2-0074#MB "Microbiology"
243-
* code = $LOINC#18900-1 "Cefalotina [Suscettibilità agli antibiotici]"
296+
* code = $LOINC#18900-1 //"Cefalotina [Suscettibilità agli antibiotici]"
244297
* subject = Reference(Paziente-SSN)
245298
* effectiveDateTime = "2022-10-25T13:35:00+01:00"
246299
* performer = Reference(PractitionerRole-Lab-Esempio)
@@ -256,9 +309,9 @@ InstanceOf: observation-it-lab
256309
Usage: #inline
257310
* id = "ccf32a29-d9f5-435a-9c67-e59d7104adff"
258311
* status = #final
259-
* category[esame-laboratorio] = $observation-category#laboratory
312+
* category[+] = $observation-category#laboratory
260313
* category[+] = $v2-0074#MB "Microbiology"
261-
* code = $LOINC#20629-2 "Levofloxacina [Suscettibilità agli antibiotici]"
314+
* code = $LOINC#20629-2 //"Levofloxacina [Suscettibilità agli antibiotici]"
262315
* subject = Reference(Paziente-SSN)
263316
* effectiveDateTime = "2022-10-25T13:35:00+01:00"
264317
* performer = Reference(PractitionerRole-Lab-Esempio)
@@ -274,9 +327,9 @@ InstanceOf: observation-it-lab
274327
Usage: #inline
275328
* id = "60f23552-dfb9-4142-95a2-911a41180c78"
276329
* status = #final
277-
* category[esame-laboratorio] = $observation-category#laboratory
330+
* category[+] = $observation-category#laboratory
278331
* category[+] = $v2-0074#MB "Microbiology"
279-
* code = $LOINC#18961-3 "Oxacillina [Suscettibilità agli antibiotici]"
332+
* code = $LOINC#18961-3 //"Oxacillina [Suscettibilità agli antibiotici]"
280333
* subject = Reference(Paziente-SSN)
281334
* effectiveDateTime = "2022-10-25T13:35:00+01:00"
282335
* performer = Reference(PractitionerRole-Lab-Esempio)
@@ -291,9 +344,9 @@ InstanceOf: observation-it-lab
291344
Usage: #inline
292345
* id = "848e01c5-1565-4708-92c3-304418a43a40"
293346
* status = #final
294-
* category[esame-laboratorio] = $observation-category#laboratory
347+
* category[+] = $observation-category#laboratory
295348
* category[+] = $v2-0074#MB "Microbiology"
296-
* code = $LOINC#19000-9 "Vancomicina [Suscettibilità agli antibiotici]"
349+
* code = $LOINC#19000-9 //"Vancomicina [Suscettibilità agli antibiotici]"
297350
* subject = Reference(Paziente-SSN)
298351
* effectiveDateTime = "2022-10-25T13:35:00+01:00"
299352
* performer = Reference(PractitionerRole-Lab-Esempio)
@@ -309,9 +362,9 @@ InstanceOf: observation-it-lab
309362
Usage: #inline
310363
* id = "424aba49-cc38-4207-b9a0-c484062ecb26"
311364
* status = #final
312-
* category[esame-laboratorio] = $observation-category#laboratory
365+
* category[+] = $observation-category#laboratory
313366
* category[+] = $v2-0074#MB "Microbiology"
314-
* code = $LOINC#634-6 "Coltura aerobi Microbiologia Presenza o Identità (episodio)"
367+
* code = $LOINC#634-6 //"Coltura aerobi Microbiologia Presenza o Identità (episodio)"
315368
* subject = Reference(Paziente-SSN)
316369
* effectiveDateTime = "2022-10-25T13:35:00+01:00"
317370
* performer = Reference(PractitionerRole-Lab-Esempio)
@@ -325,7 +378,7 @@ InstanceOf: observation-it-lab
325378
Usage: #inline
326379
* id = "ed8a917b-2e94-4aa9-b824-5dceee2deb90"
327380
* status = #final
328-
* category[esame-laboratorio] = $observation-category#laboratory
381+
* category[+] = $observation-category#laboratory
329382
* category[+] = $v2-0074#MB "Microbiology"
330383
* code.text = "Crescita di microrganismi"
331384
* subject = Reference(Paziente-SSN)
@@ -339,28 +392,26 @@ InstanceOf: observation-it-lab
339392
Usage: #inline
340393
* id = "4bc004e5-e77b-46c7-b0d5-3dfa127b48b4"
341394
* status = #final
342-
* category[esame-laboratorio] = $observation-category#laboratory
395+
* category[+] = $observation-category#laboratory
343396
* category[+] = $v2-0074#MB "Microbiology"
344-
* code = $LOINC#29576-6 "Suscettibilità batterica, panel"
397+
* code = $LOINC#29576-6 //"Suscettibilità batterica, panel"
345398
* subject = Reference(Paziente-SSN)
346399
* effectiveDateTime = "2022-10-25T13:35:00+01:00"
347400
* performer = Reference(PractitionerRole-Lab-Esempio)
348-
349401
* hasMember[+] = Reference(Observation/4edf70e9-b332-4804-a3bf-5d1c14e9f892)
350402
* hasMember[+] = Reference(Observation/20e0ab9e-2ce4-431a-adfb-6a727bd49355)
351-
* hasMember[+] = Reference(Observation/33db08be-9853-4027-ba51-ce646bea8a76)
352-
* hasMember[+] = Reference(Observation/b4502905-747f-4f96-bfe0-05cc958e6510)
353-
403+
* hasMember[+] = Reference(Observation/20e0ab9e-2ce4-431b-adfb-6a727bd49355)
404+
* hasMember[+] = Reference(Observation/f2831756-1436-11ee-be56-0242ac120002)
354405
* encounter = Reference(Encounter-Lab-Esempio)
355406

356407
Instance: Inline-Observation-org-id2-susc-1
357408
InstanceOf: observation-it-lab
358409
Usage: #inline
359410
* id = "4edf70e9-b332-4804-a3bf-5d1c14e9f892"
360411
* status = #final
361-
* category[esame-laboratorio] = $observation-category#laboratory
412+
* category[+] = $observation-category#laboratory
362413
* category[+] = $v2-0074#MB "Microbiology"
363-
* code = $LOINC#18864-9 "Ampicillina [Suscettibilità agli antibiotici]"
414+
* code = $LOINC#18864-9 //"Ampicillina [Suscettibilità agli antibiotici]"
364415
* subject = Reference(Paziente-SSN)
365416
* effectiveDateTime = "2022-10-25T13:35:00+01:00"
366417
* performer = Reference(PractitionerRole-Lab-Esempio)
@@ -376,9 +427,9 @@ InstanceOf: observation-it-lab
376427
Usage: #inline
377428
* id = "20e0ab9e-2ce4-431a-adfb-6a727bd49355"
378429
* status = #final
379-
* category[esame-laboratorio] = $observation-category#laboratory
430+
* category[+] = $observation-category#laboratory
380431
* category[+] = $v2-0074#MB "Microbiology"
381-
* code = $LOINC#18906-8 "Ciprofloxacina [Suscettibilità agli antibiotici]"
432+
* code = $LOINC#18906-8 //"Ciprofloxacina [Suscettibilità agli antibiotici]"
382433
* subject = Reference(Paziente-SSN)
383434
* effectiveDateTime = "2022-10-25T13:35:00+01:00"
384435
* performer = Reference(PractitionerRole-Lab-Esempio)
@@ -392,11 +443,11 @@ Usage: #inline
392443
Instance: Inline-Observation-org-id2-susc-3
393444
InstanceOf: observation-it-lab
394445
Usage: #inline
395-
* id = "33db08be-9853-4027-ba51-ce646bea8a76"
446+
* id = "20e0ab9e-2ce4-431b-adfb-6a727bd49355"
396447
* status = #final
397-
* category[esame-laboratorio] = $observation-category#laboratory
448+
* category[+] = $observation-category#laboratory
398449
* category[+] = $v2-0074#MB "Microbiology"
399-
* code = $LOINC#18928-2 "Gentamicina [Suscettibilità agli antibiotici]"
450+
* code = $LOINC#18928-2 //"Gentamicina [Suscettibilità agli antibiotici]"
400451
* subject = Reference(Paziente-SSN)
401452
* effectiveDateTime = "2022-10-25T13:35:00+01:00"
402453
* performer = Reference(PractitionerRole-Lab-Esempio)
@@ -410,11 +461,11 @@ Usage: #inline
410461
Instance: Inline-Observation-org-id2-susc-4
411462
InstanceOf: observation-it-lab
412463
Usage: #inline
413-
* id = "b4502905-747f-4f96-bfe0-05cc958e6510"
464+
* id = "f2831756-1436-11ee-be56-0242ac120002"
414465
* status = #final
415-
* category[esame-laboratorio] = $observation-category#laboratory
466+
* category[+] = $observation-category#laboratory
416467
* category[+] = $v2-0074#MB "Microbiology"
417-
* code = $LOINC#18932-4 "Imipenem [Suscettibilità agli antibiotici]"
468+
* code = $LOINC#18932-4 //"Imipenem [Suscettibilità agli antibiotici]"
418469
* subject = Reference(Paziente-SSN)
419470
* effectiveDateTime = "2022-10-25T13:35:00+01:00"
420471
* performer = Reference(PractitionerRole-Lab-Esempio)
@@ -431,9 +482,9 @@ Usage: #inline
431482
Description: "Esempio di Observation: rilevazione coltura anaerobi da campione di sangue."
432483
* id = "e271a348-4f54-4667-86ed-d9ecfb7430f6"
433484
* status = #final
434-
* category[esame-laboratorio] = $observation-category#laboratory
485+
* category[+] = $observation-category#laboratory
435486
* category[+] = $v2-0074#MB "Microbiology"
436-
* code = $LOINC#635-3 "Batteri , identificato: Coltura anaerobica"
487+
* code = $LOINC#635-3 //"Batteri , identificato: Coltura anaerobica"
437488
* code.text = "Coltura Anaerobi"
438489
* subject = Reference(Paziente-SSN)
439490
* effectiveDateTime = "2022-10-25T13:35:00+01:00"

input/fsh/examples/observationGroupEsempio.fsh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Instance: Observation-Lab-Esempio-Group
2-
InstanceOf: observation-it-lab
2+
InstanceOf: observation-grouping-it-lab
33
Usage: #example
44
Description: "Esempio di contenitore per Battery Test: rilevazione di glucosio nel sangue."
55

@@ -14,7 +14,7 @@ Description: "Esempio di contenitore per Battery Test: rilevazione di glucosio n
1414

1515
* code.coding.system = $LOINC
1616
* code.coding.code = #18723-7
17-
* code.coding.display = "Studi di ematologia"
17+
// * code.coding.display = "Studi di ematologia"
1818

1919

2020
* subject = Reference(Paziente-SSN)

0 commit comments

Comments
 (0)