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,282 @@
|
|
|
1
|
+
{
|
|
2
|
+
"resourceType": "List",
|
|
3
|
+
"id": "CoveragePlanV3001",
|
|
4
|
+
"meta": {
|
|
5
|
+
"versionId": "1",
|
|
6
|
+
"lastUpdated": "2019-05-22T18:36:03.000+00:00",
|
|
7
|
+
"profile": [
|
|
8
|
+
"http://hl7.org/fhir/us/davinci-drug-formulary/StructureDefinition/usdf-CoveragePlan"
|
|
9
|
+
]
|
|
10
|
+
},
|
|
11
|
+
"text": {
|
|
12
|
+
"status": "generated",
|
|
13
|
+
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h2>Sample Gold Health Plan</h2><table class=\"clstu\"><tr><td>Date: 2015-06-12Mode: snapshotStatus: current</td></tr><tr><td></td></tr></table><table class=\"grid\"><tr style=\"backgound-color: #eeeeee\"><td><b>Items</b></td></tr><tr><td><a href=\"MedicationKnowledge-FormularyDrugV3001.html\">Generated Summary: <span title=\"Codes: {http://www.nlm.nih.gov/research/umls/rxnorm 1049640}\">Percocet 5 MG / 325 MG Oral Tablet</span></a></td></tr></table></div>"
|
|
14
|
+
},
|
|
15
|
+
"extension": [
|
|
16
|
+
{
|
|
17
|
+
"extension": [
|
|
18
|
+
{
|
|
19
|
+
"url": "drugTierID",
|
|
20
|
+
"valueCodeableConcept": {
|
|
21
|
+
"coding": [
|
|
22
|
+
{
|
|
23
|
+
"system": "http://hl7.org/fhir/us/davinci-drug-formulary/CodeSystem/usdf-DrugTierCS",
|
|
24
|
+
"code": "generic",
|
|
25
|
+
"display": "Generic: Commonly prescribed generic drugs that cost more than drugs in the ‘preferred generic’ tier."
|
|
26
|
+
}
|
|
27
|
+
]
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"url": "mailOrder",
|
|
32
|
+
"valueBoolean": true
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"extension": [
|
|
36
|
+
{
|
|
37
|
+
"url": "pharmacyType",
|
|
38
|
+
"valueCodeableConcept": {
|
|
39
|
+
"coding": [
|
|
40
|
+
{
|
|
41
|
+
"system": "http://hl7.org/fhir/us/davinci-drug-formulary/CodeSystem/usdf-PharmacyTypeCS",
|
|
42
|
+
"code": "1-month-in-retail",
|
|
43
|
+
"display": "1 month in network retail: 1 Month Supply via in-network retail pharmacy."
|
|
44
|
+
}
|
|
45
|
+
]
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"url": "copayAmount",
|
|
50
|
+
"valueMoney": {
|
|
51
|
+
"value": 0
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"url": "copayOption",
|
|
56
|
+
"valueCodeableConcept": {
|
|
57
|
+
"coding": [
|
|
58
|
+
{
|
|
59
|
+
"system": "http://hl7.org/fhir/us/davinci-drug-formulary/CodeSystem/usdf-CopayOptionCS",
|
|
60
|
+
"code": "no-charge",
|
|
61
|
+
"display": "No Charge: No cost sharing is charged (this indicates that this benefit is not subject to the deductible)."
|
|
62
|
+
}
|
|
63
|
+
]
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"url": "coinsuranceRate",
|
|
68
|
+
"valueDecimal": 0
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"url": "coinsuranceOption",
|
|
72
|
+
"valueCodeableConcept": {
|
|
73
|
+
"coding": [
|
|
74
|
+
{
|
|
75
|
+
"system": "http://hl7.org/fhir/us/davinci-drug-formulary/CodeSystem/usdf-CoinsuranceOptionCS",
|
|
76
|
+
"code": "after-deductible",
|
|
77
|
+
"display": "After Deductible: The consumer first pays the deductible, and after the deductible is met, the consumer pays the coinsurance portion of allowed charges (this indicates that this benefit is subject to the deductible)."
|
|
78
|
+
}
|
|
79
|
+
]
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
],
|
|
83
|
+
"url": "costSharing"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"extension": [
|
|
87
|
+
{
|
|
88
|
+
"url": "pharmacyType",
|
|
89
|
+
"valueCodeableConcept": {
|
|
90
|
+
"coding": [
|
|
91
|
+
{
|
|
92
|
+
"system": "http://hl7.org/fhir/us/davinci-drug-formulary/CodeSystem/usdf-PharmacyTypeCS",
|
|
93
|
+
"code": "1-month-out-retail",
|
|
94
|
+
"display": "1 month out of network retail: 1 Month Supply via out-of-network retail pharmacy."
|
|
95
|
+
}
|
|
96
|
+
]
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"url": "copayAmount",
|
|
101
|
+
"valueMoney": {
|
|
102
|
+
"value": 0
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"url": "copayOption",
|
|
107
|
+
"valueCodeableConcept": {
|
|
108
|
+
"coding": [
|
|
109
|
+
{
|
|
110
|
+
"system": "http://hl7.org/fhir/us/davinci-drug-formulary/CodeSystem/usdf-CopayOptionCS",
|
|
111
|
+
"code": "no-charge",
|
|
112
|
+
"display": "No Charge: No cost sharing is charged (this indicates that this benefit is not subject to the deductible)."
|
|
113
|
+
}
|
|
114
|
+
]
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"url": "coinsuranceRate",
|
|
119
|
+
"valueDecimal": 0
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"url": "coinsuranceOption",
|
|
123
|
+
"valueCodeableConcept": {
|
|
124
|
+
"coding": [
|
|
125
|
+
{
|
|
126
|
+
"system": "http://hl7.org/fhir/us/davinci-drug-formulary/CodeSystem/usdf-CoinsuranceOptionCS",
|
|
127
|
+
"code": "after-deductible",
|
|
128
|
+
"display": "After Deductible: The consumer first pays the deductible, and after the deductible is met, the consumer pays the coinsurance portion of allowed charges (this indicates that this benefit is subject to the deductible)."
|
|
129
|
+
}
|
|
130
|
+
]
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
],
|
|
134
|
+
"url": "costSharing"
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"extension": [
|
|
138
|
+
{
|
|
139
|
+
"url": "pharmacyType",
|
|
140
|
+
"valueCodeableConcept": {
|
|
141
|
+
"coding": [
|
|
142
|
+
{
|
|
143
|
+
"system": "http://hl7.org/fhir/us/davinci-drug-formulary/CodeSystem/usdf-PharmacyTypeCS",
|
|
144
|
+
"code": "3-month-in-retail",
|
|
145
|
+
"display": "3 month in network retail: 3 Month Supply via in-network retail pharmacy."
|
|
146
|
+
}
|
|
147
|
+
]
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"url": "copayAmount",
|
|
152
|
+
"valueMoney": {
|
|
153
|
+
"value": 0
|
|
154
|
+
}
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"url": "copayOption",
|
|
158
|
+
"valueCodeableConcept": {
|
|
159
|
+
"coding": [
|
|
160
|
+
{
|
|
161
|
+
"system": "http://hl7.org/fhir/us/davinci-drug-formulary/CodeSystem/usdf-CopayOptionCS",
|
|
162
|
+
"code": "no-charge",
|
|
163
|
+
"display": "No Charge: No cost sharing is charged (this indicates that this benefit is not subject to the deductible)."
|
|
164
|
+
}
|
|
165
|
+
]
|
|
166
|
+
}
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"url": "coinsuranceRate",
|
|
170
|
+
"valueDecimal": 0
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"url": "coinsuranceOption",
|
|
174
|
+
"valueCodeableConcept": {
|
|
175
|
+
"coding": [
|
|
176
|
+
{
|
|
177
|
+
"system": "http://hl7.org/fhir/us/davinci-drug-formulary/CodeSystem/usdf-CoinsuranceOptionCS",
|
|
178
|
+
"code": "after-deductible",
|
|
179
|
+
"display": "After Deductible: The consumer first pays the deductible, and after the deductible is met, the consumer pays the coinsurance portion of allowed charges (this indicates that this benefit is subject to the deductible)."
|
|
180
|
+
}
|
|
181
|
+
]
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
],
|
|
185
|
+
"url": "costSharing"
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"extension": [
|
|
189
|
+
{
|
|
190
|
+
"url": "pharmacyType",
|
|
191
|
+
"valueCodeableConcept": {
|
|
192
|
+
"coding": [
|
|
193
|
+
{
|
|
194
|
+
"system": "http://hl7.org/fhir/us/davinci-drug-formulary/CodeSystem/usdf-PharmacyTypeCS",
|
|
195
|
+
"code": "3-month-out-retail",
|
|
196
|
+
"display": "3 month out of network retail: 3 Month Supply via out-of-network retail pharmacy."
|
|
197
|
+
}
|
|
198
|
+
]
|
|
199
|
+
}
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"url": "copayAmount",
|
|
203
|
+
"valueMoney": {
|
|
204
|
+
"value": 0
|
|
205
|
+
}
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"url": "copayOption",
|
|
209
|
+
"valueCodeableConcept": {
|
|
210
|
+
"coding": [
|
|
211
|
+
{
|
|
212
|
+
"system": "http://hl7.org/fhir/us/davinci-drug-formulary/CodeSystem/usdf-CopayOptionCS",
|
|
213
|
+
"code": "no-charge",
|
|
214
|
+
"display": "No Charge: No cost sharing is charged (this indicates that this benefit is not subject to the deductible)."
|
|
215
|
+
}
|
|
216
|
+
]
|
|
217
|
+
}
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
"url": "coinsuranceRate",
|
|
221
|
+
"valueDecimal": 0
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"url": "coinsuranceOption",
|
|
225
|
+
"valueCodeableConcept": {
|
|
226
|
+
"coding": [
|
|
227
|
+
{
|
|
228
|
+
"system": "http://hl7.org/fhir/us/davinci-drug-formulary/CodeSystem/usdf-CoinsuranceOptionCS",
|
|
229
|
+
"code": "after-deductible",
|
|
230
|
+
"display": "After Deductible: The consumer first pays the deductible, and after the deductible is met, the consumer pays the coinsurance portion of allowed charges (this indicates that this benefit is subject to the deductible)."
|
|
231
|
+
}
|
|
232
|
+
]
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
],
|
|
236
|
+
"url": "costSharing"
|
|
237
|
+
}
|
|
238
|
+
],
|
|
239
|
+
"url": "http://hl7.org/fhir/us/davinci-drug-formulary/StructureDefinition/usdf-DrugTierDefinition-extension"
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
"url": "http://hl7.org/fhir/us/davinci-drug-formulary/StructureDefinition/usdf-MarketingURL-extension",
|
|
243
|
+
"valueString": "https://content.carefirst.com/sbc/D,$0/ D,$0/ D,$0/ D,$0/ D,$0B+"
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
"url": "http://hl7.org/fhir/us/davinci-drug-formulary/StructureDefinition/usdf-FormularyURL-extension",
|
|
247
|
+
"valueString": "http://url/to/formulary/information"
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
"url": "http://hl7.org/fhir/us/davinci-drug-formulary/StructureDefinition/usdf-SummaryURL-extension",
|
|
251
|
+
"valueString": "http://url/to/health/plan/information"
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
"url": "http://hl7.org/fhir/us/davinci-drug-formulary/StructureDefinition/usdf-EmailPlanContact-extension",
|
|
255
|
+
"valueString": "Patrick.Breen@carefirst.com"
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"url": "http://hl7.org/fhir/us/davinci-drug-formulary/StructureDefinition/usdf-Network-extension",
|
|
259
|
+
"valueString": "PREFERRED"
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
"url": "http://hl7.org/fhir/us/davinci-drug-formulary/StructureDefinition/usdf-PlanIDType-extension",
|
|
263
|
+
"valueString": "HIOS-PLAN-ID"
|
|
264
|
+
}
|
|
265
|
+
],
|
|
266
|
+
"identifier": [
|
|
267
|
+
{
|
|
268
|
+
"value": "test"
|
|
269
|
+
}
|
|
270
|
+
],
|
|
271
|
+
"status": "current",
|
|
272
|
+
"mode": "snapshot",
|
|
273
|
+
"title": "Sample Gold Health Plan",
|
|
274
|
+
"date": "2015-06-12",
|
|
275
|
+
"entry": [
|
|
276
|
+
{
|
|
277
|
+
"item": {
|
|
278
|
+
"reference": "MedicationKnowledge/FormularyDrugV3001"
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
]
|
|
282
|
+
}
|
|
@@ -0,0 +1,298 @@
|
|
|
1
|
+
{
|
|
2
|
+
"resourceType": "List",
|
|
3
|
+
"id": "genetic",
|
|
4
|
+
"text": {
|
|
5
|
+
"status": "generated",
|
|
6
|
+
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: genetic</p><p><b>contained</b>: , , , , , , , </p><p><b>status</b>: current</p><p><b>mode</b>: snapshot</p><p><b>code</b>: History of family member diseases <span>(Details : {LOINC code '8670-2' = 'History of family member diseases', given as 'History of family member diseases'})</span></p><p><b>subject</b>: <a>Peter Patient</a></p><blockquote><p><b>entry</b></p><p><b>item</b>: id: 1; status: completed; name: Dave; father <span>(Details : {http://terminology.hl7.org/CodeSystem/v3-RoleCode code 'FTH' = 'father', given as 'father'})</span></p></blockquote><blockquote><p><b>entry</b></p><p><b>item</b>: id: 2; status: completed; maternal grandfather <span>(Details : {http://terminology.hl7.org/CodeSystem/v3-RoleCode code 'MGRFTH' = 'maternal grandfather', given as 'maternal grandfather'})</span></p></blockquote><blockquote><p><b>entry</b></p><p><b>item</b>: id: 3; status: completed; mother <span>(Details : {http://terminology.hl7.org/CodeSystem/v3-RoleCode code 'MTH' = 'mother', given as 'mother'})</span></p></blockquote><blockquote><p><b>entry</b></p><p><b>item</b>: id: 4; status: completed; paternal grandmother <span>(Details : {http://terminology.hl7.org/CodeSystem/v3-RoleCode code 'PGRMTH' = 'paternal grandmother', given as 'paternal grandmother'})</span></p></blockquote><blockquote><p><b>entry</b></p><p><b>item</b>: id: 5; status: completed; name: Eve; paternal aunt <span>(Details : {http://terminology.hl7.org/CodeSystem/v3-RoleCode code 'PAUNT' = 'paternal aunt', given as 'paternal aunt'})</span></p></blockquote><blockquote><p><b>entry</b></p><p><b>item</b>: id: 6; status: completed; maternal uncle <span>(Details : {http://terminology.hl7.org/CodeSystem/v3-RoleCode code 'MUNCLE' = 'maternal uncle', given as 'maternal uncle'})</span></p></blockquote><blockquote><p><b>entry</b></p><p><b>item</b>: id: 7; status: completed; natural sister <span>(Details : {http://terminology.hl7.org/CodeSystem/v3-RoleCode code 'NSIS' = 'natural sister', given as 'natural sister'})</span></p></blockquote><blockquote><p><b>entry</b></p><p><b>item</b>: id: 8; status: completed; name: Alice; maternal cousin <span>(Details : {http://terminology.hl7.org/CodeSystem/v3-RoleCode code 'MCOUSN' = 'maternal cousin', given as 'maternal cousin'})</span></p></blockquote><blockquote><p><b>entry</b></p><p><b>item</b>: <a>Family history of cancer of colon</a></p></blockquote></div>"
|
|
7
|
+
},
|
|
8
|
+
"contained": [
|
|
9
|
+
{
|
|
10
|
+
"resourceType": "FamilyMemberHistory",
|
|
11
|
+
"id": "1",
|
|
12
|
+
"extension": [
|
|
13
|
+
{
|
|
14
|
+
"url": "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-parent",
|
|
15
|
+
"extension": [
|
|
16
|
+
{
|
|
17
|
+
"url": "type",
|
|
18
|
+
"valueCodeableConcept": {
|
|
19
|
+
"coding": [
|
|
20
|
+
{
|
|
21
|
+
"system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode",
|
|
22
|
+
"code": "FTH",
|
|
23
|
+
"display": "father"
|
|
24
|
+
}
|
|
25
|
+
]
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"url": "reference",
|
|
30
|
+
"valueReference": {
|
|
31
|
+
"reference": "#2",
|
|
32
|
+
"display": "maternal grandfather"
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
]
|
|
36
|
+
}
|
|
37
|
+
],
|
|
38
|
+
"status": "completed",
|
|
39
|
+
"patient": {
|
|
40
|
+
"reference": "Patient/example",
|
|
41
|
+
"display": "Peter Patient"
|
|
42
|
+
},
|
|
43
|
+
"name": "Dave",
|
|
44
|
+
"relationship": {
|
|
45
|
+
"coding": [
|
|
46
|
+
{
|
|
47
|
+
"system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode",
|
|
48
|
+
"code": "FTH",
|
|
49
|
+
"display": "father"
|
|
50
|
+
}
|
|
51
|
+
]
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"resourceType": "FamilyMemberHistory",
|
|
56
|
+
"id": "2",
|
|
57
|
+
"status": "completed",
|
|
58
|
+
"patient": {
|
|
59
|
+
"reference": "Patient/example",
|
|
60
|
+
"display": "Peter Patient"
|
|
61
|
+
},
|
|
62
|
+
"relationship": {
|
|
63
|
+
"coding": [
|
|
64
|
+
{
|
|
65
|
+
"system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode",
|
|
66
|
+
"code": "MGRFTH",
|
|
67
|
+
"display": "maternal grandfather"
|
|
68
|
+
}
|
|
69
|
+
]
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"resourceType": "FamilyMemberHistory",
|
|
74
|
+
"id": "3",
|
|
75
|
+
"extension": [
|
|
76
|
+
{
|
|
77
|
+
"url": "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-parent",
|
|
78
|
+
"extension": [
|
|
79
|
+
{
|
|
80
|
+
"url": "type",
|
|
81
|
+
"valueCodeableConcept": {
|
|
82
|
+
"coding": [
|
|
83
|
+
{
|
|
84
|
+
"system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode",
|
|
85
|
+
"code": "MTH",
|
|
86
|
+
"display": "mother"
|
|
87
|
+
}
|
|
88
|
+
]
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"url": "reference",
|
|
93
|
+
"valueReference": {
|
|
94
|
+
"reference": "#2",
|
|
95
|
+
"display": "maternal grandfather"
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
]
|
|
99
|
+
}
|
|
100
|
+
],
|
|
101
|
+
"status": "completed",
|
|
102
|
+
"patient": {
|
|
103
|
+
"reference": "Patient/example",
|
|
104
|
+
"display": "Peter Patient"
|
|
105
|
+
},
|
|
106
|
+
"relationship": {
|
|
107
|
+
"coding": [
|
|
108
|
+
{
|
|
109
|
+
"system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode",
|
|
110
|
+
"code": "MTH",
|
|
111
|
+
"display": "mother"
|
|
112
|
+
}
|
|
113
|
+
]
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"resourceType": "FamilyMemberHistory",
|
|
118
|
+
"id": "4",
|
|
119
|
+
"status": "completed",
|
|
120
|
+
"patient": {
|
|
121
|
+
"reference": "Patient/example",
|
|
122
|
+
"display": "Peter Patient"
|
|
123
|
+
},
|
|
124
|
+
"relationship": {
|
|
125
|
+
"coding": [
|
|
126
|
+
{
|
|
127
|
+
"system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode",
|
|
128
|
+
"code": "PGRMTH",
|
|
129
|
+
"display": "paternal grandmother"
|
|
130
|
+
}
|
|
131
|
+
]
|
|
132
|
+
}
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"resourceType": "FamilyMemberHistory",
|
|
136
|
+
"id": "5",
|
|
137
|
+
"status": "completed",
|
|
138
|
+
"patient": {
|
|
139
|
+
"reference": "Patient/example",
|
|
140
|
+
"display": "Peter Patient"
|
|
141
|
+
},
|
|
142
|
+
"name": "Eve",
|
|
143
|
+
"relationship": {
|
|
144
|
+
"coding": [
|
|
145
|
+
{
|
|
146
|
+
"system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode",
|
|
147
|
+
"code": "PAUNT",
|
|
148
|
+
"display": "paternal aunt"
|
|
149
|
+
}
|
|
150
|
+
]
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"resourceType": "FamilyMemberHistory",
|
|
155
|
+
"id": "6",
|
|
156
|
+
"status": "completed",
|
|
157
|
+
"patient": {
|
|
158
|
+
"reference": "Patient/example",
|
|
159
|
+
"display": "Peter Patient"
|
|
160
|
+
},
|
|
161
|
+
"relationship": {
|
|
162
|
+
"coding": [
|
|
163
|
+
{
|
|
164
|
+
"system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode",
|
|
165
|
+
"code": "MUNCLE",
|
|
166
|
+
"display": "maternal uncle"
|
|
167
|
+
}
|
|
168
|
+
]
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"resourceType": "FamilyMemberHistory",
|
|
173
|
+
"id": "7",
|
|
174
|
+
"status": "completed",
|
|
175
|
+
"patient": {
|
|
176
|
+
"reference": "Patient/example",
|
|
177
|
+
"display": "Peter Patient"
|
|
178
|
+
},
|
|
179
|
+
"relationship": {
|
|
180
|
+
"coding": [
|
|
181
|
+
{
|
|
182
|
+
"system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode",
|
|
183
|
+
"code": "NSIS",
|
|
184
|
+
"display": "natural sister"
|
|
185
|
+
}
|
|
186
|
+
]
|
|
187
|
+
}
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"resourceType": "FamilyMemberHistory",
|
|
191
|
+
"id": "8",
|
|
192
|
+
"extension": [
|
|
193
|
+
{
|
|
194
|
+
"url": "http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-parent",
|
|
195
|
+
"extension": [
|
|
196
|
+
{
|
|
197
|
+
"url": "type",
|
|
198
|
+
"valueCodeableConcept": {
|
|
199
|
+
"coding": [
|
|
200
|
+
{
|
|
201
|
+
"system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode",
|
|
202
|
+
"code": "MTH",
|
|
203
|
+
"display": "mother"
|
|
204
|
+
}
|
|
205
|
+
]
|
|
206
|
+
}
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"url": "reference",
|
|
210
|
+
"valueReference": {
|
|
211
|
+
"reference": "#2",
|
|
212
|
+
"display": "maternal grandfather"
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
]
|
|
216
|
+
}
|
|
217
|
+
],
|
|
218
|
+
"status": "completed",
|
|
219
|
+
"patient": {
|
|
220
|
+
"reference": "Patient/example",
|
|
221
|
+
"display": "Peter Patient"
|
|
222
|
+
},
|
|
223
|
+
"name": "Alice",
|
|
224
|
+
"relationship": {
|
|
225
|
+
"coding": [
|
|
226
|
+
{
|
|
227
|
+
"system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode",
|
|
228
|
+
"code": "MCOUSN",
|
|
229
|
+
"display": "maternal cousin"
|
|
230
|
+
}
|
|
231
|
+
]
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
],
|
|
235
|
+
"status": "current",
|
|
236
|
+
"mode": "snapshot",
|
|
237
|
+
"code": {
|
|
238
|
+
"coding": [
|
|
239
|
+
{
|
|
240
|
+
"system": "http://loinc.org",
|
|
241
|
+
"code": "8670-2",
|
|
242
|
+
"display": "History of family member diseases"
|
|
243
|
+
}
|
|
244
|
+
]
|
|
245
|
+
},
|
|
246
|
+
"subject": {
|
|
247
|
+
"reference": "Patient/example",
|
|
248
|
+
"display": "Peter Patient"
|
|
249
|
+
},
|
|
250
|
+
"entry": [
|
|
251
|
+
{
|
|
252
|
+
"item": {
|
|
253
|
+
"reference": "#1"
|
|
254
|
+
}
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"item": {
|
|
258
|
+
"reference": "#2"
|
|
259
|
+
}
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
"item": {
|
|
263
|
+
"reference": "#3"
|
|
264
|
+
}
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
"item": {
|
|
268
|
+
"reference": "#4"
|
|
269
|
+
}
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"item": {
|
|
273
|
+
"reference": "#5"
|
|
274
|
+
}
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
"item": {
|
|
278
|
+
"reference": "#6"
|
|
279
|
+
}
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
"item": {
|
|
283
|
+
"reference": "#7"
|
|
284
|
+
}
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
"item": {
|
|
288
|
+
"reference": "#8"
|
|
289
|
+
}
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
"item": {
|
|
293
|
+
"reference": "Condition/family-history",
|
|
294
|
+
"display": "Family history of cancer of colon"
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
]
|
|
298
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"resourceType": "MedicationKnowledge",
|
|
3
|
+
"id": "example",
|
|
4
|
+
"text": {
|
|
5
|
+
"status": "generated",
|
|
6
|
+
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: example</p><p><b>contained</b>: </p><p><b>code</b>: Vancomycin Hydrochloride (VANCOMYCIN HYDROCHLORIDE) <span>(Details : {http://hl7.org/fhir/sid/ndc code '0069-2587-10' = 'n/a', given as 'Vancomycin Hydrochloride (VANCOMYCIN HYDROCHLORIDE)'})</span></p><p><b>status</b>: active</p><p><b>manufacturer</b>: id: org4; name: Pfizer Laboratories Div Pfizer Inc</p><p><b>doseForm</b>: Injection Solution (qualifier value) <span>(Details : {SNOMED CT code '385219001' = 'Injection solution', given as 'Injection Solution (qualifier value)'})</span></p><p><b>amount</b>: 50 mg/ml</p><p><b>synonym</b>: Vancomycin Hydrochloride (VANCOMYCIN HYDROCHLORIDE)</p></div>"
|
|
7
|
+
},
|
|
8
|
+
"contained": [
|
|
9
|
+
{
|
|
10
|
+
"resourceType": "Organization",
|
|
11
|
+
"id": "org4",
|
|
12
|
+
"name": "Pfizer Laboratories Div Pfizer Inc"
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"code": {
|
|
16
|
+
"coding": [
|
|
17
|
+
{
|
|
18
|
+
"system": "http://hl7.org/fhir/sid/ndc",
|
|
19
|
+
"code": "0069-2587-10",
|
|
20
|
+
"display": "Vancomycin Hydrochloride (VANCOMYCIN HYDROCHLORIDE)"
|
|
21
|
+
}
|
|
22
|
+
]
|
|
23
|
+
},
|
|
24
|
+
"status": "active",
|
|
25
|
+
"manufacturer": {
|
|
26
|
+
"reference": "#org4"
|
|
27
|
+
},
|
|
28
|
+
"doseForm": {
|
|
29
|
+
"coding": [
|
|
30
|
+
{
|
|
31
|
+
"system": "http://snomed.info/sct",
|
|
32
|
+
"code": "385219001",
|
|
33
|
+
"display": "Injection Solution (qualifier value)"
|
|
34
|
+
}
|
|
35
|
+
]
|
|
36
|
+
},
|
|
37
|
+
"amount": {
|
|
38
|
+
"value": 50,
|
|
39
|
+
"unit": "mg/ml"
|
|
40
|
+
},
|
|
41
|
+
"synonym": ["Vancomycin Hydrochloride (VANCOMYCIN HYDROCHLORIDE)"]
|
|
42
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
{
|
|
2
|
+
"meta": {
|
|
3
|
+
"lastUpdated": "2021-06-04T00:56:15.145Z",
|
|
4
|
+
"security": [],
|
|
5
|
+
"versionId": "9000000000000",
|
|
6
|
+
"tag": [
|
|
7
|
+
{
|
|
8
|
+
"version": "0.0.1",
|
|
9
|
+
"code": "http://build.fhir.org/ig/HL7/davinci-pdex-formulary/",
|
|
10
|
+
"system": "urn:uuid:internal-1up-health-coding-systems-ig"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"profile": [
|
|
14
|
+
"http://hl7.org/fhir/us/davinci-drug-formulary/StructureDefinition/usdf-FormularyDrug"
|
|
15
|
+
]
|
|
16
|
+
},
|
|
17
|
+
"code": {
|
|
18
|
+
"coding": [
|
|
19
|
+
{
|
|
20
|
+
"code": "197806",
|
|
21
|
+
"system": "http://www.nlm.nih.gov/research/umls/rxnorm",
|
|
22
|
+
"display": "ibuprofen 600 MG Oral Tablet"
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"text": "IBUPROFEN "
|
|
26
|
+
},
|
|
27
|
+
"resourceType": "MedicationKnowledge",
|
|
28
|
+
"extension": [
|
|
29
|
+
{
|
|
30
|
+
"valueCodeableConcept": {
|
|
31
|
+
"coding": [
|
|
32
|
+
{
|
|
33
|
+
"code": "preferred-generic",
|
|
34
|
+
"system": "http://hl7.org/fhir/us/davinci-drug-formulary/CodeSystem/usdf-DrugTierCS",
|
|
35
|
+
"display": "Preferred Generic: Commonly prescribed generic drugs."
|
|
36
|
+
}
|
|
37
|
+
]
|
|
38
|
+
},
|
|
39
|
+
"url": "http://hl7.org/fhir/us/davinci-drug-formulary/StructureDefinition/usdf-DrugTierID-extension"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"valueBoolean": false,
|
|
43
|
+
"url": "http://hl7.org/fhir/us/davinci-drug-formulary/StructureDefinition/usdf-PriorAuthorization-extension"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"valueBoolean": false,
|
|
47
|
+
"url": "http://hl7.org/fhir/us/davinci-drug-formulary/StructureDefinition/usdf-StepTherapyLimit-extension"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"valueBoolean": false,
|
|
51
|
+
"url": "http://hl7.org/fhir/us/davinci-drug-formulary/StructureDefinition/usdf-QuantityLimit-extension"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"valueString": "Kansas Medicaid FFS",
|
|
55
|
+
"url": "http://hl7.org/fhir/us/davinci-drug-formulary/StructureDefinition/usdf-PlanID-extension"
|
|
56
|
+
}
|
|
57
|
+
],
|
|
58
|
+
"id": "00EUVZObpL76jmcl0oBMDj6xynsZoYpG7ui7aYx1up"
|
|
59
|
+
}
|