FHIR Reference

get
Get $everything

https://api.1up.health/fhir/{fhirVersion}/Patient/{patient_id}/$everything
This endpoint enables you to retrieve all FHIR resources related to the patient.
Request
Response
Request
Headers
Authorization
required
string
This endpoint receives authentication in the form of a http bearer authentication header.
Response
200: OK
$everything associated with patient_id: 6899e42a6fdf is successfully retrieved.
{
"entry" : [
{
"fullUrl" : "https://api.1up.health/dstu2/AllergyIntolerance/6899e42a6fdf11e4d20d-20e7-11ea-88c9-005056805c39",
"search" : {
"mode" : "match"
},
"resource" : {
"onset" : "2019-12-17",
"meta" : {
"versionId" : "9000000000000",
"lastUpdated" : "2020-06-04T16:43:46.764Z"
},
"type" : "allergy",
"id" : "6899e42a6fdf11e4d20d-20e7-11ea-88c9-005056805c39",
"patient" : {
"reference" : "Patient/6899e42a6fdf"
},
"identifier" : [
{
"value" : "11e4d20d-20e7-11ea-88c9-005056805c39",
"system" : "https:mtrestapis-test01.hallmarkhealth.org"
}
],
"criticality" : "CRITL",
"resourceType" : "AllergyIntolerance",
"status" : "active",
"reaction" : [
{
"manifestation" : [
{
"text" : "Confusion",
"coding" : [
{
"code" : "286933003",
"display" : "Confusion",
"system" : "http://snomed.info/sct"
}
]
}
],
"severity" : "mild"
}
],
"substance" : {
"text" : "Peppermint Oil",
"coding" : [
{
"code" : "33094",
"display" : "Peppermint Oil",
"system" : "http://www.nlm.nih.gov/research/umls/rxnorm"
}
]
}
}
},
{
"fullUrl" : "https://api.1up.health/dstu2/AllergyIntolerance/6899e42a6fdf11e4d20e-20e7-11ea-88c9-005056805c39",
"search" : {
"mode" : "match"
},
"resource" : {
"onset" : "2019-12-17",
"meta" : {
"versionId" : "9000000000000",
"lastUpdated" : "2020-06-04T16:43:46.616Z"
},
"id" : "6899e42a6fdf11e4d20e-20e7-11ea-88c9-005056805c39",
"type" : "allergy",
"identifier" : [
{
"system" : "https:mtrestapis-test01.hallmarkhealth.org",
"value" : "11e4d20e-20e7-11ea-88c9-005056805c39"
}
],
"patient" : {
"reference" : "Patient/6899e42a6fdf"
},
"criticality" : "CRITH",
"status" : "active",
"resourceType" : "AllergyIntolerance",
"substance" : {
"text" : "Chicken Protein"
},
"reaction" : [
{
"manifestation" : [
{
"coding" : [
{
"code" : "386661006",
"display" : "Fever",
"system" : "http://snomed.info/sct"
}
],
"text" : "Fever"
}
],
"severity" : "moderate"
}
]
}
},
{
"resource" : {
"criticality" : "CRITH",
"reaction" : [
{
"manifestation" : [
{
"coding" : [
{
"code" : "95516005",
"display" : "Gastrointestinal irritation",
"system" : "http://snomed.info/sct"
}
],
"text" : "GI Upset/ADR"
}
],
"severity" : "moderate"
}
],
"substance" : {
"coding" : [
{
"system" : "http://www.nlm.nih.gov/research/umls/rxnorm",
"display" : "Caffeine",
"code" : "1886"
}
],
"text" : "Caffeine"
},
"resourceType" : "AllergyIntolerance",
"status" : "active",
"meta" : {
"versionId" : "9000000000000",
"lastUpdated" : "2020-06-04T16:43:46.785Z"
},
"onset" : "2019-12-17",
"patient" : {
"reference" : "Patient/6899e42a6fdf"
},
"identifier" : [
{
"system" : "https:mtrestapis-test01.hallmarkhealth.org",
"value" : "44e18d5d-20e4-11ea-88c9-005056805c39"
}
],
"type" : "allergy",
"id" : "6899e42a6fdf44e18d5d-20e4-11ea-88c9-005056805c39"
},
"search" : {
"mode" : "match"
},
"fullUrl" : "https://api.1up.health/dstu2/AllergyIntolerance/6899e42a6fdf44e18d5d-20e4-11ea-88c9-005056805c39"
},
{
"fullUrl" : "https://api.1up.health/dstu2/AllergyIntolerance/6899e42a6fdf44e18d5e-20e4-11ea-88c9-005056805c39",
"search" : {
"mode" : "match"
},
"resource" : {
"resourceType" : "AllergyIntolerance",
"status" : "active",
"substance" : {
"coding" : [
{
"display" : "Sucrose",
"system" : "http://www.nlm.nih.gov/research/umls/rxnorm",
"code" : "10159"
}
],
"text" : "Sucrose"
},
"reaction" : [
{
"severity" : "moderate",
"manifestation" : [
{
"coding" : [
{
"system" : "http://snomed.info/sct",
"display" : "Gastrointestinal irritation",
"code" : "95516005"
}
],
"text" : "GI Upset/ADR"
}
]
}
],
"criticality" : "CRITH",
"id" : "6899e42a6fdf44e18d5e-20e4-11ea-88c9-005056805c39",
"type" : "allergy",
"identifier" : [
{
"value" : "44e18d5e-20e4-11ea-88c9-005056805c39",
"system" : "https:mtrestapis-test01.hallmarkhealth.org"
}
],
"patient" : {
"reference" : "Patient/6899e42a6fdf"
},
"onset" : "2019-12-17",
"meta" : {
"lastUpdated" : "2020-06-04T16:43:46.566Z",
"versionId" : "9000000000000"
}
}
},
{
"fullUrl" : "https://api.1up.health/dstu2/AllergyIntolerance/6899e42a6fdf44e18d5f-20e4-11ea-88c9-005056805c39",
"search" : {
"mode" : "match"
},
"resource" : {
"patient" : {
"reference" : "Patient/6899e42a6fdf"
},
"identifier" : [
{
"value" : "44e18d5f-20e4-11ea-88c9-005056805c39",
"system" : "https:mtrestapis-test01.hallmarkhealth.org"
}
],
"type" : "allergy",
"id" : "6899e42a6fdf44e18d5f-20e4-11ea-88c9-005056805c39",
"meta" : {
"lastUpdated" : "2020-06-04T16:43:46.765Z",
"versionId" : "9000000000000"
},
"onset" : "2019-12-17",
"reaction" : [
{
"severity" : "moderate",
"manifestation" : [
{
"coding" : [
{
"code" : "95516005",
"display" : "Gastrointestinal irritation",
"system" : "http://snomed.info/sct"
}
],
"text" : "GI Upset/ADR"
}
]
}
],
"substance" : {
"text" : "Phosphoric Acid",
"coding" : [
{
"system" : "http://www.nlm.nih.gov/research/umls/rxnorm",
"display" : "Phosphoric Acid",
"code" : "8259"
}
]
},
"status" : "active",
"resourceType" : "AllergyIntolerance",
"criticality" : "CRITH"
}
},
{
"resource" : {
"meta" : {
"lastUpdated" : "2020-06-04T16:43:47.231Z",
"versionId" : "9000000000000"
},
"onset" : "2019-12-17",
"identifier" : [
{
"system" : "https:mtrestapis-test01.hallmarkhealth.org",
"value" : "44e18d60-20e4-11ea-88c9-005056805c39"
}
],
"patient" : {
"reference" : "Patient/6899e42a6fdf"
},
"id" : "6899e42a6fdf44e18d60-20e4-11ea-88c9-005056805c39",
"type" : "allergy",
"criticality" : "CRITH",
"substance" : {
"text" : "Watermelon Flavor"
},
"reaction" : [
{
"severity" : "moderate",
"manifestation" : [
{
"coding" : [
{
"system" : "http://snomed.info/sct",
"display" : "Dyspnea",
"code" : "267036007"
}
],
"text" : "Dyspnea"
}
]
}
],
"resourceType" : "AllergyIntolerance",
"status" : "active"
},
"fullUrl" : "https://api.1up.health/dstu2/AllergyIntolerance/6899e42a6fdf44e18d60-20e4-11ea-88c9-005056805c39",
"search" : {
"mode" : "match"
}
},
{
"resource" : {
"onset" : "2019-12-17",
"meta" : {
"versionId" : "9000000000000",
"lastUpdated" : "2020-06-04T16:43:46.763Z"
},
"type" : "allergy",
"id" : "6899e42a6fdf44e18d61-20e4-11ea-88c9-005056805c39",
"patient" : {
"reference" : "Patient/6899e42a6fdf"
},
"identifier" : [
{
"value" : "44e18d61-20e4-11ea-88c9-005056805c39",
"system" : "https:mtrestapis-test01.hallmarkhealth.org"
}
],
"criticality" : "CRITH",
"status" : "active",
"resourceType" : "AllergyIntolerance",
"reaction" : [
{
"severity" : "severe",
"manifestation" : [
{
"coding" : [
{
"system" : "http://snomed.info/sct",
"display" : "Confusion",
"code" : "286933003"
}
],
"text" : "Confusion"
}
]
}
],
"substance" : {
"text" : "E-Coli-derived Products"
}
},
"fullUrl" : "https://api.1up.health/dstu2/AllergyIntolerance/6899e42a6fdf44e18d61-20e4-11ea-88c9-005056805c39",
"search" : {
"mode" : "match"
}
},
{
"fullUrl" : "https://api.1up.health/dstu2/AllergyIntolerance/6899e42a6fdf44e18d62-20e4-11ea-88c9-005056805c39",
"search" : {
"mode" : "match"
},
"resource" : {
"meta" : {
"versionId" : "9000000000000",
"lastUpdated" : "2020-06-04T16:43:46.768Z"
},
"onset" : "2019-12-17",
"identifier" : [
{
"system" : "https:mtrestapis-test01.hallmarkhealth.org",
"value" : "44e18d62-20e4-11ea-88c9-005056805c39"
}
],
"patient" : {
"reference" : "Patient/6899e42a6fdf"
},
"id" : "6899e42a6fdf44e18d62-20e4-11ea-88c9-005056805c39",
"type" : "allergy",
"criticality" : "CRITH",
"substance" : {
"text" : "Sitagliptin",
"coding" : [
{
"code" : "593411",
"display" : "Sitagliptin",
"system" : "http://www.nlm.nih.gov/research/umls/rxnorm"
}
]
},
"reaction" : [
{
"severity" : "moderate",
"manifestation" : [
{
"text" : "Fever",
"coding" : [
{
"system" : "http://snomed.info/sct",
"display" : "Fever",
"code" : "386661006"
}
]
}
]
}
],
"status" : "active",
"resourceType" : "AllergyIntolerance"
}
},
{
"fullUrl" : "https://api.1up.health/dstu2/Condition/6899e42a6fdf44e18d64-20e4-11ea-88c9-005056805c39",
"search" : {
"mode" : "match"
},
"resource" : {
"code" : {
"coding" : [
{
"code" : "255056009",
"system" : "http://snomed.info/sct",
"display" : "Malignant neoplasm of head and neck"
}
]
},
"patient" : {
"reference" : "Patient/6899e42a6fdf"
},
"clinicalStatus" : "active",
"identifier" : [
{
"system" : "https:mtrestapis-test01.hallmarkhealth.org",
"value" : "44e18d64-20e4-11ea-88c9-005056805c39"
}
],
"dateRecorded" : "2019-12-17",
"id" : "6899e42a6fdf44e18d64-20e4-11ea-88c9-005056805c39",
"meta" : {
"versionId" : "9000000000000",
"lastUpdated" : "2020-06-04T16:43:46.982Z"
},
"resourceType" : "Condition",
"verificationStatus" : "confirmed",
"category" : {
"text" : "Problem",
"coding" : [
{
"code" : "problem",
"system" : "http://argonaut.hl7.org",
"display" : "Problem"
}
]
}
}
},
{
"resource" : {
"id" : "6899e42a6fdf44e18d65-20e4-11ea-88c9-005056805c39",
"dateRecorded" : "2019-12-17",
"identifier" : [
{
"value" : "44e18d65-20e4-11ea-88c9-005056805c39",
"system" : "https:mtrestapis-test01.hallmarkhealth.org"
}
],
"clinicalStatus" : "active",
"patient" : {
"reference" : "Patient/6899e42a6fdf"
},
"code" : {
"coding" : [
{
"system" : "http://snomed.info/sct",
"display" : "Jerky body movements",
"code" : "298325004"
}
]
},
"meta" : {
"versionId" : "9000000000000",
"lastUpdated" : "2020-06-04T16:43:47.222Z"
},
"resourceType" : "Condition",
"category" : {
"text" : "Problem",
"coding" : [
{
"code" : "problem",
"display" : "Problem",
"system" : "http://argonaut.hl7.org"
}
]
},
"verificationStatus" : "confirmed"
},
"fullUrl" : "https://api.1up.health/dstu2/Condition/6899e42a6fdf44e18d65-20e4-11ea-88c9-005056805c39",
"search" : {
"mode" : "match"
}
}
],
"total" : 30,
"resourceType" : "Bundle",
"type" : "searchset",
"link" : [
{
"relation" : "self",
"url" : "https://api.1up.health/dstu2/Patient/6899e42a6fdf/$everything"
},
{
"relation" : "next",
"url" : "https://api.1up.health/dstu2/Patient/6899e42a6fdf/$everything?_skip=10"
}
]
}

delete
Delete $everything

https://api.1up.health/fhir/{fhirVersion}/Patient/{patient_id}/$everything
Request
Response
Request
Headers
Authorization
required
string
This endpoint receives authentication in the form of a http bearer authentication header.
Response
200: OK
{
"id" : "rtr0wo3lm9",
"issue" : [
{
"severity" : "information",
"details" : {
"text" : "Deleted all resources successfully for patient with id 6899e42a6fdf"
},
"code" : "value"
}
],
"resourceType" : "OperationOutcome"
}

get
Bulk Data Export

https://api.1up.health/bulk-data/{fhirVersion}/$export
Use this endpoint to export bulk data for a given 1up user using the FHIR® $export operator. This initial request returns a list of download files, which can be individually requested to retrieve the data.
Request
Response
Request
Path Parameters
_type
optional
string
Optionally restrict the types of FHIR® resources to export with a comma-separated list of standard FHIR® resource types (e.g. 'Patient,Observation'). Note the request will fail if an invalid resource type is requested.
Headers
Authorization
required
string
This endpoint receives authentication in the form of a http bearer authentication header.
Response
200: OK
{
"transactionTime": "2020-12-16T20:09:18.761Z",
"request": "https://analytics.1up.health/bulk-data/dstu2/$export",
"requiresAccessToken": true,
"output": [
{
"type": "AllergyIntolerance",
"url": "https://analytics.1up.health/bulk-data/dstu2/$export/AllergyIntolerance/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdGFydCI6IjNkMyIsInRvdGFsIjo2NiwidXNlcklkIjoiMTAyMzk4In0.jYKw0ZisBALa2o-JUeSAI24K5_sh6gZhvln52iTMG80.ndjson"
},
{
"type": "Condition",
"url": "https://analytics.1up.health/bulk-data/dstu2/$export/Condition/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdGFydCI6IjNkMyIsInRvdGFsIjoxMDgsInVzZXJJZCI6IjEwMjM5OCJ9.PxZoOjK2lr6hBqGWfA9DKWT8atMMAlheQda3zNLBWUw.ndjson"
},
{
"type": "Procedure",
"url": "https://analytics.1up.health/bulk-data/dstu2/$export/Procedure/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdGFydCI6ImY4ZiIsInRvdGFsIjoyLCJ1c2VySWQiOiIxMDIzOTgifQ.3EEgbTbBVORFdSoWPigfyHB8FdoB-Oy5BYrW0pcN-xQ.ndjson"
},
{
"type": "FamilyMemberHistory",
"url": "https://analytics.1up.health/bulk-data/dstu2/$export/FamilyMemberHistory/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdGFydCI6ImY4ZiIsInRvdGFsIjoyMjgsInVzZXJJZCI6IjEwMjM5OCJ9.F74LBwIO-I54LH-fbq2N5lKiU-088IsGwI2OJ3-so8c.ndjson"
},
{
"type": "CarePlan",
"url": "https://analytics.1up.health/bulk-data/dstu2/$export/CarePlan/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdGFydCI6ImY4ZiIsInRvdGFsIjoxLCJ1c2VySWQiOiIxMDIzOTgifQ.9HyZRPC3HWwKCcOH2K6Ny-VtC70-TCWo8-Y_qjgfxps.ndjson"
},
{
"type": "Goal",
"url": "https://analytics.1up.health/bulk-data/dstu2/$export/Goal/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdGFydCI6ImY4ZiIsInRvdGFsIjoyLCJ1c2VySWQiOiIxMDIzOTgifQ.3EEgbTbBVORFdSoWPigfyHB8FdoB-Oy5BYrW0pcN-xQ.ndjson"
},
{
"type": "Medication",
"url": "https://analytics.1up.health/bulk-data/dstu2/$export/Medication/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdGFydCI6IjBhMCIsInRvdGFsIjoxNiwidXNlcklkIjoiMTAyMzk4In0.mtcCsC25LFBWghWfh7IIm-2d_WfJK_A-7mkIbsLxzWk.ndjson"
},
{
"type": "MedicationOrder",
"url": "https://analytics.1up.health/bulk-data/dstu2/$export/MedicationOrder/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdGFydCI6IjNkMyIsInRvdGFsIjoyNiwidXNlcklkIjoiMTAyMzk4In0.ARks_KIGx_e5X27AV--wiMQ6C9yOgXUBTvS2_NG9vGo.ndjson"
},
{
"type": "MedicationStatement",
"url": "https://analytics.1up.health/bulk-data/dstu2/$export/MedicationStatement/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdGFydCI6IjNkMyIsInRvdGFsIjoxMTEsInVzZXJJZCI6IjEwMjM5OCJ9.FlWVDFmoBD0J2ozIWKz7zsvw9IBawKFpNXUCvT-uesg.ndjson"
},
{
"type": "Immunization",
"url": "https://analytics.1up.health/bulk-data/dstu2/$export/Immunization/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdGFydCI6IjNkMyIsInRvdGFsIjo0LCJ1c2VySWQiOiIxMDIzOTgifQ.BcHpFAON4yeV0gS0uOo8Zu_pCbU60eC0NUQt2TI0POg.ndjson"
},
{
"type": "Observation",
"url": "https://analytics.1up.health/bulk-data/dstu2/$export/Observation/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdGFydCI6IjNkMyIsInRvdGFsIjoyNjcsInVzZXJJZCI6IjEwMjM5OCJ9.uMZvT6DNZpg1aCvtoOhvKL3yyr5EOn0Fjtg90UiVr_k.ndjson"
},
{
"type": "DiagnosticReport",
"url": "https://analytics.1up.health/bulk-data/dstu2/$export/DiagnosticReport/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdGFydCI6IjNkMyIsInRvdGFsIjoxNywidXNlcklkIjoiMTAyMzk4In0.vAN3DK_qLHOvTX6XDxtV-wpXMHPt8p8p4DO8mrEUz1M.ndjson"
},
{
"type": "Patient",
"url": "https://analytics.1up.health/bulk-data/dstu2/$export/Patient/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdGFydCI6IjA2ZCIsInRvdGFsIjoyNCwidXNlcklkIjoiMTAyMzk4In0.5Oj-4pxgMLB9IvslFSSLZSGigMui5DqHq__zKJq4DCg.ndjson"
},
{
"type": "Practitioner",
"url": "https://analytics.1up.health/bulk-data/dstu2/$export/Practitioner/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdGFydCI6IjJkZSIsInRvdGFsIjoxMywidXNlcklkIjoiMTAyMzk4In0.yboXaapV7qRqH7orO2ZI4qt1fHfX4Q4HfCSj_YwRCog.ndjson"
},
{
"type": "RelatedPerson",
"url": "https://analytics.1up.health/bulk-data/dstu2/$export/RelatedPerson/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdGFydCI6IjNkMyIsInRvdGFsIjoyLCJ1c2VySWQiOiIxMDIzOTgifQ.WrDDxzt0lYLXHFJYG3wyEzrEzIJZ2Vn6_ByQZOsxT7M.ndjson"
},
{
"type": "Location",
"url": "https://analytics.1up.health/bulk-data/dstu2/$export/Location/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdGFydCI6IjUwMCIsInRvdGFsIjoyLCJ1c2VySWQiOiIxMDIzOTgifQ.I5lXWFlG4THegvYutD6SaM37YP_Ni2Wugs9-QUXts2c.ndjson"
},
{
"type": "Device",
"url": "https://analytics.1up.health/bulk-data/dstu2/$export/Device/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdGFydCI6ImY4ZiIsInRvdGFsIjoxLCJ1c2VySWQiOiIxMDIzOTgifQ.9HyZRPC3HWwKCcOH2K6Ny-VtC70-TCWo8-Y_qjgfxps.ndjson"
},
{
"type": "Encounter",
"url": "https://analytics.1up.health/bulk-data/dstu2/$export/Encounter/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdGFydCI6IjNkMyIsInRvdGFsIjozMiwidXNlcklkIjoiMTAyMzk4In0.PURhq7tYXJtZ2mdLB9Bx_0T95PwFeQfl7Ms2AFeMsNU.ndjson"
},
{
"type": "DocumentReference",
"url": "https://analytics.1up.health/bulk-data/dstu2/$export/DocumentReference/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdGFydCI6ImY4ZiIsInRvdGFsIjoxLCJ1c2VySWQiOiIxMDIzOTgifQ.9HyZRPC3HWwKCcOH2K6Ny-VtC70-TCWo8-Y_qjgfxps.ndjson"
},
{
"type": "Binary",
"url": "https://analytics.1up.health/bulk-data/dstu2/$export/Binary/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdGFydCI6IjE1MyIsInRvdGFsIjoxLCJ1c2VySWQiOiIxMDIzOTgifQ.cxMSSq4SG2Ykgj7A_Z5t0ztz6rCwFILb7klbI5xa6FQ.ndjson"
}
]
}