This repository was archived by the owner on May 7, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 119
Expand file tree
/
Copy pathsoarian_r4_examples_care_plan.rb
More file actions
142 lines (138 loc) · 6.7 KB
/
soarian_r4_examples_care_plan.rb
File metadata and controls
142 lines (138 loc) · 6.7 KB
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
# frozen_string_literal: true
module Cerner
module Resources
SOARIAN_R4_CAREPLAN_SEARCH_BY_PT_CATEGORY ||= {
"resourceType": 'Bundle',
"id": '3454991c-8073-4dad-810f-e21af8da1404',
"type": 'searchset',
"timestamp": '2021-03-15T14:15:18-04:00',
"entry": [
{
"fullUrl": 'https://fhir-myrecord-sc.sandboxcerner.com/r4/3f2aca24-87f3-4eac-a6d7-1f75247e6b43/CarePlan/494454CC0E254A409CD98DA791EB2E16.DDC.80014',
"resource": {
"resourceType": 'CarePlan',
"id": '494454CC0E254A409CD98DA791EB2E16.DDC.80014',
"meta": {
"lastUpdated": '2021-03-15T14:15:02-04:00'
},
"status": 'active',
"intent": 'plan',
"category": [
{
"coding": [
{
"system": 'http://hl7.org/fhir/us/core/CodeSystem/careplan-category',
"code": 'assess-plan'
}
]
}
],
"subject": {
"reference": 'Patient/494454CC0E254A409CD98DA791EB2E16',
"display": 'Dillow,Raleigh Ada'
},
"encounter": {
"reference": 'Encounter/494454CC0E254A409CD98DA791EB2E16.1',
"display": 'City General,Initial'
},
"text": {
"status": 'additional',
# rubocop:disable Layout/LineLength
"div": "<div xmlns='http://www.w3.org/1999/xhtml'><b>CarePlan</b><br /><b>Patient</b>:Dillow,Raleigh Ada<br /><b>Status</b>:active<br /><b>Encounter</b>:City General,Initial<br /><b>Intent</b>:plan<br /><b>Category : </b><b>System</b>:http://hl7.org/fhir/us/core/CodeSystem/careplan-category <b>Code</b>:assess-plan<br /><b>Assessment and Plan</b>:<ul><li>Treatment Plan: Ms. Dillow is a diabetic and her glucose on admission was 91. Her glucose will be strictly monitored during her stay and her AIC will be checked. She has been on a combination of Sitalgliptin and metformin to treat her insulin esistance diabetes. We do not have this combination medicationand will start Ms.Dillow on sliding scale insulin to control her glucose levels.</li></ul><br /></div>"
# rubocop:enable Layout/LineLength
}
}
}
],
"link": [
{
"relation": 'self',
"url": 'https://fhir-myrecord-sc.sandboxcerner.com/r4/3f2aca24-87f3-4eac-a6d7-1f75247e6b43/CarePlan?patient=494454CC0E254A409CD98DA791EB2E16&category=assess-plan&_format=json'
}
]
}.freeze
SOARIAN_R4_CAREPLAN_SEARCH_BY_ID ||= {
"resourceType": 'Bundle',
"id": '3454991c-8073-4dad-810f-e21af8da1404',
"type": 'searchset',
"timestamp": '2021-03-15T14:15:18-04:00',
"entry": [
{
"fullUrl": 'https://fhir-myrecord-sc.sandboxcerner.com/r4/3f2aca24-87f3-4eac-a6d7-1f75247e6b43/CarePlan/494454CC0E254A409CD98DA791EB2E16.DDC.80014',
"resource": {
"resourceType": 'CarePlan',
"id": '494454CC0E254A409CD98DA791EB2E16.DDC.80014',
"meta": {
"lastUpdated": '2021-03-15T14:15:02-04:00'
},
"status": 'active',
"intent": 'plan',
"category": [
{
"coding": [
{
"system": 'http://hl7.org/fhir/us/core/CodeSystem/careplan-category',
"code": 'assess-plan'
}
]
}
],
"subject": {
"reference": 'Patient/494454CC0E254A409CD98DA791EB2E16',
"display": 'Dillow,Raleigh Ada'
},
"encounter": {
"reference": 'Encounter/494454CC0E254A409CD98DA791EB2E16.1',
"display": 'City General,Initial'
},
"text": {
"status": 'additional',
# rubocop:disable Layout/LineLength
"div": "<div xmlns='http://www.w3.org/1999/xhtml'><b>CarePlan</b><br /><b>Patient</b>:Dillow,Raleigh Ada<br /><b>Status</b>:active<br /><b>Encounter</b>:City General,Initial<br /><b>Intent</b>:plan<br /><b>Category : </b><b>System</b>:http://hl7.org/fhir/us/core/CodeSystem/careplan-category <b>Code</b>:assess-plan<br /><b>Assessment and Plan</b>:<ul><li>Treatment Plan: Ms. Dillow is a diabetic and her glucose on admission was 91. Her glucose will be strictly monitored during her stay and her AIC will be checked. She has been on a combination of Sitalgliptin and metformin to treat her insulin esistance diabetes. We do not have this combination medicationand will start Ms.Dillow on sliding scale insulin to control her glucose levels.</li></ul><br /></div>"
# rubocop:enable Layout/LineLength
}
}
}
],
"link": [
{
"relation": 'self',
"url": 'https://fhir-myrecord-sc.sandboxcerner.com/r4/3f2aca24-87f3-4eac-a6d7-1f75247e6b43/CarePlan?patient=494454CC0E254A409CD98DA791EB2E16&category=assess-plan&_format=json'
}
]
}.freeze
SOARIAN_R4_CAREPLAN_READ_BY_ID ||= {
"resourceType": 'CarePlan',
"id": '494454CC0E254A409CD98DA791EB2E16.DDC.80014',
"meta": {
"lastUpdated": '2021-03-15T14:15:02-04:00'
},
"status": 'active',
"intent": 'plan',
"category": [
{
"coding": [
{
"system": 'http://hl7.org/fhir/us/core/CodeSystem/careplan-category',
"code": 'assess-plan'
}
]
}
],
"subject": {
"reference": 'Patient/494454CC0E254A409CD98DA791EB2E16',
"display": 'Dillow,Raleigh Ada'
},
"encounter": {
"reference": 'Encounter/494454CC0E254A409CD98DA791EB2E16.1',
"display": 'City General,Initial'
},
"text": {
"status": 'additional',
# rubocop:disable Layout/LineLength
"div": "<div xmlns='http://www.w3.org/1999/xhtml'><b>CarePlan</b><br /><b>Patient</b>:Dillow,Raleigh Ada<br /><b>Status</b>:active<br /><b>Encounter</b>:City General,Initial<br /><b>Intent</b>:plan<br /><b>Category : </b><b>System</b>:http://hl7.org/fhir/us/core/CodeSystem/careplan-category <b>Code</b>:assess-plan<br /><b>Assessment and Plan</b>:<ul><li>Treatment Plan: Ms. Dillow is a diabetic and her glucose on admission was 91. Her glucose will be strictly monitored during her stay and her AIC will be checked. She has been on a combination of Sitalgliptin and metformin to treat her insulin esistance diabetes. We do not have this combination medicationand will start Ms.Dillow on sliding scale insulin to control her glucose levels.</li></ul><br /></div>"
# rubocop:enable Layout/LineLength
}
}.freeze
end
end