Skip to content
This repository has been archived by the owner on Dec 1, 2023. It is now read-only.

Commit

Permalink
Adding sample test data for FHIR servers
Browse files Browse the repository at this point in the history
  • Loading branch information
aviars committed May 31, 2018
1 parent 7cebf5e commit 41fbdec
Show file tree
Hide file tree
Showing 61 changed files with 12,019 additions and 0 deletions.
19 changes: 19 additions & 0 deletions sample-data/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Sample Data
===========

Files contained in this folder provide a small set of test data, in JSON format, for each FHIR Resource
identiied in the Argonaut profile. The process of importing the data into a test server
may be done in a variety of ways, but using the FHIR create interaction is a likely option.

This data was sourced from these two open test FHIR servers:


https://portal.demo.syncfor.science/api/open-fhir/metadata?_format=json
https://open-ic.epic.com/FHIR/api/FHIR/DSTU2/metadata?_format=json


Use of these servers does not imply endorsement or adherence to any specific profile.


The data is divided into folders based on its FHIR resource type.
Please import the Patient resources and Medication resources prior to importing the other resources.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"resourceType":"Bundle","type":"searchset","total":3,"link":[{"relation":"self","url":"https://open-ic.epic.com/FHIR/api/FHIR/DSTU2/AllergyIntolerance?patient=Tbt3KuCY0B5PSrJvCu2j-PlK.aiHsu2xUjUM8bWpetXoB&_format=json"}],"entry":[{"fullUrl":"https://open-ic.epic.com/FHIR/api/FHIR/DSTU2/AllergyIntolerance/TBwnNbrAqC0Qw5Ha7AFT-2AB","link":[{"relation":"self","url":"https://open-ic.epic.com/FHIR/api/FHIR/DSTU2/AllergyIntolerance/TBwnNbrAqC0Qw5Ha7AFT-2AB"}],"search":{"mode":"match"},"resource":{"resourceType":"AllergyIntolerance","recordedDate":"2015-08-24T23:11:36Z","status":"confirmed","criticality":"CRITL","id":"TBwnNbrAqC0Qw5Ha7AFT-2AB","onset":"2012-11-07T00:00:00Z","recorder":{"display":"MOORE, SEAN","reference":"https://open-ic.epic.com/FHIR/api/FHIR/DSTU2/Practitioner/TItWfhjChtlo0pFh9nzctSQB"},"patient":{"display":"Jason Argonaut","reference":"https://open-ic.epic.com/FHIR/api/FHIR/DSTU2/Patient/Tbt3KuCY0B5PSrJvCu2j-PlK.aiHsu2xUjUM8bWpetXoB"},"substance":{"text":"PENICILLIN G","coding":[{"system":"http://www.nlm.nih.gov/research/umls/rxnorm","code":"7980","display":"PENICILLIN G"},{"system":"http://fdasis.nlm.nih.gov","code":"Q42T66VG0C","display":"PENICILLIN G"}]},"reaction":[{"certainty":"confirmed","onset":"2012-11-07T00:00:00Z","manifestation":[{"text":"Hives"}],"note":{"text":"Severity low enough to be prescribed if needed."}}],"note":{"text":"Severity low enough to be prescribed if needed."}}},{"fullUrl":"https://open-ic.epic.com/FHIR/api/FHIR/DSTU2/AllergyIntolerance/TPcWiBG2h2E114Vh0sRT8fQB","link":[{"relation":"self","url":"https://open-ic.epic.com/FHIR/api/FHIR/DSTU2/AllergyIntolerance/TPcWiBG2h2E114Vh0sRT8fQB"}],"search":{"mode":"match"},"resource":{"resourceType":"AllergyIntolerance","recordedDate":"2015-11-07T20:55:10Z","status":"confirmed","criticality":"CRITL","id":"TPcWiBG2h2E114Vh0sRT8fQB","onset":"2010-05-02T00:00:00Z","recorder":{"display":"MOORE, SEAN","reference":"https://open-ic.epic.com/FHIR/api/FHIR/DSTU2/Practitioner/TItWfhjChtlo0pFh9nzctSQB"},"patient":{"display":"Jason Argonaut","reference":"https://open-ic.epic.com/FHIR/api/FHIR/DSTU2/Patient/Tbt3KuCY0B5PSrJvCu2j-PlK.aiHsu2xUjUM8bWpetXoB"},"substance":{"text":"SHELLFISH-DERIVED PRODUCTS","coding":[{"system":"http://hl7.org/fhir/ndfrt","code":"N0000007624","display":"SHELLFISH-DERIVED PRODUCTS"}]},"reaction":[{"certainty":"confirmed","onset":"2010-05-02T00:00:00Z","manifestation":[{"text":"Itching"}]}]}},{"fullUrl":"https://open-ic.epic.com/FHIR/api/FHIR/DSTU2/AllergyIntolerance/TKebKfLXzu6Sp.LY-IpvpmQB","link":[{"relation":"self","url":"https://open-ic.epic.com/FHIR/api/FHIR/DSTU2/AllergyIntolerance/TKebKfLXzu6Sp.LY-IpvpmQB"}],"search":{"mode":"match"},"resource":{"resourceType":"AllergyIntolerance","recordedDate":"2015-11-07T20:56:34Z","status":"confirmed","criticality":"CRITH","id":"TKebKfLXzu6Sp.LY-IpvpmQB","onset":"2014-03-07T00:00:00Z","recorder":{"display":"MOORE, SEAN","reference":"https://open-ic.epic.com/FHIR/api/FHIR/DSTU2/Practitioner/TItWfhjChtlo0pFh9nzctSQB"},"patient":{"display":"Jason Argonaut","reference":"https://open-ic.epic.com/FHIR/api/FHIR/DSTU2/Patient/Tbt3KuCY0B5PSrJvCu2j-PlK.aiHsu2xUjUM8bWpetXoB"},"substance":{"text":"STRAWBERRY","coding":[{"system":"http://www.nlm.nih.gov/research/umls/rxnorm","code":"892484","display":"STRAWBERRY"},{"system":"http://fdasis.nlm.nih.gov","code":"4J2TY8Y81V","display":"STRAWBERRY"}]},"reaction":[{"certainty":"confirmed","onset":"2014-03-07T00:00:00Z","manifestation":[{"text":"Anaphylaxis"}]}]}},{"search":{"mode":"outcome"},"resource":{"resourceType":"OperationOutcome","id":"1732692","issue":[{"severity":"warning","location":["http._format"],"code":"informational","details":{"text":"An unknown query parameter was supplied by the client.","coding":[{"system":"urn:oid:1.2.840.114350.1.13.0.1.7.2.657369","code":"4122","display":"An unknown query parameter was supplied by the client."}]}}]}}]}
80 changes: 80 additions & 0 deletions sample-data/stu2/AllergyIntolerance/smart-1137192.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@

{
"resourceType":"Bundle",
"id":"24b0ae92-9d3a-4dc1-aea2-ff2a89ca720e",
"meta":{
"lastUpdated":"2018-05-31T13:17:09.423+00:00"
},
"type":"searchset",
"total":1,
"link":[
{
"relation":"self",
"url":"http://api:8080/baseDstu2/AllergyIntolerance?patient=smart-1137192"
}
],
"entry":[
{
"fullUrl":"http://api:8080/baseDstu2/AllergyIntolerance/smart-allergyintolerance-23",
"resource":{
"resourceType":"AllergyIntolerance",
"id":"smart-allergyintolerance-23",
"meta":{
"versionId":"2",
"lastUpdated":"2018-02-21T15:00:46.445+00:00",
"security":[
{
"system":"http://smarthealthit.org/security/categories",
"code":"allergy"
},
{
"system":"http://smarthealthit.org/security/users",
"code":"Patient/smart-1137192"
}
]
},
"text":{
"status":"generated",
"div":"<div xmlns=\"http://www.w3.org/1999/xhtml\">Sensitivity to sulfonamide antibacterial</div>"
},
"recordedDate":"2000",
"patient":{
"reference":"Patient/smart-1137192"
},
"substance":{
"coding":[
{
"system":"http://rxnav.nlm.nih.gov/REST/Ndfrt",
"code":"N0000175503",
"display":"sulfonamide antibacterial"
}
],
"text":"sulfonamide antibacterial"
},
"status":"confirmed",
"criticality":"CRITL",
"category":"medication",
"reaction":[
{
"manifestation":[
{
"coding":[
{
"system":"http://snomed.info/sct",
"code":"271807003",
"display":"skin rash"
}
],
"text":"skin rash"
}
],
"severity":"mild"
}
]
},
"search":{
"mode":"match"
}
}
]
}
80 changes: 80 additions & 0 deletions sample-data/stu2/AllergyIntolerance/smart-1288992.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@

{
"resourceType":"Bundle",
"id":"0dd7898a-39bc-4496-b751-537eab48970a",
"meta":{
"lastUpdated":"2018-05-31T13:17:11.310+00:00"
},
"type":"searchset",
"total":1,
"link":[
{
"relation":"self",
"url":"http://api:8080/baseDstu2/AllergyIntolerance?patient=smart-1288992"
}
],
"entry":[
{
"fullUrl":"http://api:8080/baseDstu2/AllergyIntolerance/smart-allergyintolerance-28",
"resource":{
"resourceType":"AllergyIntolerance",
"id":"smart-allergyintolerance-28",
"meta":{
"versionId":"2",
"lastUpdated":"2018-02-21T15:01:44.340+00:00",
"security":[
{
"system":"http://smarthealthit.org/security/categories",
"code":"allergy"
},
{
"system":"http://smarthealthit.org/security/users",
"code":"Patient/smart-1288992"
}
]
},
"text":{
"status":"generated",
"div":"<div xmlns=\"http://www.w3.org/1999/xhtml\">Sensitivity to sulfonamide antibacterial</div>"
},
"recordedDate":"2000",
"patient":{
"reference":"Patient/smart-1288992"
},
"substance":{
"coding":[
{
"system":"http://rxnav.nlm.nih.gov/REST/Ndfrt",
"code":"N0000175503",
"display":"sulfonamide antibacterial"
}
],
"text":"sulfonamide antibacterial"
},
"status":"confirmed",
"criticality":"CRITL",
"category":"medication",
"reaction":[
{
"manifestation":[
{
"coding":[
{
"system":"http://snomed.info/sct",
"code":"271807003",
"display":"skin rash"
}
],
"text":"skin rash"
}
],
"severity":"mild"
}
]
},
"search":{
"mode":"match"
}
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"resourceType":"Bundle","type":"searchset","total":1,"link":[{"relation":"self","url":"https://open-ic.epic.com/FHIR/api/FHIR/DSTU2/CarePlan?patient=Tbt3KuCY0B5PSrJvCu2j-PlK.aiHsu2xUjUM8bWpetXoB&category=careteam&_format=json"}],"entry":[{"fullUrl":"https://open-ic.epic.com/FHIR/api/FHIR/DSTU2/CarePlan/Tbt3KuCY0B5PSrJvCu2j-PlK.aiHsu2xUjUM8bWpetXoB","link":[{"relation":"self","url":"https://open-ic.epic.com/FHIR/api/FHIR/DSTU2/CarePlan/Tbt3KuCY0B5PSrJvCu2j-PlK.aiHsu2xUjUM8bWpetXoB"}],"search":{"mode":"match"},"resource":{"resourceType":"CarePlan","id":"Tbt3KuCY0B5PSrJvCu2j-PlK.aiHsu2xUjUM8bWpetXoB","status":"active","subject":{"display":"Jason Argonaut","reference":"https://open-ic.epic.com/FHIR/api/FHIR/DSTU2/Patient/Tbt3KuCY0B5PSrJvCu2j-PlK.aiHsu2xUjUM8bWpetXoB"},"addresses":[{"display":"Agoraphobia","reference":"https://open-ic.epic.com/FHIR/api/FHIR/DSTU2/Condition/T1kK.xqvU20cEJe860G4aKgB"},{"display":"Chronic cough","reference":"https://open-ic.epic.com/FHIR/api/FHIR/DSTU2/Condition/ToXGIl7BNrvoF6BVybVSoawB"},{"display":"Asthma","reference":"https://open-ic.epic.com/FHIR/api/FHIR/DSTU2/Condition/T14QqO8NyASby4jGtzuSA6gB"},{"display":"Hemoglobin A1c above reference range","reference":"https://open-ic.epic.com/FHIR/api/FHIR/DSTU2/Condition/TOVSAAQTrMr9e45nCzc8S5wB"},{"display":"TB (pulmonary tuberculosis)","reference":"https://open-ic.epic.com/FHIR/api/FHIR/DSTU2/Condition/TajPohVuPYfDdU-wGcm.KMgB"},{"display":"Zika virus disease","reference":"https://open-ic.epic.com/FHIR/api/FHIR/DSTU2/Condition/T-HzNQh62IyOLOuPFOaTtDgB"}],"goal":[{"display":"Hemoglobin A1c < 7.0","reference":"https://open-ic.epic.com/FHIR/api/FHIR/DSTU2/Goal/T20lh4qYCPP9sg31ZDfMLcwB"},{"display":"Reduce the need for your rescue inhaler to less than once each month","reference":"https://open-ic.epic.com/FHIR/api/FHIR/DSTU2/Goal/TbtW9qZPjDclmbmGLLcZkRAB"}],"activity":[{"detail":{"prohibited":false,"category":{"text":"other","coding":[{"system":"http://hl7.org/fhir/care-plan-activity-category","code":"other","display":"Other"}]},"code":{"text":"Referral for: CT abdomen with contrast"}}},{"detail":{"prohibited":false,"category":{"text":"procedure","coding":[{"system":"http://hl7.org/fhir/care-plan-activity-category","code":"procedure","display":"Procedure"}]},"code":{"text":"CBC AND DIFFERENTIAL"}}},{"detail":{"prohibited":false,"category":{"text":"procedure","coding":[{"system":"http://hl7.org/fhir/care-plan-activity-category","code":"procedure","display":"Procedure"}]},"code":{"text":"CBC WITH AUTO DIFFERENTIAL"}}},{"detail":{"prohibited":false,"category":{"text":"procedure","coding":[{"system":"http://hl7.org/fhir/care-plan-activity-category","code":"procedure","display":"Procedure"}]},"code":{"text":"TYPE AND SCREEN"}}},{"detail":{"prohibited":false,"category":{"text":"procedure","coding":[{"system":"http://hl7.org/fhir/care-plan-activity-category","code":"procedure","display":"Procedure"}]},"code":{"text":"COMPREHENSIVE METABOLIC PANEL"}}},{"detail":{"prohibited":false,"category":{"text":"procedure","coding":[{"system":"http://hl7.org/fhir/care-plan-activity-category","code":"procedure","display":"Procedure"}]},"code":{"text":"CBC"}}},{"detail":{"prohibited":false,"category":{"text":"procedure","coding":[{"system":"http://hl7.org/fhir/care-plan-activity-category","code":"procedure","display":"Procedure"}]},"code":{"text":"HEMOGLOBIN A1C"}}},{"detail":{"prohibited":false,"category":{"text":"procedure","coding":[{"system":"http://hl7.org/fhir/care-plan-activity-category","code":"procedure","display":"Procedure"}]},"code":{"text":"LUMBAR PUNCTURE"}}}],"category":[{"text":"Longitudinal","coding":[{"system":"http://snomed.info/sct","code":"38717003","display":"Longitudinal"}]}]}},{"search":{"mode":"outcome"},"resource":{"resourceType":"OperationOutcome","id":"1732090","issue":[{"severity":"warning","location":["http.category"],"code":"informational","details":{"text":"An unknown query parameter was supplied by the client.","coding":[{"system":"urn:oid:1.2.840.114350.1.13.0.1.7.2.657369","code":"4122","display":"An unknown query parameter was supplied by the client."}]}},{"severity":"warning","location":["http._format"],"code":"informational","details":{"text":"An unknown query parameter was supplied by the client.","coding":[{"system":"urn:oid:1.2.840.114350.1.13.0.1.7.2.657369","code":"4122","display":"An unknown query parameter was supplied by the client."}]}}]}}]}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"resourceType":"Bundle","type":"searchset","total":1,"link":[{"relation":"self","url":"https://open-ic.epic.com/FHIR/api/FHIR/DSTU2/CarePlan?patient=Tbt3KuCY0B5PSrJvCu2j-PlK.aiHsu2xUjUM8bWpetXoB&_format=json"}],"entry":[{"fullUrl":"https://open-ic.epic.com/FHIR/api/FHIR/DSTU2/CarePlan/Tbt3KuCY0B5PSrJvCu2j-PlK.aiHsu2xUjUM8bWpetXoB","link":[{"relation":"self","url":"https://open-ic.epic.com/FHIR/api/FHIR/DSTU2/CarePlan/Tbt3KuCY0B5PSrJvCu2j-PlK.aiHsu2xUjUM8bWpetXoB"}],"search":{"mode":"match"},"resource":{"resourceType":"CarePlan","id":"Tbt3KuCY0B5PSrJvCu2j-PlK.aiHsu2xUjUM8bWpetXoB","status":"active","subject":{"display":"Jason Argonaut","reference":"https://open-ic.epic.com/FHIR/api/FHIR/DSTU2/Patient/Tbt3KuCY0B5PSrJvCu2j-PlK.aiHsu2xUjUM8bWpetXoB"},"addresses":[{"display":"Agoraphobia","reference":"https://open-ic.epic.com/FHIR/api/FHIR/DSTU2/Condition/T1kK.xqvU20cEJe860G4aKgB"},{"display":"Chronic cough","reference":"https://open-ic.epic.com/FHIR/api/FHIR/DSTU2/Condition/ToXGIl7BNrvoF6BVybVSoawB"},{"display":"Asthma","reference":"https://open-ic.epic.com/FHIR/api/FHIR/DSTU2/Condition/T14QqO8NyASby4jGtzuSA6gB"},{"display":"Hemoglobin A1c above reference range","reference":"https://open-ic.epic.com/FHIR/api/FHIR/DSTU2/Condition/TOVSAAQTrMr9e45nCzc8S5wB"},{"display":"TB (pulmonary tuberculosis)","reference":"https://open-ic.epic.com/FHIR/api/FHIR/DSTU2/Condition/TajPohVuPYfDdU-wGcm.KMgB"},{"display":"Zika virus disease","reference":"https://open-ic.epic.com/FHIR/api/FHIR/DSTU2/Condition/T-HzNQh62IyOLOuPFOaTtDgB"}],"goal":[{"display":"Hemoglobin A1c < 7.0","reference":"https://open-ic.epic.com/FHIR/api/FHIR/DSTU2/Goal/T20lh4qYCPP9sg31ZDfMLcwB"},{"display":"Reduce the need for your rescue inhaler to less than once each month","reference":"https://open-ic.epic.com/FHIR/api/FHIR/DSTU2/Goal/TbtW9qZPjDclmbmGLLcZkRAB"}],"activity":[{"detail":{"prohibited":false,"category":{"text":"other","coding":[{"system":"http://hl7.org/fhir/care-plan-activity-category","code":"other","display":"Other"}]},"code":{"text":"Referral for: CT abdomen with contrast"}}},{"detail":{"prohibited":false,"category":{"text":"procedure","coding":[{"system":"http://hl7.org/fhir/care-plan-activity-category","code":"procedure","display":"Procedure"}]},"code":{"text":"CBC AND DIFFERENTIAL"}}},{"detail":{"prohibited":false,"category":{"text":"procedure","coding":[{"system":"http://hl7.org/fhir/care-plan-activity-category","code":"procedure","display":"Procedure"}]},"code":{"text":"CBC WITH AUTO DIFFERENTIAL"}}},{"detail":{"prohibited":false,"category":{"text":"procedure","coding":[{"system":"http://hl7.org/fhir/care-plan-activity-category","code":"procedure","display":"Procedure"}]},"code":{"text":"TYPE AND SCREEN"}}},{"detail":{"prohibited":false,"category":{"text":"procedure","coding":[{"system":"http://hl7.org/fhir/care-plan-activity-category","code":"procedure","display":"Procedure"}]},"code":{"text":"COMPREHENSIVE METABOLIC PANEL"}}},{"detail":{"prohibited":false,"category":{"text":"procedure","coding":[{"system":"http://hl7.org/fhir/care-plan-activity-category","code":"procedure","display":"Procedure"}]},"code":{"text":"CBC"}}},{"detail":{"prohibited":false,"category":{"text":"procedure","coding":[{"system":"http://hl7.org/fhir/care-plan-activity-category","code":"procedure","display":"Procedure"}]},"code":{"text":"HEMOGLOBIN A1C"}}},{"detail":{"prohibited":false,"category":{"text":"procedure","coding":[{"system":"http://hl7.org/fhir/care-plan-activity-category","code":"procedure","display":"Procedure"}]},"code":{"text":"LUMBAR PUNCTURE"}}}],"category":[{"text":"Longitudinal","coding":[{"system":"http://snomed.info/sct","code":"38717003","display":"Longitudinal"}]}]}},{"search":{"mode":"outcome"},"resource":{"resourceType":"OperationOutcome","id":"1732012","issue":[{"severity":"warning","location":["http._format"],"code":"informational","details":{"text":"An unknown query parameter was supplied by the client.","coding":[{"system":"urn:oid:1.2.840.114350.1.13.0.1.7.2.657369","code":"4122","display":"An unknown query parameter was supplied by the client."}]}}]}}]}
Loading

0 comments on commit 41fbdec

Please sign in to comment.