@medplum/mock 0.4.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.js +4150 -202
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/index.min.js +1 -1
- package/dist/cjs/index.min.js.map +1 -1
- package/dist/esm/index.js +4151 -198
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/index.min.js +1 -1
- package/dist/esm/index.min.js.map +1 -1
- package/dist/types/mocks/types.d.ts +57 -7
- package/package.json +3 -3
- package/rollup.config.js +0 -43
package/dist/esm/index.js
CHANGED
|
@@ -41,6 +41,12 @@ const DrAliceSmith = {
|
|
|
41
41
|
family: 'Smith',
|
|
42
42
|
},
|
|
43
43
|
],
|
|
44
|
+
photo: [
|
|
45
|
+
{
|
|
46
|
+
contentType: 'image/png',
|
|
47
|
+
url: 'https://docs.medplum.com/img/cdc-femaledoc.png',
|
|
48
|
+
},
|
|
49
|
+
],
|
|
44
50
|
};
|
|
45
51
|
const DrAliceSmithHistoryBundle = {
|
|
46
52
|
resourceType: 'Bundle',
|
|
@@ -121,6 +127,7 @@ const HomerSimpson = {
|
|
|
121
127
|
{ system: 'abc', value: '123' },
|
|
122
128
|
{ system: 'def', value: '456' },
|
|
123
129
|
],
|
|
130
|
+
birthDate: '1956-05-12',
|
|
124
131
|
name: [
|
|
125
132
|
{
|
|
126
133
|
given: ['Homer'],
|
|
@@ -129,8 +136,8 @@ const HomerSimpson = {
|
|
|
129
136
|
],
|
|
130
137
|
photo: [
|
|
131
138
|
{
|
|
132
|
-
contentType: 'image/
|
|
133
|
-
url: 'https://
|
|
139
|
+
contentType: 'image/png',
|
|
140
|
+
url: 'https://docs.medplum.com/img/homer-simpson.png',
|
|
134
141
|
},
|
|
135
142
|
],
|
|
136
143
|
};
|
|
@@ -160,8 +167,8 @@ const HomerSimpsonHistory = {
|
|
|
160
167
|
],
|
|
161
168
|
photo: [
|
|
162
169
|
{
|
|
163
|
-
contentType: 'image/
|
|
164
|
-
url: 'https://
|
|
170
|
+
contentType: 'image/png',
|
|
171
|
+
url: 'https://docs.medplum.com/img/homer-simpson.png',
|
|
165
172
|
},
|
|
166
173
|
],
|
|
167
174
|
},
|
|
@@ -173,6 +180,10 @@ const HomerEncounter = {
|
|
|
173
180
|
id: '123',
|
|
174
181
|
meta: {
|
|
175
182
|
versionId: '456',
|
|
183
|
+
lastUpdated: '2020-01-01T00:00:00.000Z',
|
|
184
|
+
author: {
|
|
185
|
+
reference: 'Practitioner/123',
|
|
186
|
+
},
|
|
176
187
|
},
|
|
177
188
|
};
|
|
178
189
|
const HomerEncounterHistory = {
|
|
@@ -230,6 +241,13 @@ const HomerMedia = {
|
|
|
230
241
|
const HomerDiagnosticReport = {
|
|
231
242
|
resourceType: 'DiagnosticReport',
|
|
232
243
|
id: '123',
|
|
244
|
+
meta: {
|
|
245
|
+
versionId: '1',
|
|
246
|
+
lastUpdated: '2020-01-02T12:00:00Z',
|
|
247
|
+
author: {
|
|
248
|
+
reference: 'Practitioner/123',
|
|
249
|
+
},
|
|
250
|
+
},
|
|
233
251
|
subject: {
|
|
234
252
|
reference: 'Patient/123',
|
|
235
253
|
display: 'Homer Simpson',
|
|
@@ -261,11 +279,17 @@ const HomerDiagnosticReportBundle = {
|
|
|
261
279
|
const HomerObservation1 = {
|
|
262
280
|
resourceType: 'Observation',
|
|
263
281
|
id: '1',
|
|
282
|
+
code: {
|
|
283
|
+
text: 'Test 1',
|
|
284
|
+
},
|
|
264
285
|
valueString: 'test',
|
|
265
286
|
};
|
|
266
287
|
const HomerObservation2 = {
|
|
267
288
|
resourceType: 'Observation',
|
|
268
289
|
id: '2',
|
|
290
|
+
code: {
|
|
291
|
+
text: 'Test 2',
|
|
292
|
+
},
|
|
269
293
|
valueQuantity: {
|
|
270
294
|
value: 20,
|
|
271
295
|
unit: 'x',
|
|
@@ -281,6 +305,9 @@ const HomerObservation2 = {
|
|
|
281
305
|
const HomerObservation3 = {
|
|
282
306
|
resourceType: 'Observation',
|
|
283
307
|
id: '3',
|
|
308
|
+
code: {
|
|
309
|
+
text: 'Test 3',
|
|
310
|
+
},
|
|
284
311
|
valueQuantity: {
|
|
285
312
|
value: 30,
|
|
286
313
|
unit: 'x',
|
|
@@ -296,6 +323,9 @@ const HomerObservation3 = {
|
|
|
296
323
|
const HomerObservation4 = {
|
|
297
324
|
resourceType: 'Observation',
|
|
298
325
|
id: '4',
|
|
326
|
+
code: {
|
|
327
|
+
text: 'Test 4',
|
|
328
|
+
},
|
|
299
329
|
valueQuantity: {
|
|
300
330
|
value: 50,
|
|
301
331
|
unit: 'x',
|
|
@@ -319,6 +349,9 @@ const HomerObservation4 = {
|
|
|
319
349
|
const HomerObservation5 = {
|
|
320
350
|
resourceType: 'Observation',
|
|
321
351
|
id: '5',
|
|
352
|
+
code: {
|
|
353
|
+
text: 'Test 5',
|
|
354
|
+
},
|
|
322
355
|
valueQuantity: {
|
|
323
356
|
value: 100,
|
|
324
357
|
unit: 'x',
|
|
@@ -328,6 +361,9 @@ const HomerObservation5 = {
|
|
|
328
361
|
};
|
|
329
362
|
const HomerObservation6 = {
|
|
330
363
|
resourceType: 'Observation',
|
|
364
|
+
code: {
|
|
365
|
+
text: 'Test 6',
|
|
366
|
+
},
|
|
331
367
|
component: [
|
|
332
368
|
{
|
|
333
369
|
valueQuantity: {
|
|
@@ -376,6 +412,12 @@ const HomerServiceRequest = {
|
|
|
376
412
|
reference: 'Patient/123',
|
|
377
413
|
display: 'Homer Simpson',
|
|
378
414
|
},
|
|
415
|
+
status: 'completed',
|
|
416
|
+
orderDetail: [
|
|
417
|
+
{
|
|
418
|
+
text: 'Test 1',
|
|
419
|
+
},
|
|
420
|
+
],
|
|
379
421
|
};
|
|
380
422
|
const HomerServiceRequestHistoryBundle = {
|
|
381
423
|
resourceType: 'Bundle',
|
|
@@ -405,6 +447,7 @@ const BartSimpson = {
|
|
|
405
447
|
reference: 'Practitioner/123',
|
|
406
448
|
},
|
|
407
449
|
},
|
|
450
|
+
birthDate: '1979-12-17',
|
|
408
451
|
name: [
|
|
409
452
|
{
|
|
410
453
|
given: ['Bart'],
|
|
@@ -468,87 +511,4067 @@ const ExampleAuditEventBundle = {
|
|
|
468
511
|
],
|
|
469
512
|
};
|
|
470
513
|
|
|
514
|
+
var StructureDefinitionList = [
|
|
515
|
+
{
|
|
516
|
+
resourceType: "StructureDefinition",
|
|
517
|
+
id: "DiagnosticReport",
|
|
518
|
+
name: "DiagnosticReport",
|
|
519
|
+
description: "The findings and interpretation of diagnostic tests performed on patients, groups of patients, devices, and locations, and/or specimens derived from these. The report includes clinical context such as requesting and provider information, and some mix of atomic results, images, textual and coded interpretations, and formatted representation of diagnostic reports.",
|
|
520
|
+
type: "DiagnosticReport",
|
|
521
|
+
snapshot: {
|
|
522
|
+
element: [
|
|
523
|
+
{
|
|
524
|
+
id: "DiagnosticReport",
|
|
525
|
+
path: "DiagnosticReport",
|
|
526
|
+
definition: "The findings and interpretation of diagnostic tests performed on patients, groups of patients, devices, and locations, and/or specimens derived from these. The report includes clinical context such as requesting and provider information, and some mix of atomic results, images, textual and coded interpretations, and formatted representation of diagnostic reports.",
|
|
527
|
+
min: 0,
|
|
528
|
+
max: "*"
|
|
529
|
+
},
|
|
530
|
+
{
|
|
531
|
+
id: "DiagnosticReport.id",
|
|
532
|
+
path: "DiagnosticReport.id",
|
|
533
|
+
definition: "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
|
|
534
|
+
min: 0,
|
|
535
|
+
max: "1",
|
|
536
|
+
type: [
|
|
537
|
+
{
|
|
538
|
+
code: "https://hl7.org/fhirpath/System.String"
|
|
539
|
+
}
|
|
540
|
+
]
|
|
541
|
+
},
|
|
542
|
+
{
|
|
543
|
+
id: "DiagnosticReport.meta",
|
|
544
|
+
path: "DiagnosticReport.meta",
|
|
545
|
+
definition: "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.",
|
|
546
|
+
min: 0,
|
|
547
|
+
max: "1",
|
|
548
|
+
type: [
|
|
549
|
+
{
|
|
550
|
+
code: "Meta"
|
|
551
|
+
}
|
|
552
|
+
]
|
|
553
|
+
},
|
|
554
|
+
{
|
|
555
|
+
id: "DiagnosticReport.implicitRules",
|
|
556
|
+
path: "DiagnosticReport.implicitRules",
|
|
557
|
+
definition: "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.",
|
|
558
|
+
min: 0,
|
|
559
|
+
max: "1",
|
|
560
|
+
type: [
|
|
561
|
+
{
|
|
562
|
+
code: "uri"
|
|
563
|
+
}
|
|
564
|
+
]
|
|
565
|
+
},
|
|
566
|
+
{
|
|
567
|
+
id: "DiagnosticReport.language",
|
|
568
|
+
path: "DiagnosticReport.language",
|
|
569
|
+
definition: "The base language in which the resource is written.",
|
|
570
|
+
min: 0,
|
|
571
|
+
max: "1",
|
|
572
|
+
type: [
|
|
573
|
+
{
|
|
574
|
+
code: "code"
|
|
575
|
+
}
|
|
576
|
+
],
|
|
577
|
+
binding: {
|
|
578
|
+
description: "A human language.",
|
|
579
|
+
valueSet: "https://hl7.org/fhir/ValueSet/languages"
|
|
580
|
+
}
|
|
581
|
+
},
|
|
582
|
+
{
|
|
583
|
+
id: "DiagnosticReport.text",
|
|
584
|
+
path: "DiagnosticReport.text",
|
|
585
|
+
definition: "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.",
|
|
586
|
+
min: 0,
|
|
587
|
+
max: "1",
|
|
588
|
+
type: [
|
|
589
|
+
{
|
|
590
|
+
code: "Narrative"
|
|
591
|
+
}
|
|
592
|
+
]
|
|
593
|
+
},
|
|
594
|
+
{
|
|
595
|
+
id: "DiagnosticReport.contained",
|
|
596
|
+
path: "DiagnosticReport.contained",
|
|
597
|
+
definition: "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.",
|
|
598
|
+
min: 0,
|
|
599
|
+
max: "*",
|
|
600
|
+
type: [
|
|
601
|
+
{
|
|
602
|
+
code: "Resource"
|
|
603
|
+
}
|
|
604
|
+
]
|
|
605
|
+
},
|
|
606
|
+
{
|
|
607
|
+
id: "DiagnosticReport.extension",
|
|
608
|
+
path: "DiagnosticReport.extension",
|
|
609
|
+
definition: "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
|
|
610
|
+
min: 0,
|
|
611
|
+
max: "*",
|
|
612
|
+
type: [
|
|
613
|
+
{
|
|
614
|
+
code: "Extension"
|
|
615
|
+
}
|
|
616
|
+
]
|
|
617
|
+
},
|
|
618
|
+
{
|
|
619
|
+
id: "DiagnosticReport.modifierExtension",
|
|
620
|
+
path: "DiagnosticReport.modifierExtension",
|
|
621
|
+
definition: "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
|
|
622
|
+
min: 0,
|
|
623
|
+
max: "*",
|
|
624
|
+
type: [
|
|
625
|
+
{
|
|
626
|
+
code: "Extension"
|
|
627
|
+
}
|
|
628
|
+
]
|
|
629
|
+
},
|
|
630
|
+
{
|
|
631
|
+
id: "DiagnosticReport.identifier",
|
|
632
|
+
path: "DiagnosticReport.identifier",
|
|
633
|
+
definition: "Identifiers assigned to this report by the performer or other systems.",
|
|
634
|
+
min: 0,
|
|
635
|
+
max: "*",
|
|
636
|
+
type: [
|
|
637
|
+
{
|
|
638
|
+
code: "Identifier"
|
|
639
|
+
}
|
|
640
|
+
]
|
|
641
|
+
},
|
|
642
|
+
{
|
|
643
|
+
id: "DiagnosticReport.basedOn",
|
|
644
|
+
path: "DiagnosticReport.basedOn",
|
|
645
|
+
definition: "Details concerning a service requested.",
|
|
646
|
+
min: 0,
|
|
647
|
+
max: "*",
|
|
648
|
+
type: [
|
|
649
|
+
{
|
|
650
|
+
code: "Reference",
|
|
651
|
+
targetProfile: [
|
|
652
|
+
"https://hl7.org/fhir/StructureDefinition/CarePlan",
|
|
653
|
+
"https://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation",
|
|
654
|
+
"https://hl7.org/fhir/StructureDefinition/MedicationRequest",
|
|
655
|
+
"https://hl7.org/fhir/StructureDefinition/NutritionOrder",
|
|
656
|
+
"https://hl7.org/fhir/StructureDefinition/ServiceRequest"
|
|
657
|
+
]
|
|
658
|
+
}
|
|
659
|
+
]
|
|
660
|
+
},
|
|
661
|
+
{
|
|
662
|
+
id: "DiagnosticReport.status",
|
|
663
|
+
path: "DiagnosticReport.status",
|
|
664
|
+
definition: "The status of the diagnostic report.",
|
|
665
|
+
min: 1,
|
|
666
|
+
max: "1",
|
|
667
|
+
type: [
|
|
668
|
+
{
|
|
669
|
+
code: "code"
|
|
670
|
+
}
|
|
671
|
+
],
|
|
672
|
+
binding: {
|
|
673
|
+
description: "The status of the diagnostic report.",
|
|
674
|
+
valueSet: "https://hl7.org/fhir/ValueSet/diagnostic-report-status|4.0.1"
|
|
675
|
+
}
|
|
676
|
+
},
|
|
677
|
+
{
|
|
678
|
+
id: "DiagnosticReport.category",
|
|
679
|
+
path: "DiagnosticReport.category",
|
|
680
|
+
definition: "A code that classifies the clinical discipline, department or diagnostic service that created the report (e.g. cardiology, biochemistry, hematology, MRI). This is used for searching, sorting and display purposes.",
|
|
681
|
+
min: 0,
|
|
682
|
+
max: "*",
|
|
683
|
+
type: [
|
|
684
|
+
{
|
|
685
|
+
code: "CodeableConcept"
|
|
686
|
+
}
|
|
687
|
+
],
|
|
688
|
+
binding: {
|
|
689
|
+
description: "Codes for diagnostic service sections.",
|
|
690
|
+
valueSet: "https://hl7.org/fhir/ValueSet/diagnostic-service-sections"
|
|
691
|
+
}
|
|
692
|
+
},
|
|
693
|
+
{
|
|
694
|
+
id: "DiagnosticReport.code",
|
|
695
|
+
path: "DiagnosticReport.code",
|
|
696
|
+
definition: "A code or name that describes this diagnostic report.",
|
|
697
|
+
min: 1,
|
|
698
|
+
max: "1",
|
|
699
|
+
type: [
|
|
700
|
+
{
|
|
701
|
+
code: "CodeableConcept"
|
|
702
|
+
}
|
|
703
|
+
],
|
|
704
|
+
binding: {
|
|
705
|
+
description: "Codes that describe Diagnostic Reports.",
|
|
706
|
+
valueSet: "https://hl7.org/fhir/ValueSet/report-codes"
|
|
707
|
+
}
|
|
708
|
+
},
|
|
709
|
+
{
|
|
710
|
+
id: "DiagnosticReport.subject",
|
|
711
|
+
path: "DiagnosticReport.subject",
|
|
712
|
+
definition: "The subject of the report. Usually, but not always, this is a patient. However, diagnostic services also perform analyses on specimens collected from a variety of other sources.",
|
|
713
|
+
min: 0,
|
|
714
|
+
max: "1",
|
|
715
|
+
type: [
|
|
716
|
+
{
|
|
717
|
+
code: "Reference",
|
|
718
|
+
targetProfile: [
|
|
719
|
+
"https://hl7.org/fhir/StructureDefinition/Patient",
|
|
720
|
+
"https://hl7.org/fhir/StructureDefinition/Group",
|
|
721
|
+
"https://hl7.org/fhir/StructureDefinition/Device",
|
|
722
|
+
"https://hl7.org/fhir/StructureDefinition/Location"
|
|
723
|
+
]
|
|
724
|
+
}
|
|
725
|
+
]
|
|
726
|
+
},
|
|
727
|
+
{
|
|
728
|
+
id: "DiagnosticReport.encounter",
|
|
729
|
+
path: "DiagnosticReport.encounter",
|
|
730
|
+
definition: "The healthcare event (e.g. a patient and healthcare provider interaction) which this DiagnosticReport is about.",
|
|
731
|
+
min: 0,
|
|
732
|
+
max: "1",
|
|
733
|
+
type: [
|
|
734
|
+
{
|
|
735
|
+
code: "Reference",
|
|
736
|
+
targetProfile: [
|
|
737
|
+
"https://hl7.org/fhir/StructureDefinition/Encounter"
|
|
738
|
+
]
|
|
739
|
+
}
|
|
740
|
+
]
|
|
741
|
+
},
|
|
742
|
+
{
|
|
743
|
+
id: "DiagnosticReport.effective[x]",
|
|
744
|
+
path: "DiagnosticReport.effective[x]",
|
|
745
|
+
definition: "The time or time-period the observed values are related to. When the subject of the report is a patient, this is usually either the time of the procedure or of specimen collection(s), but very often the source of the date/time is not known, only the date/time itself.",
|
|
746
|
+
min: 0,
|
|
747
|
+
max: "1",
|
|
748
|
+
type: [
|
|
749
|
+
{
|
|
750
|
+
code: "dateTime"
|
|
751
|
+
},
|
|
752
|
+
{
|
|
753
|
+
code: "Period"
|
|
754
|
+
}
|
|
755
|
+
]
|
|
756
|
+
},
|
|
757
|
+
{
|
|
758
|
+
id: "DiagnosticReport.issued",
|
|
759
|
+
path: "DiagnosticReport.issued",
|
|
760
|
+
definition: "The date and time that this version of the report was made available to providers, typically after the report was reviewed and verified.",
|
|
761
|
+
min: 0,
|
|
762
|
+
max: "1",
|
|
763
|
+
type: [
|
|
764
|
+
{
|
|
765
|
+
code: "instant"
|
|
766
|
+
}
|
|
767
|
+
]
|
|
768
|
+
},
|
|
769
|
+
{
|
|
770
|
+
id: "DiagnosticReport.performer",
|
|
771
|
+
path: "DiagnosticReport.performer",
|
|
772
|
+
definition: "The diagnostic service that is responsible for issuing the report.",
|
|
773
|
+
min: 0,
|
|
774
|
+
max: "*",
|
|
775
|
+
type: [
|
|
776
|
+
{
|
|
777
|
+
code: "Reference",
|
|
778
|
+
targetProfile: [
|
|
779
|
+
"https://hl7.org/fhir/StructureDefinition/Practitioner",
|
|
780
|
+
"https://hl7.org/fhir/StructureDefinition/PractitionerRole",
|
|
781
|
+
"https://hl7.org/fhir/StructureDefinition/Organization",
|
|
782
|
+
"https://hl7.org/fhir/StructureDefinition/CareTeam"
|
|
783
|
+
]
|
|
784
|
+
}
|
|
785
|
+
]
|
|
786
|
+
},
|
|
787
|
+
{
|
|
788
|
+
id: "DiagnosticReport.resultsInterpreter",
|
|
789
|
+
path: "DiagnosticReport.resultsInterpreter",
|
|
790
|
+
definition: "The practitioner or organization that is responsible for the report's conclusions and interpretations.",
|
|
791
|
+
min: 0,
|
|
792
|
+
max: "*",
|
|
793
|
+
type: [
|
|
794
|
+
{
|
|
795
|
+
code: "Reference",
|
|
796
|
+
targetProfile: [
|
|
797
|
+
"https://hl7.org/fhir/StructureDefinition/Practitioner",
|
|
798
|
+
"https://hl7.org/fhir/StructureDefinition/PractitionerRole",
|
|
799
|
+
"https://hl7.org/fhir/StructureDefinition/Organization",
|
|
800
|
+
"https://hl7.org/fhir/StructureDefinition/CareTeam"
|
|
801
|
+
]
|
|
802
|
+
}
|
|
803
|
+
]
|
|
804
|
+
},
|
|
805
|
+
{
|
|
806
|
+
id: "DiagnosticReport.specimen",
|
|
807
|
+
path: "DiagnosticReport.specimen",
|
|
808
|
+
definition: "Details about the specimens on which this diagnostic report is based.",
|
|
809
|
+
min: 0,
|
|
810
|
+
max: "*",
|
|
811
|
+
type: [
|
|
812
|
+
{
|
|
813
|
+
code: "Reference",
|
|
814
|
+
targetProfile: [
|
|
815
|
+
"https://hl7.org/fhir/StructureDefinition/Specimen"
|
|
816
|
+
]
|
|
817
|
+
}
|
|
818
|
+
]
|
|
819
|
+
},
|
|
820
|
+
{
|
|
821
|
+
id: "DiagnosticReport.result",
|
|
822
|
+
path: "DiagnosticReport.result",
|
|
823
|
+
definition: "[Observations](observation.html) that are part of this diagnostic report.",
|
|
824
|
+
min: 0,
|
|
825
|
+
max: "*",
|
|
826
|
+
type: [
|
|
827
|
+
{
|
|
828
|
+
code: "Reference",
|
|
829
|
+
targetProfile: [
|
|
830
|
+
"https://hl7.org/fhir/StructureDefinition/Observation"
|
|
831
|
+
]
|
|
832
|
+
}
|
|
833
|
+
]
|
|
834
|
+
},
|
|
835
|
+
{
|
|
836
|
+
id: "DiagnosticReport.imagingStudy",
|
|
837
|
+
path: "DiagnosticReport.imagingStudy",
|
|
838
|
+
definition: "One or more links to full details of any imaging performed during the diagnostic investigation. Typically, this is imaging performed by DICOM enabled modalities, but this is not required. A fully enabled PACS viewer can use this information to provide views of the source images.",
|
|
839
|
+
min: 0,
|
|
840
|
+
max: "*",
|
|
841
|
+
type: [
|
|
842
|
+
{
|
|
843
|
+
code: "Reference",
|
|
844
|
+
targetProfile: [
|
|
845
|
+
"https://hl7.org/fhir/StructureDefinition/ImagingStudy"
|
|
846
|
+
]
|
|
847
|
+
}
|
|
848
|
+
]
|
|
849
|
+
},
|
|
850
|
+
{
|
|
851
|
+
id: "DiagnosticReport.media",
|
|
852
|
+
path: "DiagnosticReport.media",
|
|
853
|
+
definition: "A list of key images associated with this report. The images are generally created during the diagnostic process, and may be directly of the patient, or of treated specimens (i.e. slides of interest).",
|
|
854
|
+
min: 0,
|
|
855
|
+
max: "*",
|
|
856
|
+
type: [
|
|
857
|
+
{
|
|
858
|
+
code: "BackboneElement"
|
|
859
|
+
}
|
|
860
|
+
]
|
|
861
|
+
},
|
|
862
|
+
{
|
|
863
|
+
id: "DiagnosticReport.media.id",
|
|
864
|
+
path: "DiagnosticReport.media.id",
|
|
865
|
+
definition: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
|
|
866
|
+
min: 0,
|
|
867
|
+
max: "1",
|
|
868
|
+
type: [
|
|
869
|
+
{
|
|
870
|
+
code: "https://hl7.org/fhirpath/System.String"
|
|
871
|
+
}
|
|
872
|
+
]
|
|
873
|
+
},
|
|
874
|
+
{
|
|
875
|
+
id: "DiagnosticReport.media.extension",
|
|
876
|
+
path: "DiagnosticReport.media.extension",
|
|
877
|
+
definition: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
|
|
878
|
+
min: 0,
|
|
879
|
+
max: "*",
|
|
880
|
+
type: [
|
|
881
|
+
{
|
|
882
|
+
code: "Extension"
|
|
883
|
+
}
|
|
884
|
+
]
|
|
885
|
+
},
|
|
886
|
+
{
|
|
887
|
+
id: "DiagnosticReport.media.modifierExtension",
|
|
888
|
+
path: "DiagnosticReport.media.modifierExtension",
|
|
889
|
+
definition: "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
|
|
890
|
+
min: 0,
|
|
891
|
+
max: "*",
|
|
892
|
+
type: [
|
|
893
|
+
{
|
|
894
|
+
code: "Extension"
|
|
895
|
+
}
|
|
896
|
+
]
|
|
897
|
+
},
|
|
898
|
+
{
|
|
899
|
+
id: "DiagnosticReport.media.comment",
|
|
900
|
+
path: "DiagnosticReport.media.comment",
|
|
901
|
+
definition: "A comment about the image. Typically, this is used to provide an explanation for why the image is included, or to draw the viewer's attention to important features.",
|
|
902
|
+
min: 0,
|
|
903
|
+
max: "1",
|
|
904
|
+
type: [
|
|
905
|
+
{
|
|
906
|
+
code: "string"
|
|
907
|
+
}
|
|
908
|
+
]
|
|
909
|
+
},
|
|
910
|
+
{
|
|
911
|
+
id: "DiagnosticReport.media.link",
|
|
912
|
+
path: "DiagnosticReport.media.link",
|
|
913
|
+
definition: "Reference to the image source.",
|
|
914
|
+
min: 1,
|
|
915
|
+
max: "1",
|
|
916
|
+
type: [
|
|
917
|
+
{
|
|
918
|
+
code: "Reference",
|
|
919
|
+
targetProfile: [
|
|
920
|
+
"https://hl7.org/fhir/StructureDefinition/Media"
|
|
921
|
+
]
|
|
922
|
+
}
|
|
923
|
+
]
|
|
924
|
+
},
|
|
925
|
+
{
|
|
926
|
+
id: "DiagnosticReport.conclusion",
|
|
927
|
+
path: "DiagnosticReport.conclusion",
|
|
928
|
+
definition: "Concise and clinically contextualized summary conclusion (interpretation/impression) of the diagnostic report.",
|
|
929
|
+
min: 0,
|
|
930
|
+
max: "1",
|
|
931
|
+
type: [
|
|
932
|
+
{
|
|
933
|
+
code: "string"
|
|
934
|
+
}
|
|
935
|
+
]
|
|
936
|
+
},
|
|
937
|
+
{
|
|
938
|
+
id: "DiagnosticReport.conclusionCode",
|
|
939
|
+
path: "DiagnosticReport.conclusionCode",
|
|
940
|
+
definition: "One or more codes that represent the summary conclusion (interpretation/impression) of the diagnostic report.",
|
|
941
|
+
min: 0,
|
|
942
|
+
max: "*",
|
|
943
|
+
type: [
|
|
944
|
+
{
|
|
945
|
+
code: "CodeableConcept"
|
|
946
|
+
}
|
|
947
|
+
],
|
|
948
|
+
binding: {
|
|
949
|
+
description: "Diagnosis codes provided as adjuncts to the report.",
|
|
950
|
+
valueSet: "https://hl7.org/fhir/ValueSet/clinical-findings"
|
|
951
|
+
}
|
|
952
|
+
},
|
|
953
|
+
{
|
|
954
|
+
id: "DiagnosticReport.presentedForm",
|
|
955
|
+
path: "DiagnosticReport.presentedForm",
|
|
956
|
+
definition: "Rich text representation of the entire result as issued by the diagnostic service. Multiple formats are allowed but they SHALL be semantically equivalent.",
|
|
957
|
+
min: 0,
|
|
958
|
+
max: "*",
|
|
959
|
+
type: [
|
|
960
|
+
{
|
|
961
|
+
code: "Attachment"
|
|
962
|
+
}
|
|
963
|
+
]
|
|
964
|
+
}
|
|
965
|
+
]
|
|
966
|
+
}
|
|
967
|
+
},
|
|
968
|
+
{
|
|
969
|
+
resourceType: "StructureDefinition",
|
|
970
|
+
id: "Observation",
|
|
971
|
+
name: "Observation",
|
|
972
|
+
description: "Measurements and simple assertions made about a patient, device or other subject.",
|
|
973
|
+
type: "Observation",
|
|
974
|
+
snapshot: {
|
|
975
|
+
element: [
|
|
976
|
+
{
|
|
977
|
+
id: "Observation",
|
|
978
|
+
path: "Observation",
|
|
979
|
+
definition: "Measurements and simple assertions made about a patient, device or other subject.",
|
|
980
|
+
min: 0,
|
|
981
|
+
max: "*"
|
|
982
|
+
},
|
|
983
|
+
{
|
|
984
|
+
id: "Observation.id",
|
|
985
|
+
path: "Observation.id",
|
|
986
|
+
definition: "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
|
|
987
|
+
min: 0,
|
|
988
|
+
max: "1",
|
|
989
|
+
type: [
|
|
990
|
+
{
|
|
991
|
+
code: "https://hl7.org/fhirpath/System.String"
|
|
992
|
+
}
|
|
993
|
+
]
|
|
994
|
+
},
|
|
995
|
+
{
|
|
996
|
+
id: "Observation.meta",
|
|
997
|
+
path: "Observation.meta",
|
|
998
|
+
definition: "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.",
|
|
999
|
+
min: 0,
|
|
1000
|
+
max: "1",
|
|
1001
|
+
type: [
|
|
1002
|
+
{
|
|
1003
|
+
code: "Meta"
|
|
1004
|
+
}
|
|
1005
|
+
]
|
|
1006
|
+
},
|
|
1007
|
+
{
|
|
1008
|
+
id: "Observation.implicitRules",
|
|
1009
|
+
path: "Observation.implicitRules",
|
|
1010
|
+
definition: "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.",
|
|
1011
|
+
min: 0,
|
|
1012
|
+
max: "1",
|
|
1013
|
+
type: [
|
|
1014
|
+
{
|
|
1015
|
+
code: "uri"
|
|
1016
|
+
}
|
|
1017
|
+
]
|
|
1018
|
+
},
|
|
1019
|
+
{
|
|
1020
|
+
id: "Observation.language",
|
|
1021
|
+
path: "Observation.language",
|
|
1022
|
+
definition: "The base language in which the resource is written.",
|
|
1023
|
+
min: 0,
|
|
1024
|
+
max: "1",
|
|
1025
|
+
type: [
|
|
1026
|
+
{
|
|
1027
|
+
code: "code"
|
|
1028
|
+
}
|
|
1029
|
+
],
|
|
1030
|
+
binding: {
|
|
1031
|
+
description: "A human language.",
|
|
1032
|
+
valueSet: "https://hl7.org/fhir/ValueSet/languages"
|
|
1033
|
+
}
|
|
1034
|
+
},
|
|
1035
|
+
{
|
|
1036
|
+
id: "Observation.text",
|
|
1037
|
+
path: "Observation.text",
|
|
1038
|
+
definition: "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.",
|
|
1039
|
+
min: 0,
|
|
1040
|
+
max: "1",
|
|
1041
|
+
type: [
|
|
1042
|
+
{
|
|
1043
|
+
code: "Narrative"
|
|
1044
|
+
}
|
|
1045
|
+
]
|
|
1046
|
+
},
|
|
1047
|
+
{
|
|
1048
|
+
id: "Observation.contained",
|
|
1049
|
+
path: "Observation.contained",
|
|
1050
|
+
definition: "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.",
|
|
1051
|
+
min: 0,
|
|
1052
|
+
max: "*",
|
|
1053
|
+
type: [
|
|
1054
|
+
{
|
|
1055
|
+
code: "Resource"
|
|
1056
|
+
}
|
|
1057
|
+
]
|
|
1058
|
+
},
|
|
1059
|
+
{
|
|
1060
|
+
id: "Observation.extension",
|
|
1061
|
+
path: "Observation.extension",
|
|
1062
|
+
definition: "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
|
|
1063
|
+
min: 0,
|
|
1064
|
+
max: "*",
|
|
1065
|
+
type: [
|
|
1066
|
+
{
|
|
1067
|
+
code: "Extension"
|
|
1068
|
+
}
|
|
1069
|
+
]
|
|
1070
|
+
},
|
|
1071
|
+
{
|
|
1072
|
+
id: "Observation.modifierExtension",
|
|
1073
|
+
path: "Observation.modifierExtension",
|
|
1074
|
+
definition: "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
|
|
1075
|
+
min: 0,
|
|
1076
|
+
max: "*",
|
|
1077
|
+
type: [
|
|
1078
|
+
{
|
|
1079
|
+
code: "Extension"
|
|
1080
|
+
}
|
|
1081
|
+
]
|
|
1082
|
+
},
|
|
1083
|
+
{
|
|
1084
|
+
id: "Observation.identifier",
|
|
1085
|
+
path: "Observation.identifier",
|
|
1086
|
+
definition: "A unique identifier assigned to this observation.",
|
|
1087
|
+
min: 0,
|
|
1088
|
+
max: "*",
|
|
1089
|
+
type: [
|
|
1090
|
+
{
|
|
1091
|
+
code: "Identifier"
|
|
1092
|
+
}
|
|
1093
|
+
]
|
|
1094
|
+
},
|
|
1095
|
+
{
|
|
1096
|
+
id: "Observation.basedOn",
|
|
1097
|
+
path: "Observation.basedOn",
|
|
1098
|
+
definition: "A plan, proposal or order that is fulfilled in whole or in part by this event. For example, a MedicationRequest may require a patient to have laboratory test performed before it is dispensed.",
|
|
1099
|
+
min: 0,
|
|
1100
|
+
max: "*",
|
|
1101
|
+
type: [
|
|
1102
|
+
{
|
|
1103
|
+
code: "Reference",
|
|
1104
|
+
targetProfile: [
|
|
1105
|
+
"https://hl7.org/fhir/StructureDefinition/CarePlan",
|
|
1106
|
+
"https://hl7.org/fhir/StructureDefinition/DeviceRequest",
|
|
1107
|
+
"https://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation",
|
|
1108
|
+
"https://hl7.org/fhir/StructureDefinition/MedicationRequest",
|
|
1109
|
+
"https://hl7.org/fhir/StructureDefinition/NutritionOrder",
|
|
1110
|
+
"https://hl7.org/fhir/StructureDefinition/ServiceRequest"
|
|
1111
|
+
]
|
|
1112
|
+
}
|
|
1113
|
+
]
|
|
1114
|
+
},
|
|
1115
|
+
{
|
|
1116
|
+
id: "Observation.partOf",
|
|
1117
|
+
path: "Observation.partOf",
|
|
1118
|
+
definition: "A larger event of which this particular Observation is a component or step. For example, an observation as part of a procedure.",
|
|
1119
|
+
min: 0,
|
|
1120
|
+
max: "*",
|
|
1121
|
+
type: [
|
|
1122
|
+
{
|
|
1123
|
+
code: "Reference",
|
|
1124
|
+
targetProfile: [
|
|
1125
|
+
"https://hl7.org/fhir/StructureDefinition/MedicationAdministration",
|
|
1126
|
+
"https://hl7.org/fhir/StructureDefinition/MedicationDispense",
|
|
1127
|
+
"https://hl7.org/fhir/StructureDefinition/MedicationStatement",
|
|
1128
|
+
"https://hl7.org/fhir/StructureDefinition/Procedure",
|
|
1129
|
+
"https://hl7.org/fhir/StructureDefinition/Immunization",
|
|
1130
|
+
"https://hl7.org/fhir/StructureDefinition/ImagingStudy"
|
|
1131
|
+
]
|
|
1132
|
+
}
|
|
1133
|
+
]
|
|
1134
|
+
},
|
|
1135
|
+
{
|
|
1136
|
+
id: "Observation.status",
|
|
1137
|
+
path: "Observation.status",
|
|
1138
|
+
definition: "The status of the result value.",
|
|
1139
|
+
min: 1,
|
|
1140
|
+
max: "1",
|
|
1141
|
+
type: [
|
|
1142
|
+
{
|
|
1143
|
+
code: "code"
|
|
1144
|
+
}
|
|
1145
|
+
],
|
|
1146
|
+
binding: {
|
|
1147
|
+
description: "Codes providing the status of an observation.",
|
|
1148
|
+
valueSet: "https://hl7.org/fhir/ValueSet/observation-status|4.0.1"
|
|
1149
|
+
}
|
|
1150
|
+
},
|
|
1151
|
+
{
|
|
1152
|
+
id: "Observation.category",
|
|
1153
|
+
path: "Observation.category",
|
|
1154
|
+
definition: "A code that classifies the general type of observation being made.",
|
|
1155
|
+
min: 0,
|
|
1156
|
+
max: "*",
|
|
1157
|
+
type: [
|
|
1158
|
+
{
|
|
1159
|
+
code: "CodeableConcept"
|
|
1160
|
+
}
|
|
1161
|
+
],
|
|
1162
|
+
binding: {
|
|
1163
|
+
description: "Codes for high level observation categories.",
|
|
1164
|
+
valueSet: "https://hl7.org/fhir/ValueSet/observation-category"
|
|
1165
|
+
}
|
|
1166
|
+
},
|
|
1167
|
+
{
|
|
1168
|
+
id: "Observation.code",
|
|
1169
|
+
path: "Observation.code",
|
|
1170
|
+
definition: "Describes what was observed. Sometimes this is called the observation \"name\".",
|
|
1171
|
+
min: 1,
|
|
1172
|
+
max: "1",
|
|
1173
|
+
type: [
|
|
1174
|
+
{
|
|
1175
|
+
code: "CodeableConcept"
|
|
1176
|
+
}
|
|
1177
|
+
],
|
|
1178
|
+
binding: {
|
|
1179
|
+
description: "Codes identifying names of simple observations.",
|
|
1180
|
+
valueSet: "https://hl7.org/fhir/ValueSet/observation-codes"
|
|
1181
|
+
}
|
|
1182
|
+
},
|
|
1183
|
+
{
|
|
1184
|
+
id: "Observation.subject",
|
|
1185
|
+
path: "Observation.subject",
|
|
1186
|
+
definition: "The patient, or group of patients, location, or device this observation is about and into whose record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation.",
|
|
1187
|
+
min: 0,
|
|
1188
|
+
max: "1",
|
|
1189
|
+
type: [
|
|
1190
|
+
{
|
|
1191
|
+
code: "Reference",
|
|
1192
|
+
targetProfile: [
|
|
1193
|
+
"https://hl7.org/fhir/StructureDefinition/Patient",
|
|
1194
|
+
"https://hl7.org/fhir/StructureDefinition/Group",
|
|
1195
|
+
"https://hl7.org/fhir/StructureDefinition/Device",
|
|
1196
|
+
"https://hl7.org/fhir/StructureDefinition/Location"
|
|
1197
|
+
]
|
|
1198
|
+
}
|
|
1199
|
+
]
|
|
1200
|
+
},
|
|
1201
|
+
{
|
|
1202
|
+
id: "Observation.focus",
|
|
1203
|
+
path: "Observation.focus",
|
|
1204
|
+
definition: "The actual focus of an observation when it is not the patient of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother's record. The focus of an observation could also be an existing condition, an intervention, the subject's diet, another observation of the subject, or a body structure such as tumor or implanted device. An example use case would be using the Observation resource to capture whether the mother is trained to change her child's tracheostomy tube. In this example, the child is the patient of record and the mother is the focus.",
|
|
1205
|
+
min: 0,
|
|
1206
|
+
max: "*",
|
|
1207
|
+
type: [
|
|
1208
|
+
{
|
|
1209
|
+
code: "Reference",
|
|
1210
|
+
targetProfile: [
|
|
1211
|
+
"https://hl7.org/fhir/StructureDefinition/Resource"
|
|
1212
|
+
]
|
|
1213
|
+
}
|
|
1214
|
+
]
|
|
1215
|
+
},
|
|
1216
|
+
{
|
|
1217
|
+
id: "Observation.encounter",
|
|
1218
|
+
path: "Observation.encounter",
|
|
1219
|
+
definition: "The healthcare event (e.g. a patient and healthcare provider interaction) during which this observation is made.",
|
|
1220
|
+
min: 0,
|
|
1221
|
+
max: "1",
|
|
1222
|
+
type: [
|
|
1223
|
+
{
|
|
1224
|
+
code: "Reference",
|
|
1225
|
+
targetProfile: [
|
|
1226
|
+
"https://hl7.org/fhir/StructureDefinition/Encounter"
|
|
1227
|
+
]
|
|
1228
|
+
}
|
|
1229
|
+
]
|
|
1230
|
+
},
|
|
1231
|
+
{
|
|
1232
|
+
id: "Observation.effective[x]",
|
|
1233
|
+
path: "Observation.effective[x]",
|
|
1234
|
+
definition: "The time or time-period the observed value is asserted as being true. For biological subjects - e.g. human patients - this is usually called the \"physiologically relevant time\". This is usually either the time of the procedure or of specimen collection, but very often the source of the date/time is not known, only the date/time itself.",
|
|
1235
|
+
min: 0,
|
|
1236
|
+
max: "1",
|
|
1237
|
+
type: [
|
|
1238
|
+
{
|
|
1239
|
+
code: "dateTime"
|
|
1240
|
+
},
|
|
1241
|
+
{
|
|
1242
|
+
code: "Period"
|
|
1243
|
+
},
|
|
1244
|
+
{
|
|
1245
|
+
code: "Timing"
|
|
1246
|
+
},
|
|
1247
|
+
{
|
|
1248
|
+
code: "instant"
|
|
1249
|
+
}
|
|
1250
|
+
]
|
|
1251
|
+
},
|
|
1252
|
+
{
|
|
1253
|
+
id: "Observation.issued",
|
|
1254
|
+
path: "Observation.issued",
|
|
1255
|
+
definition: "The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified.",
|
|
1256
|
+
min: 0,
|
|
1257
|
+
max: "1",
|
|
1258
|
+
type: [
|
|
1259
|
+
{
|
|
1260
|
+
code: "instant"
|
|
1261
|
+
}
|
|
1262
|
+
]
|
|
1263
|
+
},
|
|
1264
|
+
{
|
|
1265
|
+
id: "Observation.performer",
|
|
1266
|
+
path: "Observation.performer",
|
|
1267
|
+
definition: "Who was responsible for asserting the observed value as \"true\".",
|
|
1268
|
+
min: 0,
|
|
1269
|
+
max: "*",
|
|
1270
|
+
type: [
|
|
1271
|
+
{
|
|
1272
|
+
code: "Reference",
|
|
1273
|
+
targetProfile: [
|
|
1274
|
+
"https://hl7.org/fhir/StructureDefinition/Practitioner",
|
|
1275
|
+
"https://hl7.org/fhir/StructureDefinition/PractitionerRole",
|
|
1276
|
+
"https://hl7.org/fhir/StructureDefinition/Organization",
|
|
1277
|
+
"https://hl7.org/fhir/StructureDefinition/CareTeam",
|
|
1278
|
+
"https://hl7.org/fhir/StructureDefinition/Patient",
|
|
1279
|
+
"https://hl7.org/fhir/StructureDefinition/RelatedPerson"
|
|
1280
|
+
]
|
|
1281
|
+
}
|
|
1282
|
+
]
|
|
1283
|
+
},
|
|
1284
|
+
{
|
|
1285
|
+
id: "Observation.value[x]",
|
|
1286
|
+
path: "Observation.value[x]",
|
|
1287
|
+
definition: "The information determined as a result of making the observation, if the information has a simple value.",
|
|
1288
|
+
min: 0,
|
|
1289
|
+
max: "1",
|
|
1290
|
+
type: [
|
|
1291
|
+
{
|
|
1292
|
+
code: "Quantity"
|
|
1293
|
+
},
|
|
1294
|
+
{
|
|
1295
|
+
code: "CodeableConcept"
|
|
1296
|
+
},
|
|
1297
|
+
{
|
|
1298
|
+
code: "string"
|
|
1299
|
+
},
|
|
1300
|
+
{
|
|
1301
|
+
code: "boolean"
|
|
1302
|
+
},
|
|
1303
|
+
{
|
|
1304
|
+
code: "integer"
|
|
1305
|
+
},
|
|
1306
|
+
{
|
|
1307
|
+
code: "Range"
|
|
1308
|
+
},
|
|
1309
|
+
{
|
|
1310
|
+
code: "Ratio"
|
|
1311
|
+
},
|
|
1312
|
+
{
|
|
1313
|
+
code: "SampledData"
|
|
1314
|
+
},
|
|
1315
|
+
{
|
|
1316
|
+
code: "time"
|
|
1317
|
+
},
|
|
1318
|
+
{
|
|
1319
|
+
code: "dateTime"
|
|
1320
|
+
},
|
|
1321
|
+
{
|
|
1322
|
+
code: "Period"
|
|
1323
|
+
}
|
|
1324
|
+
]
|
|
1325
|
+
},
|
|
1326
|
+
{
|
|
1327
|
+
id: "Observation.dataAbsentReason",
|
|
1328
|
+
path: "Observation.dataAbsentReason",
|
|
1329
|
+
definition: "Provides a reason why the expected value in the element Observation.value[x] is missing.",
|
|
1330
|
+
min: 0,
|
|
1331
|
+
max: "1",
|
|
1332
|
+
type: [
|
|
1333
|
+
{
|
|
1334
|
+
code: "CodeableConcept"
|
|
1335
|
+
}
|
|
1336
|
+
],
|
|
1337
|
+
binding: {
|
|
1338
|
+
description: "Codes specifying why the result (`Observation.value[x]`) is missing.",
|
|
1339
|
+
valueSet: "https://hl7.org/fhir/ValueSet/data-absent-reason"
|
|
1340
|
+
}
|
|
1341
|
+
},
|
|
1342
|
+
{
|
|
1343
|
+
id: "Observation.interpretation",
|
|
1344
|
+
path: "Observation.interpretation",
|
|
1345
|
+
definition: "A categorical assessment of an observation value. For example, high, low, normal.",
|
|
1346
|
+
min: 0,
|
|
1347
|
+
max: "*",
|
|
1348
|
+
type: [
|
|
1349
|
+
{
|
|
1350
|
+
code: "CodeableConcept"
|
|
1351
|
+
}
|
|
1352
|
+
],
|
|
1353
|
+
binding: {
|
|
1354
|
+
description: "Codes identifying interpretations of observations.",
|
|
1355
|
+
valueSet: "https://hl7.org/fhir/ValueSet/observation-interpretation"
|
|
1356
|
+
}
|
|
1357
|
+
},
|
|
1358
|
+
{
|
|
1359
|
+
id: "Observation.note",
|
|
1360
|
+
path: "Observation.note",
|
|
1361
|
+
definition: "Comments about the observation or the results.",
|
|
1362
|
+
min: 0,
|
|
1363
|
+
max: "*",
|
|
1364
|
+
type: [
|
|
1365
|
+
{
|
|
1366
|
+
code: "Annotation"
|
|
1367
|
+
}
|
|
1368
|
+
]
|
|
1369
|
+
},
|
|
1370
|
+
{
|
|
1371
|
+
id: "Observation.bodySite",
|
|
1372
|
+
path: "Observation.bodySite",
|
|
1373
|
+
definition: "Indicates the site on the subject's body where the observation was made (i.e. the target site).",
|
|
1374
|
+
min: 0,
|
|
1375
|
+
max: "1",
|
|
1376
|
+
type: [
|
|
1377
|
+
{
|
|
1378
|
+
code: "CodeableConcept"
|
|
1379
|
+
}
|
|
1380
|
+
],
|
|
1381
|
+
binding: {
|
|
1382
|
+
description: "Codes describing anatomical locations. May include laterality.",
|
|
1383
|
+
valueSet: "https://hl7.org/fhir/ValueSet/body-site"
|
|
1384
|
+
}
|
|
1385
|
+
},
|
|
1386
|
+
{
|
|
1387
|
+
id: "Observation.method",
|
|
1388
|
+
path: "Observation.method",
|
|
1389
|
+
definition: "Indicates the mechanism used to perform the observation.",
|
|
1390
|
+
min: 0,
|
|
1391
|
+
max: "1",
|
|
1392
|
+
type: [
|
|
1393
|
+
{
|
|
1394
|
+
code: "CodeableConcept"
|
|
1395
|
+
}
|
|
1396
|
+
],
|
|
1397
|
+
binding: {
|
|
1398
|
+
description: "Methods for simple observations.",
|
|
1399
|
+
valueSet: "https://hl7.org/fhir/ValueSet/observation-methods"
|
|
1400
|
+
}
|
|
1401
|
+
},
|
|
1402
|
+
{
|
|
1403
|
+
id: "Observation.specimen",
|
|
1404
|
+
path: "Observation.specimen",
|
|
1405
|
+
definition: "The specimen that was used when this observation was made.",
|
|
1406
|
+
min: 0,
|
|
1407
|
+
max: "1",
|
|
1408
|
+
type: [
|
|
1409
|
+
{
|
|
1410
|
+
code: "Reference",
|
|
1411
|
+
targetProfile: [
|
|
1412
|
+
"https://hl7.org/fhir/StructureDefinition/Specimen"
|
|
1413
|
+
]
|
|
1414
|
+
}
|
|
1415
|
+
]
|
|
1416
|
+
},
|
|
1417
|
+
{
|
|
1418
|
+
id: "Observation.device",
|
|
1419
|
+
path: "Observation.device",
|
|
1420
|
+
definition: "The device used to generate the observation data.",
|
|
1421
|
+
min: 0,
|
|
1422
|
+
max: "1",
|
|
1423
|
+
type: [
|
|
1424
|
+
{
|
|
1425
|
+
code: "Reference",
|
|
1426
|
+
targetProfile: [
|
|
1427
|
+
"https://hl7.org/fhir/StructureDefinition/Device",
|
|
1428
|
+
"https://hl7.org/fhir/StructureDefinition/DeviceMetric"
|
|
1429
|
+
]
|
|
1430
|
+
}
|
|
1431
|
+
]
|
|
1432
|
+
},
|
|
1433
|
+
{
|
|
1434
|
+
id: "Observation.referenceRange",
|
|
1435
|
+
path: "Observation.referenceRange",
|
|
1436
|
+
definition: "Guidance on how to interpret the value by comparison to a normal or recommended range. Multiple reference ranges are interpreted as an \"OR\". In other words, to represent two distinct target populations, two `referenceRange` elements would be used.",
|
|
1437
|
+
min: 0,
|
|
1438
|
+
max: "*",
|
|
1439
|
+
type: [
|
|
1440
|
+
{
|
|
1441
|
+
code: "BackboneElement"
|
|
1442
|
+
}
|
|
1443
|
+
]
|
|
1444
|
+
},
|
|
1445
|
+
{
|
|
1446
|
+
id: "Observation.referenceRange.id",
|
|
1447
|
+
path: "Observation.referenceRange.id",
|
|
1448
|
+
definition: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
|
|
1449
|
+
min: 0,
|
|
1450
|
+
max: "1",
|
|
1451
|
+
type: [
|
|
1452
|
+
{
|
|
1453
|
+
code: "https://hl7.org/fhirpath/System.String"
|
|
1454
|
+
}
|
|
1455
|
+
]
|
|
1456
|
+
},
|
|
1457
|
+
{
|
|
1458
|
+
id: "Observation.referenceRange.extension",
|
|
1459
|
+
path: "Observation.referenceRange.extension",
|
|
1460
|
+
definition: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
|
|
1461
|
+
min: 0,
|
|
1462
|
+
max: "*",
|
|
1463
|
+
type: [
|
|
1464
|
+
{
|
|
1465
|
+
code: "Extension"
|
|
1466
|
+
}
|
|
1467
|
+
]
|
|
1468
|
+
},
|
|
1469
|
+
{
|
|
1470
|
+
id: "Observation.referenceRange.modifierExtension",
|
|
1471
|
+
path: "Observation.referenceRange.modifierExtension",
|
|
1472
|
+
definition: "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
|
|
1473
|
+
min: 0,
|
|
1474
|
+
max: "*",
|
|
1475
|
+
type: [
|
|
1476
|
+
{
|
|
1477
|
+
code: "Extension"
|
|
1478
|
+
}
|
|
1479
|
+
]
|
|
1480
|
+
},
|
|
1481
|
+
{
|
|
1482
|
+
id: "Observation.referenceRange.low",
|
|
1483
|
+
path: "Observation.referenceRange.low",
|
|
1484
|
+
definition: "The value of the low bound of the reference range. The low bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the low bound is omitted, it is assumed to be meaningless (e.g. reference range is <=2.3).",
|
|
1485
|
+
min: 0,
|
|
1486
|
+
max: "1",
|
|
1487
|
+
type: [
|
|
1488
|
+
{
|
|
1489
|
+
code: "Quantity"
|
|
1490
|
+
}
|
|
1491
|
+
]
|
|
1492
|
+
},
|
|
1493
|
+
{
|
|
1494
|
+
id: "Observation.referenceRange.high",
|
|
1495
|
+
path: "Observation.referenceRange.high",
|
|
1496
|
+
definition: "The value of the high bound of the reference range. The high bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the high bound is omitted, it is assumed to be meaningless (e.g. reference range is >= 2.3).",
|
|
1497
|
+
min: 0,
|
|
1498
|
+
max: "1",
|
|
1499
|
+
type: [
|
|
1500
|
+
{
|
|
1501
|
+
code: "Quantity"
|
|
1502
|
+
}
|
|
1503
|
+
]
|
|
1504
|
+
},
|
|
1505
|
+
{
|
|
1506
|
+
id: "Observation.referenceRange.type",
|
|
1507
|
+
path: "Observation.referenceRange.type",
|
|
1508
|
+
definition: "Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range.",
|
|
1509
|
+
min: 0,
|
|
1510
|
+
max: "1",
|
|
1511
|
+
type: [
|
|
1512
|
+
{
|
|
1513
|
+
code: "CodeableConcept"
|
|
1514
|
+
}
|
|
1515
|
+
],
|
|
1516
|
+
binding: {
|
|
1517
|
+
description: "Code for the meaning of a reference range.",
|
|
1518
|
+
valueSet: "https://hl7.org/fhir/ValueSet/referencerange-meaning"
|
|
1519
|
+
}
|
|
1520
|
+
},
|
|
1521
|
+
{
|
|
1522
|
+
id: "Observation.referenceRange.appliesTo",
|
|
1523
|
+
path: "Observation.referenceRange.appliesTo",
|
|
1524
|
+
definition: "Codes to indicate the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex or race. Multiple `appliesTo` are interpreted as an \"AND\" of the target populations. For example, to represent a target population of African American females, both a code of female and a code for African American would be used.",
|
|
1525
|
+
min: 0,
|
|
1526
|
+
max: "*",
|
|
1527
|
+
type: [
|
|
1528
|
+
{
|
|
1529
|
+
code: "CodeableConcept"
|
|
1530
|
+
}
|
|
1531
|
+
],
|
|
1532
|
+
binding: {
|
|
1533
|
+
description: "Codes identifying the population the reference range applies to.",
|
|
1534
|
+
valueSet: "https://hl7.org/fhir/ValueSet/referencerange-appliesto"
|
|
1535
|
+
}
|
|
1536
|
+
},
|
|
1537
|
+
{
|
|
1538
|
+
id: "Observation.referenceRange.age",
|
|
1539
|
+
path: "Observation.referenceRange.age",
|
|
1540
|
+
definition: "The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so.",
|
|
1541
|
+
min: 0,
|
|
1542
|
+
max: "1",
|
|
1543
|
+
type: [
|
|
1544
|
+
{
|
|
1545
|
+
code: "Range"
|
|
1546
|
+
}
|
|
1547
|
+
]
|
|
1548
|
+
},
|
|
1549
|
+
{
|
|
1550
|
+
id: "Observation.referenceRange.text",
|
|
1551
|
+
path: "Observation.referenceRange.text",
|
|
1552
|
+
definition: "Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation. An example would be a reference value of \"Negative\" or a list or table of \"normals\".",
|
|
1553
|
+
min: 0,
|
|
1554
|
+
max: "1",
|
|
1555
|
+
type: [
|
|
1556
|
+
{
|
|
1557
|
+
code: "string"
|
|
1558
|
+
}
|
|
1559
|
+
]
|
|
1560
|
+
},
|
|
1561
|
+
{
|
|
1562
|
+
id: "Observation.hasMember",
|
|
1563
|
+
path: "Observation.hasMember",
|
|
1564
|
+
definition: "This observation is a group observation (e.g. a battery, a panel of tests, a set of vital sign measurements) that includes the target as a member of the group.",
|
|
1565
|
+
min: 0,
|
|
1566
|
+
max: "*",
|
|
1567
|
+
type: [
|
|
1568
|
+
{
|
|
1569
|
+
code: "Reference",
|
|
1570
|
+
targetProfile: [
|
|
1571
|
+
"https://hl7.org/fhir/StructureDefinition/Observation",
|
|
1572
|
+
"https://hl7.org/fhir/StructureDefinition/QuestionnaireResponse",
|
|
1573
|
+
"https://hl7.org/fhir/StructureDefinition/MolecularSequence"
|
|
1574
|
+
]
|
|
1575
|
+
}
|
|
1576
|
+
]
|
|
1577
|
+
},
|
|
1578
|
+
{
|
|
1579
|
+
id: "Observation.derivedFrom",
|
|
1580
|
+
path: "Observation.derivedFrom",
|
|
1581
|
+
definition: "The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image.",
|
|
1582
|
+
min: 0,
|
|
1583
|
+
max: "*",
|
|
1584
|
+
type: [
|
|
1585
|
+
{
|
|
1586
|
+
code: "Reference",
|
|
1587
|
+
targetProfile: [
|
|
1588
|
+
"https://hl7.org/fhir/StructureDefinition/DocumentReference",
|
|
1589
|
+
"https://hl7.org/fhir/StructureDefinition/ImagingStudy",
|
|
1590
|
+
"https://hl7.org/fhir/StructureDefinition/Media",
|
|
1591
|
+
"https://hl7.org/fhir/StructureDefinition/QuestionnaireResponse",
|
|
1592
|
+
"https://hl7.org/fhir/StructureDefinition/Observation",
|
|
1593
|
+
"https://hl7.org/fhir/StructureDefinition/MolecularSequence"
|
|
1594
|
+
]
|
|
1595
|
+
}
|
|
1596
|
+
]
|
|
1597
|
+
},
|
|
1598
|
+
{
|
|
1599
|
+
id: "Observation.component",
|
|
1600
|
+
path: "Observation.component",
|
|
1601
|
+
definition: "Some observations have multiple component observations. These component observations are expressed as separate code value pairs that share the same attributes. Examples include systolic and diastolic component observations for blood pressure measurement and multiple component observations for genetics observations.",
|
|
1602
|
+
min: 0,
|
|
1603
|
+
max: "*",
|
|
1604
|
+
type: [
|
|
1605
|
+
{
|
|
1606
|
+
code: "BackboneElement"
|
|
1607
|
+
}
|
|
1608
|
+
]
|
|
1609
|
+
},
|
|
1610
|
+
{
|
|
1611
|
+
id: "Observation.component.id",
|
|
1612
|
+
path: "Observation.component.id",
|
|
1613
|
+
definition: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
|
|
1614
|
+
min: 0,
|
|
1615
|
+
max: "1",
|
|
1616
|
+
type: [
|
|
1617
|
+
{
|
|
1618
|
+
code: "https://hl7.org/fhirpath/System.String"
|
|
1619
|
+
}
|
|
1620
|
+
]
|
|
1621
|
+
},
|
|
1622
|
+
{
|
|
1623
|
+
id: "Observation.component.extension",
|
|
1624
|
+
path: "Observation.component.extension",
|
|
1625
|
+
definition: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
|
|
1626
|
+
min: 0,
|
|
1627
|
+
max: "*",
|
|
1628
|
+
type: [
|
|
1629
|
+
{
|
|
1630
|
+
code: "Extension"
|
|
1631
|
+
}
|
|
1632
|
+
]
|
|
1633
|
+
},
|
|
1634
|
+
{
|
|
1635
|
+
id: "Observation.component.modifierExtension",
|
|
1636
|
+
path: "Observation.component.modifierExtension",
|
|
1637
|
+
definition: "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
|
|
1638
|
+
min: 0,
|
|
1639
|
+
max: "*",
|
|
1640
|
+
type: [
|
|
1641
|
+
{
|
|
1642
|
+
code: "Extension"
|
|
1643
|
+
}
|
|
1644
|
+
]
|
|
1645
|
+
},
|
|
1646
|
+
{
|
|
1647
|
+
id: "Observation.component.code",
|
|
1648
|
+
path: "Observation.component.code",
|
|
1649
|
+
definition: "Describes what was observed. Sometimes this is called the observation \"code\".",
|
|
1650
|
+
min: 1,
|
|
1651
|
+
max: "1",
|
|
1652
|
+
type: [
|
|
1653
|
+
{
|
|
1654
|
+
code: "CodeableConcept"
|
|
1655
|
+
}
|
|
1656
|
+
],
|
|
1657
|
+
binding: {
|
|
1658
|
+
description: "Codes identifying names of simple observations.",
|
|
1659
|
+
valueSet: "https://hl7.org/fhir/ValueSet/observation-codes"
|
|
1660
|
+
}
|
|
1661
|
+
},
|
|
1662
|
+
{
|
|
1663
|
+
id: "Observation.component.value[x]",
|
|
1664
|
+
path: "Observation.component.value[x]",
|
|
1665
|
+
definition: "The information determined as a result of making the observation, if the information has a simple value.",
|
|
1666
|
+
min: 0,
|
|
1667
|
+
max: "1",
|
|
1668
|
+
type: [
|
|
1669
|
+
{
|
|
1670
|
+
code: "Quantity"
|
|
1671
|
+
},
|
|
1672
|
+
{
|
|
1673
|
+
code: "CodeableConcept"
|
|
1674
|
+
},
|
|
1675
|
+
{
|
|
1676
|
+
code: "string"
|
|
1677
|
+
},
|
|
1678
|
+
{
|
|
1679
|
+
code: "boolean"
|
|
1680
|
+
},
|
|
1681
|
+
{
|
|
1682
|
+
code: "integer"
|
|
1683
|
+
},
|
|
1684
|
+
{
|
|
1685
|
+
code: "Range"
|
|
1686
|
+
},
|
|
1687
|
+
{
|
|
1688
|
+
code: "Ratio"
|
|
1689
|
+
},
|
|
1690
|
+
{
|
|
1691
|
+
code: "SampledData"
|
|
1692
|
+
},
|
|
1693
|
+
{
|
|
1694
|
+
code: "time"
|
|
1695
|
+
},
|
|
1696
|
+
{
|
|
1697
|
+
code: "dateTime"
|
|
1698
|
+
},
|
|
1699
|
+
{
|
|
1700
|
+
code: "Period"
|
|
1701
|
+
}
|
|
1702
|
+
]
|
|
1703
|
+
},
|
|
1704
|
+
{
|
|
1705
|
+
id: "Observation.component.dataAbsentReason",
|
|
1706
|
+
path: "Observation.component.dataAbsentReason",
|
|
1707
|
+
definition: "Provides a reason why the expected value in the element Observation.component.value[x] is missing.",
|
|
1708
|
+
min: 0,
|
|
1709
|
+
max: "1",
|
|
1710
|
+
type: [
|
|
1711
|
+
{
|
|
1712
|
+
code: "CodeableConcept"
|
|
1713
|
+
}
|
|
1714
|
+
],
|
|
1715
|
+
binding: {
|
|
1716
|
+
description: "Codes specifying why the result (`Observation.value[x]`) is missing.",
|
|
1717
|
+
valueSet: "https://hl7.org/fhir/ValueSet/data-absent-reason"
|
|
1718
|
+
}
|
|
1719
|
+
},
|
|
1720
|
+
{
|
|
1721
|
+
id: "Observation.component.interpretation",
|
|
1722
|
+
path: "Observation.component.interpretation",
|
|
1723
|
+
definition: "A categorical assessment of an observation value. For example, high, low, normal.",
|
|
1724
|
+
min: 0,
|
|
1725
|
+
max: "*",
|
|
1726
|
+
type: [
|
|
1727
|
+
{
|
|
1728
|
+
code: "CodeableConcept"
|
|
1729
|
+
}
|
|
1730
|
+
],
|
|
1731
|
+
binding: {
|
|
1732
|
+
description: "Codes identifying interpretations of observations.",
|
|
1733
|
+
valueSet: "https://hl7.org/fhir/ValueSet/observation-interpretation"
|
|
1734
|
+
}
|
|
1735
|
+
},
|
|
1736
|
+
{
|
|
1737
|
+
id: "Observation.component.referenceRange",
|
|
1738
|
+
path: "Observation.component.referenceRange",
|
|
1739
|
+
definition: "Guidance on how to interpret the value by comparison to a normal or recommended range.",
|
|
1740
|
+
min: 0,
|
|
1741
|
+
max: "*"
|
|
1742
|
+
}
|
|
1743
|
+
]
|
|
1744
|
+
}
|
|
1745
|
+
},
|
|
1746
|
+
{
|
|
1747
|
+
resourceType: "StructureDefinition",
|
|
1748
|
+
id: "Organization",
|
|
1749
|
+
name: "Organization",
|
|
1750
|
+
description: "A formally or informally recognized grouping of people or organizations formed for the purpose of achieving some form of collective action. Includes companies, institutions, corporations, departments, community groups, healthcare practice groups, payer/insurer, etc.",
|
|
1751
|
+
type: "Organization",
|
|
1752
|
+
snapshot: {
|
|
1753
|
+
element: [
|
|
1754
|
+
{
|
|
1755
|
+
id: "Organization",
|
|
1756
|
+
path: "Organization",
|
|
1757
|
+
definition: "A formally or informally recognized grouping of people or organizations formed for the purpose of achieving some form of collective action. Includes companies, institutions, corporations, departments, community groups, healthcare practice groups, payer/insurer, etc.",
|
|
1758
|
+
min: 0,
|
|
1759
|
+
max: "*"
|
|
1760
|
+
},
|
|
1761
|
+
{
|
|
1762
|
+
id: "Organization.id",
|
|
1763
|
+
path: "Organization.id",
|
|
1764
|
+
definition: "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
|
|
1765
|
+
min: 0,
|
|
1766
|
+
max: "1",
|
|
1767
|
+
type: [
|
|
1768
|
+
{
|
|
1769
|
+
code: "https://hl7.org/fhirpath/System.String"
|
|
1770
|
+
}
|
|
1771
|
+
]
|
|
1772
|
+
},
|
|
1773
|
+
{
|
|
1774
|
+
id: "Organization.meta",
|
|
1775
|
+
path: "Organization.meta",
|
|
1776
|
+
definition: "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.",
|
|
1777
|
+
min: 0,
|
|
1778
|
+
max: "1",
|
|
1779
|
+
type: [
|
|
1780
|
+
{
|
|
1781
|
+
code: "Meta"
|
|
1782
|
+
}
|
|
1783
|
+
]
|
|
1784
|
+
},
|
|
1785
|
+
{
|
|
1786
|
+
id: "Organization.implicitRules",
|
|
1787
|
+
path: "Organization.implicitRules",
|
|
1788
|
+
definition: "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.",
|
|
1789
|
+
min: 0,
|
|
1790
|
+
max: "1",
|
|
1791
|
+
type: [
|
|
1792
|
+
{
|
|
1793
|
+
code: "uri"
|
|
1794
|
+
}
|
|
1795
|
+
]
|
|
1796
|
+
},
|
|
1797
|
+
{
|
|
1798
|
+
id: "Organization.language",
|
|
1799
|
+
path: "Organization.language",
|
|
1800
|
+
definition: "The base language in which the resource is written.",
|
|
1801
|
+
min: 0,
|
|
1802
|
+
max: "1",
|
|
1803
|
+
type: [
|
|
1804
|
+
{
|
|
1805
|
+
code: "code"
|
|
1806
|
+
}
|
|
1807
|
+
],
|
|
1808
|
+
binding: {
|
|
1809
|
+
description: "A human language.",
|
|
1810
|
+
valueSet: "https://hl7.org/fhir/ValueSet/languages"
|
|
1811
|
+
}
|
|
1812
|
+
},
|
|
1813
|
+
{
|
|
1814
|
+
id: "Organization.text",
|
|
1815
|
+
path: "Organization.text",
|
|
1816
|
+
definition: "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.",
|
|
1817
|
+
min: 0,
|
|
1818
|
+
max: "1",
|
|
1819
|
+
type: [
|
|
1820
|
+
{
|
|
1821
|
+
code: "Narrative"
|
|
1822
|
+
}
|
|
1823
|
+
]
|
|
1824
|
+
},
|
|
1825
|
+
{
|
|
1826
|
+
id: "Organization.contained",
|
|
1827
|
+
path: "Organization.contained",
|
|
1828
|
+
definition: "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.",
|
|
1829
|
+
min: 0,
|
|
1830
|
+
max: "*",
|
|
1831
|
+
type: [
|
|
1832
|
+
{
|
|
1833
|
+
code: "Resource"
|
|
1834
|
+
}
|
|
1835
|
+
]
|
|
1836
|
+
},
|
|
1837
|
+
{
|
|
1838
|
+
id: "Organization.extension",
|
|
1839
|
+
path: "Organization.extension",
|
|
1840
|
+
definition: "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
|
|
1841
|
+
min: 0,
|
|
1842
|
+
max: "*",
|
|
1843
|
+
type: [
|
|
1844
|
+
{
|
|
1845
|
+
code: "Extension"
|
|
1846
|
+
}
|
|
1847
|
+
]
|
|
1848
|
+
},
|
|
1849
|
+
{
|
|
1850
|
+
id: "Organization.modifierExtension",
|
|
1851
|
+
path: "Organization.modifierExtension",
|
|
1852
|
+
definition: "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
|
|
1853
|
+
min: 0,
|
|
1854
|
+
max: "*",
|
|
1855
|
+
type: [
|
|
1856
|
+
{
|
|
1857
|
+
code: "Extension"
|
|
1858
|
+
}
|
|
1859
|
+
]
|
|
1860
|
+
},
|
|
1861
|
+
{
|
|
1862
|
+
id: "Organization.identifier",
|
|
1863
|
+
path: "Organization.identifier",
|
|
1864
|
+
definition: "Identifier for the organization that is used to identify the organization across multiple disparate systems.",
|
|
1865
|
+
min: 0,
|
|
1866
|
+
max: "*",
|
|
1867
|
+
type: [
|
|
1868
|
+
{
|
|
1869
|
+
code: "Identifier"
|
|
1870
|
+
}
|
|
1871
|
+
]
|
|
1872
|
+
},
|
|
1873
|
+
{
|
|
1874
|
+
id: "Organization.active",
|
|
1875
|
+
path: "Organization.active",
|
|
1876
|
+
definition: "Whether the organization's record is still in active use.",
|
|
1877
|
+
min: 0,
|
|
1878
|
+
max: "1",
|
|
1879
|
+
type: [
|
|
1880
|
+
{
|
|
1881
|
+
code: "boolean"
|
|
1882
|
+
}
|
|
1883
|
+
]
|
|
1884
|
+
},
|
|
1885
|
+
{
|
|
1886
|
+
id: "Organization.type",
|
|
1887
|
+
path: "Organization.type",
|
|
1888
|
+
definition: "The kind(s) of organization that this is.",
|
|
1889
|
+
min: 0,
|
|
1890
|
+
max: "*",
|
|
1891
|
+
type: [
|
|
1892
|
+
{
|
|
1893
|
+
code: "CodeableConcept"
|
|
1894
|
+
}
|
|
1895
|
+
],
|
|
1896
|
+
binding: {
|
|
1897
|
+
description: "Used to categorize the organization.",
|
|
1898
|
+
valueSet: "https://hl7.org/fhir/ValueSet/organization-type"
|
|
1899
|
+
}
|
|
1900
|
+
},
|
|
1901
|
+
{
|
|
1902
|
+
id: "Organization.name",
|
|
1903
|
+
path: "Organization.name",
|
|
1904
|
+
definition: "A name associated with the organization.",
|
|
1905
|
+
min: 0,
|
|
1906
|
+
max: "1",
|
|
1907
|
+
type: [
|
|
1908
|
+
{
|
|
1909
|
+
code: "string"
|
|
1910
|
+
}
|
|
1911
|
+
]
|
|
1912
|
+
},
|
|
1913
|
+
{
|
|
1914
|
+
id: "Organization.alias",
|
|
1915
|
+
path: "Organization.alias",
|
|
1916
|
+
definition: "A list of alternate names that the organization is known as, or was known as in the past.",
|
|
1917
|
+
min: 0,
|
|
1918
|
+
max: "*",
|
|
1919
|
+
type: [
|
|
1920
|
+
{
|
|
1921
|
+
code: "string"
|
|
1922
|
+
}
|
|
1923
|
+
]
|
|
1924
|
+
},
|
|
1925
|
+
{
|
|
1926
|
+
id: "Organization.telecom",
|
|
1927
|
+
path: "Organization.telecom",
|
|
1928
|
+
definition: "A contact detail for the organization.",
|
|
1929
|
+
min: 0,
|
|
1930
|
+
max: "*",
|
|
1931
|
+
type: [
|
|
1932
|
+
{
|
|
1933
|
+
code: "ContactPoint"
|
|
1934
|
+
}
|
|
1935
|
+
]
|
|
1936
|
+
},
|
|
1937
|
+
{
|
|
1938
|
+
id: "Organization.address",
|
|
1939
|
+
path: "Organization.address",
|
|
1940
|
+
definition: "An address for the organization.",
|
|
1941
|
+
min: 0,
|
|
1942
|
+
max: "*",
|
|
1943
|
+
type: [
|
|
1944
|
+
{
|
|
1945
|
+
code: "Address"
|
|
1946
|
+
}
|
|
1947
|
+
]
|
|
1948
|
+
},
|
|
1949
|
+
{
|
|
1950
|
+
id: "Organization.partOf",
|
|
1951
|
+
path: "Organization.partOf",
|
|
1952
|
+
definition: "The organization of which this organization forms a part.",
|
|
1953
|
+
min: 0,
|
|
1954
|
+
max: "1",
|
|
1955
|
+
type: [
|
|
1956
|
+
{
|
|
1957
|
+
code: "Reference",
|
|
1958
|
+
targetProfile: [
|
|
1959
|
+
"https://hl7.org/fhir/StructureDefinition/Organization"
|
|
1960
|
+
]
|
|
1961
|
+
}
|
|
1962
|
+
]
|
|
1963
|
+
},
|
|
1964
|
+
{
|
|
1965
|
+
id: "Organization.contact",
|
|
1966
|
+
path: "Organization.contact",
|
|
1967
|
+
definition: "Contact for the organization for a certain purpose.",
|
|
1968
|
+
min: 0,
|
|
1969
|
+
max: "*",
|
|
1970
|
+
type: [
|
|
1971
|
+
{
|
|
1972
|
+
code: "BackboneElement"
|
|
1973
|
+
}
|
|
1974
|
+
]
|
|
1975
|
+
},
|
|
1976
|
+
{
|
|
1977
|
+
id: "Organization.contact.id",
|
|
1978
|
+
path: "Organization.contact.id",
|
|
1979
|
+
definition: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
|
|
1980
|
+
min: 0,
|
|
1981
|
+
max: "1",
|
|
1982
|
+
type: [
|
|
1983
|
+
{
|
|
1984
|
+
code: "https://hl7.org/fhirpath/System.String"
|
|
1985
|
+
}
|
|
1986
|
+
]
|
|
1987
|
+
},
|
|
1988
|
+
{
|
|
1989
|
+
id: "Organization.contact.extension",
|
|
1990
|
+
path: "Organization.contact.extension",
|
|
1991
|
+
definition: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
|
|
1992
|
+
min: 0,
|
|
1993
|
+
max: "*",
|
|
1994
|
+
type: [
|
|
1995
|
+
{
|
|
1996
|
+
code: "Extension"
|
|
1997
|
+
}
|
|
1998
|
+
]
|
|
1999
|
+
},
|
|
2000
|
+
{
|
|
2001
|
+
id: "Organization.contact.modifierExtension",
|
|
2002
|
+
path: "Organization.contact.modifierExtension",
|
|
2003
|
+
definition: "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
|
|
2004
|
+
min: 0,
|
|
2005
|
+
max: "*",
|
|
2006
|
+
type: [
|
|
2007
|
+
{
|
|
2008
|
+
code: "Extension"
|
|
2009
|
+
}
|
|
2010
|
+
]
|
|
2011
|
+
},
|
|
2012
|
+
{
|
|
2013
|
+
id: "Organization.contact.purpose",
|
|
2014
|
+
path: "Organization.contact.purpose",
|
|
2015
|
+
definition: "Indicates a purpose for which the contact can be reached.",
|
|
2016
|
+
min: 0,
|
|
2017
|
+
max: "1",
|
|
2018
|
+
type: [
|
|
2019
|
+
{
|
|
2020
|
+
code: "CodeableConcept"
|
|
2021
|
+
}
|
|
2022
|
+
],
|
|
2023
|
+
binding: {
|
|
2024
|
+
description: "The purpose for which you would contact a contact party.",
|
|
2025
|
+
valueSet: "https://hl7.org/fhir/ValueSet/contactentity-type"
|
|
2026
|
+
}
|
|
2027
|
+
},
|
|
2028
|
+
{
|
|
2029
|
+
id: "Organization.contact.name",
|
|
2030
|
+
path: "Organization.contact.name",
|
|
2031
|
+
definition: "A name associated with the contact.",
|
|
2032
|
+
min: 0,
|
|
2033
|
+
max: "1",
|
|
2034
|
+
type: [
|
|
2035
|
+
{
|
|
2036
|
+
code: "HumanName"
|
|
2037
|
+
}
|
|
2038
|
+
]
|
|
2039
|
+
},
|
|
2040
|
+
{
|
|
2041
|
+
id: "Organization.contact.telecom",
|
|
2042
|
+
path: "Organization.contact.telecom",
|
|
2043
|
+
definition: "A contact detail (e.g. a telephone number or an email address) by which the party may be contacted.",
|
|
2044
|
+
min: 0,
|
|
2045
|
+
max: "*",
|
|
2046
|
+
type: [
|
|
2047
|
+
{
|
|
2048
|
+
code: "ContactPoint"
|
|
2049
|
+
}
|
|
2050
|
+
]
|
|
2051
|
+
},
|
|
2052
|
+
{
|
|
2053
|
+
id: "Organization.contact.address",
|
|
2054
|
+
path: "Organization.contact.address",
|
|
2055
|
+
definition: "Visiting or postal addresses for the contact.",
|
|
2056
|
+
min: 0,
|
|
2057
|
+
max: "1",
|
|
2058
|
+
type: [
|
|
2059
|
+
{
|
|
2060
|
+
code: "Address"
|
|
2061
|
+
}
|
|
2062
|
+
]
|
|
2063
|
+
},
|
|
2064
|
+
{
|
|
2065
|
+
id: "Organization.endpoint",
|
|
2066
|
+
path: "Organization.endpoint",
|
|
2067
|
+
definition: "Technical endpoints providing access to services operated for the organization.",
|
|
2068
|
+
min: 0,
|
|
2069
|
+
max: "*",
|
|
2070
|
+
type: [
|
|
2071
|
+
{
|
|
2072
|
+
code: "Reference",
|
|
2073
|
+
targetProfile: [
|
|
2074
|
+
"https://hl7.org/fhir/StructureDefinition/Endpoint"
|
|
2075
|
+
]
|
|
2076
|
+
}
|
|
2077
|
+
]
|
|
2078
|
+
}
|
|
2079
|
+
]
|
|
2080
|
+
}
|
|
2081
|
+
},
|
|
2082
|
+
{
|
|
2083
|
+
resourceType: "StructureDefinition",
|
|
2084
|
+
id: "Patient",
|
|
2085
|
+
name: "Patient",
|
|
2086
|
+
description: "Demographics and other administrative information about an individual or animal receiving care or other health-related services.",
|
|
2087
|
+
type: "Patient",
|
|
2088
|
+
snapshot: {
|
|
2089
|
+
element: [
|
|
2090
|
+
{
|
|
2091
|
+
id: "Patient",
|
|
2092
|
+
path: "Patient",
|
|
2093
|
+
definition: "Demographics and other administrative information about an individual or animal receiving care or other health-related services.",
|
|
2094
|
+
min: 0,
|
|
2095
|
+
max: "*"
|
|
2096
|
+
},
|
|
2097
|
+
{
|
|
2098
|
+
id: "Patient.id",
|
|
2099
|
+
path: "Patient.id",
|
|
2100
|
+
definition: "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
|
|
2101
|
+
min: 0,
|
|
2102
|
+
max: "1",
|
|
2103
|
+
type: [
|
|
2104
|
+
{
|
|
2105
|
+
code: "https://hl7.org/fhirpath/System.String"
|
|
2106
|
+
}
|
|
2107
|
+
]
|
|
2108
|
+
},
|
|
2109
|
+
{
|
|
2110
|
+
id: "Patient.meta",
|
|
2111
|
+
path: "Patient.meta",
|
|
2112
|
+
definition: "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.",
|
|
2113
|
+
min: 0,
|
|
2114
|
+
max: "1",
|
|
2115
|
+
type: [
|
|
2116
|
+
{
|
|
2117
|
+
code: "Meta"
|
|
2118
|
+
}
|
|
2119
|
+
]
|
|
2120
|
+
},
|
|
2121
|
+
{
|
|
2122
|
+
id: "Patient.implicitRules",
|
|
2123
|
+
path: "Patient.implicitRules",
|
|
2124
|
+
definition: "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.",
|
|
2125
|
+
min: 0,
|
|
2126
|
+
max: "1",
|
|
2127
|
+
type: [
|
|
2128
|
+
{
|
|
2129
|
+
code: "uri"
|
|
2130
|
+
}
|
|
2131
|
+
]
|
|
2132
|
+
},
|
|
2133
|
+
{
|
|
2134
|
+
id: "Patient.language",
|
|
2135
|
+
path: "Patient.language",
|
|
2136
|
+
definition: "The base language in which the resource is written.",
|
|
2137
|
+
min: 0,
|
|
2138
|
+
max: "1",
|
|
2139
|
+
type: [
|
|
2140
|
+
{
|
|
2141
|
+
code: "code"
|
|
2142
|
+
}
|
|
2143
|
+
],
|
|
2144
|
+
binding: {
|
|
2145
|
+
description: "A human language.",
|
|
2146
|
+
valueSet: "https://hl7.org/fhir/ValueSet/languages"
|
|
2147
|
+
}
|
|
2148
|
+
},
|
|
2149
|
+
{
|
|
2150
|
+
id: "Patient.text",
|
|
2151
|
+
path: "Patient.text",
|
|
2152
|
+
definition: "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.",
|
|
2153
|
+
min: 0,
|
|
2154
|
+
max: "1",
|
|
2155
|
+
type: [
|
|
2156
|
+
{
|
|
2157
|
+
code: "Narrative"
|
|
2158
|
+
}
|
|
2159
|
+
]
|
|
2160
|
+
},
|
|
2161
|
+
{
|
|
2162
|
+
id: "Patient.contained",
|
|
2163
|
+
path: "Patient.contained",
|
|
2164
|
+
definition: "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.",
|
|
2165
|
+
min: 0,
|
|
2166
|
+
max: "*",
|
|
2167
|
+
type: [
|
|
2168
|
+
{
|
|
2169
|
+
code: "Resource"
|
|
2170
|
+
}
|
|
2171
|
+
]
|
|
2172
|
+
},
|
|
2173
|
+
{
|
|
2174
|
+
id: "Patient.extension",
|
|
2175
|
+
path: "Patient.extension",
|
|
2176
|
+
definition: "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
|
|
2177
|
+
min: 0,
|
|
2178
|
+
max: "*",
|
|
2179
|
+
type: [
|
|
2180
|
+
{
|
|
2181
|
+
code: "Extension"
|
|
2182
|
+
}
|
|
2183
|
+
]
|
|
2184
|
+
},
|
|
2185
|
+
{
|
|
2186
|
+
id: "Patient.modifierExtension",
|
|
2187
|
+
path: "Patient.modifierExtension",
|
|
2188
|
+
definition: "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
|
|
2189
|
+
min: 0,
|
|
2190
|
+
max: "*",
|
|
2191
|
+
type: [
|
|
2192
|
+
{
|
|
2193
|
+
code: "Extension"
|
|
2194
|
+
}
|
|
2195
|
+
]
|
|
2196
|
+
},
|
|
2197
|
+
{
|
|
2198
|
+
id: "Patient.identifier",
|
|
2199
|
+
path: "Patient.identifier",
|
|
2200
|
+
definition: "An identifier for this patient.",
|
|
2201
|
+
min: 0,
|
|
2202
|
+
max: "*",
|
|
2203
|
+
type: [
|
|
2204
|
+
{
|
|
2205
|
+
code: "Identifier"
|
|
2206
|
+
}
|
|
2207
|
+
]
|
|
2208
|
+
},
|
|
2209
|
+
{
|
|
2210
|
+
id: "Patient.active",
|
|
2211
|
+
path: "Patient.active",
|
|
2212
|
+
definition: "Whether this patient record is in active use. \nMany systems use this property to mark as non-current patients, such as those that have not been seen for a period of time based on an organization's business rules.\n\nIt is often used to filter patient lists to exclude inactive patients\n\nDeceased patients may also be marked as inactive for the same reasons, but may be active for some time after death.",
|
|
2213
|
+
min: 0,
|
|
2214
|
+
max: "1",
|
|
2215
|
+
type: [
|
|
2216
|
+
{
|
|
2217
|
+
code: "boolean"
|
|
2218
|
+
}
|
|
2219
|
+
]
|
|
2220
|
+
},
|
|
2221
|
+
{
|
|
2222
|
+
id: "Patient.name",
|
|
2223
|
+
path: "Patient.name",
|
|
2224
|
+
definition: "A name associated with the individual.",
|
|
2225
|
+
min: 0,
|
|
2226
|
+
max: "*",
|
|
2227
|
+
type: [
|
|
2228
|
+
{
|
|
2229
|
+
code: "HumanName"
|
|
2230
|
+
}
|
|
2231
|
+
]
|
|
2232
|
+
},
|
|
2233
|
+
{
|
|
2234
|
+
id: "Patient.telecom",
|
|
2235
|
+
path: "Patient.telecom",
|
|
2236
|
+
definition: "A contact detail (e.g. a telephone number or an email address) by which the individual may be contacted.",
|
|
2237
|
+
min: 0,
|
|
2238
|
+
max: "*",
|
|
2239
|
+
type: [
|
|
2240
|
+
{
|
|
2241
|
+
code: "ContactPoint"
|
|
2242
|
+
}
|
|
2243
|
+
]
|
|
2244
|
+
},
|
|
2245
|
+
{
|
|
2246
|
+
id: "Patient.gender",
|
|
2247
|
+
path: "Patient.gender",
|
|
2248
|
+
definition: "Administrative Gender - the gender that the patient is considered to have for administration and record keeping purposes.",
|
|
2249
|
+
min: 0,
|
|
2250
|
+
max: "1",
|
|
2251
|
+
type: [
|
|
2252
|
+
{
|
|
2253
|
+
code: "code"
|
|
2254
|
+
}
|
|
2255
|
+
],
|
|
2256
|
+
binding: {
|
|
2257
|
+
description: "The gender of a person used for administrative purposes.",
|
|
2258
|
+
valueSet: "https://hl7.org/fhir/ValueSet/administrative-gender|4.0.1"
|
|
2259
|
+
}
|
|
2260
|
+
},
|
|
2261
|
+
{
|
|
2262
|
+
id: "Patient.birthDate",
|
|
2263
|
+
path: "Patient.birthDate",
|
|
2264
|
+
definition: "The date of birth for the individual.",
|
|
2265
|
+
min: 0,
|
|
2266
|
+
max: "1",
|
|
2267
|
+
type: [
|
|
2268
|
+
{
|
|
2269
|
+
code: "date"
|
|
2270
|
+
}
|
|
2271
|
+
]
|
|
2272
|
+
},
|
|
2273
|
+
{
|
|
2274
|
+
id: "Patient.deceased[x]",
|
|
2275
|
+
path: "Patient.deceased[x]",
|
|
2276
|
+
definition: "Indicates if the individual is deceased or not.",
|
|
2277
|
+
min: 0,
|
|
2278
|
+
max: "1",
|
|
2279
|
+
type: [
|
|
2280
|
+
{
|
|
2281
|
+
code: "boolean"
|
|
2282
|
+
},
|
|
2283
|
+
{
|
|
2284
|
+
code: "dateTime"
|
|
2285
|
+
}
|
|
2286
|
+
]
|
|
2287
|
+
},
|
|
2288
|
+
{
|
|
2289
|
+
id: "Patient.address",
|
|
2290
|
+
path: "Patient.address",
|
|
2291
|
+
definition: "An address for the individual.",
|
|
2292
|
+
min: 0,
|
|
2293
|
+
max: "*",
|
|
2294
|
+
type: [
|
|
2295
|
+
{
|
|
2296
|
+
code: "Address"
|
|
2297
|
+
}
|
|
2298
|
+
]
|
|
2299
|
+
},
|
|
2300
|
+
{
|
|
2301
|
+
id: "Patient.maritalStatus",
|
|
2302
|
+
path: "Patient.maritalStatus",
|
|
2303
|
+
definition: "This field contains a patient's most recent marital (civil) status.",
|
|
2304
|
+
min: 0,
|
|
2305
|
+
max: "1",
|
|
2306
|
+
type: [
|
|
2307
|
+
{
|
|
2308
|
+
code: "CodeableConcept"
|
|
2309
|
+
}
|
|
2310
|
+
],
|
|
2311
|
+
binding: {
|
|
2312
|
+
description: "The domestic partnership status of a person.",
|
|
2313
|
+
valueSet: "https://hl7.org/fhir/ValueSet/marital-status"
|
|
2314
|
+
}
|
|
2315
|
+
},
|
|
2316
|
+
{
|
|
2317
|
+
id: "Patient.multipleBirth[x]",
|
|
2318
|
+
path: "Patient.multipleBirth[x]",
|
|
2319
|
+
definition: "Indicates whether the patient is part of a multiple (boolean) or indicates the actual birth order (integer).",
|
|
2320
|
+
min: 0,
|
|
2321
|
+
max: "1",
|
|
2322
|
+
type: [
|
|
2323
|
+
{
|
|
2324
|
+
code: "boolean"
|
|
2325
|
+
},
|
|
2326
|
+
{
|
|
2327
|
+
code: "integer"
|
|
2328
|
+
}
|
|
2329
|
+
]
|
|
2330
|
+
},
|
|
2331
|
+
{
|
|
2332
|
+
id: "Patient.photo",
|
|
2333
|
+
path: "Patient.photo",
|
|
2334
|
+
definition: "Image of the patient.",
|
|
2335
|
+
min: 0,
|
|
2336
|
+
max: "*",
|
|
2337
|
+
type: [
|
|
2338
|
+
{
|
|
2339
|
+
code: "Attachment"
|
|
2340
|
+
}
|
|
2341
|
+
]
|
|
2342
|
+
},
|
|
2343
|
+
{
|
|
2344
|
+
id: "Patient.contact",
|
|
2345
|
+
path: "Patient.contact",
|
|
2346
|
+
definition: "A contact party (e.g. guardian, partner, friend) for the patient.",
|
|
2347
|
+
min: 0,
|
|
2348
|
+
max: "*",
|
|
2349
|
+
type: [
|
|
2350
|
+
{
|
|
2351
|
+
code: "BackboneElement"
|
|
2352
|
+
}
|
|
2353
|
+
]
|
|
2354
|
+
},
|
|
2355
|
+
{
|
|
2356
|
+
id: "Patient.contact.id",
|
|
2357
|
+
path: "Patient.contact.id",
|
|
2358
|
+
definition: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
|
|
2359
|
+
min: 0,
|
|
2360
|
+
max: "1",
|
|
2361
|
+
type: [
|
|
2362
|
+
{
|
|
2363
|
+
code: "https://hl7.org/fhirpath/System.String"
|
|
2364
|
+
}
|
|
2365
|
+
]
|
|
2366
|
+
},
|
|
2367
|
+
{
|
|
2368
|
+
id: "Patient.contact.extension",
|
|
2369
|
+
path: "Patient.contact.extension",
|
|
2370
|
+
definition: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
|
|
2371
|
+
min: 0,
|
|
2372
|
+
max: "*",
|
|
2373
|
+
type: [
|
|
2374
|
+
{
|
|
2375
|
+
code: "Extension"
|
|
2376
|
+
}
|
|
2377
|
+
]
|
|
2378
|
+
},
|
|
2379
|
+
{
|
|
2380
|
+
id: "Patient.contact.modifierExtension",
|
|
2381
|
+
path: "Patient.contact.modifierExtension",
|
|
2382
|
+
definition: "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
|
|
2383
|
+
min: 0,
|
|
2384
|
+
max: "*",
|
|
2385
|
+
type: [
|
|
2386
|
+
{
|
|
2387
|
+
code: "Extension"
|
|
2388
|
+
}
|
|
2389
|
+
]
|
|
2390
|
+
},
|
|
2391
|
+
{
|
|
2392
|
+
id: "Patient.contact.relationship",
|
|
2393
|
+
path: "Patient.contact.relationship",
|
|
2394
|
+
definition: "The nature of the relationship between the patient and the contact person.",
|
|
2395
|
+
min: 0,
|
|
2396
|
+
max: "*",
|
|
2397
|
+
type: [
|
|
2398
|
+
{
|
|
2399
|
+
code: "CodeableConcept"
|
|
2400
|
+
}
|
|
2401
|
+
],
|
|
2402
|
+
binding: {
|
|
2403
|
+
description: "The nature of the relationship between a patient and a contact person for that patient.",
|
|
2404
|
+
valueSet: "https://hl7.org/fhir/ValueSet/patient-contactrelationship"
|
|
2405
|
+
}
|
|
2406
|
+
},
|
|
2407
|
+
{
|
|
2408
|
+
id: "Patient.contact.name",
|
|
2409
|
+
path: "Patient.contact.name",
|
|
2410
|
+
definition: "A name associated with the contact person.",
|
|
2411
|
+
min: 0,
|
|
2412
|
+
max: "1",
|
|
2413
|
+
type: [
|
|
2414
|
+
{
|
|
2415
|
+
code: "HumanName"
|
|
2416
|
+
}
|
|
2417
|
+
]
|
|
2418
|
+
},
|
|
2419
|
+
{
|
|
2420
|
+
id: "Patient.contact.telecom",
|
|
2421
|
+
path: "Patient.contact.telecom",
|
|
2422
|
+
definition: "A contact detail for the person, e.g. a telephone number or an email address.",
|
|
2423
|
+
min: 0,
|
|
2424
|
+
max: "*",
|
|
2425
|
+
type: [
|
|
2426
|
+
{
|
|
2427
|
+
code: "ContactPoint"
|
|
2428
|
+
}
|
|
2429
|
+
]
|
|
2430
|
+
},
|
|
2431
|
+
{
|
|
2432
|
+
id: "Patient.contact.address",
|
|
2433
|
+
path: "Patient.contact.address",
|
|
2434
|
+
definition: "Address for the contact person.",
|
|
2435
|
+
min: 0,
|
|
2436
|
+
max: "1",
|
|
2437
|
+
type: [
|
|
2438
|
+
{
|
|
2439
|
+
code: "Address"
|
|
2440
|
+
}
|
|
2441
|
+
]
|
|
2442
|
+
},
|
|
2443
|
+
{
|
|
2444
|
+
id: "Patient.contact.gender",
|
|
2445
|
+
path: "Patient.contact.gender",
|
|
2446
|
+
definition: "Administrative Gender - the gender that the contact person is considered to have for administration and record keeping purposes.",
|
|
2447
|
+
min: 0,
|
|
2448
|
+
max: "1",
|
|
2449
|
+
type: [
|
|
2450
|
+
{
|
|
2451
|
+
code: "code"
|
|
2452
|
+
}
|
|
2453
|
+
],
|
|
2454
|
+
binding: {
|
|
2455
|
+
description: "The gender of a person used for administrative purposes.",
|
|
2456
|
+
valueSet: "https://hl7.org/fhir/ValueSet/administrative-gender|4.0.1"
|
|
2457
|
+
}
|
|
2458
|
+
},
|
|
2459
|
+
{
|
|
2460
|
+
id: "Patient.contact.organization",
|
|
2461
|
+
path: "Patient.contact.organization",
|
|
2462
|
+
definition: "Organization on behalf of which the contact is acting or for which the contact is working.",
|
|
2463
|
+
min: 0,
|
|
2464
|
+
max: "1",
|
|
2465
|
+
type: [
|
|
2466
|
+
{
|
|
2467
|
+
code: "Reference",
|
|
2468
|
+
targetProfile: [
|
|
2469
|
+
"https://hl7.org/fhir/StructureDefinition/Organization"
|
|
2470
|
+
]
|
|
2471
|
+
}
|
|
2472
|
+
]
|
|
2473
|
+
},
|
|
2474
|
+
{
|
|
2475
|
+
id: "Patient.contact.period",
|
|
2476
|
+
path: "Patient.contact.period",
|
|
2477
|
+
definition: "The period during which this contact person or organization is valid to be contacted relating to this patient.",
|
|
2478
|
+
min: 0,
|
|
2479
|
+
max: "1",
|
|
2480
|
+
type: [
|
|
2481
|
+
{
|
|
2482
|
+
code: "Period"
|
|
2483
|
+
}
|
|
2484
|
+
]
|
|
2485
|
+
},
|
|
2486
|
+
{
|
|
2487
|
+
id: "Patient.communication",
|
|
2488
|
+
path: "Patient.communication",
|
|
2489
|
+
definition: "A language which may be used to communicate with the patient about his or her health.",
|
|
2490
|
+
min: 0,
|
|
2491
|
+
max: "*",
|
|
2492
|
+
type: [
|
|
2493
|
+
{
|
|
2494
|
+
code: "BackboneElement"
|
|
2495
|
+
}
|
|
2496
|
+
]
|
|
2497
|
+
},
|
|
2498
|
+
{
|
|
2499
|
+
id: "Patient.communication.id",
|
|
2500
|
+
path: "Patient.communication.id",
|
|
2501
|
+
definition: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
|
|
2502
|
+
min: 0,
|
|
2503
|
+
max: "1",
|
|
2504
|
+
type: [
|
|
2505
|
+
{
|
|
2506
|
+
code: "https://hl7.org/fhirpath/System.String"
|
|
2507
|
+
}
|
|
2508
|
+
]
|
|
2509
|
+
},
|
|
2510
|
+
{
|
|
2511
|
+
id: "Patient.communication.extension",
|
|
2512
|
+
path: "Patient.communication.extension",
|
|
2513
|
+
definition: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
|
|
2514
|
+
min: 0,
|
|
2515
|
+
max: "*",
|
|
2516
|
+
type: [
|
|
2517
|
+
{
|
|
2518
|
+
code: "Extension"
|
|
2519
|
+
}
|
|
2520
|
+
]
|
|
2521
|
+
},
|
|
2522
|
+
{
|
|
2523
|
+
id: "Patient.communication.modifierExtension",
|
|
2524
|
+
path: "Patient.communication.modifierExtension",
|
|
2525
|
+
definition: "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
|
|
2526
|
+
min: 0,
|
|
2527
|
+
max: "*",
|
|
2528
|
+
type: [
|
|
2529
|
+
{
|
|
2530
|
+
code: "Extension"
|
|
2531
|
+
}
|
|
2532
|
+
]
|
|
2533
|
+
},
|
|
2534
|
+
{
|
|
2535
|
+
id: "Patient.communication.language",
|
|
2536
|
+
path: "Patient.communication.language",
|
|
2537
|
+
definition: "The ISO-639-1 alpha 2 code in lower case for the language, optionally followed by a hyphen and the ISO-3166-1 alpha 2 code for the region in upper case; e.g. \"en\" for English, or \"en-US\" for American English versus \"en-EN\" for England English.",
|
|
2538
|
+
min: 1,
|
|
2539
|
+
max: "1",
|
|
2540
|
+
type: [
|
|
2541
|
+
{
|
|
2542
|
+
code: "CodeableConcept"
|
|
2543
|
+
}
|
|
2544
|
+
],
|
|
2545
|
+
binding: {
|
|
2546
|
+
description: "A human language.",
|
|
2547
|
+
valueSet: "https://hl7.org/fhir/ValueSet/languages"
|
|
2548
|
+
}
|
|
2549
|
+
},
|
|
2550
|
+
{
|
|
2551
|
+
id: "Patient.communication.preferred",
|
|
2552
|
+
path: "Patient.communication.preferred",
|
|
2553
|
+
definition: "Indicates whether or not the patient prefers this language (over other languages he masters up a certain level).",
|
|
2554
|
+
min: 0,
|
|
2555
|
+
max: "1",
|
|
2556
|
+
type: [
|
|
2557
|
+
{
|
|
2558
|
+
code: "boolean"
|
|
2559
|
+
}
|
|
2560
|
+
]
|
|
2561
|
+
},
|
|
2562
|
+
{
|
|
2563
|
+
id: "Patient.generalPractitioner",
|
|
2564
|
+
path: "Patient.generalPractitioner",
|
|
2565
|
+
definition: "Patient's nominated care provider.",
|
|
2566
|
+
min: 0,
|
|
2567
|
+
max: "*",
|
|
2568
|
+
type: [
|
|
2569
|
+
{
|
|
2570
|
+
code: "Reference",
|
|
2571
|
+
targetProfile: [
|
|
2572
|
+
"https://hl7.org/fhir/StructureDefinition/Organization",
|
|
2573
|
+
"https://hl7.org/fhir/StructureDefinition/Practitioner",
|
|
2574
|
+
"https://hl7.org/fhir/StructureDefinition/PractitionerRole"
|
|
2575
|
+
]
|
|
2576
|
+
}
|
|
2577
|
+
]
|
|
2578
|
+
},
|
|
2579
|
+
{
|
|
2580
|
+
id: "Patient.managingOrganization",
|
|
2581
|
+
path: "Patient.managingOrganization",
|
|
2582
|
+
definition: "Organization that is the custodian of the patient record.",
|
|
2583
|
+
min: 0,
|
|
2584
|
+
max: "1",
|
|
2585
|
+
type: [
|
|
2586
|
+
{
|
|
2587
|
+
code: "Reference",
|
|
2588
|
+
targetProfile: [
|
|
2589
|
+
"https://hl7.org/fhir/StructureDefinition/Organization"
|
|
2590
|
+
]
|
|
2591
|
+
}
|
|
2592
|
+
]
|
|
2593
|
+
},
|
|
2594
|
+
{
|
|
2595
|
+
id: "Patient.link",
|
|
2596
|
+
path: "Patient.link",
|
|
2597
|
+
definition: "Link to another patient resource that concerns the same actual patient.",
|
|
2598
|
+
min: 0,
|
|
2599
|
+
max: "*",
|
|
2600
|
+
type: [
|
|
2601
|
+
{
|
|
2602
|
+
code: "BackboneElement"
|
|
2603
|
+
}
|
|
2604
|
+
]
|
|
2605
|
+
},
|
|
2606
|
+
{
|
|
2607
|
+
id: "Patient.link.id",
|
|
2608
|
+
path: "Patient.link.id",
|
|
2609
|
+
definition: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
|
|
2610
|
+
min: 0,
|
|
2611
|
+
max: "1",
|
|
2612
|
+
type: [
|
|
2613
|
+
{
|
|
2614
|
+
code: "https://hl7.org/fhirpath/System.String"
|
|
2615
|
+
}
|
|
2616
|
+
]
|
|
2617
|
+
},
|
|
2618
|
+
{
|
|
2619
|
+
id: "Patient.link.extension",
|
|
2620
|
+
path: "Patient.link.extension",
|
|
2621
|
+
definition: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
|
|
2622
|
+
min: 0,
|
|
2623
|
+
max: "*",
|
|
2624
|
+
type: [
|
|
2625
|
+
{
|
|
2626
|
+
code: "Extension"
|
|
2627
|
+
}
|
|
2628
|
+
]
|
|
2629
|
+
},
|
|
2630
|
+
{
|
|
2631
|
+
id: "Patient.link.modifierExtension",
|
|
2632
|
+
path: "Patient.link.modifierExtension",
|
|
2633
|
+
definition: "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
|
|
2634
|
+
min: 0,
|
|
2635
|
+
max: "*",
|
|
2636
|
+
type: [
|
|
2637
|
+
{
|
|
2638
|
+
code: "Extension"
|
|
2639
|
+
}
|
|
2640
|
+
]
|
|
2641
|
+
},
|
|
2642
|
+
{
|
|
2643
|
+
id: "Patient.link.other",
|
|
2644
|
+
path: "Patient.link.other",
|
|
2645
|
+
definition: "The other patient resource that the link refers to.",
|
|
2646
|
+
min: 1,
|
|
2647
|
+
max: "1",
|
|
2648
|
+
type: [
|
|
2649
|
+
{
|
|
2650
|
+
code: "Reference",
|
|
2651
|
+
targetProfile: [
|
|
2652
|
+
"https://hl7.org/fhir/StructureDefinition/Patient",
|
|
2653
|
+
"https://hl7.org/fhir/StructureDefinition/RelatedPerson"
|
|
2654
|
+
]
|
|
2655
|
+
}
|
|
2656
|
+
]
|
|
2657
|
+
},
|
|
2658
|
+
{
|
|
2659
|
+
id: "Patient.link.type",
|
|
2660
|
+
path: "Patient.link.type",
|
|
2661
|
+
definition: "The type of link between this patient resource and another patient resource.",
|
|
2662
|
+
min: 1,
|
|
2663
|
+
max: "1",
|
|
2664
|
+
type: [
|
|
2665
|
+
{
|
|
2666
|
+
code: "code"
|
|
2667
|
+
}
|
|
2668
|
+
],
|
|
2669
|
+
binding: {
|
|
2670
|
+
description: "The type of link between this patient resource and another patient resource.",
|
|
2671
|
+
valueSet: "https://hl7.org/fhir/ValueSet/link-type|4.0.1"
|
|
2672
|
+
}
|
|
2673
|
+
}
|
|
2674
|
+
]
|
|
2675
|
+
}
|
|
2676
|
+
},
|
|
2677
|
+
{
|
|
2678
|
+
resourceType: "StructureDefinition",
|
|
2679
|
+
id: "Practitioner",
|
|
2680
|
+
name: "Practitioner",
|
|
2681
|
+
description: "A person who is directly or indirectly involved in the provisioning of healthcare.",
|
|
2682
|
+
type: "Practitioner",
|
|
2683
|
+
snapshot: {
|
|
2684
|
+
element: [
|
|
2685
|
+
{
|
|
2686
|
+
id: "Practitioner",
|
|
2687
|
+
path: "Practitioner",
|
|
2688
|
+
definition: "A person who is directly or indirectly involved in the provisioning of healthcare.",
|
|
2689
|
+
min: 0,
|
|
2690
|
+
max: "*"
|
|
2691
|
+
},
|
|
2692
|
+
{
|
|
2693
|
+
id: "Practitioner.id",
|
|
2694
|
+
path: "Practitioner.id",
|
|
2695
|
+
definition: "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
|
|
2696
|
+
min: 0,
|
|
2697
|
+
max: "1",
|
|
2698
|
+
type: [
|
|
2699
|
+
{
|
|
2700
|
+
code: "https://hl7.org/fhirpath/System.String"
|
|
2701
|
+
}
|
|
2702
|
+
]
|
|
2703
|
+
},
|
|
2704
|
+
{
|
|
2705
|
+
id: "Practitioner.meta",
|
|
2706
|
+
path: "Practitioner.meta",
|
|
2707
|
+
definition: "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.",
|
|
2708
|
+
min: 0,
|
|
2709
|
+
max: "1",
|
|
2710
|
+
type: [
|
|
2711
|
+
{
|
|
2712
|
+
code: "Meta"
|
|
2713
|
+
}
|
|
2714
|
+
]
|
|
2715
|
+
},
|
|
2716
|
+
{
|
|
2717
|
+
id: "Practitioner.implicitRules",
|
|
2718
|
+
path: "Practitioner.implicitRules",
|
|
2719
|
+
definition: "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.",
|
|
2720
|
+
min: 0,
|
|
2721
|
+
max: "1",
|
|
2722
|
+
type: [
|
|
2723
|
+
{
|
|
2724
|
+
code: "uri"
|
|
2725
|
+
}
|
|
2726
|
+
]
|
|
2727
|
+
},
|
|
2728
|
+
{
|
|
2729
|
+
id: "Practitioner.language",
|
|
2730
|
+
path: "Practitioner.language",
|
|
2731
|
+
definition: "The base language in which the resource is written.",
|
|
2732
|
+
min: 0,
|
|
2733
|
+
max: "1",
|
|
2734
|
+
type: [
|
|
2735
|
+
{
|
|
2736
|
+
code: "code"
|
|
2737
|
+
}
|
|
2738
|
+
],
|
|
2739
|
+
binding: {
|
|
2740
|
+
description: "A human language.",
|
|
2741
|
+
valueSet: "https://hl7.org/fhir/ValueSet/languages"
|
|
2742
|
+
}
|
|
2743
|
+
},
|
|
2744
|
+
{
|
|
2745
|
+
id: "Practitioner.text",
|
|
2746
|
+
path: "Practitioner.text",
|
|
2747
|
+
definition: "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.",
|
|
2748
|
+
min: 0,
|
|
2749
|
+
max: "1",
|
|
2750
|
+
type: [
|
|
2751
|
+
{
|
|
2752
|
+
code: "Narrative"
|
|
2753
|
+
}
|
|
2754
|
+
]
|
|
2755
|
+
},
|
|
2756
|
+
{
|
|
2757
|
+
id: "Practitioner.contained",
|
|
2758
|
+
path: "Practitioner.contained",
|
|
2759
|
+
definition: "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.",
|
|
2760
|
+
min: 0,
|
|
2761
|
+
max: "*",
|
|
2762
|
+
type: [
|
|
2763
|
+
{
|
|
2764
|
+
code: "Resource"
|
|
2765
|
+
}
|
|
2766
|
+
]
|
|
2767
|
+
},
|
|
2768
|
+
{
|
|
2769
|
+
id: "Practitioner.extension",
|
|
2770
|
+
path: "Practitioner.extension",
|
|
2771
|
+
definition: "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
|
|
2772
|
+
min: 0,
|
|
2773
|
+
max: "*",
|
|
2774
|
+
type: [
|
|
2775
|
+
{
|
|
2776
|
+
code: "Extension"
|
|
2777
|
+
}
|
|
2778
|
+
]
|
|
2779
|
+
},
|
|
2780
|
+
{
|
|
2781
|
+
id: "Practitioner.modifierExtension",
|
|
2782
|
+
path: "Practitioner.modifierExtension",
|
|
2783
|
+
definition: "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
|
|
2784
|
+
min: 0,
|
|
2785
|
+
max: "*",
|
|
2786
|
+
type: [
|
|
2787
|
+
{
|
|
2788
|
+
code: "Extension"
|
|
2789
|
+
}
|
|
2790
|
+
]
|
|
2791
|
+
},
|
|
2792
|
+
{
|
|
2793
|
+
id: "Practitioner.identifier",
|
|
2794
|
+
path: "Practitioner.identifier",
|
|
2795
|
+
definition: "An identifier that applies to this person in this role.",
|
|
2796
|
+
min: 0,
|
|
2797
|
+
max: "*",
|
|
2798
|
+
type: [
|
|
2799
|
+
{
|
|
2800
|
+
code: "Identifier"
|
|
2801
|
+
}
|
|
2802
|
+
]
|
|
2803
|
+
},
|
|
2804
|
+
{
|
|
2805
|
+
id: "Practitioner.active",
|
|
2806
|
+
path: "Practitioner.active",
|
|
2807
|
+
definition: "Whether this practitioner's record is in active use.",
|
|
2808
|
+
min: 0,
|
|
2809
|
+
max: "1",
|
|
2810
|
+
type: [
|
|
2811
|
+
{
|
|
2812
|
+
code: "boolean"
|
|
2813
|
+
}
|
|
2814
|
+
]
|
|
2815
|
+
},
|
|
2816
|
+
{
|
|
2817
|
+
id: "Practitioner.name",
|
|
2818
|
+
path: "Practitioner.name",
|
|
2819
|
+
definition: "The name(s) associated with the practitioner.",
|
|
2820
|
+
min: 0,
|
|
2821
|
+
max: "*",
|
|
2822
|
+
type: [
|
|
2823
|
+
{
|
|
2824
|
+
code: "HumanName"
|
|
2825
|
+
}
|
|
2826
|
+
]
|
|
2827
|
+
},
|
|
2828
|
+
{
|
|
2829
|
+
id: "Practitioner.telecom",
|
|
2830
|
+
path: "Practitioner.telecom",
|
|
2831
|
+
definition: "A contact detail for the practitioner, e.g. a telephone number or an email address.",
|
|
2832
|
+
min: 0,
|
|
2833
|
+
max: "*",
|
|
2834
|
+
type: [
|
|
2835
|
+
{
|
|
2836
|
+
code: "ContactPoint"
|
|
2837
|
+
}
|
|
2838
|
+
]
|
|
2839
|
+
},
|
|
2840
|
+
{
|
|
2841
|
+
id: "Practitioner.address",
|
|
2842
|
+
path: "Practitioner.address",
|
|
2843
|
+
definition: "Address(es) of the practitioner that are not role specific (typically home address). \rWork addresses are not typically entered in this property as they are usually role dependent.",
|
|
2844
|
+
min: 0,
|
|
2845
|
+
max: "*",
|
|
2846
|
+
type: [
|
|
2847
|
+
{
|
|
2848
|
+
code: "Address"
|
|
2849
|
+
}
|
|
2850
|
+
]
|
|
2851
|
+
},
|
|
2852
|
+
{
|
|
2853
|
+
id: "Practitioner.gender",
|
|
2854
|
+
path: "Practitioner.gender",
|
|
2855
|
+
definition: "Administrative Gender - the gender that the person is considered to have for administration and record keeping purposes.",
|
|
2856
|
+
min: 0,
|
|
2857
|
+
max: "1",
|
|
2858
|
+
type: [
|
|
2859
|
+
{
|
|
2860
|
+
code: "code"
|
|
2861
|
+
}
|
|
2862
|
+
],
|
|
2863
|
+
binding: {
|
|
2864
|
+
description: "The gender of a person used for administrative purposes.",
|
|
2865
|
+
valueSet: "https://hl7.org/fhir/ValueSet/administrative-gender|4.0.1"
|
|
2866
|
+
}
|
|
2867
|
+
},
|
|
2868
|
+
{
|
|
2869
|
+
id: "Practitioner.birthDate",
|
|
2870
|
+
path: "Practitioner.birthDate",
|
|
2871
|
+
definition: "The date of birth for the practitioner.",
|
|
2872
|
+
min: 0,
|
|
2873
|
+
max: "1",
|
|
2874
|
+
type: [
|
|
2875
|
+
{
|
|
2876
|
+
code: "date"
|
|
2877
|
+
}
|
|
2878
|
+
]
|
|
2879
|
+
},
|
|
2880
|
+
{
|
|
2881
|
+
id: "Practitioner.photo",
|
|
2882
|
+
path: "Practitioner.photo",
|
|
2883
|
+
definition: "Image of the person.",
|
|
2884
|
+
min: 0,
|
|
2885
|
+
max: "*",
|
|
2886
|
+
type: [
|
|
2887
|
+
{
|
|
2888
|
+
code: "Attachment"
|
|
2889
|
+
}
|
|
2890
|
+
]
|
|
2891
|
+
},
|
|
2892
|
+
{
|
|
2893
|
+
id: "Practitioner.qualification",
|
|
2894
|
+
path: "Practitioner.qualification",
|
|
2895
|
+
definition: "The official certifications, training, and licenses that authorize or otherwise pertain to the provision of care by the practitioner. For example, a medical license issued by a medical board authorizing the practitioner to practice medicine within a certian locality.",
|
|
2896
|
+
min: 0,
|
|
2897
|
+
max: "*",
|
|
2898
|
+
type: [
|
|
2899
|
+
{
|
|
2900
|
+
code: "BackboneElement"
|
|
2901
|
+
}
|
|
2902
|
+
]
|
|
2903
|
+
},
|
|
2904
|
+
{
|
|
2905
|
+
id: "Practitioner.qualification.id",
|
|
2906
|
+
path: "Practitioner.qualification.id",
|
|
2907
|
+
definition: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
|
|
2908
|
+
min: 0,
|
|
2909
|
+
max: "1",
|
|
2910
|
+
type: [
|
|
2911
|
+
{
|
|
2912
|
+
code: "https://hl7.org/fhirpath/System.String"
|
|
2913
|
+
}
|
|
2914
|
+
]
|
|
2915
|
+
},
|
|
2916
|
+
{
|
|
2917
|
+
id: "Practitioner.qualification.extension",
|
|
2918
|
+
path: "Practitioner.qualification.extension",
|
|
2919
|
+
definition: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
|
|
2920
|
+
min: 0,
|
|
2921
|
+
max: "*",
|
|
2922
|
+
type: [
|
|
2923
|
+
{
|
|
2924
|
+
code: "Extension"
|
|
2925
|
+
}
|
|
2926
|
+
]
|
|
2927
|
+
},
|
|
2928
|
+
{
|
|
2929
|
+
id: "Practitioner.qualification.modifierExtension",
|
|
2930
|
+
path: "Practitioner.qualification.modifierExtension",
|
|
2931
|
+
definition: "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
|
|
2932
|
+
min: 0,
|
|
2933
|
+
max: "*",
|
|
2934
|
+
type: [
|
|
2935
|
+
{
|
|
2936
|
+
code: "Extension"
|
|
2937
|
+
}
|
|
2938
|
+
]
|
|
2939
|
+
},
|
|
2940
|
+
{
|
|
2941
|
+
id: "Practitioner.qualification.identifier",
|
|
2942
|
+
path: "Practitioner.qualification.identifier",
|
|
2943
|
+
definition: "An identifier that applies to this person's qualification in this role.",
|
|
2944
|
+
min: 0,
|
|
2945
|
+
max: "*",
|
|
2946
|
+
type: [
|
|
2947
|
+
{
|
|
2948
|
+
code: "Identifier"
|
|
2949
|
+
}
|
|
2950
|
+
]
|
|
2951
|
+
},
|
|
2952
|
+
{
|
|
2953
|
+
id: "Practitioner.qualification.code",
|
|
2954
|
+
path: "Practitioner.qualification.code",
|
|
2955
|
+
definition: "Coded representation of the qualification.",
|
|
2956
|
+
min: 1,
|
|
2957
|
+
max: "1",
|
|
2958
|
+
type: [
|
|
2959
|
+
{
|
|
2960
|
+
code: "CodeableConcept"
|
|
2961
|
+
}
|
|
2962
|
+
],
|
|
2963
|
+
binding: {
|
|
2964
|
+
description: "Specific qualification the practitioner has to provide a service.",
|
|
2965
|
+
valueSet: "https://terminology.hl7.org/ValueSet/v2-2.7-0360"
|
|
2966
|
+
}
|
|
2967
|
+
},
|
|
2968
|
+
{
|
|
2969
|
+
id: "Practitioner.qualification.period",
|
|
2970
|
+
path: "Practitioner.qualification.period",
|
|
2971
|
+
definition: "Period during which the qualification is valid.",
|
|
2972
|
+
min: 0,
|
|
2973
|
+
max: "1",
|
|
2974
|
+
type: [
|
|
2975
|
+
{
|
|
2976
|
+
code: "Period"
|
|
2977
|
+
}
|
|
2978
|
+
]
|
|
2979
|
+
},
|
|
2980
|
+
{
|
|
2981
|
+
id: "Practitioner.qualification.issuer",
|
|
2982
|
+
path: "Practitioner.qualification.issuer",
|
|
2983
|
+
definition: "Organization that regulates and issues the qualification.",
|
|
2984
|
+
min: 0,
|
|
2985
|
+
max: "1",
|
|
2986
|
+
type: [
|
|
2987
|
+
{
|
|
2988
|
+
code: "Reference",
|
|
2989
|
+
targetProfile: [
|
|
2990
|
+
"https://hl7.org/fhir/StructureDefinition/Organization"
|
|
2991
|
+
]
|
|
2992
|
+
}
|
|
2993
|
+
]
|
|
2994
|
+
},
|
|
2995
|
+
{
|
|
2996
|
+
id: "Practitioner.communication",
|
|
2997
|
+
path: "Practitioner.communication",
|
|
2998
|
+
definition: "A language the practitioner can use in patient communication.",
|
|
2999
|
+
min: 0,
|
|
3000
|
+
max: "*",
|
|
3001
|
+
type: [
|
|
3002
|
+
{
|
|
3003
|
+
code: "CodeableConcept"
|
|
3004
|
+
}
|
|
3005
|
+
],
|
|
3006
|
+
binding: {
|
|
3007
|
+
description: "A human language.",
|
|
3008
|
+
valueSet: "https://hl7.org/fhir/ValueSet/languages"
|
|
3009
|
+
}
|
|
3010
|
+
}
|
|
3011
|
+
]
|
|
3012
|
+
}
|
|
3013
|
+
},
|
|
3014
|
+
{
|
|
3015
|
+
resourceType: "StructureDefinition",
|
|
3016
|
+
id: "Questionnaire",
|
|
3017
|
+
name: "Questionnaire",
|
|
3018
|
+
description: "A structured set of questions intended to guide the collection of answers from end-users. Questionnaires provide detailed control over order, presentation, phraseology and grouping to allow coherent, consistent data collection.",
|
|
3019
|
+
type: "Questionnaire",
|
|
3020
|
+
snapshot: {
|
|
3021
|
+
element: [
|
|
3022
|
+
{
|
|
3023
|
+
id: "Questionnaire",
|
|
3024
|
+
path: "Questionnaire",
|
|
3025
|
+
definition: "A structured set of questions intended to guide the collection of answers from end-users. Questionnaires provide detailed control over order, presentation, phraseology and grouping to allow coherent, consistent data collection.",
|
|
3026
|
+
min: 0,
|
|
3027
|
+
max: "*"
|
|
3028
|
+
},
|
|
3029
|
+
{
|
|
3030
|
+
id: "Questionnaire.id",
|
|
3031
|
+
path: "Questionnaire.id",
|
|
3032
|
+
definition: "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
|
|
3033
|
+
min: 0,
|
|
3034
|
+
max: "1",
|
|
3035
|
+
type: [
|
|
3036
|
+
{
|
|
3037
|
+
code: "https://hl7.org/fhirpath/System.String"
|
|
3038
|
+
}
|
|
3039
|
+
]
|
|
3040
|
+
},
|
|
3041
|
+
{
|
|
3042
|
+
id: "Questionnaire.meta",
|
|
3043
|
+
path: "Questionnaire.meta",
|
|
3044
|
+
definition: "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.",
|
|
3045
|
+
min: 0,
|
|
3046
|
+
max: "1",
|
|
3047
|
+
type: [
|
|
3048
|
+
{
|
|
3049
|
+
code: "Meta"
|
|
3050
|
+
}
|
|
3051
|
+
]
|
|
3052
|
+
},
|
|
3053
|
+
{
|
|
3054
|
+
id: "Questionnaire.implicitRules",
|
|
3055
|
+
path: "Questionnaire.implicitRules",
|
|
3056
|
+
definition: "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.",
|
|
3057
|
+
min: 0,
|
|
3058
|
+
max: "1",
|
|
3059
|
+
type: [
|
|
3060
|
+
{
|
|
3061
|
+
code: "uri"
|
|
3062
|
+
}
|
|
3063
|
+
]
|
|
3064
|
+
},
|
|
3065
|
+
{
|
|
3066
|
+
id: "Questionnaire.language",
|
|
3067
|
+
path: "Questionnaire.language",
|
|
3068
|
+
definition: "The base language in which the resource is written.",
|
|
3069
|
+
min: 0,
|
|
3070
|
+
max: "1",
|
|
3071
|
+
type: [
|
|
3072
|
+
{
|
|
3073
|
+
code: "code"
|
|
3074
|
+
}
|
|
3075
|
+
],
|
|
3076
|
+
binding: {
|
|
3077
|
+
description: "A human language.",
|
|
3078
|
+
valueSet: "https://hl7.org/fhir/ValueSet/languages"
|
|
3079
|
+
}
|
|
3080
|
+
},
|
|
3081
|
+
{
|
|
3082
|
+
id: "Questionnaire.text",
|
|
3083
|
+
path: "Questionnaire.text",
|
|
3084
|
+
definition: "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.",
|
|
3085
|
+
min: 0,
|
|
3086
|
+
max: "1",
|
|
3087
|
+
type: [
|
|
3088
|
+
{
|
|
3089
|
+
code: "Narrative"
|
|
3090
|
+
}
|
|
3091
|
+
]
|
|
3092
|
+
},
|
|
3093
|
+
{
|
|
3094
|
+
id: "Questionnaire.contained",
|
|
3095
|
+
path: "Questionnaire.contained",
|
|
3096
|
+
definition: "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.",
|
|
3097
|
+
min: 0,
|
|
3098
|
+
max: "*",
|
|
3099
|
+
type: [
|
|
3100
|
+
{
|
|
3101
|
+
code: "Resource"
|
|
3102
|
+
}
|
|
3103
|
+
]
|
|
3104
|
+
},
|
|
3105
|
+
{
|
|
3106
|
+
id: "Questionnaire.extension",
|
|
3107
|
+
path: "Questionnaire.extension",
|
|
3108
|
+
definition: "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
|
|
3109
|
+
min: 0,
|
|
3110
|
+
max: "*",
|
|
3111
|
+
type: [
|
|
3112
|
+
{
|
|
3113
|
+
code: "Extension"
|
|
3114
|
+
}
|
|
3115
|
+
]
|
|
3116
|
+
},
|
|
3117
|
+
{
|
|
3118
|
+
id: "Questionnaire.modifierExtension",
|
|
3119
|
+
path: "Questionnaire.modifierExtension",
|
|
3120
|
+
definition: "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
|
|
3121
|
+
min: 0,
|
|
3122
|
+
max: "*",
|
|
3123
|
+
type: [
|
|
3124
|
+
{
|
|
3125
|
+
code: "Extension"
|
|
3126
|
+
}
|
|
3127
|
+
]
|
|
3128
|
+
},
|
|
3129
|
+
{
|
|
3130
|
+
id: "Questionnaire.url",
|
|
3131
|
+
path: "Questionnaire.url",
|
|
3132
|
+
definition: "An absolute URI that is used to identify this questionnaire when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this questionnaire is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the questionnaire is stored on different servers.",
|
|
3133
|
+
min: 0,
|
|
3134
|
+
max: "1",
|
|
3135
|
+
type: [
|
|
3136
|
+
{
|
|
3137
|
+
code: "uri"
|
|
3138
|
+
}
|
|
3139
|
+
]
|
|
3140
|
+
},
|
|
3141
|
+
{
|
|
3142
|
+
id: "Questionnaire.identifier",
|
|
3143
|
+
path: "Questionnaire.identifier",
|
|
3144
|
+
definition: "A formal identifier that is used to identify this questionnaire when it is represented in other formats, or referenced in a specification, model, design or an instance.",
|
|
3145
|
+
min: 0,
|
|
3146
|
+
max: "*",
|
|
3147
|
+
type: [
|
|
3148
|
+
{
|
|
3149
|
+
code: "Identifier"
|
|
3150
|
+
}
|
|
3151
|
+
]
|
|
3152
|
+
},
|
|
3153
|
+
{
|
|
3154
|
+
id: "Questionnaire.version",
|
|
3155
|
+
path: "Questionnaire.version",
|
|
3156
|
+
definition: "The identifier that is used to identify this version of the questionnaire when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the questionnaire author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence.",
|
|
3157
|
+
min: 0,
|
|
3158
|
+
max: "1",
|
|
3159
|
+
type: [
|
|
3160
|
+
{
|
|
3161
|
+
code: "string"
|
|
3162
|
+
}
|
|
3163
|
+
]
|
|
3164
|
+
},
|
|
3165
|
+
{
|
|
3166
|
+
id: "Questionnaire.name",
|
|
3167
|
+
path: "Questionnaire.name",
|
|
3168
|
+
definition: "A natural language name identifying the questionnaire. This name should be usable as an identifier for the module by machine processing applications such as code generation.",
|
|
3169
|
+
min: 0,
|
|
3170
|
+
max: "1",
|
|
3171
|
+
type: [
|
|
3172
|
+
{
|
|
3173
|
+
code: "string"
|
|
3174
|
+
}
|
|
3175
|
+
]
|
|
3176
|
+
},
|
|
3177
|
+
{
|
|
3178
|
+
id: "Questionnaire.title",
|
|
3179
|
+
path: "Questionnaire.title",
|
|
3180
|
+
definition: "A short, descriptive, user-friendly title for the questionnaire.",
|
|
3181
|
+
min: 0,
|
|
3182
|
+
max: "1",
|
|
3183
|
+
type: [
|
|
3184
|
+
{
|
|
3185
|
+
code: "string"
|
|
3186
|
+
}
|
|
3187
|
+
]
|
|
3188
|
+
},
|
|
3189
|
+
{
|
|
3190
|
+
id: "Questionnaire.derivedFrom",
|
|
3191
|
+
path: "Questionnaire.derivedFrom",
|
|
3192
|
+
definition: "The URL of a Questionnaire that this Questionnaire is based on.",
|
|
3193
|
+
min: 0,
|
|
3194
|
+
max: "*",
|
|
3195
|
+
type: [
|
|
3196
|
+
{
|
|
3197
|
+
code: "canonical",
|
|
3198
|
+
targetProfile: [
|
|
3199
|
+
"https://hl7.org/fhir/StructureDefinition/Questionnaire"
|
|
3200
|
+
]
|
|
3201
|
+
}
|
|
3202
|
+
]
|
|
3203
|
+
},
|
|
3204
|
+
{
|
|
3205
|
+
id: "Questionnaire.status",
|
|
3206
|
+
path: "Questionnaire.status",
|
|
3207
|
+
definition: "The status of this questionnaire. Enables tracking the life-cycle of the content.",
|
|
3208
|
+
min: 1,
|
|
3209
|
+
max: "1",
|
|
3210
|
+
type: [
|
|
3211
|
+
{
|
|
3212
|
+
code: "code"
|
|
3213
|
+
}
|
|
3214
|
+
],
|
|
3215
|
+
binding: {
|
|
3216
|
+
description: "The lifecycle status of an artifact.",
|
|
3217
|
+
valueSet: "https://hl7.org/fhir/ValueSet/publication-status|4.0.1"
|
|
3218
|
+
}
|
|
3219
|
+
},
|
|
3220
|
+
{
|
|
3221
|
+
id: "Questionnaire.experimental",
|
|
3222
|
+
path: "Questionnaire.experimental",
|
|
3223
|
+
definition: "A Boolean value to indicate that this questionnaire is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage.",
|
|
3224
|
+
min: 0,
|
|
3225
|
+
max: "1",
|
|
3226
|
+
type: [
|
|
3227
|
+
{
|
|
3228
|
+
code: "boolean"
|
|
3229
|
+
}
|
|
3230
|
+
]
|
|
3231
|
+
},
|
|
3232
|
+
{
|
|
3233
|
+
id: "Questionnaire.subjectType",
|
|
3234
|
+
path: "Questionnaire.subjectType",
|
|
3235
|
+
definition: "The types of subjects that can be the subject of responses created for the questionnaire.",
|
|
3236
|
+
min: 0,
|
|
3237
|
+
max: "*",
|
|
3238
|
+
type: [
|
|
3239
|
+
{
|
|
3240
|
+
code: "code"
|
|
3241
|
+
}
|
|
3242
|
+
],
|
|
3243
|
+
binding: {
|
|
3244
|
+
description: "One of the resource types defined as part of this version of FHIR.",
|
|
3245
|
+
valueSet: "https://hl7.org/fhir/ValueSet/resource-types|4.0.1"
|
|
3246
|
+
}
|
|
3247
|
+
},
|
|
3248
|
+
{
|
|
3249
|
+
id: "Questionnaire.date",
|
|
3250
|
+
path: "Questionnaire.date",
|
|
3251
|
+
definition: "The date (and optionally time) when the questionnaire was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the questionnaire changes.",
|
|
3252
|
+
min: 0,
|
|
3253
|
+
max: "1",
|
|
3254
|
+
type: [
|
|
3255
|
+
{
|
|
3256
|
+
code: "dateTime"
|
|
3257
|
+
}
|
|
3258
|
+
]
|
|
3259
|
+
},
|
|
3260
|
+
{
|
|
3261
|
+
id: "Questionnaire.publisher",
|
|
3262
|
+
path: "Questionnaire.publisher",
|
|
3263
|
+
definition: "The name of the organization or individual that published the questionnaire.",
|
|
3264
|
+
min: 0,
|
|
3265
|
+
max: "1",
|
|
3266
|
+
type: [
|
|
3267
|
+
{
|
|
3268
|
+
code: "string"
|
|
3269
|
+
}
|
|
3270
|
+
]
|
|
3271
|
+
},
|
|
3272
|
+
{
|
|
3273
|
+
id: "Questionnaire.contact",
|
|
3274
|
+
path: "Questionnaire.contact",
|
|
3275
|
+
definition: "Contact details to assist a user in finding and communicating with the publisher.",
|
|
3276
|
+
min: 0,
|
|
3277
|
+
max: "*",
|
|
3278
|
+
type: [
|
|
3279
|
+
{
|
|
3280
|
+
code: "ContactDetail"
|
|
3281
|
+
}
|
|
3282
|
+
]
|
|
3283
|
+
},
|
|
3284
|
+
{
|
|
3285
|
+
id: "Questionnaire.description",
|
|
3286
|
+
path: "Questionnaire.description",
|
|
3287
|
+
definition: "A free text natural language description of the questionnaire from a consumer's perspective.",
|
|
3288
|
+
min: 0,
|
|
3289
|
+
max: "1",
|
|
3290
|
+
type: [
|
|
3291
|
+
{
|
|
3292
|
+
code: "markdown"
|
|
3293
|
+
}
|
|
3294
|
+
]
|
|
3295
|
+
},
|
|
3296
|
+
{
|
|
3297
|
+
id: "Questionnaire.useContext",
|
|
3298
|
+
path: "Questionnaire.useContext",
|
|
3299
|
+
definition: "The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate questionnaire instances.",
|
|
3300
|
+
min: 0,
|
|
3301
|
+
max: "*",
|
|
3302
|
+
type: [
|
|
3303
|
+
{
|
|
3304
|
+
code: "UsageContext"
|
|
3305
|
+
}
|
|
3306
|
+
]
|
|
3307
|
+
},
|
|
3308
|
+
{
|
|
3309
|
+
id: "Questionnaire.jurisdiction",
|
|
3310
|
+
path: "Questionnaire.jurisdiction",
|
|
3311
|
+
definition: "A legal or geographic region in which the questionnaire is intended to be used.",
|
|
3312
|
+
min: 0,
|
|
3313
|
+
max: "*",
|
|
3314
|
+
type: [
|
|
3315
|
+
{
|
|
3316
|
+
code: "CodeableConcept"
|
|
3317
|
+
}
|
|
3318
|
+
],
|
|
3319
|
+
binding: {
|
|
3320
|
+
description: "Countries and regions within which this artifact is targeted for use.",
|
|
3321
|
+
valueSet: "https://hl7.org/fhir/ValueSet/jurisdiction"
|
|
3322
|
+
}
|
|
3323
|
+
},
|
|
3324
|
+
{
|
|
3325
|
+
id: "Questionnaire.purpose",
|
|
3326
|
+
path: "Questionnaire.purpose",
|
|
3327
|
+
definition: "Explanation of why this questionnaire is needed and why it has been designed as it has.",
|
|
3328
|
+
min: 0,
|
|
3329
|
+
max: "1",
|
|
3330
|
+
type: [
|
|
3331
|
+
{
|
|
3332
|
+
code: "markdown"
|
|
3333
|
+
}
|
|
3334
|
+
]
|
|
3335
|
+
},
|
|
3336
|
+
{
|
|
3337
|
+
id: "Questionnaire.copyright",
|
|
3338
|
+
path: "Questionnaire.copyright",
|
|
3339
|
+
definition: "A copyright statement relating to the questionnaire and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the questionnaire.",
|
|
3340
|
+
min: 0,
|
|
3341
|
+
max: "1",
|
|
3342
|
+
type: [
|
|
3343
|
+
{
|
|
3344
|
+
code: "markdown"
|
|
3345
|
+
}
|
|
3346
|
+
]
|
|
3347
|
+
},
|
|
3348
|
+
{
|
|
3349
|
+
id: "Questionnaire.approvalDate",
|
|
3350
|
+
path: "Questionnaire.approvalDate",
|
|
3351
|
+
definition: "The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage.",
|
|
3352
|
+
min: 0,
|
|
3353
|
+
max: "1",
|
|
3354
|
+
type: [
|
|
3355
|
+
{
|
|
3356
|
+
code: "date"
|
|
3357
|
+
}
|
|
3358
|
+
]
|
|
3359
|
+
},
|
|
3360
|
+
{
|
|
3361
|
+
id: "Questionnaire.lastReviewDate",
|
|
3362
|
+
path: "Questionnaire.lastReviewDate",
|
|
3363
|
+
definition: "The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date.",
|
|
3364
|
+
min: 0,
|
|
3365
|
+
max: "1",
|
|
3366
|
+
type: [
|
|
3367
|
+
{
|
|
3368
|
+
code: "date"
|
|
3369
|
+
}
|
|
3370
|
+
]
|
|
3371
|
+
},
|
|
3372
|
+
{
|
|
3373
|
+
id: "Questionnaire.effectivePeriod",
|
|
3374
|
+
path: "Questionnaire.effectivePeriod",
|
|
3375
|
+
definition: "The period during which the questionnaire content was or is planned to be in active use.",
|
|
3376
|
+
min: 0,
|
|
3377
|
+
max: "1",
|
|
3378
|
+
type: [
|
|
3379
|
+
{
|
|
3380
|
+
code: "Period"
|
|
3381
|
+
}
|
|
3382
|
+
]
|
|
3383
|
+
},
|
|
3384
|
+
{
|
|
3385
|
+
id: "Questionnaire.code",
|
|
3386
|
+
path: "Questionnaire.code",
|
|
3387
|
+
definition: "An identifier for this question or group of questions in a particular terminology such as LOINC.",
|
|
3388
|
+
min: 0,
|
|
3389
|
+
max: "*",
|
|
3390
|
+
type: [
|
|
3391
|
+
{
|
|
3392
|
+
code: "Coding"
|
|
3393
|
+
}
|
|
3394
|
+
],
|
|
3395
|
+
binding: {
|
|
3396
|
+
description: "Codes for questionnaires, groups and individual questions.",
|
|
3397
|
+
valueSet: "https://hl7.org/fhir/ValueSet/questionnaire-questions"
|
|
3398
|
+
}
|
|
3399
|
+
},
|
|
3400
|
+
{
|
|
3401
|
+
id: "Questionnaire.item",
|
|
3402
|
+
path: "Questionnaire.item",
|
|
3403
|
+
definition: "A particular question, question grouping or display text that is part of the questionnaire.",
|
|
3404
|
+
min: 0,
|
|
3405
|
+
max: "*",
|
|
3406
|
+
type: [
|
|
3407
|
+
{
|
|
3408
|
+
code: "BackboneElement"
|
|
3409
|
+
}
|
|
3410
|
+
]
|
|
3411
|
+
},
|
|
3412
|
+
{
|
|
3413
|
+
id: "Questionnaire.item.id",
|
|
3414
|
+
path: "Questionnaire.item.id",
|
|
3415
|
+
definition: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
|
|
3416
|
+
min: 0,
|
|
3417
|
+
max: "1",
|
|
3418
|
+
type: [
|
|
3419
|
+
{
|
|
3420
|
+
code: "https://hl7.org/fhirpath/System.String"
|
|
3421
|
+
}
|
|
3422
|
+
]
|
|
3423
|
+
},
|
|
3424
|
+
{
|
|
3425
|
+
id: "Questionnaire.item.extension",
|
|
3426
|
+
path: "Questionnaire.item.extension",
|
|
3427
|
+
definition: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
|
|
3428
|
+
min: 0,
|
|
3429
|
+
max: "*",
|
|
3430
|
+
type: [
|
|
3431
|
+
{
|
|
3432
|
+
code: "Extension"
|
|
3433
|
+
}
|
|
3434
|
+
]
|
|
3435
|
+
},
|
|
3436
|
+
{
|
|
3437
|
+
id: "Questionnaire.item.modifierExtension",
|
|
3438
|
+
path: "Questionnaire.item.modifierExtension",
|
|
3439
|
+
definition: "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
|
|
3440
|
+
min: 0,
|
|
3441
|
+
max: "*",
|
|
3442
|
+
type: [
|
|
3443
|
+
{
|
|
3444
|
+
code: "Extension"
|
|
3445
|
+
}
|
|
3446
|
+
]
|
|
3447
|
+
},
|
|
3448
|
+
{
|
|
3449
|
+
id: "Questionnaire.item.linkId",
|
|
3450
|
+
path: "Questionnaire.item.linkId",
|
|
3451
|
+
definition: "An identifier that is unique within the Questionnaire allowing linkage to the equivalent item in a QuestionnaireResponse resource.",
|
|
3452
|
+
min: 1,
|
|
3453
|
+
max: "1",
|
|
3454
|
+
type: [
|
|
3455
|
+
{
|
|
3456
|
+
code: "string"
|
|
3457
|
+
}
|
|
3458
|
+
]
|
|
3459
|
+
},
|
|
3460
|
+
{
|
|
3461
|
+
id: "Questionnaire.item.definition",
|
|
3462
|
+
path: "Questionnaire.item.definition",
|
|
3463
|
+
definition: "This element is a URI that refers to an [ElementDefinition](elementdefinition.html) that provides information about this item, including information that might otherwise be included in the instance of the Questionnaire resource. A detailed description of the construction of the URI is shown in Comments, below. If this element is present then the following element values MAY be derived from the Element Definition if the corresponding elements of this Questionnaire resource instance have no value:\n\n* code (ElementDefinition.code) \n* type (ElementDefinition.type) \n* required (ElementDefinition.min) \n* repeats (ElementDefinition.max) \n* maxLength (ElementDefinition.maxLength) \n* answerValueSet (ElementDefinition.binding)\n* options (ElementDefinition.binding).",
|
|
3464
|
+
min: 0,
|
|
3465
|
+
max: "1",
|
|
3466
|
+
type: [
|
|
3467
|
+
{
|
|
3468
|
+
code: "uri"
|
|
3469
|
+
}
|
|
3470
|
+
]
|
|
3471
|
+
},
|
|
3472
|
+
{
|
|
3473
|
+
id: "Questionnaire.item.code",
|
|
3474
|
+
path: "Questionnaire.item.code",
|
|
3475
|
+
definition: "A terminology code that corresponds to this group or question (e.g. a code from LOINC, which defines many questions and answers).",
|
|
3476
|
+
min: 0,
|
|
3477
|
+
max: "*",
|
|
3478
|
+
type: [
|
|
3479
|
+
{
|
|
3480
|
+
code: "Coding"
|
|
3481
|
+
}
|
|
3482
|
+
],
|
|
3483
|
+
binding: {
|
|
3484
|
+
description: "Codes for questionnaires, groups and individual questions.",
|
|
3485
|
+
valueSet: "https://hl7.org/fhir/ValueSet/questionnaire-questions"
|
|
3486
|
+
}
|
|
3487
|
+
},
|
|
3488
|
+
{
|
|
3489
|
+
id: "Questionnaire.item.prefix",
|
|
3490
|
+
path: "Questionnaire.item.prefix",
|
|
3491
|
+
definition: "A short label for a particular group, question or set of display text within the questionnaire used for reference by the individual completing the questionnaire.",
|
|
3492
|
+
min: 0,
|
|
3493
|
+
max: "1",
|
|
3494
|
+
type: [
|
|
3495
|
+
{
|
|
3496
|
+
code: "string"
|
|
3497
|
+
}
|
|
3498
|
+
]
|
|
3499
|
+
},
|
|
3500
|
+
{
|
|
3501
|
+
id: "Questionnaire.item.text",
|
|
3502
|
+
path: "Questionnaire.item.text",
|
|
3503
|
+
definition: "The name of a section, the text of a question or text content for a display item.",
|
|
3504
|
+
min: 0,
|
|
3505
|
+
max: "1",
|
|
3506
|
+
type: [
|
|
3507
|
+
{
|
|
3508
|
+
code: "string"
|
|
3509
|
+
}
|
|
3510
|
+
]
|
|
3511
|
+
},
|
|
3512
|
+
{
|
|
3513
|
+
id: "Questionnaire.item.type",
|
|
3514
|
+
path: "Questionnaire.item.type",
|
|
3515
|
+
definition: "The type of questionnaire item this is - whether text for display, a grouping of other items or a particular type of data to be captured (string, integer, coded choice, etc.).",
|
|
3516
|
+
min: 1,
|
|
3517
|
+
max: "1",
|
|
3518
|
+
type: [
|
|
3519
|
+
{
|
|
3520
|
+
code: "code"
|
|
3521
|
+
}
|
|
3522
|
+
],
|
|
3523
|
+
binding: {
|
|
3524
|
+
description: "Distinguishes groups from questions and display text and indicates data type for questions.",
|
|
3525
|
+
valueSet: "https://hl7.org/fhir/ValueSet/item-type|4.0.1"
|
|
3526
|
+
}
|
|
3527
|
+
},
|
|
3528
|
+
{
|
|
3529
|
+
id: "Questionnaire.item.enableWhen",
|
|
3530
|
+
path: "Questionnaire.item.enableWhen",
|
|
3531
|
+
definition: "A constraint indicating that this item should only be enabled (displayed/allow answers to be captured) when the specified condition is true.",
|
|
3532
|
+
min: 0,
|
|
3533
|
+
max: "*",
|
|
3534
|
+
type: [
|
|
3535
|
+
{
|
|
3536
|
+
code: "BackboneElement"
|
|
3537
|
+
}
|
|
3538
|
+
]
|
|
3539
|
+
},
|
|
3540
|
+
{
|
|
3541
|
+
id: "Questionnaire.item.enableWhen.id",
|
|
3542
|
+
path: "Questionnaire.item.enableWhen.id",
|
|
3543
|
+
definition: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
|
|
3544
|
+
min: 0,
|
|
3545
|
+
max: "1",
|
|
3546
|
+
type: [
|
|
3547
|
+
{
|
|
3548
|
+
code: "https://hl7.org/fhirpath/System.String"
|
|
3549
|
+
}
|
|
3550
|
+
]
|
|
3551
|
+
},
|
|
3552
|
+
{
|
|
3553
|
+
id: "Questionnaire.item.enableWhen.extension",
|
|
3554
|
+
path: "Questionnaire.item.enableWhen.extension",
|
|
3555
|
+
definition: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
|
|
3556
|
+
min: 0,
|
|
3557
|
+
max: "*",
|
|
3558
|
+
type: [
|
|
3559
|
+
{
|
|
3560
|
+
code: "Extension"
|
|
3561
|
+
}
|
|
3562
|
+
]
|
|
3563
|
+
},
|
|
3564
|
+
{
|
|
3565
|
+
id: "Questionnaire.item.enableWhen.modifierExtension",
|
|
3566
|
+
path: "Questionnaire.item.enableWhen.modifierExtension",
|
|
3567
|
+
definition: "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
|
|
3568
|
+
min: 0,
|
|
3569
|
+
max: "*",
|
|
3570
|
+
type: [
|
|
3571
|
+
{
|
|
3572
|
+
code: "Extension"
|
|
3573
|
+
}
|
|
3574
|
+
]
|
|
3575
|
+
},
|
|
3576
|
+
{
|
|
3577
|
+
id: "Questionnaire.item.enableWhen.question",
|
|
3578
|
+
path: "Questionnaire.item.enableWhen.question",
|
|
3579
|
+
definition: "The linkId for the question whose answer (or lack of answer) governs whether this item is enabled.",
|
|
3580
|
+
min: 1,
|
|
3581
|
+
max: "1",
|
|
3582
|
+
type: [
|
|
3583
|
+
{
|
|
3584
|
+
code: "string"
|
|
3585
|
+
}
|
|
3586
|
+
]
|
|
3587
|
+
},
|
|
3588
|
+
{
|
|
3589
|
+
id: "Questionnaire.item.enableWhen.operator",
|
|
3590
|
+
path: "Questionnaire.item.enableWhen.operator",
|
|
3591
|
+
definition: "Specifies the criteria by which the question is enabled.",
|
|
3592
|
+
min: 1,
|
|
3593
|
+
max: "1",
|
|
3594
|
+
type: [
|
|
3595
|
+
{
|
|
3596
|
+
code: "code"
|
|
3597
|
+
}
|
|
3598
|
+
],
|
|
3599
|
+
binding: {
|
|
3600
|
+
description: "The criteria by which a question is enabled.",
|
|
3601
|
+
valueSet: "https://hl7.org/fhir/ValueSet/questionnaire-enable-operator|4.0.1"
|
|
3602
|
+
}
|
|
3603
|
+
},
|
|
3604
|
+
{
|
|
3605
|
+
id: "Questionnaire.item.enableWhen.answer[x]",
|
|
3606
|
+
path: "Questionnaire.item.enableWhen.answer[x]",
|
|
3607
|
+
definition: "A value that the referenced question is tested using the specified operator in order for the item to be enabled.",
|
|
3608
|
+
min: 1,
|
|
3609
|
+
max: "1",
|
|
3610
|
+
type: [
|
|
3611
|
+
{
|
|
3612
|
+
code: "boolean"
|
|
3613
|
+
},
|
|
3614
|
+
{
|
|
3615
|
+
code: "decimal"
|
|
3616
|
+
},
|
|
3617
|
+
{
|
|
3618
|
+
code: "integer"
|
|
3619
|
+
},
|
|
3620
|
+
{
|
|
3621
|
+
code: "date"
|
|
3622
|
+
},
|
|
3623
|
+
{
|
|
3624
|
+
code: "dateTime"
|
|
3625
|
+
},
|
|
3626
|
+
{
|
|
3627
|
+
code: "time"
|
|
3628
|
+
},
|
|
3629
|
+
{
|
|
3630
|
+
code: "string"
|
|
3631
|
+
},
|
|
3632
|
+
{
|
|
3633
|
+
code: "Coding"
|
|
3634
|
+
},
|
|
3635
|
+
{
|
|
3636
|
+
code: "Quantity"
|
|
3637
|
+
},
|
|
3638
|
+
{
|
|
3639
|
+
code: "Reference",
|
|
3640
|
+
targetProfile: [
|
|
3641
|
+
"https://hl7.org/fhir/StructureDefinition/Resource"
|
|
3642
|
+
]
|
|
3643
|
+
}
|
|
3644
|
+
],
|
|
3645
|
+
binding: {
|
|
3646
|
+
description: "Allowed values to answer questions.",
|
|
3647
|
+
valueSet: "https://hl7.org/fhir/ValueSet/questionnaire-answers"
|
|
3648
|
+
}
|
|
3649
|
+
},
|
|
3650
|
+
{
|
|
3651
|
+
id: "Questionnaire.item.enableBehavior",
|
|
3652
|
+
path: "Questionnaire.item.enableBehavior",
|
|
3653
|
+
definition: "Controls how multiple enableWhen values are interpreted - whether all or any must be true.",
|
|
3654
|
+
min: 0,
|
|
3655
|
+
max: "1",
|
|
3656
|
+
type: [
|
|
3657
|
+
{
|
|
3658
|
+
code: "code"
|
|
3659
|
+
}
|
|
3660
|
+
],
|
|
3661
|
+
binding: {
|
|
3662
|
+
description: "Controls how multiple enableWhen values are interpreted - whether all or any must be true.",
|
|
3663
|
+
valueSet: "https://hl7.org/fhir/ValueSet/questionnaire-enable-behavior|4.0.1"
|
|
3664
|
+
}
|
|
3665
|
+
},
|
|
3666
|
+
{
|
|
3667
|
+
id: "Questionnaire.item.required",
|
|
3668
|
+
path: "Questionnaire.item.required",
|
|
3669
|
+
definition: "An indication, if true, that the item must be present in a \"completed\" QuestionnaireResponse. If false, the item may be skipped when answering the questionnaire.",
|
|
3670
|
+
min: 0,
|
|
3671
|
+
max: "1",
|
|
3672
|
+
type: [
|
|
3673
|
+
{
|
|
3674
|
+
code: "boolean"
|
|
3675
|
+
}
|
|
3676
|
+
]
|
|
3677
|
+
},
|
|
3678
|
+
{
|
|
3679
|
+
id: "Questionnaire.item.repeats",
|
|
3680
|
+
path: "Questionnaire.item.repeats",
|
|
3681
|
+
definition: "An indication, if true, that the item may occur multiple times in the response, collecting multiple answers for questions or multiple sets of answers for groups.",
|
|
3682
|
+
min: 0,
|
|
3683
|
+
max: "1",
|
|
3684
|
+
type: [
|
|
3685
|
+
{
|
|
3686
|
+
code: "boolean"
|
|
3687
|
+
}
|
|
3688
|
+
]
|
|
3689
|
+
},
|
|
3690
|
+
{
|
|
3691
|
+
id: "Questionnaire.item.readOnly",
|
|
3692
|
+
path: "Questionnaire.item.readOnly",
|
|
3693
|
+
definition: "An indication, when true, that the value cannot be changed by a human respondent to the Questionnaire.",
|
|
3694
|
+
min: 0,
|
|
3695
|
+
max: "1",
|
|
3696
|
+
type: [
|
|
3697
|
+
{
|
|
3698
|
+
code: "boolean"
|
|
3699
|
+
}
|
|
3700
|
+
]
|
|
3701
|
+
},
|
|
3702
|
+
{
|
|
3703
|
+
id: "Questionnaire.item.maxLength",
|
|
3704
|
+
path: "Questionnaire.item.maxLength",
|
|
3705
|
+
definition: "The maximum number of characters that are permitted in the answer to be considered a \"valid\" QuestionnaireResponse.",
|
|
3706
|
+
min: 0,
|
|
3707
|
+
max: "1",
|
|
3708
|
+
type: [
|
|
3709
|
+
{
|
|
3710
|
+
code: "integer"
|
|
3711
|
+
}
|
|
3712
|
+
]
|
|
3713
|
+
},
|
|
3714
|
+
{
|
|
3715
|
+
id: "Questionnaire.item.answerValueSet",
|
|
3716
|
+
path: "Questionnaire.item.answerValueSet",
|
|
3717
|
+
definition: "A reference to a value set containing a list of codes representing permitted answers for a \"choice\" or \"open-choice\" question.",
|
|
3718
|
+
min: 0,
|
|
3719
|
+
max: "1",
|
|
3720
|
+
type: [
|
|
3721
|
+
{
|
|
3722
|
+
code: "canonical",
|
|
3723
|
+
targetProfile: [
|
|
3724
|
+
"https://hl7.org/fhir/StructureDefinition/ValueSet"
|
|
3725
|
+
]
|
|
3726
|
+
}
|
|
3727
|
+
]
|
|
3728
|
+
},
|
|
3729
|
+
{
|
|
3730
|
+
id: "Questionnaire.item.answerOption",
|
|
3731
|
+
path: "Questionnaire.item.answerOption",
|
|
3732
|
+
definition: "One of the permitted answers for a \"choice\" or \"open-choice\" question.",
|
|
3733
|
+
min: 0,
|
|
3734
|
+
max: "*",
|
|
3735
|
+
type: [
|
|
3736
|
+
{
|
|
3737
|
+
code: "BackboneElement"
|
|
3738
|
+
}
|
|
3739
|
+
]
|
|
3740
|
+
},
|
|
3741
|
+
{
|
|
3742
|
+
id: "Questionnaire.item.answerOption.id",
|
|
3743
|
+
path: "Questionnaire.item.answerOption.id",
|
|
3744
|
+
definition: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
|
|
3745
|
+
min: 0,
|
|
3746
|
+
max: "1",
|
|
3747
|
+
type: [
|
|
3748
|
+
{
|
|
3749
|
+
code: "https://hl7.org/fhirpath/System.String"
|
|
3750
|
+
}
|
|
3751
|
+
]
|
|
3752
|
+
},
|
|
3753
|
+
{
|
|
3754
|
+
id: "Questionnaire.item.answerOption.extension",
|
|
3755
|
+
path: "Questionnaire.item.answerOption.extension",
|
|
3756
|
+
definition: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
|
|
3757
|
+
min: 0,
|
|
3758
|
+
max: "*",
|
|
3759
|
+
type: [
|
|
3760
|
+
{
|
|
3761
|
+
code: "Extension"
|
|
3762
|
+
}
|
|
3763
|
+
]
|
|
3764
|
+
},
|
|
3765
|
+
{
|
|
3766
|
+
id: "Questionnaire.item.answerOption.modifierExtension",
|
|
3767
|
+
path: "Questionnaire.item.answerOption.modifierExtension",
|
|
3768
|
+
definition: "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
|
|
3769
|
+
min: 0,
|
|
3770
|
+
max: "*",
|
|
3771
|
+
type: [
|
|
3772
|
+
{
|
|
3773
|
+
code: "Extension"
|
|
3774
|
+
}
|
|
3775
|
+
]
|
|
3776
|
+
},
|
|
3777
|
+
{
|
|
3778
|
+
id: "Questionnaire.item.answerOption.value[x]",
|
|
3779
|
+
path: "Questionnaire.item.answerOption.value[x]",
|
|
3780
|
+
definition: "A potential answer that's allowed as the answer to this question.",
|
|
3781
|
+
min: 1,
|
|
3782
|
+
max: "1",
|
|
3783
|
+
type: [
|
|
3784
|
+
{
|
|
3785
|
+
code: "integer"
|
|
3786
|
+
},
|
|
3787
|
+
{
|
|
3788
|
+
code: "date"
|
|
3789
|
+
},
|
|
3790
|
+
{
|
|
3791
|
+
code: "time"
|
|
3792
|
+
},
|
|
3793
|
+
{
|
|
3794
|
+
code: "string"
|
|
3795
|
+
},
|
|
3796
|
+
{
|
|
3797
|
+
code: "Coding"
|
|
3798
|
+
},
|
|
3799
|
+
{
|
|
3800
|
+
code: "Reference",
|
|
3801
|
+
targetProfile: [
|
|
3802
|
+
"https://hl7.org/fhir/StructureDefinition/Resource"
|
|
3803
|
+
]
|
|
3804
|
+
}
|
|
3805
|
+
],
|
|
3806
|
+
binding: {
|
|
3807
|
+
description: "Allowed values to answer questions.",
|
|
3808
|
+
valueSet: "https://hl7.org/fhir/ValueSet/questionnaire-answers"
|
|
3809
|
+
}
|
|
3810
|
+
},
|
|
3811
|
+
{
|
|
3812
|
+
id: "Questionnaire.item.answerOption.initialSelected",
|
|
3813
|
+
path: "Questionnaire.item.answerOption.initialSelected",
|
|
3814
|
+
definition: "Indicates whether the answer value is selected when the list of possible answers is initially shown.",
|
|
3815
|
+
min: 0,
|
|
3816
|
+
max: "1",
|
|
3817
|
+
type: [
|
|
3818
|
+
{
|
|
3819
|
+
code: "boolean"
|
|
3820
|
+
}
|
|
3821
|
+
]
|
|
3822
|
+
},
|
|
3823
|
+
{
|
|
3824
|
+
id: "Questionnaire.item.initial",
|
|
3825
|
+
path: "Questionnaire.item.initial",
|
|
3826
|
+
definition: "One or more values that should be pre-populated in the answer when initially rendering the questionnaire for user input.",
|
|
3827
|
+
min: 0,
|
|
3828
|
+
max: "*",
|
|
3829
|
+
type: [
|
|
3830
|
+
{
|
|
3831
|
+
code: "BackboneElement"
|
|
3832
|
+
}
|
|
3833
|
+
]
|
|
3834
|
+
},
|
|
3835
|
+
{
|
|
3836
|
+
id: "Questionnaire.item.initial.id",
|
|
3837
|
+
path: "Questionnaire.item.initial.id",
|
|
3838
|
+
definition: "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
|
|
3839
|
+
min: 0,
|
|
3840
|
+
max: "1",
|
|
3841
|
+
type: [
|
|
3842
|
+
{
|
|
3843
|
+
code: "https://hl7.org/fhirpath/System.String"
|
|
3844
|
+
}
|
|
3845
|
+
]
|
|
3846
|
+
},
|
|
3847
|
+
{
|
|
3848
|
+
id: "Questionnaire.item.initial.extension",
|
|
3849
|
+
path: "Questionnaire.item.initial.extension",
|
|
3850
|
+
definition: "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
|
|
3851
|
+
min: 0,
|
|
3852
|
+
max: "*",
|
|
3853
|
+
type: [
|
|
3854
|
+
{
|
|
3855
|
+
code: "Extension"
|
|
3856
|
+
}
|
|
3857
|
+
]
|
|
3858
|
+
},
|
|
3859
|
+
{
|
|
3860
|
+
id: "Questionnaire.item.initial.modifierExtension",
|
|
3861
|
+
path: "Questionnaire.item.initial.modifierExtension",
|
|
3862
|
+
definition: "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
|
|
3863
|
+
min: 0,
|
|
3864
|
+
max: "*",
|
|
3865
|
+
type: [
|
|
3866
|
+
{
|
|
3867
|
+
code: "Extension"
|
|
3868
|
+
}
|
|
3869
|
+
]
|
|
3870
|
+
},
|
|
3871
|
+
{
|
|
3872
|
+
id: "Questionnaire.item.initial.value[x]",
|
|
3873
|
+
path: "Questionnaire.item.initial.value[x]",
|
|
3874
|
+
definition: "The actual value to for an initial answer.",
|
|
3875
|
+
min: 1,
|
|
3876
|
+
max: "1",
|
|
3877
|
+
type: [
|
|
3878
|
+
{
|
|
3879
|
+
code: "boolean"
|
|
3880
|
+
},
|
|
3881
|
+
{
|
|
3882
|
+
code: "decimal"
|
|
3883
|
+
},
|
|
3884
|
+
{
|
|
3885
|
+
code: "integer"
|
|
3886
|
+
},
|
|
3887
|
+
{
|
|
3888
|
+
code: "date"
|
|
3889
|
+
},
|
|
3890
|
+
{
|
|
3891
|
+
code: "dateTime"
|
|
3892
|
+
},
|
|
3893
|
+
{
|
|
3894
|
+
code: "time"
|
|
3895
|
+
},
|
|
3896
|
+
{
|
|
3897
|
+
code: "string"
|
|
3898
|
+
},
|
|
3899
|
+
{
|
|
3900
|
+
code: "uri"
|
|
3901
|
+
},
|
|
3902
|
+
{
|
|
3903
|
+
code: "Attachment"
|
|
3904
|
+
},
|
|
3905
|
+
{
|
|
3906
|
+
code: "Coding"
|
|
3907
|
+
},
|
|
3908
|
+
{
|
|
3909
|
+
code: "Quantity"
|
|
3910
|
+
},
|
|
3911
|
+
{
|
|
3912
|
+
code: "Reference",
|
|
3913
|
+
targetProfile: [
|
|
3914
|
+
"https://hl7.org/fhir/StructureDefinition/Resource"
|
|
3915
|
+
]
|
|
3916
|
+
}
|
|
3917
|
+
],
|
|
3918
|
+
binding: {
|
|
3919
|
+
description: "Allowed values to answer questions.",
|
|
3920
|
+
valueSet: "https://hl7.org/fhir/ValueSet/questionnaire-answers"
|
|
3921
|
+
}
|
|
3922
|
+
},
|
|
3923
|
+
{
|
|
3924
|
+
id: "Questionnaire.item.item",
|
|
3925
|
+
path: "Questionnaire.item.item",
|
|
3926
|
+
definition: "Text, questions and other groups to be nested beneath a question or group.",
|
|
3927
|
+
min: 0,
|
|
3928
|
+
max: "*"
|
|
3929
|
+
}
|
|
3930
|
+
]
|
|
3931
|
+
}
|
|
3932
|
+
},
|
|
3933
|
+
{
|
|
3934
|
+
resourceType: "StructureDefinition",
|
|
3935
|
+
id: "ServiceRequest",
|
|
3936
|
+
name: "ServiceRequest",
|
|
3937
|
+
description: "A record of a request for service such as diagnostic investigations, treatments, or operations to be performed.",
|
|
3938
|
+
type: "ServiceRequest",
|
|
3939
|
+
snapshot: {
|
|
3940
|
+
element: [
|
|
3941
|
+
{
|
|
3942
|
+
id: "ServiceRequest",
|
|
3943
|
+
path: "ServiceRequest",
|
|
3944
|
+
definition: "A record of a request for service such as diagnostic investigations, treatments, or operations to be performed.",
|
|
3945
|
+
min: 0,
|
|
3946
|
+
max: "*"
|
|
3947
|
+
},
|
|
3948
|
+
{
|
|
3949
|
+
id: "ServiceRequest.id",
|
|
3950
|
+
path: "ServiceRequest.id",
|
|
3951
|
+
definition: "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
|
|
3952
|
+
min: 0,
|
|
3953
|
+
max: "1",
|
|
3954
|
+
type: [
|
|
3955
|
+
{
|
|
3956
|
+
code: "https://hl7.org/fhirpath/System.String"
|
|
3957
|
+
}
|
|
3958
|
+
]
|
|
3959
|
+
},
|
|
3960
|
+
{
|
|
3961
|
+
id: "ServiceRequest.meta",
|
|
3962
|
+
path: "ServiceRequest.meta",
|
|
3963
|
+
definition: "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.",
|
|
3964
|
+
min: 0,
|
|
3965
|
+
max: "1",
|
|
3966
|
+
type: [
|
|
3967
|
+
{
|
|
3968
|
+
code: "Meta"
|
|
3969
|
+
}
|
|
3970
|
+
]
|
|
3971
|
+
},
|
|
3972
|
+
{
|
|
3973
|
+
id: "ServiceRequest.implicitRules",
|
|
3974
|
+
path: "ServiceRequest.implicitRules",
|
|
3975
|
+
definition: "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.",
|
|
3976
|
+
min: 0,
|
|
3977
|
+
max: "1",
|
|
3978
|
+
type: [
|
|
3979
|
+
{
|
|
3980
|
+
code: "uri"
|
|
3981
|
+
}
|
|
3982
|
+
]
|
|
3983
|
+
},
|
|
3984
|
+
{
|
|
3985
|
+
id: "ServiceRequest.language",
|
|
3986
|
+
path: "ServiceRequest.language",
|
|
3987
|
+
definition: "The base language in which the resource is written.",
|
|
3988
|
+
min: 0,
|
|
3989
|
+
max: "1",
|
|
3990
|
+
type: [
|
|
3991
|
+
{
|
|
3992
|
+
code: "code"
|
|
3993
|
+
}
|
|
3994
|
+
],
|
|
3995
|
+
binding: {
|
|
3996
|
+
description: "A human language.",
|
|
3997
|
+
valueSet: "https://hl7.org/fhir/ValueSet/languages"
|
|
3998
|
+
}
|
|
3999
|
+
},
|
|
4000
|
+
{
|
|
4001
|
+
id: "ServiceRequest.text",
|
|
4002
|
+
path: "ServiceRequest.text",
|
|
4003
|
+
definition: "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.",
|
|
4004
|
+
min: 0,
|
|
4005
|
+
max: "1",
|
|
4006
|
+
type: [
|
|
4007
|
+
{
|
|
4008
|
+
code: "Narrative"
|
|
4009
|
+
}
|
|
4010
|
+
]
|
|
4011
|
+
},
|
|
4012
|
+
{
|
|
4013
|
+
id: "ServiceRequest.contained",
|
|
4014
|
+
path: "ServiceRequest.contained",
|
|
4015
|
+
definition: "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.",
|
|
4016
|
+
min: 0,
|
|
4017
|
+
max: "*",
|
|
4018
|
+
type: [
|
|
4019
|
+
{
|
|
4020
|
+
code: "Resource"
|
|
4021
|
+
}
|
|
4022
|
+
]
|
|
4023
|
+
},
|
|
4024
|
+
{
|
|
4025
|
+
id: "ServiceRequest.extension",
|
|
4026
|
+
path: "ServiceRequest.extension",
|
|
4027
|
+
definition: "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
|
|
4028
|
+
min: 0,
|
|
4029
|
+
max: "*",
|
|
4030
|
+
type: [
|
|
4031
|
+
{
|
|
4032
|
+
code: "Extension"
|
|
4033
|
+
}
|
|
4034
|
+
]
|
|
4035
|
+
},
|
|
4036
|
+
{
|
|
4037
|
+
id: "ServiceRequest.modifierExtension",
|
|
4038
|
+
path: "ServiceRequest.modifierExtension",
|
|
4039
|
+
definition: "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
|
|
4040
|
+
min: 0,
|
|
4041
|
+
max: "*",
|
|
4042
|
+
type: [
|
|
4043
|
+
{
|
|
4044
|
+
code: "Extension"
|
|
4045
|
+
}
|
|
4046
|
+
]
|
|
4047
|
+
},
|
|
4048
|
+
{
|
|
4049
|
+
id: "ServiceRequest.identifier",
|
|
4050
|
+
path: "ServiceRequest.identifier",
|
|
4051
|
+
definition: "Identifiers assigned to this order instance by the orderer and/or the receiver and/or order fulfiller.",
|
|
4052
|
+
min: 0,
|
|
4053
|
+
max: "*",
|
|
4054
|
+
type: [
|
|
4055
|
+
{
|
|
4056
|
+
code: "Identifier"
|
|
4057
|
+
}
|
|
4058
|
+
]
|
|
4059
|
+
},
|
|
4060
|
+
{
|
|
4061
|
+
id: "ServiceRequest.instantiatesCanonical",
|
|
4062
|
+
path: "ServiceRequest.instantiatesCanonical",
|
|
4063
|
+
definition: "The URL pointing to a FHIR-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this ServiceRequest.",
|
|
4064
|
+
min: 0,
|
|
4065
|
+
max: "*",
|
|
4066
|
+
type: [
|
|
4067
|
+
{
|
|
4068
|
+
code: "canonical",
|
|
4069
|
+
targetProfile: [
|
|
4070
|
+
"https://hl7.org/fhir/StructureDefinition/ActivityDefinition",
|
|
4071
|
+
"https://hl7.org/fhir/StructureDefinition/PlanDefinition"
|
|
4072
|
+
]
|
|
4073
|
+
}
|
|
4074
|
+
]
|
|
4075
|
+
},
|
|
4076
|
+
{
|
|
4077
|
+
id: "ServiceRequest.instantiatesUri",
|
|
4078
|
+
path: "ServiceRequest.instantiatesUri",
|
|
4079
|
+
definition: "The URL pointing to an externally maintained protocol, guideline, orderset or other definition that is adhered to in whole or in part by this ServiceRequest.",
|
|
4080
|
+
min: 0,
|
|
4081
|
+
max: "*",
|
|
4082
|
+
type: [
|
|
4083
|
+
{
|
|
4084
|
+
code: "uri"
|
|
4085
|
+
}
|
|
4086
|
+
]
|
|
4087
|
+
},
|
|
4088
|
+
{
|
|
4089
|
+
id: "ServiceRequest.basedOn",
|
|
4090
|
+
path: "ServiceRequest.basedOn",
|
|
4091
|
+
definition: "Plan/proposal/order fulfilled by this request.",
|
|
4092
|
+
min: 0,
|
|
4093
|
+
max: "*",
|
|
4094
|
+
type: [
|
|
4095
|
+
{
|
|
4096
|
+
code: "Reference",
|
|
4097
|
+
targetProfile: [
|
|
4098
|
+
"https://hl7.org/fhir/StructureDefinition/CarePlan",
|
|
4099
|
+
"https://hl7.org/fhir/StructureDefinition/ServiceRequest",
|
|
4100
|
+
"https://hl7.org/fhir/StructureDefinition/MedicationRequest"
|
|
4101
|
+
]
|
|
4102
|
+
}
|
|
4103
|
+
]
|
|
4104
|
+
},
|
|
4105
|
+
{
|
|
4106
|
+
id: "ServiceRequest.replaces",
|
|
4107
|
+
path: "ServiceRequest.replaces",
|
|
4108
|
+
definition: "The request takes the place of the referenced completed or terminated request(s).",
|
|
4109
|
+
min: 0,
|
|
4110
|
+
max: "*",
|
|
4111
|
+
type: [
|
|
4112
|
+
{
|
|
4113
|
+
code: "Reference",
|
|
4114
|
+
targetProfile: [
|
|
4115
|
+
"https://hl7.org/fhir/StructureDefinition/ServiceRequest"
|
|
4116
|
+
]
|
|
4117
|
+
}
|
|
4118
|
+
]
|
|
4119
|
+
},
|
|
4120
|
+
{
|
|
4121
|
+
id: "ServiceRequest.requisition",
|
|
4122
|
+
path: "ServiceRequest.requisition",
|
|
4123
|
+
definition: "A shared identifier common to all service requests that were authorized more or less simultaneously by a single author, representing the composite or group identifier.",
|
|
4124
|
+
min: 0,
|
|
4125
|
+
max: "1",
|
|
4126
|
+
type: [
|
|
4127
|
+
{
|
|
4128
|
+
code: "Identifier"
|
|
4129
|
+
}
|
|
4130
|
+
]
|
|
4131
|
+
},
|
|
4132
|
+
{
|
|
4133
|
+
id: "ServiceRequest.status",
|
|
4134
|
+
path: "ServiceRequest.status",
|
|
4135
|
+
definition: "The status of the order.",
|
|
4136
|
+
min: 1,
|
|
4137
|
+
max: "1",
|
|
4138
|
+
type: [
|
|
4139
|
+
{
|
|
4140
|
+
code: "code"
|
|
4141
|
+
}
|
|
4142
|
+
],
|
|
4143
|
+
binding: {
|
|
4144
|
+
description: "The status of a service order.",
|
|
4145
|
+
valueSet: "https://hl7.org/fhir/ValueSet/request-status|4.0.1"
|
|
4146
|
+
}
|
|
4147
|
+
},
|
|
4148
|
+
{
|
|
4149
|
+
id: "ServiceRequest.intent",
|
|
4150
|
+
path: "ServiceRequest.intent",
|
|
4151
|
+
definition: "Whether the request is a proposal, plan, an original order or a reflex order.",
|
|
4152
|
+
min: 1,
|
|
4153
|
+
max: "1",
|
|
4154
|
+
type: [
|
|
4155
|
+
{
|
|
4156
|
+
code: "code"
|
|
4157
|
+
}
|
|
4158
|
+
],
|
|
4159
|
+
binding: {
|
|
4160
|
+
description: "The kind of service request.",
|
|
4161
|
+
valueSet: "https://hl7.org/fhir/ValueSet/request-intent|4.0.1"
|
|
4162
|
+
}
|
|
4163
|
+
},
|
|
4164
|
+
{
|
|
4165
|
+
id: "ServiceRequest.category",
|
|
4166
|
+
path: "ServiceRequest.category",
|
|
4167
|
+
definition: "A code that classifies the service for searching, sorting and display purposes (e.g. \"Surgical Procedure\").",
|
|
4168
|
+
min: 0,
|
|
4169
|
+
max: "*",
|
|
4170
|
+
type: [
|
|
4171
|
+
{
|
|
4172
|
+
code: "CodeableConcept"
|
|
4173
|
+
}
|
|
4174
|
+
],
|
|
4175
|
+
binding: {
|
|
4176
|
+
description: "Classification of the requested service.",
|
|
4177
|
+
valueSet: "https://hl7.org/fhir/ValueSet/servicerequest-category"
|
|
4178
|
+
}
|
|
4179
|
+
},
|
|
4180
|
+
{
|
|
4181
|
+
id: "ServiceRequest.priority",
|
|
4182
|
+
path: "ServiceRequest.priority",
|
|
4183
|
+
definition: "Indicates how quickly the ServiceRequest should be addressed with respect to other requests.",
|
|
4184
|
+
min: 0,
|
|
4185
|
+
max: "1",
|
|
4186
|
+
type: [
|
|
4187
|
+
{
|
|
4188
|
+
code: "code"
|
|
4189
|
+
}
|
|
4190
|
+
],
|
|
4191
|
+
binding: {
|
|
4192
|
+
description: "Identifies the level of importance to be assigned to actioning the request.",
|
|
4193
|
+
valueSet: "https://hl7.org/fhir/ValueSet/request-priority|4.0.1"
|
|
4194
|
+
}
|
|
4195
|
+
},
|
|
4196
|
+
{
|
|
4197
|
+
id: "ServiceRequest.doNotPerform",
|
|
4198
|
+
path: "ServiceRequest.doNotPerform",
|
|
4199
|
+
definition: "Set this to true if the record is saying that the service/procedure should NOT be performed.",
|
|
4200
|
+
min: 0,
|
|
4201
|
+
max: "1",
|
|
4202
|
+
type: [
|
|
4203
|
+
{
|
|
4204
|
+
code: "boolean"
|
|
4205
|
+
}
|
|
4206
|
+
]
|
|
4207
|
+
},
|
|
4208
|
+
{
|
|
4209
|
+
id: "ServiceRequest.code",
|
|
4210
|
+
path: "ServiceRequest.code",
|
|
4211
|
+
definition: "A code that identifies a particular service (i.e., procedure, diagnostic investigation, or panel of investigations) that have been requested.",
|
|
4212
|
+
min: 0,
|
|
4213
|
+
max: "1",
|
|
4214
|
+
type: [
|
|
4215
|
+
{
|
|
4216
|
+
code: "CodeableConcept"
|
|
4217
|
+
}
|
|
4218
|
+
],
|
|
4219
|
+
binding: {
|
|
4220
|
+
description: "Codes for tests or services that can be carried out by a designated individual, organization or healthcare service. For laboratory, LOINC is (preferred)[http://build.fhir.org/terminologies.html#preferred] and a valueset using LOINC Order codes is available [here](valueset-diagnostic-requests.html).",
|
|
4221
|
+
valueSet: "https://hl7.org/fhir/ValueSet/procedure-code"
|
|
4222
|
+
}
|
|
4223
|
+
},
|
|
4224
|
+
{
|
|
4225
|
+
id: "ServiceRequest.orderDetail",
|
|
4226
|
+
path: "ServiceRequest.orderDetail",
|
|
4227
|
+
definition: "Additional details and instructions about the how the services are to be delivered. For example, and order for a urinary catheter may have an order detail for an external or indwelling catheter, or an order for a bandage may require additional instructions specifying how the bandage should be applied.",
|
|
4228
|
+
min: 0,
|
|
4229
|
+
max: "*",
|
|
4230
|
+
type: [
|
|
4231
|
+
{
|
|
4232
|
+
code: "CodeableConcept"
|
|
4233
|
+
}
|
|
4234
|
+
],
|
|
4235
|
+
binding: {
|
|
4236
|
+
description: "Codified order entry details which are based on order context.",
|
|
4237
|
+
valueSet: "https://hl7.org/fhir/ValueSet/servicerequest-orderdetail"
|
|
4238
|
+
}
|
|
4239
|
+
},
|
|
4240
|
+
{
|
|
4241
|
+
id: "ServiceRequest.quantity[x]",
|
|
4242
|
+
path: "ServiceRequest.quantity[x]",
|
|
4243
|
+
definition: "An amount of service being requested which can be a quantity ( for example $1,500 home modification), a ratio ( for example, 20 half day visits per month), or a range (2.0 to 1.8 Gy per fraction).",
|
|
4244
|
+
min: 0,
|
|
4245
|
+
max: "1",
|
|
4246
|
+
type: [
|
|
4247
|
+
{
|
|
4248
|
+
code: "Quantity"
|
|
4249
|
+
},
|
|
4250
|
+
{
|
|
4251
|
+
code: "Ratio"
|
|
4252
|
+
},
|
|
4253
|
+
{
|
|
4254
|
+
code: "Range"
|
|
4255
|
+
}
|
|
4256
|
+
]
|
|
4257
|
+
},
|
|
4258
|
+
{
|
|
4259
|
+
id: "ServiceRequest.subject",
|
|
4260
|
+
path: "ServiceRequest.subject",
|
|
4261
|
+
definition: "On whom or what the service is to be performed. This is usually a human patient, but can also be requested on animals, groups of humans or animals, devices such as dialysis machines, or even locations (typically for environmental scans).",
|
|
4262
|
+
min: 1,
|
|
4263
|
+
max: "1",
|
|
4264
|
+
type: [
|
|
4265
|
+
{
|
|
4266
|
+
code: "Reference",
|
|
4267
|
+
targetProfile: [
|
|
4268
|
+
"https://hl7.org/fhir/StructureDefinition/Patient",
|
|
4269
|
+
"https://hl7.org/fhir/StructureDefinition/Group",
|
|
4270
|
+
"https://hl7.org/fhir/StructureDefinition/Location",
|
|
4271
|
+
"https://hl7.org/fhir/StructureDefinition/Device"
|
|
4272
|
+
]
|
|
4273
|
+
}
|
|
4274
|
+
]
|
|
4275
|
+
},
|
|
4276
|
+
{
|
|
4277
|
+
id: "ServiceRequest.encounter",
|
|
4278
|
+
path: "ServiceRequest.encounter",
|
|
4279
|
+
definition: "An encounter that provides additional information about the healthcare context in which this request is made.",
|
|
4280
|
+
min: 0,
|
|
4281
|
+
max: "1",
|
|
4282
|
+
type: [
|
|
4283
|
+
{
|
|
4284
|
+
code: "Reference",
|
|
4285
|
+
targetProfile: [
|
|
4286
|
+
"https://hl7.org/fhir/StructureDefinition/Encounter"
|
|
4287
|
+
]
|
|
4288
|
+
}
|
|
4289
|
+
]
|
|
4290
|
+
},
|
|
4291
|
+
{
|
|
4292
|
+
id: "ServiceRequest.occurrence[x]",
|
|
4293
|
+
path: "ServiceRequest.occurrence[x]",
|
|
4294
|
+
definition: "The date/time at which the requested service should occur.",
|
|
4295
|
+
min: 0,
|
|
4296
|
+
max: "1",
|
|
4297
|
+
type: [
|
|
4298
|
+
{
|
|
4299
|
+
code: "dateTime"
|
|
4300
|
+
},
|
|
4301
|
+
{
|
|
4302
|
+
code: "Period"
|
|
4303
|
+
},
|
|
4304
|
+
{
|
|
4305
|
+
code: "Timing"
|
|
4306
|
+
}
|
|
4307
|
+
]
|
|
4308
|
+
},
|
|
4309
|
+
{
|
|
4310
|
+
id: "ServiceRequest.asNeeded[x]",
|
|
4311
|
+
path: "ServiceRequest.asNeeded[x]",
|
|
4312
|
+
definition: "If a CodeableConcept is present, it indicates the pre-condition for performing the service. For example \"pain\", \"on flare-up\", etc.",
|
|
4313
|
+
min: 0,
|
|
4314
|
+
max: "1",
|
|
4315
|
+
type: [
|
|
4316
|
+
{
|
|
4317
|
+
code: "boolean"
|
|
4318
|
+
},
|
|
4319
|
+
{
|
|
4320
|
+
code: "CodeableConcept"
|
|
4321
|
+
}
|
|
4322
|
+
],
|
|
4323
|
+
binding: {
|
|
4324
|
+
description: "A coded concept identifying the pre-condition that should hold prior to performing a procedure. For example \"pain\", \"on flare-up\", etc.",
|
|
4325
|
+
valueSet: "https://hl7.org/fhir/ValueSet/medication-as-needed-reason"
|
|
4326
|
+
}
|
|
4327
|
+
},
|
|
4328
|
+
{
|
|
4329
|
+
id: "ServiceRequest.authoredOn",
|
|
4330
|
+
path: "ServiceRequest.authoredOn",
|
|
4331
|
+
definition: "When the request transitioned to being actionable.",
|
|
4332
|
+
min: 0,
|
|
4333
|
+
max: "1",
|
|
4334
|
+
type: [
|
|
4335
|
+
{
|
|
4336
|
+
code: "dateTime"
|
|
4337
|
+
}
|
|
4338
|
+
]
|
|
4339
|
+
},
|
|
4340
|
+
{
|
|
4341
|
+
id: "ServiceRequest.requester",
|
|
4342
|
+
path: "ServiceRequest.requester",
|
|
4343
|
+
definition: "The individual who initiated the request and has responsibility for its activation.",
|
|
4344
|
+
min: 0,
|
|
4345
|
+
max: "1",
|
|
4346
|
+
type: [
|
|
4347
|
+
{
|
|
4348
|
+
code: "Reference",
|
|
4349
|
+
targetProfile: [
|
|
4350
|
+
"https://hl7.org/fhir/StructureDefinition/Practitioner",
|
|
4351
|
+
"https://hl7.org/fhir/StructureDefinition/PractitionerRole",
|
|
4352
|
+
"https://hl7.org/fhir/StructureDefinition/Organization",
|
|
4353
|
+
"https://hl7.org/fhir/StructureDefinition/Patient",
|
|
4354
|
+
"https://hl7.org/fhir/StructureDefinition/RelatedPerson",
|
|
4355
|
+
"https://hl7.org/fhir/StructureDefinition/Device"
|
|
4356
|
+
]
|
|
4357
|
+
}
|
|
4358
|
+
]
|
|
4359
|
+
},
|
|
4360
|
+
{
|
|
4361
|
+
id: "ServiceRequest.performerType",
|
|
4362
|
+
path: "ServiceRequest.performerType",
|
|
4363
|
+
definition: "Desired type of performer for doing the requested service.",
|
|
4364
|
+
min: 0,
|
|
4365
|
+
max: "1",
|
|
4366
|
+
type: [
|
|
4367
|
+
{
|
|
4368
|
+
code: "CodeableConcept"
|
|
4369
|
+
}
|
|
4370
|
+
],
|
|
4371
|
+
binding: {
|
|
4372
|
+
description: "Indicates specific responsibility of an individual within the care team, such as \"Primary physician\", \"Team coordinator\", \"Caregiver\", etc.",
|
|
4373
|
+
valueSet: "https://hl7.org/fhir/ValueSet/participant-role"
|
|
4374
|
+
}
|
|
4375
|
+
},
|
|
4376
|
+
{
|
|
4377
|
+
id: "ServiceRequest.performer",
|
|
4378
|
+
path: "ServiceRequest.performer",
|
|
4379
|
+
definition: "The desired performer for doing the requested service. For example, the surgeon, dermatopathologist, endoscopist, etc.",
|
|
4380
|
+
min: 0,
|
|
4381
|
+
max: "*",
|
|
4382
|
+
type: [
|
|
4383
|
+
{
|
|
4384
|
+
code: "Reference",
|
|
4385
|
+
targetProfile: [
|
|
4386
|
+
"https://hl7.org/fhir/StructureDefinition/Practitioner",
|
|
4387
|
+
"https://hl7.org/fhir/StructureDefinition/PractitionerRole",
|
|
4388
|
+
"https://hl7.org/fhir/StructureDefinition/Organization",
|
|
4389
|
+
"https://hl7.org/fhir/StructureDefinition/CareTeam",
|
|
4390
|
+
"https://hl7.org/fhir/StructureDefinition/HealthcareService",
|
|
4391
|
+
"https://hl7.org/fhir/StructureDefinition/Patient",
|
|
4392
|
+
"https://hl7.org/fhir/StructureDefinition/Device",
|
|
4393
|
+
"https://hl7.org/fhir/StructureDefinition/RelatedPerson"
|
|
4394
|
+
]
|
|
4395
|
+
}
|
|
4396
|
+
]
|
|
4397
|
+
},
|
|
4398
|
+
{
|
|
4399
|
+
id: "ServiceRequest.locationCode",
|
|
4400
|
+
path: "ServiceRequest.locationCode",
|
|
4401
|
+
definition: "The preferred location(s) where the procedure should actually happen in coded or free text form. E.g. at home or nursing day care center.",
|
|
4402
|
+
min: 0,
|
|
4403
|
+
max: "*",
|
|
4404
|
+
type: [
|
|
4405
|
+
{
|
|
4406
|
+
code: "CodeableConcept"
|
|
4407
|
+
}
|
|
4408
|
+
],
|
|
4409
|
+
binding: {
|
|
4410
|
+
description: "A location type where services are delivered.",
|
|
4411
|
+
valueSet: "https://terminology.hl7.org/ValueSet/v3-ServiceDeliveryLocationRoleType"
|
|
4412
|
+
}
|
|
4413
|
+
},
|
|
4414
|
+
{
|
|
4415
|
+
id: "ServiceRequest.locationReference",
|
|
4416
|
+
path: "ServiceRequest.locationReference",
|
|
4417
|
+
definition: "A reference to the the preferred location(s) where the procedure should actually happen. E.g. at home or nursing day care center.",
|
|
4418
|
+
min: 0,
|
|
4419
|
+
max: "*",
|
|
4420
|
+
type: [
|
|
4421
|
+
{
|
|
4422
|
+
code: "Reference",
|
|
4423
|
+
targetProfile: [
|
|
4424
|
+
"https://hl7.org/fhir/StructureDefinition/Location"
|
|
4425
|
+
]
|
|
4426
|
+
}
|
|
4427
|
+
]
|
|
4428
|
+
},
|
|
4429
|
+
{
|
|
4430
|
+
id: "ServiceRequest.reasonCode",
|
|
4431
|
+
path: "ServiceRequest.reasonCode",
|
|
4432
|
+
definition: "An explanation or justification for why this service is being requested in coded or textual form. This is often for billing purposes. May relate to the resources referred to in `supportingInfo`.",
|
|
4433
|
+
min: 0,
|
|
4434
|
+
max: "*",
|
|
4435
|
+
type: [
|
|
4436
|
+
{
|
|
4437
|
+
code: "CodeableConcept"
|
|
4438
|
+
}
|
|
4439
|
+
],
|
|
4440
|
+
binding: {
|
|
4441
|
+
description: "Diagnosis or problem codes justifying the reason for requesting the service investigation.",
|
|
4442
|
+
valueSet: "https://hl7.org/fhir/ValueSet/procedure-reason"
|
|
4443
|
+
}
|
|
4444
|
+
},
|
|
4445
|
+
{
|
|
4446
|
+
id: "ServiceRequest.reasonReference",
|
|
4447
|
+
path: "ServiceRequest.reasonReference",
|
|
4448
|
+
definition: "Indicates another resource that provides a justification for why this service is being requested. May relate to the resources referred to in `supportingInfo`.",
|
|
4449
|
+
min: 0,
|
|
4450
|
+
max: "*",
|
|
4451
|
+
type: [
|
|
4452
|
+
{
|
|
4453
|
+
code: "Reference",
|
|
4454
|
+
targetProfile: [
|
|
4455
|
+
"https://hl7.org/fhir/StructureDefinition/Condition",
|
|
4456
|
+
"https://hl7.org/fhir/StructureDefinition/Observation",
|
|
4457
|
+
"https://hl7.org/fhir/StructureDefinition/DiagnosticReport",
|
|
4458
|
+
"https://hl7.org/fhir/StructureDefinition/DocumentReference"
|
|
4459
|
+
]
|
|
4460
|
+
}
|
|
4461
|
+
]
|
|
4462
|
+
},
|
|
4463
|
+
{
|
|
4464
|
+
id: "ServiceRequest.insurance",
|
|
4465
|
+
path: "ServiceRequest.insurance",
|
|
4466
|
+
definition: "Insurance plans, coverage extensions, pre-authorizations and/or pre-determinations that may be needed for delivering the requested service.",
|
|
4467
|
+
min: 0,
|
|
4468
|
+
max: "*",
|
|
4469
|
+
type: [
|
|
4470
|
+
{
|
|
4471
|
+
code: "Reference",
|
|
4472
|
+
targetProfile: [
|
|
4473
|
+
"https://hl7.org/fhir/StructureDefinition/Coverage",
|
|
4474
|
+
"https://hl7.org/fhir/StructureDefinition/ClaimResponse"
|
|
4475
|
+
]
|
|
4476
|
+
}
|
|
4477
|
+
]
|
|
4478
|
+
},
|
|
4479
|
+
{
|
|
4480
|
+
id: "ServiceRequest.supportingInfo",
|
|
4481
|
+
path: "ServiceRequest.supportingInfo",
|
|
4482
|
+
definition: "Additional clinical information about the patient or specimen that may influence the services or their interpretations. This information includes diagnosis, clinical findings and other observations. In laboratory ordering these are typically referred to as \"ask at order entry questions (AOEs)\". This includes observations explicitly requested by the producer (filler) to provide context or supporting information needed to complete the order. For example, reporting the amount of inspired oxygen for blood gas measurements.",
|
|
4483
|
+
min: 0,
|
|
4484
|
+
max: "*",
|
|
4485
|
+
type: [
|
|
4486
|
+
{
|
|
4487
|
+
code: "Reference",
|
|
4488
|
+
targetProfile: [
|
|
4489
|
+
"https://hl7.org/fhir/StructureDefinition/Resource"
|
|
4490
|
+
]
|
|
4491
|
+
}
|
|
4492
|
+
]
|
|
4493
|
+
},
|
|
4494
|
+
{
|
|
4495
|
+
id: "ServiceRequest.specimen",
|
|
4496
|
+
path: "ServiceRequest.specimen",
|
|
4497
|
+
definition: "One or more specimens that the laboratory procedure will use.",
|
|
4498
|
+
min: 0,
|
|
4499
|
+
max: "*",
|
|
4500
|
+
type: [
|
|
4501
|
+
{
|
|
4502
|
+
code: "Reference",
|
|
4503
|
+
targetProfile: [
|
|
4504
|
+
"https://hl7.org/fhir/StructureDefinition/Specimen"
|
|
4505
|
+
]
|
|
4506
|
+
}
|
|
4507
|
+
]
|
|
4508
|
+
},
|
|
4509
|
+
{
|
|
4510
|
+
id: "ServiceRequest.bodySite",
|
|
4511
|
+
path: "ServiceRequest.bodySite",
|
|
4512
|
+
definition: "Anatomic location where the procedure should be performed. This is the target site.",
|
|
4513
|
+
min: 0,
|
|
4514
|
+
max: "*",
|
|
4515
|
+
type: [
|
|
4516
|
+
{
|
|
4517
|
+
code: "CodeableConcept"
|
|
4518
|
+
}
|
|
4519
|
+
],
|
|
4520
|
+
binding: {
|
|
4521
|
+
description: "Codes describing anatomical locations. May include laterality.",
|
|
4522
|
+
valueSet: "https://hl7.org/fhir/ValueSet/body-site"
|
|
4523
|
+
}
|
|
4524
|
+
},
|
|
4525
|
+
{
|
|
4526
|
+
id: "ServiceRequest.note",
|
|
4527
|
+
path: "ServiceRequest.note",
|
|
4528
|
+
definition: "Any other notes and comments made about the service request. For example, internal billing notes.",
|
|
4529
|
+
min: 0,
|
|
4530
|
+
max: "*",
|
|
4531
|
+
type: [
|
|
4532
|
+
{
|
|
4533
|
+
code: "Annotation"
|
|
4534
|
+
}
|
|
4535
|
+
]
|
|
4536
|
+
},
|
|
4537
|
+
{
|
|
4538
|
+
id: "ServiceRequest.patientInstruction",
|
|
4539
|
+
path: "ServiceRequest.patientInstruction",
|
|
4540
|
+
definition: "Instructions in terms that are understood by the patient or consumer.",
|
|
4541
|
+
min: 0,
|
|
4542
|
+
max: "1",
|
|
4543
|
+
type: [
|
|
4544
|
+
{
|
|
4545
|
+
code: "string"
|
|
4546
|
+
}
|
|
4547
|
+
]
|
|
4548
|
+
},
|
|
4549
|
+
{
|
|
4550
|
+
id: "ServiceRequest.relevantHistory",
|
|
4551
|
+
path: "ServiceRequest.relevantHistory",
|
|
4552
|
+
definition: "Key events in the history of the request.",
|
|
4553
|
+
min: 0,
|
|
4554
|
+
max: "*",
|
|
4555
|
+
type: [
|
|
4556
|
+
{
|
|
4557
|
+
code: "Reference",
|
|
4558
|
+
targetProfile: [
|
|
4559
|
+
"https://hl7.org/fhir/StructureDefinition/Provenance"
|
|
4560
|
+
]
|
|
4561
|
+
}
|
|
4562
|
+
]
|
|
4563
|
+
}
|
|
4564
|
+
]
|
|
4565
|
+
}
|
|
4566
|
+
}
|
|
4567
|
+
];
|
|
4568
|
+
|
|
471
4569
|
const EmptySearchBundle = {
|
|
472
4570
|
resourceType: 'Bundle',
|
|
473
4571
|
type: 'searchset',
|
|
474
4572
|
total: 0,
|
|
475
4573
|
entry: [],
|
|
476
4574
|
};
|
|
477
|
-
const ObservationStructureDefinition = {
|
|
478
|
-
resourceType: 'StructureDefinition',
|
|
479
|
-
name: 'Observation',
|
|
480
|
-
snapshot: {
|
|
481
|
-
element: [
|
|
482
|
-
{
|
|
483
|
-
path: 'Observation.id',
|
|
484
|
-
type: [
|
|
485
|
-
{
|
|
486
|
-
code: 'code',
|
|
487
|
-
},
|
|
488
|
-
],
|
|
489
|
-
},
|
|
490
|
-
{
|
|
491
|
-
path: 'Observation.value[x]',
|
|
492
|
-
min: 0,
|
|
493
|
-
max: '1',
|
|
494
|
-
type: [
|
|
495
|
-
{
|
|
496
|
-
code: 'Quantity',
|
|
497
|
-
},
|
|
498
|
-
{
|
|
499
|
-
code: 'CodeableConcept',
|
|
500
|
-
},
|
|
501
|
-
{
|
|
502
|
-
code: 'string',
|
|
503
|
-
},
|
|
504
|
-
{
|
|
505
|
-
code: 'boolean',
|
|
506
|
-
},
|
|
507
|
-
{
|
|
508
|
-
code: 'integer',
|
|
509
|
-
},
|
|
510
|
-
{
|
|
511
|
-
code: 'Range',
|
|
512
|
-
},
|
|
513
|
-
{
|
|
514
|
-
code: 'Ratio',
|
|
515
|
-
},
|
|
516
|
-
{
|
|
517
|
-
code: 'SampledData',
|
|
518
|
-
},
|
|
519
|
-
{
|
|
520
|
-
code: 'time',
|
|
521
|
-
},
|
|
522
|
-
{
|
|
523
|
-
code: 'dateTime',
|
|
524
|
-
},
|
|
525
|
-
{
|
|
526
|
-
code: 'Period',
|
|
527
|
-
},
|
|
528
|
-
],
|
|
529
|
-
},
|
|
530
|
-
],
|
|
531
|
-
},
|
|
532
|
-
};
|
|
533
|
-
const PatientStructureDefinition = {
|
|
534
|
-
resourceType: 'StructureDefinition',
|
|
535
|
-
id: '123',
|
|
536
|
-
name: 'Patient',
|
|
537
|
-
snapshot: {
|
|
538
|
-
element: [
|
|
539
|
-
{
|
|
540
|
-
id: 'Patient.name',
|
|
541
|
-
path: 'Patient.name',
|
|
542
|
-
type: [
|
|
543
|
-
{
|
|
544
|
-
code: 'HumanName',
|
|
545
|
-
},
|
|
546
|
-
],
|
|
547
|
-
max: '*',
|
|
548
|
-
},
|
|
549
|
-
],
|
|
550
|
-
},
|
|
551
|
-
};
|
|
552
4575
|
const PatientSearchParameters = [
|
|
553
4576
|
{
|
|
554
4577
|
resourceType: 'SearchParameter',
|
|
@@ -579,125 +4602,9 @@ const PatientSearchParameters = [
|
|
|
579
4602
|
target: ['Organization'],
|
|
580
4603
|
},
|
|
581
4604
|
];
|
|
582
|
-
const PractitionerStructureDefinition = {
|
|
583
|
-
resourceType: 'StructureDefinition',
|
|
584
|
-
name: 'Practitioner',
|
|
585
|
-
snapshot: {
|
|
586
|
-
element: [
|
|
587
|
-
{
|
|
588
|
-
path: 'Practitioner.id',
|
|
589
|
-
type: [
|
|
590
|
-
{
|
|
591
|
-
code: 'code',
|
|
592
|
-
},
|
|
593
|
-
],
|
|
594
|
-
},
|
|
595
|
-
{
|
|
596
|
-
path: 'Practitioner.name',
|
|
597
|
-
type: [
|
|
598
|
-
{
|
|
599
|
-
code: 'HumanName',
|
|
600
|
-
},
|
|
601
|
-
],
|
|
602
|
-
max: '*',
|
|
603
|
-
},
|
|
604
|
-
{
|
|
605
|
-
path: 'Practitioner.gender',
|
|
606
|
-
type: [
|
|
607
|
-
{
|
|
608
|
-
code: 'code',
|
|
609
|
-
},
|
|
610
|
-
],
|
|
611
|
-
},
|
|
612
|
-
],
|
|
613
|
-
},
|
|
614
|
-
};
|
|
615
|
-
const QuestionnaireStructureDefinition = {
|
|
616
|
-
resourceType: 'StructureDefinition',
|
|
617
|
-
name: 'Questionnaire',
|
|
618
|
-
snapshot: {
|
|
619
|
-
element: [
|
|
620
|
-
{
|
|
621
|
-
id: 'Questionnaire.item',
|
|
622
|
-
path: 'Questionnaire.item',
|
|
623
|
-
type: [
|
|
624
|
-
{
|
|
625
|
-
code: 'BackboneElement',
|
|
626
|
-
},
|
|
627
|
-
],
|
|
628
|
-
},
|
|
629
|
-
{
|
|
630
|
-
id: 'Questionnaire.item.answerOption',
|
|
631
|
-
path: 'Questionnaire.item.answerOption',
|
|
632
|
-
type: [
|
|
633
|
-
{
|
|
634
|
-
code: 'BackboneElement',
|
|
635
|
-
},
|
|
636
|
-
],
|
|
637
|
-
},
|
|
638
|
-
{
|
|
639
|
-
id: 'Questionnaire.item.answerOption.value[x]',
|
|
640
|
-
path: 'Questionnaire.item.answerOption.value[x]',
|
|
641
|
-
min: 1,
|
|
642
|
-
max: '1',
|
|
643
|
-
type: [
|
|
644
|
-
{
|
|
645
|
-
code: 'integer',
|
|
646
|
-
},
|
|
647
|
-
{
|
|
648
|
-
code: 'date',
|
|
649
|
-
},
|
|
650
|
-
{
|
|
651
|
-
code: 'time',
|
|
652
|
-
},
|
|
653
|
-
{
|
|
654
|
-
code: 'string',
|
|
655
|
-
},
|
|
656
|
-
{
|
|
657
|
-
code: 'Coding',
|
|
658
|
-
},
|
|
659
|
-
{
|
|
660
|
-
code: 'Reference',
|
|
661
|
-
targetProfile: ['http://hl7.org/fhir/StructureDefinition/Resource'],
|
|
662
|
-
},
|
|
663
|
-
],
|
|
664
|
-
},
|
|
665
|
-
],
|
|
666
|
-
},
|
|
667
|
-
};
|
|
668
|
-
const ServiceRequestServiceDefinition = {
|
|
669
|
-
resourceType: 'StructureDefinition',
|
|
670
|
-
name: 'ServiceRequest',
|
|
671
|
-
snapshot: {
|
|
672
|
-
element: [
|
|
673
|
-
{
|
|
674
|
-
path: 'ServiceRequest.id',
|
|
675
|
-
type: [
|
|
676
|
-
{
|
|
677
|
-
code: 'code',
|
|
678
|
-
},
|
|
679
|
-
],
|
|
680
|
-
},
|
|
681
|
-
{
|
|
682
|
-
path: 'ServiceRequest.code',
|
|
683
|
-
type: [
|
|
684
|
-
{
|
|
685
|
-
code: 'CodeableConcept',
|
|
686
|
-
},
|
|
687
|
-
],
|
|
688
|
-
},
|
|
689
|
-
],
|
|
690
|
-
},
|
|
691
|
-
};
|
|
692
4605
|
const GraphQLSchemaResponse = {
|
|
693
4606
|
data: {
|
|
694
|
-
StructureDefinitionList
|
|
695
|
-
ObservationStructureDefinition,
|
|
696
|
-
PatientStructureDefinition,
|
|
697
|
-
PractitionerStructureDefinition,
|
|
698
|
-
QuestionnaireStructureDefinition,
|
|
699
|
-
ServiceRequestServiceDefinition,
|
|
700
|
-
],
|
|
4607
|
+
StructureDefinitionList,
|
|
701
4608
|
SearchParameterList: [...PatientSearchParameters],
|
|
702
4609
|
},
|
|
703
4610
|
};
|
|
@@ -751,7 +4658,10 @@ const routes = {
|
|
|
751
4658
|
'admin/projects/123': {
|
|
752
4659
|
GET: {
|
|
753
4660
|
project: { id: '123', name: 'Project 123' },
|
|
754
|
-
members: [
|
|
4661
|
+
members: [
|
|
4662
|
+
{ id: '123', profile: { reference: 'Practitioner/123', display: 'Alice Smith' }, role: 'owner' },
|
|
4663
|
+
{ id: '888', profile: { reference: 'ClientApplication/123', display: 'Test Client' }, role: 'client' },
|
|
4664
|
+
],
|
|
755
4665
|
},
|
|
756
4666
|
},
|
|
757
4667
|
'admin/super/structuredefinitions': {
|
|
@@ -923,6 +4833,9 @@ const routes = {
|
|
|
923
4833
|
'fhir/R4/Observation?_fields=value[x]': {
|
|
924
4834
|
GET: HomerObservationSearchBundle,
|
|
925
4835
|
},
|
|
4836
|
+
'fhir/R4/Observation?_fields=value[x]&_total=accurate': {
|
|
4837
|
+
GET: HomerObservationSearchBundle,
|
|
4838
|
+
},
|
|
926
4839
|
'fhir/R4/Observation/1': {
|
|
927
4840
|
GET: HomerObservation1,
|
|
928
4841
|
},
|
|
@@ -950,21 +4863,57 @@ const routes = {
|
|
|
950
4863
|
'fhir/R4/Organization/456': {
|
|
951
4864
|
GET: DifferentOrganization,
|
|
952
4865
|
},
|
|
4866
|
+
'fhir/R4/Patient?_total=accurate': {
|
|
4867
|
+
GET: SimpsonSearchBundle,
|
|
4868
|
+
},
|
|
953
4869
|
'fhir/R4/Patient?name=Simpson': {
|
|
954
4870
|
GET: SimpsonSearchBundle,
|
|
955
4871
|
},
|
|
4872
|
+
'fhir/R4/Patient?_total=accurate&name=Simpson': {
|
|
4873
|
+
GET: SimpsonSearchBundle,
|
|
4874
|
+
},
|
|
4875
|
+
'fhir/R4/Patient?_fields=id,name&_total=accurate': {
|
|
4876
|
+
GET: SimpsonSearchBundle,
|
|
4877
|
+
},
|
|
4878
|
+
'fhir/R4/Patient?_fields=id,name&_total=accurate&name=Simpson': {
|
|
4879
|
+
GET: SimpsonSearchBundle,
|
|
4880
|
+
},
|
|
4881
|
+
'fhir/R4/Patient?_fields=id,_lastUpdated,name': {
|
|
4882
|
+
GET: SimpsonSearchBundle,
|
|
4883
|
+
},
|
|
4884
|
+
'fhir/R4/Patient?_fields=id,_lastUpdated,name&_total=accurate': {
|
|
4885
|
+
GET: SimpsonSearchBundle,
|
|
4886
|
+
},
|
|
4887
|
+
'fhir/R4/Patient?_fields=id,_lastUpdated,name,birthDate': {
|
|
4888
|
+
GET: SimpsonSearchBundle,
|
|
4889
|
+
},
|
|
4890
|
+
'fhir/R4/Patient?_fields=id,_lastUpdated,name,birthDate&_total=accurate': {
|
|
4891
|
+
GET: SimpsonSearchBundle,
|
|
4892
|
+
},
|
|
956
4893
|
'fhir/R4/Patient?_fields=id,_lastUpdated,name&name=Simpson': {
|
|
957
4894
|
GET: SimpsonSearchBundle,
|
|
958
4895
|
},
|
|
4896
|
+
'fhir/R4/Patient?_fields=id,_lastUpdated,name&_total=accurate&name=Simpson': {
|
|
4897
|
+
GET: SimpsonSearchBundle,
|
|
4898
|
+
},
|
|
959
4899
|
'fhir/R4/Patient?_count=20&_fields=id,_lastUpdated,name,birthDate,gender&_sort=-_lastUpdated': {
|
|
960
4900
|
GET: SimpsonSearchBundle,
|
|
961
4901
|
},
|
|
4902
|
+
'fhir/R4/Patient?_count=20&_fields=id,_lastUpdated,name,birthDate,gender&_sort=-_lastUpdated&_total=accurate': {
|
|
4903
|
+
GET: SimpsonSearchBundle,
|
|
4904
|
+
},
|
|
962
4905
|
'fhir/R4/Patient?_fields=id,_lastUpdated,name&_lastUpdated=ge2021-12-01T00%3A00%3A00.000Z': {
|
|
963
4906
|
GET: SimpsonSearchBundle,
|
|
964
4907
|
},
|
|
4908
|
+
'fhir/R4/Patient?_fields=id,_lastUpdated,name&_lastUpdated=ge2021-12-01T00%3A00%3A00.000Z&_total=accurate': {
|
|
4909
|
+
GET: SimpsonSearchBundle,
|
|
4910
|
+
},
|
|
965
4911
|
'fhir/R4/Patient?name=Bob': {
|
|
966
4912
|
GET: EmptySearchBundle,
|
|
967
4913
|
},
|
|
4914
|
+
'fhir/R4/Patient?_total=accurate&name=Bob': {
|
|
4915
|
+
GET: EmptySearchBundle,
|
|
4916
|
+
},
|
|
968
4917
|
'fhir/R4/Patient/123': {
|
|
969
4918
|
GET: HomerSimpson,
|
|
970
4919
|
},
|
|
@@ -1010,6 +4959,9 @@ const routes = {
|
|
|
1010
4959
|
'fhir/R4/ServiceRequest?subject=Patient/123': {
|
|
1011
4960
|
GET: HomerServiceRequestSearchBundle,
|
|
1012
4961
|
},
|
|
4962
|
+
'fhir/R4/ServiceRequest?_fields=id,_lastUpdated,subject,code,status,orderDetail': {
|
|
4963
|
+
GET: HomerServiceRequestSearchBundle,
|
|
4964
|
+
},
|
|
1013
4965
|
'fhir/R4/Subscription/123': {
|
|
1014
4966
|
GET: ExampleSubscription,
|
|
1015
4967
|
},
|
|
@@ -1075,6 +5027,7 @@ class MockClient extends MedplumClient {
|
|
|
1075
5027
|
console.log('MockClient', JSON.stringify(response, null, 2));
|
|
1076
5028
|
}
|
|
1077
5029
|
return Promise.resolve({
|
|
5030
|
+
blob: () => Promise.resolve(response),
|
|
1078
5031
|
json: () => Promise.resolve(response),
|
|
1079
5032
|
});
|
|
1080
5033
|
},
|
|
@@ -1104,5 +5057,5 @@ class MockClient extends MedplumClient {
|
|
|
1104
5057
|
}
|
|
1105
5058
|
}
|
|
1106
5059
|
|
|
1107
|
-
export { BartSimpson, DifferentOrganization, DrAliceSmith, DrAliceSmithHistoryBundle, EmptySearchBundle, ExampleAuditEvent, ExampleAuditEventBundle, ExampleBot, ExampleQuestionnaire, ExampleQuestionnaireBundle, ExampleQuestionnaireResponse, ExampleSubscription, ExampleSubscriptionHistory, GraphQLSchemaResponse, HomerCommunications, HomerDiagnosticReport, HomerDiagnosticReportBundle, HomerEncounter, HomerEncounterHistory, HomerMedia, HomerObservation1, HomerObservation2, HomerObservation3, HomerObservation4, HomerObservation5, HomerObservation6, HomerObservationSearchBundle, HomerServiceRequest, HomerServiceRequestHistoryBundle, HomerServiceRequestSearchBundle, HomerSimpson, HomerSimpsonHistory, MockClient,
|
|
5060
|
+
export { BartSimpson, DifferentOrganization, DrAliceSmith, DrAliceSmithHistoryBundle, EmptySearchBundle, ExampleAuditEvent, ExampleAuditEventBundle, ExampleBot, ExampleQuestionnaire, ExampleQuestionnaireBundle, ExampleQuestionnaireResponse, ExampleSubscription, ExampleSubscriptionHistory, GraphQLSchemaResponse, HomerCommunications, HomerDiagnosticReport, HomerDiagnosticReportBundle, HomerEncounter, HomerEncounterHistory, HomerMedia, HomerObservation1, HomerObservation2, HomerObservation3, HomerObservation4, HomerObservation5, HomerObservation6, HomerObservationSearchBundle, HomerServiceRequest, HomerServiceRequestHistoryBundle, HomerServiceRequestSearchBundle, HomerSimpson, HomerSimpsonHistory, MockClient, OrganizationSearchBundle, PatientSearchParameters, SimpsonSearchBundle, TestOrganization, exampleValueSet };
|
|
1108
5061
|
//# sourceMappingURL=index.js.map
|