-
Notifications
You must be signed in to change notification settings - Fork 3
/
Operations.fsh
98 lines (92 loc) · 5.49 KB
/
Operations.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
RuleSet: OperationCommon
* jurisdiction = http://unstats.un.org/unsd/methods/m49/m49.htm#001
* status = #active
* date = "2020-11-30"
* publisher = "HL7 International - FHIR Infrastructure Work Group"
* contact[0].telecom[0].system = #url
* contact[0].telecom[0].value = "https://hl7.org/Special/committees/fiwg/index.cfm"
* version = "0.1.1"
* kind = #operation
* extension[0].url = "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm"
* extension[0].valueInteger = 0
* extension[1].url = "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status"
* extension[1].valueCode = #trial-use
Instance: OperationBackportSubscriptionStatus
InstanceOf: OperationDefinition
Usage: #definition
Title: "Backport Subscription Status Operation"
Description: "This operation is used to return the current status information about one or more backported R5-Style Subscriptions in R4."
* id = "Backport-subscription-status"
* name = "R5SubscriptionStatus"
* description = "This operation is used to return the current status information about one or more backported R5-Style Subscriptions in R4."
* insert OperationCommon
* system = false
* type = true
* instance = false
* code = #status
* resource[0] = #Subscription
* parameter[0].name = #ids
* parameter[0].use = #in
* parameter[0].min = 0
* parameter[0].max = "*"
* parameter[0].documentation = "At the Resource level, one or more parameters containing one or more comma-delimited FHIR ids of Subscriptions to get status information for. In the absense of any specified ids, the server returns the status for all Subscriptions available to the caller. At the Instance level, this parameter is ignored."
* parameter[0].type = #id
* parameter[1].name = #return
* parameter[1].use = #out
* parameter[1].min = 1
* parameter[1].max = "1"
* parameter[1].documentation = "The bundle type is \"searchset\". The operation returns a bundle containing one or more Parameters resources, compliant with \"backport-subscriptionstatus\", one per Subscription being queried."
* parameter[1].type = #Bundle
Instance: OperationBackportSubscriptionTopicList
InstanceOf: OperationDefinition
Usage: #definition
Title: "Backport Subscription Topic List Operation"
Description: "This operation is used to return the current list of R5 SubscriptionTopics in a Backported-R4 environment."
* id = "Backport-subscriptiontopic-list"
* name = "R5SubscriptionTopicList"
* description = "This operation is used to return the current list of R5 SubscriptionTopics in a Backported-R4 environment."
* insert OperationCommon
* system = false
* type = true
* instance = false
* code = #topic-list
* resource[0] = #Subscription
* parameter[0].name = #urls
* parameter[0].use = #in
* parameter[0].min = 0
* parameter[0].max = "*"
* parameter[0].documentation = "If present, one or more parameters each containing exactly one Canonical SubscriptionTopic URL to search for."
* parameter[0].type = #uri
* parameter[1].name = #return
* parameter[1].use = #out
* parameter[1].min = 1
* parameter[1].max = "1"
* parameter[1].documentation = "The operation returns a Parameters resource compliant with the \"backport-subscription-topic-list\" profile, representing supported SubscriptionTopics for the server by their canonical URLs."
* parameter[1].type = #Parameters
Instance: OperationBackportSubscriptionGetWsBindingToken
InstanceOf: OperationDefinition
Usage: #definition
Title: "Backport Subscription Get WS Binding Token"
Description: "This operation is used to get a token for a websocket client to use in order to bind to one or more subscriptions."
* id = "backport-subscription-get-ws-binding-token"
* name = "R5SubscriptionGetWsBindingToken"
* description = "This operation is used to get a token for a websocket client to use in order to bind to one or more subscriptions."
* insert OperationCommon
* system = false
* type = true
* instance = true
* code = #get-ws-binding-token
* resource[0] = #Subscription
* parameter[0].name = #ids
* parameter[0].use = #in
* parameter[0].min = 0
* parameter[0].max = "*"
* parameter[0].documentation = "At the Resource level, one or more parameters containing one or more FHIR ids of Subscriptions to get tokens for. In the absense of any specified ids, the server returns tokens for all Subscriptions available to the caller with a channel-type of websocket. At the Instance level, this parameter is ignored."
* parameter[0].type = #id
* parameter[1].name = #return
* parameter[1].use = #out
* parameter[1].min = 1
* parameter[1].max = "1"
* parameter[1].documentation = "The returned Parameters MUST include a valueString named \"token\" and a valueDateTime named \"expiration\". The returned Parameters MAY include a valueString named \"subscriptions\" with a comma-delimited list of subscriptions covered by this token.
Note: as this is the only out parameter, it is a resource, and it has the name 'return', the result of this operation is returned directly as a resource"
* parameter[1].type = #Parameters