-
Notifications
You must be signed in to change notification settings - Fork 5
/
submissionSet.fsh
141 lines (130 loc) · 6.92 KB
/
submissionSet.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
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
// equivalent to MHD Minimal SubmissionSet
Profile: SubmissionSet
Parent: MhdList
Id: IHE.MHD.Minimal.SubmissionSet
Title: "MHD SubmissionSet Minimal"
Description: "A profile on the List resource for MHD SubmissionSet.
- MHD is based on the [IHE Document Sharing](https://profiles.ihe.net/ITI/HIE-Whitepaper/index.html) model,
- the [3:4.1 Abstract Metadata Model](https://profiles.ihe.net/ITI/TF/Volume3/ch-4.1.html#4.1), and
- the use defined here is FHIR List for use as a SubmissionSet implementation of the
- ebRIM implementation at [3:4.2.3.3 SubmissionSet Attributes](https://profiles.ihe.net/ITI/TF/Volume3/ch-4.2.html#4.2.3.3).
- with use-cases and constraints found in [3:4.3.1 Submission Metadata Attribute Optionality](https://profiles.ihe.net/ITI/TF/Volume3/ch-4.3.html#4.3.1) for
- Document Source implementing not implementing Comprehensive Metadata Option
- Document Source implementing UnContained Option but not Comprehensive Option
- equivalent to XDR Document Source implementing Metadata-Limited Option requirements
- aka the default MHD Document Source"
* extension[designationType] 0..1 MS
* extension contains SourceId named sourceId 1..1
* extension contains IntendedRecipient named intendedRecipient 0..*
* identifier ^slicing.discriminator.type = #value
* identifier ^slicing.discriminator.path = "use"
* identifier ^slicing.rules = #open
* identifier contains uniqueId 0..1
* identifier[uniqueId] only UniqueIdIdentifier
* identifier contains entryUUID 0..*
* identifier[entryUUID] only EntryUUIDIdentifier
* status = #current
* mode = #working
* title 0..1
* code = MHDlistTypes#submissionset
* subject 0..1 MS
* subject only Reference(Patient)
* encounter 0..0
* date 1..1
// source is author
* source 0..1 MS
* source.extension contains AuthorOrg named authorOrg 0..1
* orderedBy 0..0
* note 0..1
//*entry
* entry.flag 0..0
* entry.deleted 0..0
* entry.date 0..0
* entry.item only Reference(DocumentReference or List)
* emptyReason 0..0
Extension: SourceId
Id: ihe-sourceId
Title: "Publisher organization identity of the SubmissionSet"
Description: "The globally unique, immutable, identifier of the entity that contributed the SubmissionSet. When a broker is involved in sending SubmissionSets from a collection of client systems, it shall use a different sourceId for submissions from each separate system to allow for tracking. The format of the identifier is an OID."
* value[x] only Identifier
* valueIdentifier 1..1
Extension: AuthorOrg
Id: ihe-authorOrg
Title: "Author organization of the SubmissionSet"
Description: "When the author of the SubmissionSet is an Organization, this extension shall be used."
* value[x] only Reference(Organization)
* valueReference 1..1
Instance: List-SourceId
InstanceOf: SearchParameter
Title: "search on the IHE defined extension for SourceId"
Usage: #definition
* url = "https://profiles.ihe.net/ITI/MHD/SearchParameter/List-SourceId"
* description = "This SearchParameter enables finding Lists by the SourceId of a submissionSet."
* name = "SourceId"
* status = #active
* code = #sourceId
* base = #List
* expression = "(extension('https://profiles.ihe.net/ITI/MHD/StructureDefinition/SourceId').value as Token)"
* type = #token
Extension: IntendedRecipient
Id: ihe-intendedRecipient
Title: "Intended recipient of the SubmissionSet"
Description: "holds the identity of the organization or person the SubmissionSet is intended. For XDR and eMail (e.g. Direct) this tends to be a Practitioner or Patient with a telecom holding an email, but this is not strictly required."
* value[x] only Reference(Practitioner or Organization or Patient or RelatedPerson or Group or Device or Location)
* valueReference 1..1
// equivalent to MHD SubmissionSet Comprehensive UnContained
Profile: SubmissionSetComprehensiveUnContained
Parent: IHE.MHD.Minimal.SubmissionSet
Id: IHE.MHD.UnContained.Comprehensive.SubmissionSet
Title: "MHD SubmissionSet Comprehensive UnContained"
Description: "A profile on the List resource for MHD UnContained Comprehensive SubmissionSet.
- MHD is based on the [IHE Document Sharing](https://profiles.ihe.net/ITI/HIE-Whitepaper/index.html) model,
- the [3:4.1 Abstract Metadata Model](https://profiles.ihe.net/ITI/TF/Volume3/ch-4.1.html#4.1), and
- the use defined here is FHIR List for use as a SubmissionSet implementation of the
- ebRIM implementation at [3:4.2.3.3 SubmissionSet Attributes](https://profiles.ihe.net/ITI/TF/Volume3/ch-4.2.html#4.2.3.3).
- with use-cases and constraints found in [3:4.3.1 Submission Metadata Attribute Optionality](https://profiles.ihe.net/ITI/TF/Volume3/ch-4.3.html#4.3.1) for
- MHD Document Source that has implemented both Comprehensive Metadata Option and UnContained References Option"
* subject 1..1
* extension[designationType] 1..1
// equivalent to MHD Comprehensive SubmissionSet Contained
Profile: SubmissionSetComprehensive
Parent: IHE.MHD.UnContained.Comprehensive.SubmissionSet
Id: IHE.MHD.Comprehensive.SubmissionSet
Title: "MHD SubmissionSet Comprehensive"
Description: "A profile on the List resource for MHD Comprehensive SubmissionSet.
- MHD is based on the [IHE Document Sharing](https://profiles.ihe.net/ITI/HIE-Whitepaper/index.html) model,
- the [3:4.1 Abstract Metadata Model](https://profiles.ihe.net/ITI/TF/Volume3/ch-4.1.html#4.1), and
- the use defined here is FHIR List for use as a SubmissionSet implementation of the
- ebRIM implementation at [3:4.2.3.3 SubmissionSet Attributes](https://profiles.ihe.net/ITI/TF/Volume3/ch-4.2.html#4.2.3.3).
- with use-cases and constraints found in [3:4.3.1 Submission Metadata Attribute Optionality](https://profiles.ihe.net/ITI/TF/Volume3/ch-4.3.html#4.3.1) for
- MHD Comprehensive Option Document Source
- aka the XDS Document Source requirements
- aka the XDR Document Source requirements"
* source ^type.aggregation = #contained
// mappings to XDS
Mapping: SubmissionSet-Mapping
Source: IHE.MHD.Minimal.SubmissionSet
Target: "XDS"
Title: "XDS and MHD Mapping"
* -> "XDS SubmissionSet" "Used in the context of the IHE MHD ImplementationGuide"
* meta.profile -> "SubmissionSet.limitedMetadata"
* extension[sourceId] -> "SubmissionSet.sourceId"
* extension[intendedRecipient] -> "SubmissionSet.intendedRecipient"
* extension[designationType] -> "SubmissionSet.contentTypeCode"
* source.extension[authorOrg] -> "SubmissionSet.author when the author is an Organization"
* identifier -> "SubmissionSet.entryUUID and SubmissionSet.uniqueId"
* status -> "SubmissionSet.availabilityStatus"
* mode -> "shall be 'working'"
* title -> "SubmissionSet.title"
* code -> "shall be 'submissionset'"
* subject -> "SubmissionSet.patientId"
* encounter -> "n/a"
* date -> "SubmissionSet.submissionTime"
* source -> "SubmissionSet.author"
* orderedBy -> "n/a"
* note -> "SubmissionSet.comments"
* entry.flag -> "n/a"
* entry.deleted -> "n/a"
* entry.date -> "n/a"
* entry.item -> "references to DocumentReference(s) and Folder List(s)"
* emptyReason -> "n/a"