-
Notifications
You must be signed in to change notification settings - Fork 1
/
conformance-test-profiles.fsh
89 lines (86 loc) · 3.08 KB
/
conformance-test-profiles.fsh
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
Profile: NumConformanceTestBundle
Parent: Bundle
Id: NumConformanceTestBundle
* ^url = "https://num-compass.science/fhir/StructureDefinition/NumConformanceTestBundle"
* ^status = #draft
* type = #document (exactly)
* entry 1..
* entry ^slicing.discriminator.type = #type
* entry ^slicing.discriminator.path = "resource"
* entry ^slicing.ordered = false
* entry ^slicing.rules = #open
* entry ^short = "Slices in Bundle entries"
* entry contains
composition 1..1
* entry[composition] ^short = "FHIR document composition"
* entry[composition].resource 1..1
* entry[composition].resource only NumConformanceTestComposition
Profile: NumConformanceTestComposition
Parent: Composition
Id: NumConformanceTestComposition
* ^url = "https://num-compass.science/fhir/StructureDefinition/NumConformanceTestComposition"
* ^status = #draft
* status = #final (exactly)
* type = $loinc#68608-9
* section 1..
* section ^slicing.discriminator.type = #pattern
* section ^slicing.discriminator.path = "code"
* section ^slicing.ordered = false
* section ^slicing.rules = #closed
* section ^short = "Sections of the conformance test bundle"
* section contains
software 1..1 and
publishingOrg 1..1 and
questionnaire 0..* and
testData 1..
* section[software] ^short = "Software that generated the test data"
* section[software].code 1..
* section[software].code = $loinc#92040-5
* section[software].entry 1..1
* section[software].entry only Reference(NumConformanceDevice)
* section[publishingOrg] ^short = "Organization publishing the software"
* section[publishingOrg].code 1..
* section[publishingOrg].code = $loinc#91025-7
* section[publishingOrg].entry 1..1
* section[publishingOrg].entry only Reference(NumConformanceOrganization)
* section[questionnaire] ^short = "Questionnaires used in the software"
* section[questionnaire].code 1..
* section[questionnaire].code = $loinc#74468-0
* section[questionnaire].entry 1..
* section[questionnaire].entry only Reference(Questionnaire)
* section[testData] ^short = "Test data resources"
* section[testData].code 1..
* section[testData].code = $loinc#68839-0
* section[testData].entry 1..
Profile: NumConformanceDevice
Parent: Device
Id: NumConformanceDevice
* ^url = "https://num-compass.science/fhir/StructureDefinition/NumConformanceDevice"
* ^status = #draft
* deviceName 1..1
* deviceName.type = #manufacturer-name (exactly)
* type 1..
* type.coding.system = "http://snomed.info/sct" (exactly)
* type.coding.code = #706689003 (exactly)
* version 1..1
* owner 1..
* owner only Reference(NumConformanceOrganization)
* owner.reference 1..
Profile: NumConformanceOrganization
Parent: Organization
Id: NumConformanceOrganization
* ^url = "https://num-compass.science/fhir/StructureDefinition/NumConformanceOrganization"
* ^status = #draft
* name 1..
* telecom ^slicing.discriminator.type = #value
* telecom ^slicing.discriminator.path = "system"
* telecom ^slicing.rules = #open
* telecom contains email 1..1
* telecom[email].system 1..
* telecom[email].system = #email (exactly)
* telecom[email].value 1..
* address 1..1
* address.line 1..
* address.city 1..
* address.postalCode 1..
* address.country 1..