hl7-biggraph-care / example.csv
nkeetha's picture coldn00dl3s's picture
Duplicate from coldn00dl3s/hl7-to-fhir-dataset
e738704
Raw History Blame Contribute Delete
15.6 kB
hl7,fhir
"MSH|^~\&|HIS|RIH|ONC|ONC|202308141500||ADT^A01|345678|P|2.6
EVN|A01|202308141500
PID|1||345678^^^RIH^MR||MARTIN^ANNA^L||19870220|F|||2345 SPRUCE ST^^DALLAS^TX^75201^US||(214)555-6789
PV1|1|I|1000^1010^01||||008888^WALKER^CHARLES^T|||ONC||||ADM|A0|345678^ONCOLOGY|||||||||||||||||||202308141500
","{
""resourceType"": ""Bundle"",
""type"": ""transaction"",
""entry"": [
{
""resource"": {
""resourceType"": ""Patient"",
""id"": ""345678"",
""identifier"": [
{
""system"": ""http://hospital.smarthealthit.org"",
""value"": ""345678""
}
],
""name"": [
{
""family"": ""Martin"",
""given"": [""Anna"", ""L""]
}
],
""gender"": ""female"",
""birthDate"": ""1987-02-20"",
""address"": [
{
""line"": [""2345 Spruce St""],
""city"": ""Dallas"",
""state"": ""TX"",
""postalCode"": ""75201"",
""country"": ""US""
}
],
""telecom"": [
{
""system"": ""phone"",
""value"": ""(214)555-6789"",
""use"": ""home""
}
]
}
},
{
""resource"": {
""resourceType"": ""Encounter"",
""status"": ""in-progress"",
""class"": {
""system"": ""http://terminology.hl7.org/CodeSystem/v3-ActCode"",
""code"": ""IMP"",
""display"": ""inpatient encounter""
},
""subject"": {
""reference"": ""Patient/345678""
},
""period"": {
""start"": ""2023-08-14T15:00:00Z""
}
}
}
]
}
"
"
MSH|^~\&|LAB|HIS|ORDER|ORDER|202308141510||ORM^O01|002|P|2.6
PID|1||654321^^^HIS^MR||SMITH^JANE^B||19900101|F|||5678 ELM ST^^NEW YORK^NY^10001^US||(212)555-5555
ORC|NW|ORDER002|ORDER002|67890^LAB^HIS||||||202308141510
OBR|1|ORDER002|ORDER002|67890^CHEM^L|||202308141510|||67890^LEE^FRANK^S
","
{
""resourceType"": ""Bundle"",
""type"": ""transaction"",
""entry"": [
{
""resource"": {
""resourceType"": ""Patient"",
""id"": ""654321"",
""identifier"": [
{
""system"": ""http://hospital.smarthealthit.org"",
""value"": ""654321""
}
],
""name"": [
{
""family"": ""Smith"",
""given"": [""Jane"", ""B""]
}
],
""gender"": ""female"",
""birthDate"": ""1990-01-01"",
""address"": [
{
""line"": [""5678 Elm St""],
""city"": ""New York"",
""state"": ""NY"",
""postalCode"": ""10001"",
""country"": ""US""
}
],
""telecom"": [
{
""system"": ""phone"",
""value"": ""(212)555-5555"",
""use"": ""home""
}
]
}
},
{
""resource"": {
""resourceType"": ""DiagnosticOrder"",
""id"": ""ORDER002"",
""status"": ""requested"",
""priority"": ""routine"",
""subject"": {
""reference"": ""Patient/654321""
},
""orderer"": {
""reference"": ""Practitioner/67890""
},
""code"": {
""coding"": [
{
""system"": ""http://loinc.org"",
""code"": ""67890-5"",
""display"": ""Chemistry Panel""
}
]
},
""authoredOn"": ""2023-08-14T15:10:00Z""
}
}
]
}
"
"
MSH|^~\&|LAB|HIS|RESULTS|RESULTS|202308141720||ORU^R01|003|P|2.6
PID|1||456789^^^HIS^MR||MORGAN^ELLA^J||19750410|F|||1234 MAIN ST^^BOSTON^MA^02108^US||(617)555-4567
ORC|RE|ORDER003|ORDER003|98765^LAB^HIS||||||202308141720
OBR|1|ORDER003|ORDER003|98765^CHOL^L|||202308141720|||98765^JOHNSON^SAM^P
OBX|1|NM|98765-4^Cholesterol^L|1|200|mg/dL|<200|N|||F
","
{
""resourceType"": ""Bundle"",
""type"": ""transaction"",
""entry"": [
{
""resource"": {
""resourceType"": ""Patient"",
""id"": ""456789"",
""identifier"": [
{
""system"": ""http://hospital.smarthealthit.org"",
""value"": ""456789""
}
],
""name"": [
{
""family"": ""Morgan"",
""given"": [""Ella"", ""J""]
}
],
""gender"": ""female"",
""birthDate"": ""1975-04-10"",
""address"": [
{
""line"": [""1234 Main St""],
""city"": ""Boston"",
""state"": ""MA"",
""postalCode"": ""02108"",
""country"": ""US""
}
],
""telecom"": [
{
""system"": ""phone"",
""value"": ""(617)555-4567"",
""use"": ""home""
}
]
}
},
{
""resource"": {
""resourceType"": ""Observation"",
""id"": ""ORDER003"",
""status"": ""final"",
""category"": [
{
""coding"": [
{
""system"": ""http://terminology.hl7.org/CodeSystem/observation-category"",
""code"": ""laboratory""
}
]
}
],
""code"": {
""coding"": [
{
""system"": ""http://loinc.org"",
""code"": ""98765-4"",
""display"": ""Cholesterol""
}
]
},
""subject"": {
""reference"": ""Patient/456789""
},
""effectiveDateTime"": ""2023-08-14T17:20:00Z"",
""valueQuantity"": {
""value"": 200,
""unit"": ""mg/dL"",
""system"": ""http://unitsofmeasure.org"",
""code"": ""mg/dL""
},
""referenceRange"": [
{
""high"": {
""value"": 200,
""unit"": ""mg/dL"",
""system"": ""http://unitsofmeasure.org"",
""code"": ""mg/dL""
}
}
]
}
}
]
}
"
"
MSH|^~\&|PHARM|HIS|PHARMACY|PHARMACY|202308142030||RDE^O11|004|P|2.6
PID|1||678901^^^HIS^MR||GARCIA^JOHN^D||20000322|M|||3232 CEDAR ST^^SEATTLE^WA^98101^US||(206)555-6789
ORC|RE|ORDER014|ORDER014|34567^PHARM^HIS||||||202308142030
OBR|1|ORDER014|ORDER014|34567^METFORMIN 500MG^L|||202308142030|||34567^TAYLOR^NANCY^A
RXO|1|34567^METFORMIN 500MG^L|15^TAB^L|15|TAB
RXR|1|PO^Oral^L
","
{
""resourceType"": ""Bundle"",
""type"": ""transaction"",
""entry"": [
{
""resource"": {
""resourceType"": ""Patient"",
""id"": ""678901"",
""identifier"": [
{
""system"": ""http://hospital.smarthealthit.org"",
""value"": ""678901""
}
],
""name"": [
{
""family"": ""Garcia"",
""given"": [""John"", ""D""]
}
],
""gender"": ""male"",
""birthDate"": ""2000-03-22"",
""address"": [
{
""line"": [""3232 Cedar St""],
""city"": ""Seattle"",
""state"": ""WA"",
""postalCode"": ""98101"",
""country"": ""US""
}
],
""telecom"": [
{
""system"": ""phone"",
""value"": ""(206)555-6789"",
""use"": ""home""
}
]
}
},
{
""resource"": {
""resourceType"": ""MedicationRequest"",
""id"": ""ORDER014"",
""status"": ""active"",
""intent"": ""order"",
""medicationCodeableConcept"": {
""coding"": [
{
""system"": ""http://www.nlm.nih.gov/research/umls/rxnorm"",
""code"": ""34567"",
""display"": ""Metformin 500MG""
}
]
},
""subject"": {
""reference"": ""Patient/678901""
},
""authoredOn"": ""2023-08-14T20:30:00Z"",
""dosageInstruction"": [
{
""doseAndRate"": [
{
""doseQuantity"": {
""value"": 15,
""unit"": ""TAB"",
""system"": ""http://unitsofmeasure.org"",
""code"": ""TAB""
}
}
],
""route"": {
""coding"": [
{
""system"": ""http://snomed.info/sct"",
""code"": ""PO"",
""display"": ""Oral""
}
]
}
}
]
}
}
]
}
"
"
MSH|^~\&|HIS|HIS|DOC|DOC|202308151100||MDM^T01|015|P|2.6
PID|1||890123^^^HIS^MR||MILLER^JOHN^K||20001231|M|||2121 POPLAR ST^^CHICAGO^IL^60601^US||(312)555-8901
ORC|RE|ORDER026|ORDER026|56789^DOC^HIS||||||202308151100
OBR|1|ORDER026|ORDER026|56789^PATHOLOGY REPORT^L|||202308151100|||56789^BROWN^KAREN^L
NTE|1||This is a pathology report.
","
{
""resourceType"": ""Bundle"",
""type"": ""transaction"",
""entry"": [
{
""resource"": {
""resourceType"": ""Patient"",
""id"": ""890123"",
""identifier"": [
{
""system"": ""http://hospital.smarthealthit.org"",
""value"": ""890123""
}
],
""name"": [
{
""family"": ""Miller"",
""given"": [""John"", ""K""]
}
],
""gender"": ""male"",
""birthDate"": ""2000-12-31"",
""address"": [
{
""line"": [""2121 Poplar St""],
""city"": ""Chicago"",
""state"": ""IL"",
""postalCode"": ""60601"",
""country"": ""US""
}
],
""telecom"": [
{
""system"": ""phone"",
""value"": ""(312)555-8901"",
""use"": ""home""
}
]
}
},
{
""resource"": {
""resourceType"": ""DocumentReference"",
""id"": ""ORDER026"",
""status"": ""current"",
""type"": {
""coding"": [
{
""system"": ""http://hl7.org/fhir/ValueSet/document-reference-type"",
""code"": ""pathology-report"",
""display"": ""Pathology Report""
}
]
},
""subject"": {
""reference"": ""Patient/890123""
},
""date"": ""2023-08-15T11:00:00Z"",
""content"": [
{
""attachment"": {
""contentType"": ""text/plain"",
""data"": ""VGhpcyBpcyBhIHBhdGhub2xvZ3kgcmVwb3J0Lg=="", // Base64 encoded content
""title"": ""Pathology Report""
}
}
]
}
}
]
}
"
"
MSH|^~\&|HIS|HIS|BILLING|BILLING|202308151500||DFT^P03|026|P|2.6
PID|1||901234^^^HIS^MR||TAYLOR^MICHAEL^J||19701205|M|||9191 LAKEVIEW DR^^CHICAGO^IL^60601^US||(312)555-9012
FT1|1|901234|202308151500|202308151500|76543^SERVICE^HIS|2|^^^350^USD|||||||202308151500
IN1|1||123456789|FAMILY INSURANCE||7890 LAKE ST^^CHICAGO^IL^60601^US||(312)555-6789
","
{
""resourceType"": ""Bundle"",
""type"": ""transaction"",
""entry"": [
{
""resource"": {
""resourceType"": ""Patient"",
""id"": ""901234"",
""identifier"": [
{
""system"": ""http://hospital.smarthealthit.org"",
""value"": ""901234""
}
],
""name"": [
{
""family"": ""Taylor"",
""given"": [""Michael"", ""J""]
}
],
""gender"": ""male"",
""birthDate"": ""1970-12-05"",
""address"": [
{
""line"": [""9191 Lakeview Dr""],
""city"": ""Chicago"",
""state"": ""IL"",
""postalCode"": ""60601"",
""country"": ""US""
}
],
""telecom"": [
{
""system"": ""phone"",
""value"": ""(312)555-9012"",
""use"": ""home""
}
]
}
},
{
""resource"": {
""resourceType"": ""Claim"",
""id"": ""DFT026"",
""status"": ""active"",
""type"": {
""coding"": [
{
""system"": ""http://hl7.org/fhir/ValueSet/claim-type"",
""code"": ""professional"",
""display"": ""Professional""
}
]
},
""patient"": {
""reference"": ""Patient/901234""
},
""provider"": {
""reference"": ""Organization/BILLING""
},
""use"": ""claim"",
""billablePeriod"": {
""start"": ""2023-08-15T15:00:00Z"",
""end"": ""2023-08-15T15:00:00Z""
},
""item"": [
{
""sequence"": 1,
""productOrService"": {
""coding"": [
{
""system"": ""http://hl7.org/fhir/service-usually-performed"",
""code"": ""76543"",
""display"": ""Service""
}
]
},
""quantity"": {
""value"": 2,
""unit"": ""unit""
},
""unitPrice"": {
""value"": 350,
""currency"": ""USD""
}
}
]
}
}
]
}
"
"
MSH|^~\&|HIS|HIS|SCHEDULING|SCHEDULING|202308151800||SIU^S12|002|P|2.6
PID|1||789012^^^HIS^MR||WILSON^ELLA^J||19651130|F|||9012 WINTER ST^^HOUSTON^TX^77001^US||(713)555-7890
SCH|1|202308151800|202308151900|PQR^CT^HIS|1|202308151800|202308151900|S|A|^^^4|PQR^CT^HIS|^^^2
","
{
""resourceType"": ""Bundle"",
""type"": ""transaction"",
""entry"": [
{
""resource"": {
""resourceType"": ""Patient"",
""id"": ""789012"",
""identifier"": [
{
""system"": ""http://hospital.smarthealthit.org"",
""value"": ""789012""
}
],
""name"": [
{
""family"": ""Wilson"",
""given"": [""Ella"", ""J""]
}
],
""gender"": ""female"",
""birthDate"": ""1965-11-30"",
""address"": [
{
""line"": [""9012 Winter St""],
""city"": ""Houston"",
""state"": ""TX"",
""postalCode"": ""77001"",
""country"": ""US""
}
],
""telecom"": [
{
""system"": ""phone"",
""value"": ""(713)555-7890"",
""use"": ""home""
}
]
}
},
{
""resource"": {
""resourceType"": ""Appointment"",
""id"": ""SIU002"",
""status"": ""booked"",
""description"": ""CT Scan"",
""start"": ""2023-08-15T18:00:00Z"",
""end"": ""2023-08-15T19:00:00Z"",
""participant"": [
{
""actor"": {
""reference"": ""Patient/789012""
},
""status"": ""accepted""
}
],
""serviceType"": {
""coding"": [
{
""system"": ""http://hl7.org/fhir/service-usually-performed"",
""code"": ""PQR"",
""display"": ""CT Scan""
}
]
},
""appointmentType"": {
""coding"": [
{
""system"": ""http://hl7.org/fhir/ValueSet/appointment-type"",
""code"": ""S"",
""display"": ""Scheduled""
}
]
}
}
}
]
}
"