@haste-health/hl7.fhir.r4.test-data 0.2.3

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.
Files changed (102) hide show
  1. package/.index.json +285 -0
  2. package/examples-json/account-example.json +48 -0
  3. package/examples-json/allergyintolerance-example.json +119 -0
  4. package/examples-json/appointment-example.json +103 -0
  5. package/examples-json/appointmentresponse-example.json +17 -0
  6. package/examples-json/auditevent-example.json +121 -0
  7. package/examples-json/basic-example.json +74 -0
  8. package/examples-json/binary-example.json +9 -0
  9. package/examples-json/bodystructure-example-fetus.json +28 -0
  10. package/examples-json/capabilitystatement-example.json +198 -0
  11. package/examples-json/careteam-example.json +85 -0
  12. package/examples-json/clinicalimpression-example.json +68 -0
  13. package/examples-json/codesystem-example.json +95 -0
  14. package/examples-json/communication-example.json +75 -0
  15. package/examples-json/compartmentdefinition-example.json +63 -0
  16. package/examples-json/composition-example.json +167 -0
  17. package/examples-json/conceptmap-example.json +115 -0
  18. package/examples-json/condition-example.json +75 -0
  19. package/examples-json/condition-example.xml +60 -0
  20. package/examples-json/consent-example.json +54 -0
  21. package/examples-json/detectedissue-example.json +53 -0
  22. package/examples-json/device-example.json +14 -0
  23. package/examples-json/devicemetric-example.json +55 -0
  24. package/examples-json/deviceusestatement-example.json +27 -0
  25. package/examples-json/diagnosticreport-example.json +1002 -0
  26. package/examples-json/directive-include.json.out +16 -0
  27. package/examples-json/directive-skip.json.out +12 -0
  28. package/examples-json/directive-variable.json.out +16 -0
  29. package/examples-json/documentreference-example.json +162 -0
  30. package/examples-json/encounter-example.json +17 -0
  31. package/examples-json/endpoint-example.json +50 -0
  32. package/examples-json/episodeofcare-example.json +102 -0
  33. package/examples-json/familymemberhistory-example.json +66 -0
  34. package/examples-json/filter-fhirpath.json.out +14 -0
  35. package/examples-json/flag-example.json +48 -0
  36. package/examples-json/flatten-first.json.out +7 -0
  37. package/examples-json/flatten-singleton1.json.out +7 -0
  38. package/examples-json/flatten-singleton3.json.out +7 -0
  39. package/examples-json/flatten-slice1.json.out +10 -0
  40. package/examples-json/flatten-slice2.json.out +10 -0
  41. package/examples-json/flatten.json.out +7 -0
  42. package/examples-json/goal-example.json +87 -0
  43. package/examples-json/graphdefinition-example.json +61 -0
  44. package/examples-json/group-example.json +41 -0
  45. package/examples-json/healthcareservice-example.json +224 -0
  46. package/examples-json/immunization-example.json +132 -0
  47. package/examples-json/implementationguide-example.json +128 -0
  48. package/examples-json/linkage-example.json +27 -0
  49. package/examples-json/list-example-long.xml +1281 -0
  50. package/examples-json/list-example.json +45 -0
  51. package/examples-json/list-sub.json.out +23 -0
  52. package/examples-json/location-example.json +73 -0
  53. package/examples-json/medicationadministration0301.json +134 -0
  54. package/examples-json/medicationdispense0301.json +134 -0
  55. package/examples-json/medicationdispenseexample8.xml +64 -0
  56. package/examples-json/medicationrequest0301.json +279 -0
  57. package/examples-json/medicationstatementexample1.json +198 -0
  58. package/examples-json/messagedefinition-example.json +31 -0
  59. package/examples-json/messageheader-example.json +61 -0
  60. package/examples-json/molecularsequence-example.json +42 -0
  61. package/examples-json/namingsystem-example.json +37 -0
  62. package/examples-json/observation-decimal.json +77 -0
  63. package/examples-json/observation-decimal.xml +70 -0
  64. package/examples-json/observation-example-20minute-apgar-score.xml +169 -0
  65. package/examples-json/observation-example.json +57 -0
  66. package/examples-json/observation-example.xml +74 -0
  67. package/examples-json/operationdefinition-example.json +105 -0
  68. package/examples-json/operationoutcome-example.json +24 -0
  69. package/examples-json/organization-1.json +42 -0
  70. package/examples-json/organization-1.xml +49 -0
  71. package/examples-json/organization-example.json +42 -0
  72. package/examples-json/parameters-example.json +37 -0
  73. package/examples-json/patient-example-xds.xml +39 -0
  74. package/examples-json/patient-example.json +165 -0
  75. package/examples-json/patient-example.xml +156 -0
  76. package/examples-json/patient-glossy-example.xml +43 -0
  77. package/examples-json/paymentnotice-example.json +50 -0
  78. package/examples-json/person-example.json +88 -0
  79. package/examples-json/polymorphic.json.out +9 -0
  80. package/examples-json/practitioner-example.json +63 -0
  81. package/examples-json/practitionerrole-example.json +104 -0
  82. package/examples-json/questionnaire-example.json +157 -0
  83. package/examples-json/questionnaireresponse-example-bluebook.json +140 -0
  84. package/examples-json/reference-fragment-type.json.out +24 -0
  85. package/examples-json/reference-reverse.json.out +6 -0
  86. package/examples-json/reference-type-in.json.out +24 -0
  87. package/examples-json/reference-type-out.json.out +21 -0
  88. package/examples-json/reference.json.out +24 -0
  89. package/examples-json/riskassessment-example.json +186 -0
  90. package/examples-json/schedule-example.json +57 -0
  91. package/examples-json/search-full.json.out +21 -0
  92. package/examples-json/search-simple.json.out +9 -0
  93. package/examples-json/search-single.json.out +6 -0
  94. package/examples-json/simple.json.out +16 -0
  95. package/examples-json/slot-example.json +54 -0
  96. package/examples-json/specimen-example.json +109 -0
  97. package/examples-json/structuremap-example.json +77 -0
  98. package/examples-json/subscription-example.json +26 -0
  99. package/examples-json/substance-example.json +29 -0
  100. package/examples-json/supplydelivery-example.json +53 -0
  101. package/examples-json/valueset-example.json +93 -0
  102. package/package.json +20 -0
@@ -0,0 +1,63 @@
1
+ {
2
+ "resourceType": "Practitioner",
3
+ "id": "example",
4
+ "text": {
5
+ "status": "generated",
6
+ "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n <p>Dr Adam Careful is a Referring Practitioner for Acme Hospital from 1-Jan 2012 to 31-Mar\n 2012</p>\n </div>"
7
+ },
8
+ "identifier": [
9
+ {
10
+ "system": "http://www.acme.org/practitioners",
11
+ "value": "23"
12
+ }
13
+ ],
14
+ "active": true,
15
+ "name": [
16
+ {
17
+ "family": "Careful",
18
+ "given": [
19
+ "Adam"
20
+ ],
21
+ "prefix": [
22
+ "Dr"
23
+ ]
24
+ }
25
+ ],
26
+ "address": [
27
+ {
28
+ "use": "home",
29
+ "line": [
30
+ "534 Erewhon St"
31
+ ],
32
+ "city": "PleasantVille",
33
+ "state": "Vic",
34
+ "postalCode": "3999"
35
+ }
36
+ ],
37
+ "qualification": [
38
+ {
39
+ "identifier": [
40
+ {
41
+ "system": "http://example.org/UniversityIdentifier",
42
+ "value": "12345"
43
+ }
44
+ ],
45
+ "code": {
46
+ "coding": [
47
+ {
48
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0360/2.7",
49
+ "code": "BS",
50
+ "display": "Bachelor of Science"
51
+ }
52
+ ],
53
+ "text": "Bachelor of Science"
54
+ },
55
+ "period": {
56
+ "start": "1995"
57
+ },
58
+ "issuer": {
59
+ "display": "Example University"
60
+ }
61
+ }
62
+ ]
63
+ }
@@ -0,0 +1,104 @@
1
+ {
2
+ "resourceType": "PractitionerRole",
3
+ "id": "example",
4
+ "text": {
5
+ "status": "generated",
6
+ "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n\t\t\t<p>\n\t\t\t\tDr Adam Careful is a Referring Practitioner for Acme Hospital from 1-Jan 2012 to 31-Mar\n\t\t\t\t2012\n\t\t\t</p>\n\t\t</div>"
7
+ },
8
+ "identifier": [
9
+ {
10
+ "system": "http://www.acme.org/practitioners",
11
+ "value": "23"
12
+ }
13
+ ],
14
+ "active": true,
15
+ "period": {
16
+ "start": "2012-01-01",
17
+ "end": "2012-03-31"
18
+ },
19
+ "practitioner": {
20
+ "reference": "Practitioner/example",
21
+ "display": "Dr Adam Careful"
22
+ },
23
+ "organization": {
24
+ "reference": "Organization/f001"
25
+ },
26
+ "code": [
27
+ {
28
+ "coding": [
29
+ {
30
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0286",
31
+ "code": "RP"
32
+ }
33
+ ]
34
+ }
35
+ ],
36
+ "specialty": [
37
+ {
38
+ "coding": [
39
+ {
40
+ "system": "http://snomed.info/sct",
41
+ "code": "408443003",
42
+ "display": "General medical practice"
43
+ }
44
+ ]
45
+ }
46
+ ],
47
+ "location": [
48
+ {
49
+ "reference": "Location/1",
50
+ "display": "South Wing, second floor"
51
+ }
52
+ ],
53
+ "healthcareService": [
54
+ {
55
+ "reference": "HealthcareService/example"
56
+ }
57
+ ],
58
+ "telecom": [
59
+ {
60
+ "system": "phone",
61
+ "value": "(03) 5555 6473",
62
+ "use": "work"
63
+ },
64
+ {
65
+ "system": "email",
66
+ "value": "adam.southern@example.org",
67
+ "use": "work"
68
+ }
69
+ ],
70
+ "availableTime": [
71
+ {
72
+ "daysOfWeek": [
73
+ "mon",
74
+ "tue",
75
+ "wed"
76
+ ],
77
+ "availableStartTime": "09:00:00",
78
+ "availableEndTime": "16:30:00"
79
+ },
80
+ {
81
+ "daysOfWeek": [
82
+ "thu",
83
+ "fri"
84
+ ],
85
+ "availableStartTime": "09:00:00",
86
+ "availableEndTime": "12:00:00"
87
+ }
88
+ ],
89
+ "notAvailable": [
90
+ {
91
+ "description": "Adam will be on extended leave during May 2017",
92
+ "during": {
93
+ "start": "2017-05-01",
94
+ "end": "2017-05-20"
95
+ }
96
+ }
97
+ ],
98
+ "availabilityExceptions": "Adam is generally unavailable on public holidays and during the Christmas/New Year break",
99
+ "endpoint": [
100
+ {
101
+ "reference": "Endpoint/example"
102
+ }
103
+ ]
104
+ }
@@ -0,0 +1,157 @@
1
+ {
2
+ "resourceType": "Questionnaire",
3
+ "id": "3141",
4
+ "text": {
5
+ "status": "generated",
6
+ "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n <pre>\n 1.Comorbidity?\n 1.1 Cardial Comorbidity\n 1.1.1 Angina?\n 1.1.2 MI?\n 1.2 Vascular Comorbidity?\n ...\n Histopathology\n Abdominal\n pT category?\n ...\n </pre>\n </div>"
7
+ },
8
+ "url": "http://hl7.org/fhir/Questionnaire/3141",
9
+ "title": "Cancer Quality Forum Questionnaire 2012",
10
+ "status": "draft",
11
+ "subjectType": [
12
+ "Patient"
13
+ ],
14
+ "date": "2012-01",
15
+ "item": [
16
+ {
17
+ "linkId": "1",
18
+ "code": [
19
+ {
20
+ "system": "http://example.org/system/code/sections",
21
+ "code": "COMORBIDITY"
22
+ }
23
+ ],
24
+ "type": "group",
25
+ "item": [
26
+ {
27
+ "linkId": "1.1",
28
+ "code": [
29
+ {
30
+ "system": "http://example.org/system/code/questions",
31
+ "code": "COMORB"
32
+ }
33
+ ],
34
+ "prefix": "1",
35
+ "type": "choice",
36
+ "answerValueSet": "http://hl7.org/fhir/ValueSet/yesnodontknow",
37
+ "item": [
38
+ {
39
+ "linkId": "1.1.1",
40
+ "code": [
41
+ {
42
+ "system": "http://example.org/system/code/sections",
43
+ "code": "CARDIAL"
44
+ }
45
+ ],
46
+ "type": "group",
47
+ "enableWhen": [
48
+ {
49
+ "question": "1.1",
50
+ "operator": "=",
51
+ "answerCoding": {
52
+ "system": "http://terminology.hl7.org/CodeSystem/v2-0136",
53
+ "code": "Y"
54
+ }
55
+ }
56
+ ],
57
+ "item": [
58
+ {
59
+ "linkId": "1.1.1.1",
60
+ "code": [
61
+ {
62
+ "system": "http://example.org/system/code/questions",
63
+ "code": "COMORBCAR"
64
+ }
65
+ ],
66
+ "prefix": "1.1",
67
+ "type": "choice",
68
+ "answerValueSet": "http://hl7.org/fhir/ValueSet/yesnodontknow",
69
+ "item": [
70
+ {
71
+ "linkId": "1.1.1.1.1",
72
+ "code": [
73
+ {
74
+ "system": "http://example.org/system/code/questions",
75
+ "code": "COMCAR00",
76
+ "display": "Angina Pectoris"
77
+ },
78
+ {
79
+ "system": "http://snomed.info/sct",
80
+ "code": "194828000",
81
+ "display": "Angina (disorder)"
82
+ }
83
+ ],
84
+ "prefix": "1.1.1",
85
+ "type": "choice",
86
+ "answerValueSet": "http://hl7.org/fhir/ValueSet/yesnodontknow"
87
+ },
88
+ {
89
+ "linkId": "1.1.1.1.2",
90
+ "code": [
91
+ {
92
+ "system": "http://snomed.info/sct",
93
+ "code": "22298006",
94
+ "display": "Myocardial infarction (disorder)"
95
+ }
96
+ ],
97
+ "prefix": "1.1.2",
98
+ "type": "choice",
99
+ "answerValueSet": "http://hl7.org/fhir/ValueSet/yesnodontknow"
100
+ }
101
+ ]
102
+ },
103
+ {
104
+ "linkId": "1.1.1.2",
105
+ "code": [
106
+ {
107
+ "system": "http://example.org/system/code/questions",
108
+ "code": "COMORBVAS"
109
+ }
110
+ ],
111
+ "prefix": "1.2",
112
+ "type": "choice",
113
+ "answerValueSet": "http://hl7.org/fhir/ValueSet/yesnodontknow"
114
+ }
115
+ ]
116
+ }
117
+ ]
118
+ }
119
+ ]
120
+ },
121
+ {
122
+ "linkId": "2",
123
+ "code": [
124
+ {
125
+ "system": "http://example.org/system/code/sections",
126
+ "code": "HISTOPATHOLOGY"
127
+ }
128
+ ],
129
+ "type": "group",
130
+ "item": [
131
+ {
132
+ "linkId": "2.1",
133
+ "code": [
134
+ {
135
+ "system": "http://example.org/system/code/sections",
136
+ "code": "ABDOMINAL"
137
+ }
138
+ ],
139
+ "type": "group",
140
+ "item": [
141
+ {
142
+ "linkId": "2.1.2",
143
+ "code": [
144
+ {
145
+ "system": "http://example.org/system/code/questions",
146
+ "code": "STADPT",
147
+ "display": "pT category"
148
+ }
149
+ ],
150
+ "type": "choice"
151
+ }
152
+ ]
153
+ }
154
+ ]
155
+ }
156
+ ]
157
+ }
@@ -0,0 +1,140 @@
1
+ {
2
+ "resourceType": "QuestionnaireResponse",
3
+ "id": "bb",
4
+ "text": {
5
+ "status": "generated",
6
+ "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n <pre>\n Cathy Jones, female. Birth weight 3.25 kg at 44.3 cm. \n Injection of Vitamin K given on 1972-11-30 (first dose) and 1972-12-11 (second dose)\n Note: Was able to speak Chinese at birth.\n </pre>\n </div>"
7
+ },
8
+ "status": "completed",
9
+ "subject": {
10
+ "reference": "http://hl7.org/fhir/Patient/1",
11
+ "type": "Patient"
12
+ },
13
+ "authored": "2013-02-19T14:15:00+10:00",
14
+ "author": {
15
+ "reference": "http://hl7.org/fhir/Practitioner/example",
16
+ "type": "Practitioner"
17
+ },
18
+ "item": [
19
+ {
20
+ "linkId": "birthDetails",
21
+ "text": "Birth details - To be completed by health professional",
22
+ "item": [
23
+ {
24
+ "linkId": "group",
25
+ "item": [
26
+ {
27
+ "linkId": "nameOfChild",
28
+ "text": "Name of child",
29
+ "answer": [
30
+ {
31
+ "valueString": "Cathy Jones"
32
+ }
33
+ ]
34
+ },
35
+ {
36
+ "linkId": "sex",
37
+ "text": "Sex",
38
+ "answer": [
39
+ {
40
+ "valueCoding": {
41
+ "code": "f"
42
+ }
43
+ }
44
+ ]
45
+ }
46
+ ]
47
+ },
48
+ {
49
+ "linkId": "neonatalInformation",
50
+ "text": "Neonatal Information",
51
+ "item": [
52
+ {
53
+ "linkId": "birthWeight",
54
+ "text": "Birth weight (kg)",
55
+ "answer": [
56
+ {
57
+ "valueDecimal": 3.25
58
+ }
59
+ ]
60
+ },
61
+ {
62
+ "linkId": "birthLength",
63
+ "text": "Birth length (cm)",
64
+ "answer": [
65
+ {
66
+ "valueDecimal": 44.3
67
+ }
68
+ ]
69
+ },
70
+ {
71
+ "linkId": "vitaminKgiven",
72
+ "text": "Vitamin K given",
73
+ "answer": [
74
+ {
75
+ "valueCoding": {
76
+ "code": "INJECTION"
77
+ },
78
+ "item": [
79
+ {
80
+ "linkId": "vitaminKgivenDoses",
81
+ "item": [
82
+ {
83
+ "linkId": "vitaminKDose1",
84
+ "text": "1st dose",
85
+ "answer": [
86
+ {
87
+ "valueDate": "1972-11-30"
88
+ }
89
+ ]
90
+ },
91
+ {
92
+ "linkId": "vitaminKDose2",
93
+ "text": "2nd dose",
94
+ "answer": [
95
+ {
96
+ "valueDate": "1972-12-11"
97
+ }
98
+ ]
99
+ }
100
+ ]
101
+ }
102
+ ]
103
+ }
104
+ ]
105
+ },
106
+ {
107
+ "linkId": "hepBgiven",
108
+ "text": "Hep B given y / n",
109
+ "answer": [
110
+ {
111
+ "valueBoolean": true,
112
+ "item": [
113
+ {
114
+ "linkId": "hepBgivenDate",
115
+ "text": "Date given",
116
+ "answer": [
117
+ {
118
+ "valueDate": "1972-12-04"
119
+ }
120
+ ]
121
+ }
122
+ ]
123
+ }
124
+ ]
125
+ },
126
+ {
127
+ "linkId": "abnormalitiesAtBirth",
128
+ "text": "Abnormalities noted at birth",
129
+ "answer": [
130
+ {
131
+ "valueString": "Already able to speak Chinese"
132
+ }
133
+ ]
134
+ }
135
+ ]
136
+ }
137
+ ]
138
+ }
139
+ ]
140
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "id":"example",
3
+ "subject":{
4
+ "reference":"Patient/example",
5
+ "resource":{
6
+ "active":true
7
+ }
8
+ },
9
+ "code":{
10
+ "coding":[{
11
+ "system":"http://loinc.org",
12
+ "code":"29463-7"
13
+ },{
14
+ "system":"http://loinc.org",
15
+ "code":"3141-9"
16
+ },{
17
+ "system":"http://snomed.info/sct",
18
+ "code":"27113001"
19
+ },{
20
+ "system":"http://acme.org/devices/clinical-codes",
21
+ "code":"body-weight"
22
+ }]
23
+ }
24
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "id":"example",
3
+ "ConditionList":[{
4
+ "id":"example"
5
+ }]
6
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "id":"example",
3
+ "subject":{
4
+ "reference":"Patient/example",
5
+ "resource":{
6
+ "active":true
7
+ }
8
+ },
9
+ "code":{
10
+ "coding":[{
11
+ "system":"http://loinc.org",
12
+ "code":"29463-7"
13
+ },{
14
+ "system":"http://loinc.org",
15
+ "code":"3141-9"
16
+ },{
17
+ "system":"http://snomed.info/sct",
18
+ "code":"27113001"
19
+ },{
20
+ "system":"http://acme.org/devices/clinical-codes",
21
+ "code":"body-weight"
22
+ }]
23
+ }
24
+ }
@@ -0,0 +1,21 @@
1
+ {
2
+ "id":"example",
3
+ "subject":{
4
+ "reference":"Patient/example"
5
+ },
6
+ "code":{
7
+ "coding":[{
8
+ "system":"http://loinc.org",
9
+ "code":"29463-7"
10
+ },{
11
+ "system":"http://loinc.org",
12
+ "code":"3141-9"
13
+ },{
14
+ "system":"http://snomed.info/sct",
15
+ "code":"27113001"
16
+ },{
17
+ "system":"http://acme.org/devices/clinical-codes",
18
+ "code":"body-weight"
19
+ }]
20
+ }
21
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "id":"example",
3
+ "subject":{
4
+ "reference":"Patient/example",
5
+ "resource":{
6
+ "active":true
7
+ }
8
+ },
9
+ "code":{
10
+ "coding":[{
11
+ "system":"http://loinc.org",
12
+ "code":"29463-7"
13
+ },{
14
+ "system":"http://loinc.org",
15
+ "code":"3141-9"
16
+ },{
17
+ "system":"http://snomed.info/sct",
18
+ "code":"27113001"
19
+ },{
20
+ "system":"http://acme.org/devices/clinical-codes",
21
+ "code":"body-weight"
22
+ }]
23
+ }
24
+ }