forked from hl7-eu/laboratory
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sushi-config.yaml
505 lines (444 loc) · 21.5 KB
/
sushi-config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
# id: hl7.fhir.eu.eu-laboratory
id: hl7.fhir.eu.laboratory
canonical: http://hl7.eu/fhir/laboratory
name: Hl7EuLaboratoryIg
title: HL7 Europe Laboratory Report
description: This guide describes how the Laboratory Report can be represented in the European REALM.
status: active # draft | active | retired | unknown
version: 0.1.0 #
fhirVersion: 4.0.1 # https://www.hl7.org/fhir/valueset-FHIR-version.html
copyrightYear: 2023+
releaseLabel: trial-use # ci-build | draft | qa-preview | ballot | trial-use | release | update | normative+trial-use
# license: CC0-1.0 # https://www.hl7.org/fhir/valueset-spdx-license.html
# https://www.hl7.org/fhir/valueset-jurisdiction.html
jurisdiction: http://unstats.un.org/unsd/methods/m49/m49.htm#150 "Europe" # urn:iso:std:iso:3166#EU
publisher:
name: HL7 Europe
url: http://hl7.eu
# url: http://hl7.org/Special/committees/hl7-eu
# email: test@example.org
copyright: >-
Used by permission of HL7 Europe, all rights reserved Creative Commons License
# The dependencies property corresponds to IG.dependsOn. The key is the
# package id and the value is the version (or dev/current). For advanced
# use cases, the value can be an object with keys for id, uri, and version.
#
dependencies:
# hl7.fhir.uv.ips: current
hl7.fhir.uv.ips: 1.1.0
hl7.fhir.extensions.r5: 4.0.1
hl7.fhir.eu.extensions: 0.1.0
# hl7.fhir.us.mcode:
# id: mcode
# uri: http://hl7.org/fhir/us/mcode/ImplementationGuide/hl7.fhir.us.mcode
# version: 1.0.0
#
#
# The pages property corresponds to IG.definition.page. SUSHI can
# auto-generate the page list, but if the author includes pages in
# this file, it is assumed that the author will fully manage the
# pages section and SUSHI will not generate any page entries.
# The page file name is used as the key. If title is not provided,
# then the title will be generated from the file name. If a
# generation value is not provided, it will be inferred from the
# file name extension. Any subproperties that are valid filenames
# with supported extensions (e.g., .md/.xml) will be treated as
# sub-pages.
#
pages:
index.md:
title: Home
background.md:
title: Background
# to be removed --->
# semantic-notes.md:
# title: Laboratory Result Report
# <--- to be removed
scenarios.md:
title: Laboratory Report scenarios
status-mgmt.md:
title: Managing Laboratory Report statuses
design-choice.md:
title: Design choices
challenges.md:
title: Challenges
notes.md:
title: Implementation notes
crm.md:
title: Certified reference material
downloads.md:
title: Downloads
logicalModel.md:
title: eHN guideline data set
contributors.md:
title: Authors and contributors
obligations.md:
title: Obligations
knownIusses.md:
title: Known Issues
# overview.md:
# title: Profiles overview
# recommendations.md:
# title: Recommendations
#
#
# The parameters property represents IG.definition.parameter. Rather
# than a list of code/value pairs (as in the ImplementationGuide
# resource), the code is the YAML key. If a parameter allows repeating
# values, the value in the YAML should be a sequence/array. For a
# partial list of allowed parameters see:
# https://confluence.hl7.org/display/FHIR/Implementation+Guide+Parameters
#
parameters: #see https://confluence.hl7.org/display/FHIR/Implementation+Guide+Parameters
# produce-jekyll-data: true
special-url:
- http://hl7.eu/fhir/StructureDefinition/information-recipient
- http://hl7.eu/fhir/StructureDefinition/composition-basedOn-order-or-requisition
- http://example.org/lab-codes
- http://hl7.eu/fhir/StructureDefinition/body-location-qualifier
- http://hl7.eu/fhir/StructureDefinition/laterality-qualifier
# - http://hl7.org/fhir/StructureDefinition/observation-analysis-date-time
# see https://confluence.hl7.org/display/FHIR/Implementation+Guide+Parameters
# path-resource:
# - input/resources
# - fsh-generated/resources
# path-pages:
# - input/pagecontent
# - input/intro-notes
# active-tables: false
apply-contact: true
apply-jurisdiction: true
apply-publisher: true
apply-version: true
show-inherited-invariants: true
usage-stats-opt-out: true
# excludexml: false
# excludejson: false
# excludettl: true
# excludemap: true
# suppressed-ids: DocumentReference/discharge-summary
# tabbed-snapshots: false
# generate: #what does this do - todo: remove and see4
# - xml
# - json
# no-narrative:
# - Patient/example-targeted-provenance
# - Bundle/docref-example-1
# no-validate:
# - '*/*' # does not seems to work
# - 'StructureDefinition/*'
# version-comparison:
# - 5.0.1
# - 4.0.0
# excludettl: true
# validation: [allow-any-extensions, no-broken-links]
#
# ╭────────────────────────────────────────────menu.xml────────────────────────────────────────────╮
# │ The menu property will be used to generate the input/menu.xml file. The menu is represented │
# │ as a simple structure where the YAML key is the menu item name and the value is the URL. │
# │ The IG publisher currently only supports one level deep on sub-menus. To provide a │
# │ custom menu.xml file, do not include this property and include a `menu.xml` file in │
# │ input/includes. To use a provided input/includes/menu.xml file, delete the "menu" │
# │ property below. │
# ╰────────────────────────────────────────────────────────────────────────────────────────────────╯
menu:
Home: index.html
Table of Contents: toc.html
Background:
Background: background.html
Challenges: challenges.html
Design Choices: design-choice.html
Certified reference material: crm.html
Functional Specifications:
Scenarios: scenarios.html
Managing statuses: status-mgmt.html
eHN Guideline dataset: logicalModel.html
Obligations: obligations.html
Implementation notes: notes.html
# Profiles overview: overview.html
# Examples: examples.html
Artifacts: artifacts.html
About:
Downloads: downloads.html
Authors and contributors: contributors.html
Known Issues: knownIusses.html
# ╭───────────────────────────Less Common Implementation Guide Properties──────────────────────────╮
# │ Uncomment the properties below to configure additional properties on the ImplementationGuide │
# │ resource. These properties are less commonly needed than those above. │
# ╰────────────────────────────────────────────────────────────────────────────────────────────────╯
#
# Those who need more control or want to add additional details to the contact values can use
# contact directly and follow the format outlined in the ImplementationGuide resource and
# ContactDetail.
#
# contact:
# - name: Bob Smith
# telecom:
# - system: email # phone | fax | email | pager | url | sms | other
# value: bobsmith@example.org
# use: work
#
#
# The global property corresponds to the IG.global property, but it
# uses the type as the YAML key and the profile as its value. Since
# FHIR does not explicitly disallow more than one profile per type,
# neither do we; the value can be a single profile URL or an array
# of profile URLs. If a value is an id or name, SUSHI will replace
# it with the correct canonical when generating the IG JSON.
#
# global:
# Patient: http://example.org/fhir/StructureDefinition/my-patient-profile
# Encounter: http://example.org/fhir/StructureDefinition/my-encounter-profile
#
#
# The resources property corresponds to IG.definition.resource.
# SUSHI can auto-generate all of the resource entries based on
# the FSH definitions and/or information in any user-provided
# JSON or XML resource files. If the generated entries are not
# sufficient or complete, however, the author can add entries
# here. If the reference matches a generated entry, it will
# replace the generated entry. If it doesn't match any generated
# entries, it will be added to the generated entries. The format
# follows IG.definition.resource with the following differences:
# * use IG.definition.resource.reference.reference as the YAML key.
# * if the key is an id or name, SUSHI will replace it with the
# correct URL when generating the IG JSON.
# * specify "omit" to omit a FSH-generated resource from the
# resource list.
# * if the exampleCanonical is an id or name, SUSHI will replace
# it with the correct canonical when generating the IG JSON.
# * groupingId can be used, but top-level groups syntax may be a
# better option (see below).
# The following are simple examples to demonstrate what this might
# look like:
resources:
#------------ Concept Maps -------------
ConceptMap/ConceptMap-eu-diagRptStatus2CompStatus:
name: DiagnosticReport to Composition status
description: Proposed relationship between the statuses used in the DiagnosticReport resource and that used for the Composition.
ConceptMap/labRpt2FHIR-eu-lab:
name: A - Laboratory Report model to this guide
description: It shows how the Laboratory Report data set defined by the EU eHN guidelines is mapped into this guide.
ConceptMap/payer2FHIR-eu-lab:
name: A.1.3 - Health insurance and payment information model to this guide
description: It shows how the A.1.3 - Health insurance and payment information data set defined by the EU eHN guidelines is mapped into this guide.
ConceptMap/recipient2FHIR-eu-lab:
name: A.1.4 - Information recipient model to this guide
description: It shows how the A.1.4 - Information recipient data set defined by the EU eHN guidelines is mapped into this guide.
ConceptMap/subject2FHIR-eu-lab:
name: A.1.1, A.1.2 - Subject of care model to this guide
description: It shows how the Subject data set defined by the EU eHN guidelines is mapped into this guide.
ConceptMap/author2FHIR-eu-lab:
name: A.1.5 - Author model to this guide
description: It shows how the A.1.5 - Author data set defined by the EU eHN guidelines is mapped into this guide.
ConceptMap/legalAuth2FHIR-eu-lab:
name: A.1.6 - Legal authenticator model to this guide
description: It shows how the A.1.6 - Legal authenticator data set defined by the EU eHN guidelines is mapped into this guide.
ConceptMap/order2FHIR-eu-lab:
name: A.2, A.3 - Order model to this guide
description: It shows how the Order data set defined by the EU eHN guidelines is mapped into this guide.
ConceptMap/validator2FHIR-eu-lab:
name: A.1.7 - Result validator model to this guide
description: It shows how the A.1.7 - Result validator data set defined by the EU eHN guidelines is mapped into this guide.
ConceptMap/specimen2FHIR-eu-lab:
name: A.4 - Specimen information model to this guide
description: It shows how the A.4 - Specimen information data set defined by the EU eHN guidelines is mapped into this guide.
ConceptMap/result2FHIR-eu-lab:
name: A.5 - Results data elements model to this guide
description: It shows how the A.5 - Results data elements data set defined by the EU eHN guidelines is mapped into this guide.
#------------ Logical Models -------------
StructureDefinition/Subject:
name: A.1.1, A.1.2 - Subject of care
description: Patient or Subject of care. Sections A.1.1 and A.1.2 of the eHN guideline.
StructureDefinition/Order:
name: A.2, A.3 - Order
description: Order information and reason. Sections A.2 and A.3 of the eHN guideline.
#----------- Examples -------------
Specimen/Specimen-animal-example:
name: "Specimen: animal example"
description: Example of Specimen collected from an animal.
DiagnosticReport/dr-lab-example:
name: "DiagnosticReport: example"
description: Example of DiagnosticReport conforming this guide.
Composition/comp-lab-example:
name: "Composition: example"
description: Example of Composition conforming this guide.
Patient/pat-lab-example:
name: "Patient: example"
description: Example of Patient conforming this guide.
Patient/nl-core-NameInformation-complete:
name: "Patient: Dutch complete name"
description: Example of Patient including a complete Dutch name.
PractitionerRole/prrole-lab-example:
name: "PractitionerRole: example"
description: Example of PractitionerRole conforming this guide.
Practitioner/pr-lab-example:
name: "Practitioner: example"
description: Example of Practitioner conforming this guide.
Observation/obs-gram-stain:
name: "Observation: Gram Staining example"
description: Example of Gram Staining result Observation conforming this guide.
Observation/obs-wbc:
name: "Observation: Leukocytes Presence example"
description: Example of Leukocytes Presence by gram staining Observation conforming this guide.
Observation/obs-gs-org1:
name: "Observation: Gram-positive cocci example"
description: Example of Gram-positive cocci in clusters by gram staining Observation conforming this guide.
Observation/obs-gs-org1-quant:
name: "Observation: Gram-positive cocci, observed quantity, example"
description: Example of Gram-positive cocci in clusters by gram staining, observed quantity, Observation conforming this guide.
Observation/obs-aerobic-culture:
name: "Observation: Aerobic Culture example"
description: Example of Aerobic Culture Observation conforming this guide.
Observation/obs-anaerobic-culture:
name: "Observation: Anaerobic Culture example"
description: Example of Anaerobic Culture Observation conforming this guide.
Observation/obs-org-id1:
name: "Observation: Staphylococcus aureus identified example"
description: Example of Staphylococcus aureus identified by Aerobe culture Observation conforming this guide.
Observation/obs-org-id1-growth:
name: "Observation: Staphylococcus aureus Growth example"
description: Example of Staphylococcus aureus Growth Observation conforming this guide.
Observation/obs-org-id1-susc-panel:
name: "Observation: Staphylococcus aureus susceptibility panel example"
description: Example of Staphylococcus aureus susceptibility panel Observation conforming this guide.
Observation/obs-org-id1-susc-1:
name: "Observation: Staphylococcus aureus Cephalothin susceptibility example"
description: Example of Staphylococcus aureus Cephalothin susceptibility Observation conforming this guide.
Observation/obs-org-id1-susc-2:
name: "Observation: Staphylococcus aureus levoFLOXacin susceptibility example"
description: Example of Staphylococcus aureus levoFLOXacin susceptibility Observation conforming this guide.
Observation/obs-org-id1-susc-3:
name: "Observation: Staphylococcus aureus Oxacillin susceptibility example"
description: Example of Staphylococcus aureus Oxacillin susceptibility Observation conforming this guide.
Observation/obs-org-id1-susc-4:
name: "Observation: Staphylococcus aureus Vancomycin susceptibility example"
description: Example of Staphylococcus aureus Vancomycin susceptibility Observation conforming this guide.
ServiceRequest/srv-request-example:
name: "ServiceRequest: example"
description: Example of ServiceRequest conforming this guide.
Patient/Patient-animal-example:
name: "Patient: animal example"
description: Example of Patient resource used for indicating an animal (cat) conforming this guide.
# ------------- Obligations
StructureDefinition/Patient-obl-eu-lab:
name: Patient Obligations
description: Specify the functional capabilities that the defined actors may, should or shall applied to the Patient EU Lab profile elements.
StructureDefinition/HumanName-obl-eu-lab:
name: Human Name Obligations
description: Specify the functional capabilities that the defined actors may, should or shall applied to the Human Name profile elements.
StructureDefinition/Specimen-obl-eu-lab:
name: Specimen Obligations
description: Specify the functional capabilities that the defined actors may, should or shall applied to the Specimen profile elements.
StructureDefinition/ServiceRequest-obl-eu-lab:
name: ServiceRequest Obligations
description: Specify the functional capabilities that the defined actors may, should or shall applied to the ServiceRequest profile elements.
StructureDefinition/Observation-obl-eu-lab:
name: Observation Obligations
description: Specify the functional capabilities that the defined actors may, should or shall applied to the Observation profile elements.
# Patient/my-example-patient:
# name: My Example Patient
# description: An example Patient
# exampleBoolean: true
# Patient/bad-example: omit
#
# Groups can control certain aspects of the IG generation. The IG
# documentation recommends that authors use the default groups that
# are provided by the templating framework, but if authors want to
# use their own instead, they can use the mechanism below. This will
# create IG.definition.grouping entries and associate the individual
# resource entries with the corresponding groupIds. If a resource
# is specified by id or name, SUSHI will replace it with the correct
# URL when generating the IG JSON.
#
groups:
eHNGuidelines:
name: eHN Laboratory Guidelines (Informative)
description: Logical models representing the eHN Laboratory Guidelines. This is informative material.
resources:
- StructureDefinition/LabReport
- StructureDefinition/Subject
- StructureDefinition/Author
- StructureDefinition/Validator
- StructureDefinition/LegalAuthenticator
- StructureDefinition/Recipient
- StructureDefinition/Order
- StructureDefinition/Result
- StructureDefinition/SpecimenLab
- StructureDefinition/Payer
logicalModelsMaps:
name: eHN Logical Model mappings (Informative)
description: Concept Maps describing how the data set specified by the eHN Laboratory Guidelines is supposed to be implemented by using this guide. Informative for this version of the guide.
resources:
- ConceptMap/labRpt2FHIR-eu-lab
- ConceptMap/payer2FHIR-eu-lab
- ConceptMap/recipient2FHIR-eu-lab
- ConceptMap/subject2FHIR-eu-lab
- ConceptMap/author2FHIR-eu-lab
- ConceptMap/order2FHIR-eu-lab
- ConceptMap/legalAuth2FHIR-eu-lab
- ConceptMap/validator2FHIR-eu-lab
- ConceptMap/specimen2FHIR-eu-lab
- ConceptMap/result2FHIR-eu-lab
obligations:
name: Actors and Obligations (Informative)
description: Actors and Obligations used to describe the Laboratory Report functional requirements for the specified data elements. Informative for this version of the guide.
resources:
- ActorDefinition/actor-consumer-eu-lab
- ActorDefinition/actor-creator-eu-lab
- ActorDefinition/actor-repos-eu-lab
- StructureDefinition/Patient-obl-eu-lab
- StructureDefinition/HumanName-obl-eu-lab
- StructureDefinition/Specimen-obl-eu-lab
- StructureDefinition/ServiceRequest-obl-eu-lab
- StructureDefinition/Observation-obl-eu-lab
#
# The ImplementationGuide resource defines several other properties
# not represented above. These properties can be used as-is and
# should follow the format defined in ImplementationGuide:
# * date
# * meta
# * implicitRules
# * language
# * text
# * contained
# * extension
# * modifierExtension
# * experimental
# * useContext
# * copyright
# * packagingId
#
#
# ╭──────────────────────────────────────────SUSHI flags───────────────────────────────────────────╮
# │ The flags below configure aspects of how SUSHI processes FSH. │
# ╰────────────────────────────────────────────────────────────────────────────────────────────────╯
# The FSHOnly flag indicates if only FSH resources should be exported.
# If set to true, no IG related content will be generated.
# The default value for this property is false.
#
# FSHOnly: false
#
#
# When set to true, the "short" and "definition" field on the root element of an Extension will
# be set to the "Title" and "Description" of that Extension. Default is true.
#
# applyExtensionMetadataToRoot: true
#
#
# The instanceOptions property is used to configure certain aspects of how SUSHI processes instances.
# See the individual option definitions below for more detail.
instanceOptions:
manualSliceOrdering: true
#
# instanceOptions:
# Determines for which types of Instances SUSHI will automatically set meta.profile
# if InstanceOf references a profile:
#
# setMetaProfile: always # always | never | inline-only | standalone-only
#
#
# Determines for which types of Instances SUSHI will automatically set id
# if InstanceOf references a profile:
#
# setId: always # always | standalone-only