fhir-react 0.2.1 → 0.3.0
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/.github/workflows/publish_npmjs.yml +18 -0
- package/.storybook/config.js +9 -3
- package/.storybook/presets.js +1 -0
- package/.storybook/preview-head.html +4 -0
- package/README.md +86 -55
- package/package.json +13 -4
- package/src/assets/common/chevron-right.svg +3 -0
- package/src/assets/containers/AllergyIntolerance/allergy-intolerance.svg +9 -0
- package/src/assets/containers/Appointment/appointment.svg +14 -0
- package/src/assets/containers/CarePlan/care-plan.svg +10 -0
- package/src/assets/containers/CareTeam/care-team.svg +10 -0
- package/src/assets/containers/Claim/claim.svg +6 -0
- package/src/assets/containers/ClaimResponse/claim-response.svg +7 -0
- package/src/assets/containers/Condition/condition.svg +11 -0
- package/src/assets/containers/Device/device.svg +8 -0
- package/src/assets/containers/DiagnosticReport/diagnostic-report.svg +14 -0
- package/src/assets/containers/DocumentReference/document-reference.svg +10 -0
- package/src/assets/containers/Encounter/encounter.svg +10 -0
- package/src/assets/containers/ExplanationOfBenefit/explanation-of-benefit.svg +3 -0
- package/src/assets/containers/FamilyMemberHistory/family-member-history.svg +7 -0
- package/src/assets/containers/Goal/goal.svg +11 -0
- package/src/assets/containers/Immunization/immunization.svg +7 -0
- package/src/assets/containers/List/list.svg +3 -0
- package/src/assets/containers/Location/location.svg +4 -0
- package/src/assets/containers/Medication/medication.svg +5 -0
- package/src/assets/containers/MedicationAdministration/medication-administration.svg +6 -0
- package/src/assets/containers/MedicationKnowledge/medication-knowledge.svg +11 -0
- package/src/assets/containers/MedicationStatement/medication-statement.svg +5 -0
- package/src/assets/containers/Observation/observation.svg +12 -0
- package/src/assets/containers/Practitioner/practitioner.svg +5 -0
- package/src/assets/containers/Procedure/procedure.svg +9 -0
- package/src/assets/containers/Questionnaire/questionnaire.svg +6 -0
- package/src/assets/containers/QuestionnaireResponse/questionnaire-response.svg +6 -0
- package/src/assets/containers/QustionnaireResponse/questionnaire-response.svg +6 -0
- package/src/assets/containers/ResearchStudy/research-study.svg +9 -0
- package/src/assets/containers/ResourceCategory/resource-placeholder.svg +3 -0
- package/src/components/containers/Accordion/Accordion.js +80 -0
- package/src/components/containers/Accordion/Accordion.stories.js +76 -0
- package/src/components/containers/Accordion/index.js +3 -0
- package/src/components/containers/ResourceContainer/ResourceContainer.css +0 -1
- package/src/components/containers/ResourceContainer/ResourceContainer.js +1 -1
- package/src/components/datatypes/AccountBalance/AccountBalance.js +33 -0
- package/src/components/datatypes/AccountBalance/index.js +3 -0
- package/src/components/datatypes/Annotation/Annotation.js +1 -1
- package/src/components/datatypes/Coding/Coding.js +1 -1
- package/src/components/datatypes/Date/Date.js +14 -4
- package/src/components/datatypes/DatePeriod/DatePeriod.js +38 -0
- package/src/components/datatypes/DatePeriod/index.js +3 -0
- package/src/components/datatypes/HeaderIcon/HeaderIcon.js +31 -0
- package/src/components/datatypes/HeaderIcon/index.js +3 -0
- package/src/components/datatypes/HumanName/HumanName.js +6 -21
- package/src/components/datatypes/Reference/Reference.js +3 -6
- package/src/components/resources/AdverseEvent/AdverseEvent.test.js +2 -2
- package/src/components/resources/AllergyIntolerance/AllergyIntolerance.test.js +4 -4
- package/src/components/resources/Appointment/Appointment.js +91 -65
- package/src/components/resources/Appointment/Appointment.test.js +3 -3
- package/src/components/resources/Bundle/Bundle.js +2 -2
- package/src/components/resources/Bundle/Bundle.stories.js +78 -12
- package/src/components/resources/Bundle/Bundle.test.js +3 -0
- package/src/components/resources/CarePlan/CarePlan.test.js +4 -4
- package/src/components/resources/CareTeam/CareTeam.js +13 -14
- package/src/components/resources/CareTeam/CareTeam.test.js +4 -4
- package/src/components/resources/Claim/Claim.test.js +6 -6
- package/src/components/resources/ClaimResponse/ClaimResponse.test.js +6 -6
- package/src/components/resources/Condition/Condition.js +63 -47
- package/src/components/resources/Condition/Condition.stories.js +41 -8
- package/src/components/resources/Condition/Condition.test.js +20 -14
- package/src/components/resources/DiagnosticReport/DiagnosticReport.test.js +5 -7
- package/src/components/resources/DocumentReference/DocumentReference.js +1 -1
- package/src/components/resources/DocumentReference/DocumentReference.test.js +3 -3
- package/src/components/resources/Encounter/Encounter.js +66 -36
- package/src/components/resources/Encounter/EncounterParticipants.js +2 -2
- package/src/components/resources/ExplanationOfBenefit/CareTeam.js +2 -2
- package/src/components/resources/ExplanationOfBenefit/Diagnosis.js +31 -5
- package/src/components/resources/ExplanationOfBenefit/ExplanationOfBenefit.js +272 -201
- package/src/components/resources/ExplanationOfBenefit/ExplanationOfBenefit.stories.js +12 -0
- package/src/components/resources/ExplanationOfBenefit/ExplanationOfBenefit.test.js +96 -62
- package/src/components/resources/ExplanationOfBenefit/Items.js +2 -2
- package/src/components/resources/ExplanationOfBenefit/PriceLabel.js +20 -0
- package/src/components/resources/ExplanationOfBenefit/Related.js +3 -3
- package/src/components/resources/ExplanationOfBenefit/SupportingInfo.js +14 -3
- package/src/components/resources/ExplanationOfBenefit/TotalGraph.js +68 -0
- package/src/components/resources/ExplanationOfBenefitGraph/ExplanationOfBenefitGraph.js +89 -0
- package/src/components/resources/ExplanationOfBenefitGraph/ExplanationOfBenefitGraph.stories.js +78 -0
- package/src/components/resources/ExplanationOfBenefitGraph/ExplanationOfBenefitGraph.test.js +51 -0
- package/src/components/resources/ExplanationOfBenefitGraph/index.js +3 -0
- package/src/components/resources/Goal/Goal.test.js +1 -1
- package/src/components/resources/Immunization/Immunization.js +125 -94
- package/src/components/resources/Immunization/Immunization.stories.js +23 -4
- package/src/components/resources/Immunization/Immunization.test.js +17 -12
- package/src/components/resources/List/DrugTierDefinitionExtension.js +139 -0
- package/src/components/resources/List/Entries.js +66 -0
- package/src/components/resources/List/List.js +262 -0
- package/src/components/resources/List/List.stories.js +75 -0
- package/src/components/resources/List/List.test.js +95 -0
- package/src/components/resources/List/index.js +3 -0
- package/src/components/resources/List/utils.js +6 -0
- package/src/components/resources/MedicationAdministration/MedicationAdministration.test.js +7 -7
- package/src/components/resources/MedicationDispense/MedicationDispense.test.js +2 -2
- package/src/components/resources/MedicationKnowledge/MedicationKnowledge.js +217 -0
- package/src/components/resources/MedicationKnowledge/MedicationKnowledge.stories.js +78 -0
- package/src/components/resources/MedicationKnowledge/MedicationKnowledge.test.js +69 -0
- package/src/components/resources/MedicationKnowledge/index.js +3 -0
- package/src/components/resources/MedicationKnowledge/utils.js +8 -0
- package/src/components/resources/MedicationRequest/MedicationRequest.test.js +4 -4
- package/src/components/resources/Observation/Observation.js +72 -54
- package/src/components/resources/Observation/Observation.test.js +6 -18
- package/src/components/resources/Observation/ObservationGraph.js +159 -55
- package/src/components/resources/Observation/ObservationGraph.test.js +47 -26
- package/src/components/resources/Patient/Patient.js +79 -97
- package/src/components/resources/Patient/Patient.test.js +10 -10
- package/src/components/resources/Practitioner/Practitioner.js +80 -60
- package/src/components/resources/Practitioner/Practitioner.test.js +4 -4
- package/src/components/resources/Procedure/Procedure.js +99 -87
- package/src/components/resources/Procedure/Procedure.stories.js +8 -6
- package/src/components/resources/Procedure/Procedure.test.js +11 -8
- package/src/components/resources/Questionnaire/Questionnaire.test.js +3 -3
- package/src/components/resources/QuestionnaireResponse/QuestionnaireResponse.test.js +5 -5
- package/src/components/resources/ReferralRequest/ReferralRequest.test.js +2 -2
- package/src/components/resources/ResearchStudy/ResearchStudy.test.js +1 -1
- package/src/components/resources/ResourceCategory/ResourceCategory.js +56 -0
- package/src/components/resources/ResourceCategory/ResourceCategory.stories.js +29 -0
- package/src/components/resources/ResourceCategory/ResourceCategory.test.js +101 -0
- package/src/components/resources/ResourceCategory/index.js +3 -0
- package/src/components/supportedFhirResourceList.js +4 -0
- package/src/components/ui/_header.scss +3 -0
- package/src/components/ui/bootstrap-reboot.min.css +2 -22
- package/src/components/ui/index.js +191 -29
- package/src/constants/badge-status.jsx +98 -0
- package/src/fixtures/dstu2/resources/condition/condition.svg +35 -0
- package/src/fixtures/dstu2/resources/immunization/immunization.svg +10 -0
- package/src/fixtures/dstu2/resources/list/example1.json +49 -0
- package/src/fixtures/dstu2/resources/list/example2.json +116 -0
- package/src/fixtures/dstu2/resources/list/example3.json +380 -0
- package/src/fixtures/example-icons.jsx +169 -0
- package/src/fixtures/r4/resources/explanationOfBenefit/c4bbExtendedDiagnosis.json +446 -0
- package/src/fixtures/r4/resources/list/example1.json +45 -0
- package/src/fixtures/r4/resources/list/example2.json +282 -0
- package/src/fixtures/r4/resources/list/example3.json +298 -0
- package/src/fixtures/r4/resources/medicationKnowledge/example1.json +42 -0
- package/src/fixtures/r4/resources/medicationKnowledge/example2.json +59 -0
- package/src/fixtures/r4/resources/medicationKnowledge/example3.json +59 -0
- package/src/fixtures/r4/resources/medicationKnowledge/example4.json +59 -0
- package/src/fixtures/stu3/resources/list/example1.json +46 -0
- package/src/fixtures/stu3/resources/list/example2.json +298 -0
- package/src/fixtures/stu3/resources/list/example3.json +115 -0
- package/src/index.js +6 -1
- package/src/style.scss +176 -0
- package/src/utils/formatDate.js +21 -0
- package/src/utils/formatDate.test.js +22 -0
- package/src/utils/getBadgeColor.js +6 -0
- package/src/utils/getBadgeColor.test.js +14 -0
- package/src/utils/isUrl.js +9 -0
- package/src/utils/isUrl.test.js +12 -0
- package/src/utils.js +7 -0
- package/build/bootstrap-reboot.min.css +0 -414
- package/build/index.js +0 -15
- package/build/style.css +0 -459
- package/src/components/datatypes/HumanName/HumanName.css +0 -15
- package/src/components/datatypes/Reference/Reference.css +0 -8
- package/src/components/resources/Observation/ObservationGraph.css +0 -51
- package/src/components/resources/Patient/Patient.css +0 -19
- package/src/components/ui/index.css +0 -123
|
@@ -0,0 +1,446 @@
|
|
|
1
|
+
{
|
|
2
|
+
"resourceType": "ExplanationOfBenefit",
|
|
3
|
+
"id": "e6c4234b-19a8-4e5c-35cb-5d05a97d5788",
|
|
4
|
+
"meta": {
|
|
5
|
+
"profile": [
|
|
6
|
+
"http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Inpatient-Institutional"
|
|
7
|
+
]
|
|
8
|
+
},
|
|
9
|
+
"related": [
|
|
10
|
+
{
|
|
11
|
+
"reference": {
|
|
12
|
+
"value": "Q19137E17126"
|
|
13
|
+
},
|
|
14
|
+
"claim": {
|
|
15
|
+
"reference": "ExplanationOfBenefit/EqUVAXt5WrNnlJPdB7swbxJXaYxxnvBxWwGPxUx1up"
|
|
16
|
+
},
|
|
17
|
+
"relationship": {
|
|
18
|
+
"coding": [
|
|
19
|
+
{
|
|
20
|
+
"code": "prior",
|
|
21
|
+
"system": "http://terminology.hl7.org/CodeSystem/ex-relatedclaimrelationship"
|
|
22
|
+
}
|
|
23
|
+
]
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"reference": {
|
|
28
|
+
"value": "Q19137E17126"
|
|
29
|
+
},
|
|
30
|
+
"claim": {
|
|
31
|
+
"reference": "ExplanationOfBenefit/ABCDEXg2WrYnlJrdr7sabxZZaYffnvBxWwGPx99999"
|
|
32
|
+
},
|
|
33
|
+
"relationship": {
|
|
34
|
+
"coding": [
|
|
35
|
+
{
|
|
36
|
+
"code": "replacedby",
|
|
37
|
+
"system": "http://terminology.hl7.org/CodeSystem/ex-relatedclaimrelationship"
|
|
38
|
+
}
|
|
39
|
+
]
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"payee": {
|
|
44
|
+
"type": {
|
|
45
|
+
"coding": [
|
|
46
|
+
{
|
|
47
|
+
"code": "provider",
|
|
48
|
+
"system": "http://terminology.hl7.org/CodeSystem/payeetype"
|
|
49
|
+
}
|
|
50
|
+
]
|
|
51
|
+
},
|
|
52
|
+
"party": {
|
|
53
|
+
"reference": "Organization/iAxXvHiphwGGAL48m3B7XXtKlLZg6yXnC1ch84x1up"
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"contained": [
|
|
57
|
+
{
|
|
58
|
+
"resourceType": "ServiceRequest",
|
|
59
|
+
"id": "referral",
|
|
60
|
+
"status": "completed",
|
|
61
|
+
"intent": "order",
|
|
62
|
+
"subject": {
|
|
63
|
+
"reference": "Patient/f56391c2-dd54-b378-46ef-87c1643a2ba0"
|
|
64
|
+
},
|
|
65
|
+
"requester": {
|
|
66
|
+
"reference": "Practitioner/820ee8ba-855a-3aaf-9eeb-6603cfdaee25"
|
|
67
|
+
},
|
|
68
|
+
"performer": [
|
|
69
|
+
{
|
|
70
|
+
"reference": "Practitioner/820ee8ba-855a-3aaf-9eeb-6603cfdaee25"
|
|
71
|
+
}
|
|
72
|
+
]
|
|
73
|
+
}
|
|
74
|
+
],
|
|
75
|
+
"identifier": [
|
|
76
|
+
{
|
|
77
|
+
"system": "https://bluebutton.cms.gov/resources/variables/clm_id",
|
|
78
|
+
"value": "c145d3fe-d56e-dc26-75e9-01e90672f506"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"system": "https://bluebutton.cms.gov/resources/identifier/claim-group",
|
|
82
|
+
"value": "99999999999"
|
|
83
|
+
}
|
|
84
|
+
],
|
|
85
|
+
"status": "active",
|
|
86
|
+
"type": {
|
|
87
|
+
"coding": [
|
|
88
|
+
{
|
|
89
|
+
"system": "http://terminology.hl7.org/CodeSystem/claim-type",
|
|
90
|
+
"code": "institutional"
|
|
91
|
+
}
|
|
92
|
+
]
|
|
93
|
+
},
|
|
94
|
+
"subType": {
|
|
95
|
+
"coding": [
|
|
96
|
+
{
|
|
97
|
+
"system": "http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBInstitutionalClaimSubType",
|
|
98
|
+
"code": "inpatient"
|
|
99
|
+
}
|
|
100
|
+
]
|
|
101
|
+
},
|
|
102
|
+
"use": "claim",
|
|
103
|
+
"patient": {
|
|
104
|
+
"reference": "Patient/f56391c2-dd54-b378-46ef-87c1643a2ba0"
|
|
105
|
+
},
|
|
106
|
+
"billablePeriod": {
|
|
107
|
+
"start": "2017-01-05T21:41:04+01:00",
|
|
108
|
+
"end": "2018-01-05T21:41:04+01:00"
|
|
109
|
+
},
|
|
110
|
+
"created": "2017-01-05T21:41:04+01:00",
|
|
111
|
+
"insurer": {
|
|
112
|
+
"display": "Medicaid"
|
|
113
|
+
},
|
|
114
|
+
"provider": {
|
|
115
|
+
"reference": "Practitioner/820ee8ba-855a-3aaf-9eeb-6603cfdaee25"
|
|
116
|
+
},
|
|
117
|
+
"referral": {
|
|
118
|
+
"reference": "#referral"
|
|
119
|
+
},
|
|
120
|
+
"facility": {
|
|
121
|
+
"reference": "Location/e111a884-fc5e-3766-9077-c44100ba56e2",
|
|
122
|
+
"display": "NEWTON-WELLESLEY HOSPITAL"
|
|
123
|
+
},
|
|
124
|
+
"claim": {
|
|
125
|
+
"reference": "Claim/c145d3fe-d56e-dc26-75e9-01e90672f506"
|
|
126
|
+
},
|
|
127
|
+
"outcome": "complete",
|
|
128
|
+
"careTeam": [
|
|
129
|
+
{
|
|
130
|
+
"sequence": 1,
|
|
131
|
+
"provider": {
|
|
132
|
+
"reference": "Practitioner/820ee8ba-855a-3aaf-9eeb-6603cfdaee25"
|
|
133
|
+
},
|
|
134
|
+
"role": {
|
|
135
|
+
"coding": [
|
|
136
|
+
{
|
|
137
|
+
"system": "http://terminology.hl7.org/CodeSystem/claimcareteamrole",
|
|
138
|
+
"code": "primary",
|
|
139
|
+
"display": "Primary Care Practitioner"
|
|
140
|
+
}
|
|
141
|
+
]
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
],
|
|
145
|
+
"supportingInfo": [
|
|
146
|
+
{
|
|
147
|
+
"sequence": 1,
|
|
148
|
+
"category": {
|
|
149
|
+
"coding": [
|
|
150
|
+
{
|
|
151
|
+
"system": "http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBSupportingInfoType",
|
|
152
|
+
"code": "clmrecvddate"
|
|
153
|
+
}
|
|
154
|
+
]
|
|
155
|
+
},
|
|
156
|
+
"timingDate": "2017-01-05"
|
|
157
|
+
}
|
|
158
|
+
],
|
|
159
|
+
"diagnosis": [
|
|
160
|
+
{
|
|
161
|
+
"sequence": 1,
|
|
162
|
+
"diagnosisReference": {
|
|
163
|
+
"reference": "Condition/88bd5ac6-175b-5906-a4ee-6eedd667b0cc"
|
|
164
|
+
},
|
|
165
|
+
"type": [
|
|
166
|
+
{
|
|
167
|
+
"coding": [
|
|
168
|
+
{
|
|
169
|
+
"system": "http://terminology.hl7.org/CodeSystem/ex-diagnosistype",
|
|
170
|
+
"code": "principal"
|
|
171
|
+
}
|
|
172
|
+
]
|
|
173
|
+
}
|
|
174
|
+
]
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"sequence": 2,
|
|
178
|
+
"type": [
|
|
179
|
+
{
|
|
180
|
+
"coding": [
|
|
181
|
+
{
|
|
182
|
+
"code": "principal",
|
|
183
|
+
"system": "http://terminology.hl7.org/CodeSystem/ex-diagnosistype",
|
|
184
|
+
"display": "Principal Diagnosis"
|
|
185
|
+
}
|
|
186
|
+
],
|
|
187
|
+
"text": "\"The single medical diagnosis that is most relevant to the patients chief complaint or need for treatment\""
|
|
188
|
+
}
|
|
189
|
+
],
|
|
190
|
+
"onAdmission": {
|
|
191
|
+
"coding": [
|
|
192
|
+
{
|
|
193
|
+
"system": "https://www.nubc.org/CodeSystem/PresentOnAdmissionIndicator"
|
|
194
|
+
}
|
|
195
|
+
]
|
|
196
|
+
},
|
|
197
|
+
"diagnosisCodeableConcept": {
|
|
198
|
+
"coding": [
|
|
199
|
+
{
|
|
200
|
+
"code": "Z96.651",
|
|
201
|
+
"system": "http://hl7.org/fhir/sid/icd-10-cm",
|
|
202
|
+
"display": "Presence of right artificial knee joint"
|
|
203
|
+
}
|
|
204
|
+
],
|
|
205
|
+
"text": "Presence of right artificial knee joint"
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
],
|
|
209
|
+
"insurance": [
|
|
210
|
+
{
|
|
211
|
+
"focal": true,
|
|
212
|
+
"coverage": {
|
|
213
|
+
"display": "Medicaid"
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
],
|
|
217
|
+
"item": [
|
|
218
|
+
{
|
|
219
|
+
"sequence": 1,
|
|
220
|
+
"category": {
|
|
221
|
+
"coding": [
|
|
222
|
+
{
|
|
223
|
+
"system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd",
|
|
224
|
+
"code": "1",
|
|
225
|
+
"display": "Medical care"
|
|
226
|
+
}
|
|
227
|
+
]
|
|
228
|
+
},
|
|
229
|
+
"productOrService": {
|
|
230
|
+
"coding": [
|
|
231
|
+
{
|
|
232
|
+
"system": "http://snomed.info/sct",
|
|
233
|
+
"code": "185345009",
|
|
234
|
+
"display": "Encounter for symptom"
|
|
235
|
+
}
|
|
236
|
+
],
|
|
237
|
+
"text": "Encounter for symptom"
|
|
238
|
+
},
|
|
239
|
+
"servicedPeriod": {
|
|
240
|
+
"start": "2017-01-05T21:26:04+01:00",
|
|
241
|
+
"end": "2017-01-05T21:41:04+01:00"
|
|
242
|
+
},
|
|
243
|
+
"locationCodeableConcept": {
|
|
244
|
+
"coding": [
|
|
245
|
+
{
|
|
246
|
+
"system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace",
|
|
247
|
+
"code": "21",
|
|
248
|
+
"display": "Inpatient Hospital"
|
|
249
|
+
}
|
|
250
|
+
]
|
|
251
|
+
},
|
|
252
|
+
"encounter": [
|
|
253
|
+
{
|
|
254
|
+
"reference": "Encounter/97e2c68b-c5e6-02f3-867b-f9f207badd64"
|
|
255
|
+
}
|
|
256
|
+
]
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
"sequence": 2,
|
|
260
|
+
"diagnosisSequence": [1],
|
|
261
|
+
"category": {
|
|
262
|
+
"coding": [
|
|
263
|
+
{
|
|
264
|
+
"system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd",
|
|
265
|
+
"code": "1",
|
|
266
|
+
"display": "Medical care"
|
|
267
|
+
}
|
|
268
|
+
]
|
|
269
|
+
},
|
|
270
|
+
"productOrService": {
|
|
271
|
+
"coding": [
|
|
272
|
+
{
|
|
273
|
+
"system": "http://snomed.info/sct",
|
|
274
|
+
"code": "10509002",
|
|
275
|
+
"display": "Acute bronchitis (disorder)"
|
|
276
|
+
}
|
|
277
|
+
],
|
|
278
|
+
"text": "Acute bronchitis (disorder)"
|
|
279
|
+
},
|
|
280
|
+
"servicedPeriod": {
|
|
281
|
+
"start": "2017-01-05T21:26:04+01:00",
|
|
282
|
+
"end": "2017-01-05T21:41:04+01:00"
|
|
283
|
+
},
|
|
284
|
+
"locationCodeableConcept": {
|
|
285
|
+
"coding": [
|
|
286
|
+
{
|
|
287
|
+
"system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace",
|
|
288
|
+
"code": "21",
|
|
289
|
+
"display": "Inpatient Hospital"
|
|
290
|
+
}
|
|
291
|
+
]
|
|
292
|
+
}
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
"sequence": 3,
|
|
296
|
+
"category": {
|
|
297
|
+
"coding": [
|
|
298
|
+
{
|
|
299
|
+
"system": "https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd",
|
|
300
|
+
"code": "1",
|
|
301
|
+
"display": "Medical care"
|
|
302
|
+
}
|
|
303
|
+
]
|
|
304
|
+
},
|
|
305
|
+
"productOrService": {
|
|
306
|
+
"coding": [
|
|
307
|
+
{
|
|
308
|
+
"system": "http://snomed.info/sct",
|
|
309
|
+
"code": "23426006",
|
|
310
|
+
"display": "Measurement of respiratory function (procedure)"
|
|
311
|
+
}
|
|
312
|
+
],
|
|
313
|
+
"text": "Measurement of respiratory function (procedure)"
|
|
314
|
+
},
|
|
315
|
+
"servicedPeriod": {
|
|
316
|
+
"start": "2017-01-05T21:26:04+01:00",
|
|
317
|
+
"end": "2017-01-05T21:41:04+01:00"
|
|
318
|
+
},
|
|
319
|
+
"locationCodeableConcept": {
|
|
320
|
+
"coding": [
|
|
321
|
+
{
|
|
322
|
+
"system": "http://terminology.hl7.org/CodeSystem/ex-serviceplace",
|
|
323
|
+
"code": "21",
|
|
324
|
+
"display": "Inpatient Hospital"
|
|
325
|
+
}
|
|
326
|
+
]
|
|
327
|
+
},
|
|
328
|
+
"net": {
|
|
329
|
+
"value": 146.42,
|
|
330
|
+
"currency": "USD"
|
|
331
|
+
},
|
|
332
|
+
"adjudication": [
|
|
333
|
+
{
|
|
334
|
+
"category": {
|
|
335
|
+
"coding": [
|
|
336
|
+
{
|
|
337
|
+
"system": "https://bluebutton.cms.gov/resources/codesystem/adjudication",
|
|
338
|
+
"code": "https://bluebutton.cms.gov/resources/variables/line_coinsrnc_amt",
|
|
339
|
+
"display": "Line Beneficiary Coinsurance Amount"
|
|
340
|
+
}
|
|
341
|
+
]
|
|
342
|
+
},
|
|
343
|
+
"amount": {
|
|
344
|
+
"value": 29.284,
|
|
345
|
+
"currency": "USD"
|
|
346
|
+
}
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
"category": {
|
|
350
|
+
"coding": [
|
|
351
|
+
{
|
|
352
|
+
"system": "https://bluebutton.cms.gov/resources/codesystem/adjudication",
|
|
353
|
+
"code": "https://bluebutton.cms.gov/resources/variables/line_prvdr_pmt_amt",
|
|
354
|
+
"display": "Line Provider Payment Amount"
|
|
355
|
+
}
|
|
356
|
+
]
|
|
357
|
+
},
|
|
358
|
+
"amount": {
|
|
359
|
+
"value": 117.136,
|
|
360
|
+
"currency": "USD"
|
|
361
|
+
}
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
"category": {
|
|
365
|
+
"coding": [
|
|
366
|
+
{
|
|
367
|
+
"system": "https://bluebutton.cms.gov/resources/codesystem/adjudication",
|
|
368
|
+
"code": "https://bluebutton.cms.gov/resources/variables/line_sbmtd_chrg_amt",
|
|
369
|
+
"display": "Line Submitted Charge Amount"
|
|
370
|
+
}
|
|
371
|
+
]
|
|
372
|
+
},
|
|
373
|
+
"amount": {
|
|
374
|
+
"value": 146.42,
|
|
375
|
+
"currency": "USD"
|
|
376
|
+
}
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
"category": {
|
|
380
|
+
"coding": [
|
|
381
|
+
{
|
|
382
|
+
"system": "https://bluebutton.cms.gov/resources/codesystem/adjudication",
|
|
383
|
+
"code": "https://bluebutton.cms.gov/resources/variables/line_alowd_chrg_amt",
|
|
384
|
+
"display": "Line Allowed Charge Amount"
|
|
385
|
+
}
|
|
386
|
+
]
|
|
387
|
+
},
|
|
388
|
+
"amount": {
|
|
389
|
+
"value": 146.42,
|
|
390
|
+
"currency": "USD"
|
|
391
|
+
}
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
"category": {
|
|
395
|
+
"coding": [
|
|
396
|
+
{
|
|
397
|
+
"system": "https://bluebutton.cms.gov/resources/codesystem/adjudication",
|
|
398
|
+
"code": "https://bluebutton.cms.gov/resources/variables/line_bene_ptb_ddctbl_amt",
|
|
399
|
+
"display": "Line Beneficiary Part B Deductible Amount"
|
|
400
|
+
}
|
|
401
|
+
]
|
|
402
|
+
},
|
|
403
|
+
"amount": {
|
|
404
|
+
"value": 0,
|
|
405
|
+
"currency": "USD"
|
|
406
|
+
}
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
"category": {
|
|
410
|
+
"coding": [
|
|
411
|
+
{
|
|
412
|
+
"system": "https://bluebutton.cms.gov/resources/codesystem/adjudication",
|
|
413
|
+
"code": "https://bluebutton.cms.gov/resources/variables/line_prcsg_ind_cd",
|
|
414
|
+
"display": "Line Processing Indicator Code"
|
|
415
|
+
}
|
|
416
|
+
]
|
|
417
|
+
}
|
|
418
|
+
}
|
|
419
|
+
]
|
|
420
|
+
}
|
|
421
|
+
],
|
|
422
|
+
"total": [
|
|
423
|
+
{
|
|
424
|
+
"category": {
|
|
425
|
+
"coding": [
|
|
426
|
+
{
|
|
427
|
+
"system": "http://terminology.hl7.org/CodeSystem/adjudication",
|
|
428
|
+
"code": "submitted",
|
|
429
|
+
"display": "Submitted Amount"
|
|
430
|
+
}
|
|
431
|
+
],
|
|
432
|
+
"text": "Submitted Amount"
|
|
433
|
+
},
|
|
434
|
+
"amount": {
|
|
435
|
+
"value": 77.49,
|
|
436
|
+
"currency": "USD"
|
|
437
|
+
}
|
|
438
|
+
}
|
|
439
|
+
],
|
|
440
|
+
"payment": {
|
|
441
|
+
"amount": {
|
|
442
|
+
"value": 117.136,
|
|
443
|
+
"currency": "USD"
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
{
|
|
2
|
+
"resourceType": "List",
|
|
3
|
+
"id": "example",
|
|
4
|
+
"text": {
|
|
5
|
+
"status": "generated",
|
|
6
|
+
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n <table>\n <thead>\n <tr>\n <th>Condition</th>\n <th>Severity</th>\n <th>Date</th>\n <th>Location</th>\n <th>Status</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td>Burnt Ear</td>\n <td>Severe</td>\n <td>24-May 2012</td>\n <td>Left Ear</td>\n <td>deleted</td>\n </tr>\n <tr>\n <td>Asthma</td>\n <td>Mild</td>\n <td>21-Nov 2012</td>\n <td>--</td>\n <td>added</td>\n </tr>\n </tbody>\n </table>\n </div>"
|
|
7
|
+
},
|
|
8
|
+
"identifier": [
|
|
9
|
+
{
|
|
10
|
+
"system": "urn:uuid:a9fcea7c-fcdf-4d17-a5e0-f26dda030b59",
|
|
11
|
+
"value": "23974652"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"status": "current",
|
|
15
|
+
"mode": "changes",
|
|
16
|
+
"subject": {
|
|
17
|
+
"reference": "Patient/example"
|
|
18
|
+
},
|
|
19
|
+
"encounter": {
|
|
20
|
+
"reference": "Encounter/example"
|
|
21
|
+
},
|
|
22
|
+
"date": "2012-11-25T22:17:00+11:00",
|
|
23
|
+
"source": {
|
|
24
|
+
"reference": "Patient/example"
|
|
25
|
+
},
|
|
26
|
+
"entry": [
|
|
27
|
+
{
|
|
28
|
+
"flag": {
|
|
29
|
+
"text": "Deleted due to error"
|
|
30
|
+
},
|
|
31
|
+
"deleted": true,
|
|
32
|
+
"item": {
|
|
33
|
+
"reference": "Condition/example"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"flag": {
|
|
38
|
+
"text": "Added"
|
|
39
|
+
},
|
|
40
|
+
"item": {
|
|
41
|
+
"reference": "Condition/example2"
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
]
|
|
45
|
+
}
|