Skip to content

Commit 055a499

Browse files
author
healthedata1
committed
add category valueset and inline comments to draft
1 parent 3a372c0 commit 055a499

7 files changed

+162
-103
lines changed

FHIR-us-healthedata1-sandbox.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
<artifact id="OperationDefinition/test" key="OperationDefinition-test" name="Test"/>
1111
<artifact id="StructureDefinition/test-binding" key="StructureDefinition-test-binding" name="Test Binding"/>
1212
<artifact id="StructureDefinition/us-core-pmo-servicerequest" key="StructureDefinition-us-core-pmo-servicerequest" name="US Core PMO ServiceRequest Profile"/>
13+
<artifact id="ValueSet/us-core-portable-medical-orders" key="ValueSet-us-core-portable-medical-orders" name="US Core Portable Medical Orders"/>
1314
<artifact id="ServiceRequest/example-pmo-servicerequest" key="ServiceRequest-example-pmo-servicerequest" name="example-pmo-servicerequest"/>
1415
<page key="NA" name="(NA)"/>
1516
<page key="many" name="(many)"/>

fsh-generated/includes/fsh-link-references.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@
44
[SubmitCGMBundle]: OperationDefinition-submit-cgm-bundle.html
55
[Test]: OperationDefinition-test.html
66
[TestBinding]: StructureDefinition-test-binding.html
7-
[USCorePMOServiceRequestProfile]: StructureDefinition-us-core-pmo-servicerequest.html
7+
[USCorePMOServiceRequestProfile]: StructureDefinition-us-core-pmo-servicerequest.html
8+
[USCorePortableMedicalOrders]: ValueSet-us-core-portable-medical-orders.html

fsh-generated/resources/ImplementationGuide-hl7.fhir.us.healthedata1-sandbox.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,14 @@
126126
"description": "The US Core PMO ServiceRequest Profile defines constraints for Portable Medical Orders (PMO) based on the FHIR R4 ServiceRequest resource. It establishes minimum expectations for recording, searching, and fetching PMO-related ServiceRequest information, specifying core elements, extensions, vocabularies, and value sets that SHALL be present to promote interoperability for PMO use cases, such as POLST and MOLST.\n",
127127
"exampleBoolean": false,
128128
"name": "US Core PMO ServiceRequest Profile"
129+
},
130+
{
131+
"reference": {
132+
"reference": "ValueSet/us-core-portable-medical-orders"
133+
},
134+
"description": "A value set of LOINC codes for portable medical orders.",
135+
"exampleBoolean": false,
136+
"name": "US Core Portable Medical Orders"
129137
}
130138
],
131139
"page": {

input/resources-yaml/StructureDefinition-uscore-pmo-servicerequest.yml

Lines changed: 49 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,17 @@ differential:
1717
- id: ServiceRequest
1818
path: ServiceRequest
1919
mustSupport: false
20+
2021
- id: ServiceRequest.status
2122
path: ServiceRequest.status
2223
mustSupport: true
24+
2325
- id: ServiceRequest.intent
2426
path: ServiceRequest.intent
27+
short: 'Note: To allow for the resource life cycle, no constraint on intent, use "directive" in PMO document'
2528
mustSupport: true
26-
fixedCode: directive
29+
# fixedCode: directive
30+
2731
- id: ServiceRequest.category
2832
path: ServiceRequest.category
2933
slicing:
@@ -32,17 +36,22 @@ differential:
3236
path: $this
3337
rules: open
3438
mustSupport: true
39+
40+
# 'Multiple portable medical order categories vs a single "PMO" category?'
41+
# currently a 2-level heirarchy
42+
# Option to move the panel codes to code and answers to orderDetails? for 3 level heirarchy
3543
- id: ServiceRequest.category:us-core-pmo
3644
path: ServiceRequest.category
3745
sliceName: us-core-pmo
38-
short: |
39-
100821-8 (National POLST Form: A Portable Medical Order panel) | 100822-6 (Cardiopulmonary resuscitation orders) | 100823-4 (Initial portable medical treatment orders) | 100824-2 (Additional portable medical orders or instructions) | 100825-9 (Medically assisted nutrition orders) | 100970-3 (Portable medical order completion information) | 100826-7 (Portable medical order &or advance directive review) | 100827-5 (Portable medical order discussion participants) | 100828-3 (Portable medical order administrative information)
46+
short: 'Multiple portable medical order categories vs a single "PMO" category (2 vs 3 level code heirarchy)?'
4047
mustSupport: true
4148
binding:
4249
strength: extensible
4350
description: |
4451
[Portable Medical Order panel codes](https://loinc.org/100821-8)
45-
valueSet: http://hl7.org/fhir/us/core/ValueSet/us-core-pmo-servicerequest-category
52+
valueSet: http://hl7.org/fhir/us/core/ValueSet/us-core-portable-medical-orders
53+
54+
# Answers to panels code in category codes
4655
- id: ServiceRequest.code
4756
path: ServiceRequest.code
4857
min: 1
@@ -101,49 +110,47 @@ differential:
101110
strength: extensible
102111
description: Portable Medical Order panel answers - mostly free-text
103112
valueSet: http://hl7.org/fhir/us/core/ValueSet/us-core-pmo-procedure-code
113+
114+
# require text since mostly text today
104115
- id: ServiceRequest.code.text
105116
path: ServiceRequest.code.text
106117
mustSupport: true
107118
short: "Plain text representation of the PMO procedure or service."
119+
120+
# require text since mostly text today
108121
- id: ServiceRequest.orderDetail
109122
path: ServiceRequest.orderDetail
110123
mustSupport: true
124+
111125
- id: ServiceRequest.orderDetail.text
112126
path: ServiceRequest.orderDetail.text
113127
mustSupport: true
114128
short: "Plain text representation to capture additional PMO order details."
129+
130+
# limit to Patient
115131
- id: ServiceRequest.subject
116132
path: ServiceRequest.subject
133+
short: limited to Patient
117134
type:
118135
- code: Reference
119136
targetProfile:
120137
- http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient
121-
- http://hl7.org/fhir/StructureDefinition/Group
122-
- http://hl7.org/fhir/us/core/StructureDefinition/us-core-location
123-
- http://hl7.org/fhir/StructureDefinition/Device
124-
_targetProfile:
125-
- extension:
126-
- url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support
127-
valueBoolean: true
128-
- extension:
129-
- url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support
130-
valueBoolean: false
131-
- extension:
132-
- url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support
133-
valueBoolean: false
134-
- extension:
135-
- url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support
136-
valueBoolean: false
137138
mustSupport: true
139+
140+
# not used in context of a PMO Document. (Invariant or narrative)
138141
- id: ServiceRequest.encounter
139142
path: ServiceRequest.encounter
143+
short: '**NOT USED WHEN PART OF A PMO DOCUMENT**'
140144
type:
141145
- code: Reference
142146
targetProfile:
143147
- http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter
144148
mustSupport: true
149+
150+
145151
- id: ServiceRequest.occurrence[x]
146152
path: ServiceRequest.occurrence[x]
153+
short: Often just a start date
147154
type:
148155
- extension:
149156
- url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support
@@ -152,20 +159,25 @@ differential:
152159
- code: dateTime
153160
- code: Timing
154161
mustSupport: true
162+
155163
- id: ServiceRequest.authoredOn
156164
path: ServiceRequest.authoredOn
165+
short: Date Order signed vs date of PMO document - same if part of PMO document
157166
mustSupport: true
167+
168+
# Authored only by Practitioner What if AI gets into the act ...Device?
158169
- id: ServiceRequest.requester
159170
path: ServiceRequest.requester
171+
short: Authored only by Practitioner
160172
type:
161173
- code: Reference
162174
targetProfile:
163175
- http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner
164176
- http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization
165-
- http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient
177+
# - http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient
166178
- http://hl7.org/fhir/StructureDefinition/PractitionerRole
167-
- http://hl7.org/fhir/us/core/StructureDefinition/us-core-relatedperson
168-
- http://hl7.org/fhir/StructureDefinition/Device
179+
# - http://hl7.org/fhir/us/core/StructureDefinition/us-core-relatedperson
180+
# - http://hl7.org/fhir/StructureDefinition/Device
169181
_targetProfile:
170182
- extension:
171183
- url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support
@@ -176,22 +188,27 @@ differential:
176188
- extension:
177189
- url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support
178190
valueBoolean: false
179-
- extension:
180-
- url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support
181-
valueBoolean: false
182-
- extension:
183-
- url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support
184-
valueBoolean: false
185-
- extension:
186-
- url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support
187-
valueBoolean: false
191+
# - extension:
192+
# - url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support
193+
# valueBoolean: false
194+
# - extension:
195+
# - url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support
196+
# valueBoolean: false
197+
# - extension:
198+
# - url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support
199+
# valueBoolean: false
188200
mustSupport: true
189201
- id: ServiceRequest.reasonCode
190202
path: ServiceRequest.reasonCode
191203
binding:
192204
strength: extensible
193205
valueSet: http://hl7.org/fhir/us/core/ValueSet/us-core-condition-code
194206
mustSupport: true
207+
208+
# link to the scanned PMO document - using reasonReference based US Core
209+
# Other option is supportingInfo
210+
# Best option would be basedOn but not supported in FHIR R4
211+
# What about supporting QuestionnnaireResponse Directly - Base FHIR question
195212
- id: ServiceRequest.reasonReference
196213
path: ServiceRequest.reasonReference
197214
type:
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
resourceType: ValueSet
2+
id: us-core-portable-medical-orders
3+
url: http://hl7.org/fhir/us/core/ValueSet/us-core-portable-medical-orders
4+
name: USCorePortableMedicalOrders
5+
title: US Core Portable Medical Orders
6+
status: draft
7+
experimental: true
8+
date: 2024-05-14
9+
version: 4.0.1
10+
description: A value set of LOINC codes for portable medical orders.
11+
copyright: "This material contains content from LOINC (http://loinc.org). LOINC is copyright © 1995-2020, Regenstrief Institute, Inc. and the Logical Observation Identifiers Names and Codes (LOINC) Committee and is available at no cost under the license at http://loinc.org/license. LOINC® is a registered United States trademark of Regenstrief Institute, Inc"
12+
compose:
13+
include:
14+
- system: http://loinc.org
15+
concept:
16+
- code: 100821-8
17+
display: 'National POLST Form: A Portable Medical Order panel'
18+
- code: 100822-6
19+
display: Cardiopulmonary resuscitation orders
20+
- code: 100823-4
21+
display: Initial portable medical treatment orders
22+
- code: 100824-2
23+
display: Additional portable medical orders or instructions
24+
- code: 100825-9
25+
display: Medically assisted nutrition orders
26+
- code: 100970-3
27+
display: Portable medical order completion information
28+
- code: 100826-7
29+
display: Portable medical order &or advance directive review
30+
- code: 100827-5
31+
display: Portable medical order discussion participants
32+
- code: 100828-3
33+
display: Portable medical order administrative information

input/resources/StructureDefinition-uscore-pmo-servicerequest.json

Lines changed: 11 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
{
2828
"id": "ServiceRequest.intent",
2929
"path": "ServiceRequest.intent",
30-
"mustSupport": true,
31-
"fixedCode": "directive"
30+
"short": "Note: To allow for the resource life cycle, no constraint on intent, use \"directive\" in PMO document",
31+
"mustSupport": true
3232
},
3333
{
3434
"id": "ServiceRequest.category",
@@ -48,12 +48,12 @@
4848
"id": "ServiceRequest.category:us-core-pmo",
4949
"path": "ServiceRequest.category",
5050
"sliceName": "us-core-pmo",
51-
"short": "100821-8 (National POLST Form: A Portable Medical Order panel) | 100822-6 (Cardiopulmonary resuscitation orders) | 100823-4 (Initial portable medical treatment orders) | 100824-2 (Additional portable medical orders or instructions) | 100825-9 (Medically assisted nutrition orders) | 100970-3 (Portable medical order completion information) | 100826-7 (Portable medical order &or advance directive review) | 100827-5 (Portable medical order discussion participants) | 100828-3 (Portable medical order administrative information)\n",
51+
"short": "Multiple portable medical order categories vs a single \"PMO\" category (2 vs 3 level code heirarchy)?",
5252
"mustSupport": true,
5353
"binding": {
5454
"strength": "extensible",
5555
"description": "[Portable Medical Order panel codes](https://loinc.org/100821-8)\n",
56-
"valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-pmo-servicerequest-category"
56+
"valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-portable-medical-orders"
5757
}
5858
},
5959
{
@@ -164,48 +164,12 @@
164164
{
165165
"id": "ServiceRequest.subject",
166166
"path": "ServiceRequest.subject",
167+
"short": "limited to Patient",
167168
"type": [
168169
{
169170
"code": "Reference",
170171
"targetProfile": [
171-
"http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient",
172-
"http://hl7.org/fhir/StructureDefinition/Group",
173-
"http://hl7.org/fhir/us/core/StructureDefinition/us-core-location",
174-
"http://hl7.org/fhir/StructureDefinition/Device"
175-
],
176-
"_targetProfile": [
177-
{
178-
"extension": [
179-
{
180-
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
181-
"valueBoolean": true
182-
}
183-
]
184-
},
185-
{
186-
"extension": [
187-
{
188-
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
189-
"valueBoolean": false
190-
}
191-
]
192-
},
193-
{
194-
"extension": [
195-
{
196-
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
197-
"valueBoolean": false
198-
}
199-
]
200-
},
201-
{
202-
"extension": [
203-
{
204-
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
205-
"valueBoolean": false
206-
}
207-
]
208-
}
172+
"http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"
209173
]
210174
}
211175
],
@@ -214,6 +178,7 @@
214178
{
215179
"id": "ServiceRequest.encounter",
216180
"path": "ServiceRequest.encounter",
181+
"short": "**NOT USED WHEN PART OF A PMO DOCUMENT**",
217182
"type": [
218183
{
219184
"code": "Reference",
@@ -227,6 +192,7 @@
227192
{
228193
"id": "ServiceRequest.occurrence[x]",
229194
"path": "ServiceRequest.occurrence[x]",
195+
"short": "Often just a start date",
230196
"type": [
231197
{
232198
"extension": [
@@ -249,21 +215,20 @@
249215
{
250216
"id": "ServiceRequest.authoredOn",
251217
"path": "ServiceRequest.authoredOn",
218+
"short": "Date Order signed vs date of PMO document - same if part of PMO document",
252219
"mustSupport": true
253220
},
254221
{
255222
"id": "ServiceRequest.requester",
256223
"path": "ServiceRequest.requester",
224+
"short": "Authored only by Practitioner",
257225
"type": [
258226
{
259227
"code": "Reference",
260228
"targetProfile": [
261229
"http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner",
262230
"http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization",
263-
"http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient",
264-
"http://hl7.org/fhir/StructureDefinition/PractitionerRole",
265-
"http://hl7.org/fhir/us/core/StructureDefinition/us-core-relatedperson",
266-
"http://hl7.org/fhir/StructureDefinition/Device"
231+
"http://hl7.org/fhir/StructureDefinition/PractitionerRole"
267232
],
268233
"_targetProfile": [
269234
{
@@ -282,30 +247,6 @@
282247
}
283248
]
284249
},
285-
{
286-
"extension": [
287-
{
288-
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
289-
"valueBoolean": false
290-
}
291-
]
292-
},
293-
{
294-
"extension": [
295-
{
296-
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
297-
"valueBoolean": false
298-
}
299-
]
300-
},
301-
{
302-
"extension": [
303-
{
304-
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
305-
"valueBoolean": false
306-
}
307-
]
308-
},
309250
{
310251
"extension": [
311252
{

0 commit comments

Comments
 (0)