Skip to content

Instantly share code, notes, and snippets.

@mlapshin
Created December 8, 2015 08:43
Show Gist options
  • Save mlapshin/544afea8ca44e1080d8a to your computer and use it in GitHub Desktop.
Save mlapshin/544afea8ca44e1080d8a to your computer and use it in GitHub Desktop.
{
"resourceType": "Bundle",
"type": "transaction",
"entry": [
{
"request": {
"method": "POST",
"url": "/Patient"
},
"resource": {
"id": "1e467a741586a1f60097be9a9d4304fd",
"resourceType": "Patient",
"deceasedBoolean": "N",
"birthDate": "1974-04-09T21:00:00.000Z",
"gender": "female",
"name": [
{
"given": [
"Shawn"
],
"middle": [
"Devin"
],
"family": [
"Reiner"
],
"text": "SHAWN DEVIN REINER"
}
],
"address": [
{
"line": [
"GIBSON AVE",
"FOUR OAKS LODGE",
"ORANGE"
],
"city": "ORANGE",
"state": "CA",
"postalCode": "98765",
"country": "USA",
"text": "GIBSON AVE FOUR OAKS LODGE ORANGE CA 98765 USA"
}
],
"identifier": [
{
"value": "565672",
"system": "urn:oid:2.16.840.1.113883.4.3.42",
"type": {
"text": "External ID"
}
},
{
"value": "565672",
"system": "urn:oid:2.16.840.1.113883.4.3.45",
"type": {
"text": "Internal ID"
}
},
{
"value": "160922",
"system": "urn:oid:2.16.840.1.113883.4.3.46",
"type": {
"text": "Alternate ID"
}
},
{
"value": "11115555555",
"type": {
"text": "Account number"
}
},
{
"value": "123-52-2222",
"system": "http://hl7.org/fhir/sid/us-ssn",
"type": {
"text": "Social Security Number"
}
}
],
"telecom": [
{
"use": "home",
"value": "(111)222-3333"
}
],
"contact": [
{
"gender": "unknown",
"name": {
"use": "official"
},
"address": {
"use": "Mailing Address"
}
}
]
}
},
{
"request": {
"method": "POST",
"url": "/Coverage"
},
"resource": {
"resourceType": "Coverage",
"identifier": {
"value": "565672",
"system": "urn:oid:2.16.840.1.113883.4.3.45"
},
"name": "MEDICARE IP",
"subscriberFirstName": "SHAWN",
"subscriberMiddleName": "D",
"subscriberLastName": "REINER",
"subscriberDOB": "1930-11-12T21:00:00.000Z",
"effectiveDate": "1995-10-31T21:00:00.000Z",
"subscriber": {
"reference": "Patient/1e467a741586a1f60097be9a9d4304fd"
},
"policyNumber": "MCR"
}
},
{
"request": {
"method": "POST",
"url": "/Encounter"
},
"resource": {
"resourceType": "Encounter",
"class": "I",
"identifier": [
{
"value": "40007716"
}
],
"period": {
"start": "2005-02-10T01:52:53.000Z"
},
"participant": [
{
"type": {
"coding": [
{
"code": "ATND",
"system": "http://hl7.org/fhir/v3/ParticipationType"
}
]
},
"individual": {
"reference": "Practitioner/a5bfc9e07964f8dddeb95fc584cd965d"
}
},
{
"type": {
"coding": [
{
"code": "ADM",
"system": "http://hl7.org/fhir/v3/ParticipationType"
}
]
},
"individual": {
"reference": "Practitioner/a5bfc9e07964f8dddeb95fc584cd965d"
}
}
],
"patient": {
"reference": "Patient/1e467a741586a1f60097be9a9d4304fd"
},
"location": {
"location": {
"reference": "Location/e3dab9573a1277471911aaf97c78d709"
},
"status": "active"
}
}
},
{
"request": {
"method": "POST",
"url": "/Practitioner"
},
"resource": {
"id": "a5bfc9e07964f8dddeb95fc584cd965d",
"resourceType": "Practitioner",
"identifier": [
{
"value": "37"
}
],
"name": {
"text": "TIMOTHY REID",
"given": [
"Timothy"
],
"middle": [
"Q"
],
"family": [
"Reid"
]
}
}
},
{
"request": {
"method": "POST",
"url": "/Location"
},
"resource": {
"id": "e3dab9573a1277471911aaf97c78d709",
"resourceType": "Location",
"status": "active",
"identifier": [
{
"value": "S.101.1"
}
],
"building": "S",
"room": "101",
"bed": "1",
"name": "S.101.1"
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment