diff --git a/data/SampleData/Stu3/Account.json b/data/SampleData/Stu3/Account.json new file mode 100644 index 000000000..f2bb5e219 --- /dev/null +++ b/data/SampleData/Stu3/Account.json @@ -0,0 +1,56 @@ +{ + "resourceType": "Account", + "id": "example", + "text": { + "status": "generated", + "div": "
HACC Funded Billing for Peter James Chalmers
" + }, + "identifier": [ + { + "system": "urn:oid:0.1.2.3.4.5.6.7", + "value": "654321" + } + ], + "status": "active", + "type": { + "coding": [ + { + "system": "http://hl7.org/fhir/v3/ActCode", + "code": "PBILLACCT", + "display": "patient billing account" + } + ], + "text": "patient" + }, + "name": "HACC Funded Billing for Peter James Chalmers", + "subject": { + "reference": "Patient/example", + "display": "Peter James Chalmers" + }, + "period": { + "start": "2016-01-01", + "end": "2016-06-30" + }, + "active": { + "start": "2016-01-01", + "end": "2016-06-30" + }, + "balance": { + "value": -1200, + "unit": "USD", + "system": "urn:iso:std:iso:4217", + "code": "USD" + }, + "coverage": [ + { + "coverage": { + "reference": "Coverage/7546D" + }, + "priority": 1 + } + ], + "owner": { + "reference": "Organization/hl7" + }, + "description": "Hospital charges" +} \ No newline at end of file diff --git a/data/SampleData/Stu3/ActivityDefinition.json b/data/SampleData/Stu3/ActivityDefinition.json new file mode 100644 index 000000000..05f1b4753 --- /dev/null +++ b/data/SampleData/Stu3/ActivityDefinition.json @@ -0,0 +1,304 @@ +{ + "resourceType": "ActivityDefinition", + "id": "citalopramPrescription", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: citalopramPrescription

contained: ,

url: http://motivemi.com/artifacts/ActivityDefinition/citalopramPrescription

identifier: citalopramPrescription (OFFICIAL)

version: 1.0.0

name: CitalopramPrescription

title: Citalopram Prescription

status: active

experimental: true

date: 15/08/2015

publisher: Motive Medical Intelligence

description: Citalopram 20 mg tablet 1 tablet oral 1 time daily now (30 table; 3 refills

purpose: Defines a guideline supported prescription for the treatment of depressive disorders

usage: This activity definition is used as part of various suicide risk order sets

approvalDate: 12/03/2016

lastReviewDate: 15/08/2016

effectivePeriod: 01/01/2016 --> 31/12/2017

useContext: , , , , , ,

jurisdiction: United States (Details : {urn:iso:std:iso:3166 code 'US' = 'United States)

topic: Mental Health Treatment (Details )

contributor:

contact:

copyright: © Copyright 2016 Motive Medical Intelligence. All rights reserved.

relatedArtifact: ,

kind: MedicationRequest

product: id: citalopramMedication; citalopram (Details : {RxNorm code '200371' = '200371); Tablet dose form (Details : {SNOMED CT code '385055001' = 'Tablet', given as 'Tablet dose form'})

dosage:

dynamicValue

description: dispenseRequest.numberOfRepeatsAllowed is three (3)

path: dispenseRequest.numberOfRepeatsAllowed

language: text/cql

expression: 3

dynamicValue

description: dispenseRequest.quantity is thirty (30) tablets

path: dispenseRequest.quantity

language: text/cql

expression: 30 '{tbl}'

" + }, + "contained": [ + { + "resourceType": "Medication", + "id": "citalopramMedication", + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "200371" + } + ], + "text": "citalopram" + }, + "form": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "385055001", + "display": "Tablet dose form" + } + ], + "text": "Tablet dose form" + }, + "ingredient": [ + { + "itemReference": { + "reference": "#citalopramSubstance" + }, + "amount": { + "numerator": { + "value": 20, + "unit": "mg" + }, + "denominator": { + "value": 1, + "unit": "{tbl}" + } + } + } + ] + }, + { + "resourceType": "Substance", + "id": "citalopramSubstance", + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "2556" + } + ], + "text": "citalopram" + } + } + ], + "url": "http://motivemi.com/artifacts/ActivityDefinition/citalopramPrescription", + "identifier": [ + { + "use": "official", + "system": "http://motivemi.com", + "value": "citalopramPrescription" + } + ], + "version": "1.0.0", + "name": "CitalopramPrescription", + "title": "Citalopram Prescription", + "status": "active", + "experimental": true, + "date": "2015-08-15", + "publisher": "Motive Medical Intelligence", + "description": "Citalopram 20 mg tablet 1 tablet oral 1 time daily now (30 table; 3 refills", + "purpose": "Defines a guideline supported prescription for the treatment of depressive disorders", + "usage": "This activity definition is used as part of various suicide risk order sets", + "approvalDate": "2016-03-12", + "lastReviewDate": "2016-08-15", + "effectivePeriod": { + "start": "2016-01-01", + "end": "2017-12-31" + }, + "useContext": [ + { + "code": { + "system": "http://hl7.org/fhir/usage-context-type", + "code": "age" + }, + "valueCodeableConcept": { + "coding": [ + { + "system": "https://meshb.nlm.nih.gov", + "code": "D000328", + "display": "Adult" + } + ] + } + }, + { + "code": { + "system": "http://hl7.org/fhir/usage-context-type", + "code": "focus" + }, + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "87512008", + "display": "Mild major depression" + } + ] + } + }, + { + "code": { + "system": "http://hl7.org/fhir/usage-context-type", + "code": "focus" + }, + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "40379007", + "display": "Major depression, recurrent, mild" + } + ] + } + }, + { + "code": { + "system": "http://hl7.org/fhir/usage-context-type", + "code": "focus" + }, + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "225444004", + "display": "At risk for suicide (finding)" + } + ] + } + }, + { + "code": { + "system": "http://hl7.org/fhir/usage-context-type", + "code": "focus" + }, + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "306206005", + "display": "Referral to service (procedure)" + } + ] + } + }, + { + "code": { + "system": "http://hl7.org/fhir/usage-context-type", + "code": "user" + }, + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "309343006", + "display": "Physician" + } + ] + } + }, + { + "code": { + "system": "http://hl7.org/fhir/usage-context-type", + "code": "venue" + }, + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "440655000", + "display": "Outpatient environment" + } + ] + } + } + ], + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "topic": [ + { + "text": "Mental Health Treatment" + } + ], + "contributor": [ + { + "type": "author", + "name": "Motive Medical Intelligence", + "contact": [ + { + "telecom": [ + { + "system": "phone", + "value": "415-362-4007", + "use": "work" + }, + { + "system": "email", + "value": "info@motivemi.com", + "use": "work" + } + ] + } + ] + } + ], + "contact": [ + { + "telecom": [ + { + "system": "phone", + "value": "415-362-4007", + "use": "work" + }, + { + "system": "email", + "value": "info@motivemi.com", + "use": "work" + } + ] + } + ], + "copyright": "© Copyright 2016 Motive Medical Intelligence. All rights reserved.", + "relatedArtifact": [ + { + "type": "citation", + "display": "Practice Guideline for the Treatment of Patients with Major Depressive Disorder", + "url": "http://psychiatryonline.org/pb/assets/raw/sitewide/practice_guidelines/guidelines/mdd.pdf" + }, + { + "type": "composed-of", + "resource": { + "reference": "#citalopramMedication" + } + } + ], + "kind": "ReferralRequest", + "productReference": { + "reference": "#citalopramMedication" + }, + "dosage": [ + { + "text": "1 tablet oral 1 time daily", + "timing": { + "repeat": { + "frequency": 1, + "period": 1, + "periodUnit": "d" + } + }, + "route": { + "coding": [ + { + "code": "26643006", + "display": "Oral route (qualifier value)" + } + ], + "text": "Oral route (qualifier value)" + }, + "doseQuantity": { + "value": 1, + "unit": "{tbl}" + } + } + ], + "dynamicValue": [ + { + "description": "dispenseRequest.numberOfRepeatsAllowed is three (3)", + "path": "dispenseRequest.numberOfRepeatsAllowed", + "language": "text/cql", + "expression": "3" + }, + { + "description": "dispenseRequest.quantity is thirty (30) tablets", + "path": "dispenseRequest.quantity", + "language": "text/cql", + "expression": "30 '{tbl}'" + } + ] +} \ No newline at end of file diff --git a/data/SampleData/Stu3/AdverseEvent.json b/data/SampleData/Stu3/AdverseEvent.json new file mode 100644 index 000000000..2674426c7 --- /dev/null +++ b/data/SampleData/Stu3/AdverseEvent.json @@ -0,0 +1,46 @@ +{ + "resourceType": "AdverseEvent", + "id": "example", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

identifier: 49476534

category: AE

type: O/E - itchy rash (Details : {SNOMED CT code '304386008' = 'O/E - itchy rash', given as 'O/E - itchy rash'})

subject: Patient/example

date: 29/01/2017 12:34:56 PM

seriousness: Mild (Details : {http://hl7.org/fhir/adverse-event-seriousness code 'Mild' = 'Mild', given as 'Mild'})

recorder: Practitioner/example

description: This was a mild rash on the left forearm

SuspectEntities

-Instance
*Medication/example
" + }, + "identifier": { + "system": "http://acme.com/ids/patients/risks", + "value": "49476534" + }, + "category": "AE", + "type": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "304386008", + "display": "O/E - itchy rash" + } + ] + }, + "subject": { + "reference": "Patient/example" + }, + "date": "2017-01-29T12:34:56+00:00", + "seriousness": { + "coding": [ + { + "system": "http://hl7.org/fhir/adverse-event-seriousness", + "code": "Mild", + "display": "Mild" + } + ] + }, + "recorder": { + "reference": "Practitioner/example" + }, + "description": "This was a mild rash on the left forearm", + "suspectEntity": [ + { + "instance": { + "reference": "Medication/example" + } + } + ] +} \ No newline at end of file diff --git a/data/SampleData/Stu3/AllergyIntolerance.json b/data/SampleData/Stu3/AllergyIntolerance.json new file mode 100644 index 000000000..334e1a218 --- /dev/null +++ b/data/SampleData/Stu3/AllergyIntolerance.json @@ -0,0 +1,103 @@ +{ + "resourceType": "AllergyIntolerance", + "id": "example", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

identifier: 49476534

clinicalStatus: active

verificationStatus: confirmed

type: allergy

category: food

criticality: high

code: Cashew nuts (Details : {SNOMED CT code '227493005' = 'Cashew nuts', given as 'Cashew nuts'})

patient: Patient/example

onset: 01/01/2004

assertedDate: 09/10/2014 2:58:00 PM

recorder: Practitioner/example

asserter: Patient/example

lastOccurrence: 01/06/2012

note: The criticality is high becasue of the observed anaphylactic reaction when challenged with cashew extract.

reaction

substance: cashew nut allergenic extract Injectable Product (Details : {RxNorm code '1160593' = '1160593', given as 'cashew nut allergenic extract Injectable Product'})

manifestation: Anaphylactic reaction (Details : {SNOMED CT code '39579001' = 'Anaphylaxis', given as 'Anaphylactic reaction'})

description: Challenge Protocol. Severe reaction to subcutaneous cashew extract. Epinephrine administered

onset: 12/06/2012

severity: severe

exposureRoute: Subcutaneous route (Details : {SNOMED CT code '34206005' = 'Subcutaneous route', given as 'Subcutaneous route'})

reaction

manifestation: Urticaria (Details : {SNOMED CT code '64305001' = 'Urticaria', given as 'Urticaria'})

onset: 01/01/2004

severity: moderate

note: The patient reports that the onset of urticaria was within 15 minutes of eating cashews.

" + }, + "identifier": [ + { + "system": "http://acme.com/ids/patients/risks", + "value": "49476534" + } + ], + "clinicalStatus": "active", + "verificationStatus": "confirmed", + "type": "allergy", + "category": [ + "food" + ], + "criticality": "high", + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "227493005", + "display": "Cashew nuts" + } + ] + }, + "patient": { + "reference": "Patient/example" + }, + "onsetDateTime": "2004", + "assertedDate": "2014-10-09T14:58:00+11:00", + "recorder": { + "reference": "Practitioner/example" + }, + "asserter": { + "reference": "Patient/example" + }, + "lastOccurrence": "2012-06", + "note": [ + { + "text": "The criticality is high becasue of the observed anaphylactic reaction when challenged with cashew extract." + } + ], + "reaction": [ + { + "substance": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "1160593", + "display": "cashew nut allergenic extract Injectable Product" + } + ] + }, + "manifestation": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "39579001", + "display": "Anaphylactic reaction" + } + ] + } + ], + "description": "Challenge Protocol. Severe reaction to subcutaneous cashew extract. Epinephrine administered", + "onset": "2012-06-12", + "severity": "severe", + "exposureRoute": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "34206005", + "display": "Subcutaneous route" + } + ] + } + }, + { + "manifestation": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "64305001", + "display": "Urticaria" + } + ] + } + ], + "onset": "2004", + "severity": "moderate", + "note": [ + { + "text": "The patient reports that the onset of urticaria was within 15 minutes of eating cashews." + } + ] + } + ] +} \ No newline at end of file diff --git a/data/SampleData/Stu3/Appointment.json b/data/SampleData/Stu3/Appointment.json new file mode 100644 index 000000000..c8cf2047b --- /dev/null +++ b/data/SampleData/Stu3/Appointment.json @@ -0,0 +1,101 @@ +{ + "resourceType": "Appointment", + "id": "example", + "text": { + "status": "generated", + "div": "
Brian MRI results discussion
" + }, + "status": "booked", + "serviceCategory": { + "coding": [ + { + "system": "http://example.org/service-category", + "code": "gp", + "display": "General Practice" + } + ] + }, + "serviceType": [ + { + "coding": [ + { + "code": "52", + "display": "General Discussion" + } + ] + } + ], + "specialty": [ + { + "coding": [ + { + "system": "http://example.org/specialty", + "code": "gp", + "display": "General Practice" + } + ] + } + ], + "appointmentType": { + "coding": [ + { + "system": "http://example.org/appointment-type", + "code": "follow", + "display": "Followup" + } + ] + }, + "indication": [ + { + "reference": "Condition/example", + "display": "Severe burn of left ear" + } + ], + "priority": 5, + "description": "Discussion on the results of your recent MRI", + "start": "2013-12-10T09:00:00Z", + "end": "2013-12-10T11:00:00Z", + "created": "2013-10-10", + "comment": "Further expand on the results of the MRI and determine the next actions that may be appropriate.", + "incomingReferral": [ + { + "reference": "ReferralRequest/example" + } + ], + "participant": [ + { + "actor": { + "reference": "Patient/example", + "display": "Peter James Chalmers" + }, + "required": "required", + "status": "accepted" + }, + { + "type": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/v3/ParticipationType", + "code": "ATND" + } + ] + } + ], + "actor": { + "reference": "Practitioner/example", + "display": "Dr Adam Careful" + }, + "required": "required", + "status": "accepted" + }, + { + "actor": { + "reference": "Location/1", + "display": "South Wing, second floor" + }, + "required": "required", + "status": "accepted" + } + ] +} \ No newline at end of file diff --git a/data/SampleData/Stu3/AppointmentResponse.json b/data/SampleData/Stu3/AppointmentResponse.json new file mode 100644 index 000000000..9a2b87207 --- /dev/null +++ b/data/SampleData/Stu3/AppointmentResponse.json @@ -0,0 +1,36 @@ +{ + "resourceType": "AppointmentResponse", + "id": "exampleresp", + "text": { + "status": "generated", + "div": "
Accept Brian MRI results discussion
" + }, + "identifier": [ + { + "system": "http://example.org/sampleappointmentresponse-identifier", + "value": "response123" + } + ], + "appointment": { + "reference": "Appointment/examplereq", + "display": "Brian MRI results discussion" + }, + "start": "2013-12-25T13:15:00Z", + "end": "2013-12-25T13:30:00Z", + "participantType": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/v3/ParticipationType", + "code": "ATND" + } + ] + } + ], + "actor": { + "reference": "Practitioner/example", + "display": "Dr Adam Careful" + }, + "participantStatus": "tentative", + "comment": "can't we try for this time, can't do mornings" +} \ No newline at end of file diff --git a/data/SampleData/Stu3/AuditEvent.json b/data/SampleData/Stu3/AuditEvent.json new file mode 100644 index 000000000..7c7845803 --- /dev/null +++ b/data/SampleData/Stu3/AuditEvent.json @@ -0,0 +1,96 @@ +{ + "resourceType": "AuditEvent", + "id": "example-pixQuery", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example-pixQuery

type: Query (Details: DICOM code 110112 = 'Query', stated as 'Query')

subtype: PIX Query (Details: urn:oid:1.3.6.1.4.1.19376.1.2 code ITI-9 = 'ITI-9', stated as 'PIX Query')

action: E

recorded: 26/08/2015 11:42:24 PM

outcome: 0

agent

role: Source Role ID (Details : {DICOM code '110153' = 'Source Role ID', given as 'Source Role ID'})

userId: 2.16.840.1.113883.4.2|2.16.840.1.113883.4.2

altId: 6580

requestor: false

Networks

-AddressType
*Workstation1.ehr.familyclinic.com1

agent

userId: 95

altId: 601847123

name: Grahame Grieve

requestor: true

Sources

-Identifier
*hl7connect.healthintersections.com.au

entity

identifier: e3cdfc81a0d24bd^^^&2.16.840.1.113883.4.2&ISO

type: Person (Details: http://hl7.org/fhir/object-type code 1 = '1', stated as 'Person')

role: Patient (Details: http://hl7.org/fhir/object-role code 1 = 'Patient', stated as 'Patient')

entity

type: System Object (Details: http://hl7.org/fhir/object-type code 2 = '2', stated as 'System Object')

role: Query (Details: http://hl7.org/fhir/object-role code 24 = 'Query', stated as 'Query')

query: PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPFBSUEFfSU4y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C4xMTQzNTAuMS4xMy4wLjEuNy4xLjE=
" + }, + "type": { + "system": "http://dicom.nema.org/resources/ontology/DCM", + "code": "110112", + "display": "Query" + }, + "subtype": [ + { + "system": "urn:oid:1.3.6.1.4.1.19376.1.2", + "code": "ITI-9", + "display": "PIX Query" + } + ], + "action": "E", + "recorded": "2015-08-26T23:42:24Z", + "outcome": "0", + "agent": [ + { + "role": [ + { + "coding": [ + { + "system": "http://dicom.nema.org/resources/ontology/DCM", + "code": "110153", + "display": "Source Role ID" + } + ] + } + ], + "userId": { + "value": "2.16.840.1.113883.4.2|2.16.840.1.113883.4.2" + }, + "altId": "6580", + "requestor": false, + "network": { + "address": "Workstation1.ehr.familyclinic.com", + "type": "1" + } + }, + { + "userId": { + "value": "95" + }, + "altId": "601847123", + "name": "Grahame Grieve", + "requestor": true + } + ], + "source": { + "identifier": { + "value": "hl7connect.healthintersections.com.au" + } + }, + "entity": [ + { + "identifier": { + "value": "e3cdfc81a0d24bd^^^&2.16.840.1.113883.4.2&ISO" + }, + "type": { + "system": "http://hl7.org/fhir/object-type", + "code": "1", + "display": "Person" + }, + "role": { + "system": "http://hl7.org/fhir/object-role", + "code": "1", + "display": "Patient" + } + }, + { + "type": { + "system": "http://hl7.org/fhir/object-type", + "code": "2", + "display": "System Object" + }, + "role": { + "system": "http://hl7.org/fhir/object-role", + "code": "24", + "display": "Query" + }, + "query": "PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPFBSUEFfSU4yMDEzMDlVVjAyIElUU1ZlcnNpb249IlhNTF8xLjAiIHhtbG5zPSJ1cm46aGw3LW9yZzp2MyI+CiAgPGlkIGV4dGVuc2lvbj0iMzU0MjMiIHJvb3Q9IjEuMi44NDAuMTE0MzUwLjEuMTMuMC4xLjcuMS4xIi8+CiAgPGNyZWF0aW9uVGltZSB2YWx1ZT0iMjAxNDA1MDgxNjQ5MjUiLz4KICA8aW50ZXJhY3Rpb25JZCBleHRlbnNpb249IlBS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+CiAgPGNvbnRyb2xBY3RQcm9jZXNzIGNsYXNzQ29kZT0iQ0FDVCIgbW9vZENvZGU9IkVWTiI+CiAgICA8Y29kZSBjb2RlPSJQUlBBX1RFMjAxMzA5VVYwMiIgY29kZVN5c3RlbT0iMi4xNi44NDAuMS4xMTM4ODMuMS42Ii8+CiAgICA8cXVlcnlCeVBhcmFtZXRlcj4KICAgICAgPHF1ZXJ5SWQgZXh0ZW5zaW9uPSIxODQwOTk3MDg0IiByb290PSIxLjIuODQwLjExNDM1MC4xLjEzLjI4LjEuMTguNS45OTkiLz4KICAgICAgPHN0YXR1c0NvZGUgY29kZT0ibmV3Ii8+CiAgICAgIDxyZXNwb25zZVByaW9yaXR5Q29kZSBjb2RlPSJJIi8+CiAgICAgIDxwYXJhbWV0ZXJMaXN0PgogICAgICAgIDxwYXRpZW50SWRlbnRpZmllcj4KICAgICAgICAgIDx2YWx1ZSBleHRlbnNpb249IlN1cnlhQnJhbmQiIHJvb3Q9IjIuMTYuODQwLjEuMTEzODgzLjQuMiIvPgogICAgICAgICAgPHNlbWFudGljc1RleHQ+UGF0aWVudC5JZDwvc2VtYW50aWNzVGV4dD4KICAgICAgICA8L3BhdGllbnRJZGVudGlmaWVyPgogICAgICA8L3BhcmFtZXRlckxpc3Q+CiAgICA8L3F1ZXJ5QnlQYXJhbWV0ZXI+CiAgPC9jb250cm9sQWN0UHJvY2Vzcz4KPC9QUlBBX0lOMjAxMzA5VVYwMj4K", + "detail": [ + { + "type": "MSH-10", + "value": "MS4yLjg0MC4xMTQzNTAuMS4xMy4wLjEuNy4xLjE=" + } + ] + } + ] +} \ No newline at end of file diff --git a/data/SampleData/Stu3/Binary.json b/data/SampleData/Stu3/Binary.json new file mode 100644 index 000000000..f3ba31a1f --- /dev/null +++ b/data/SampleData/Stu3/Binary.json @@ -0,0 +1,6 @@ +{ + "resourceType": "Binary", + "id": "f006", + "contentType": "image/jpeg", + "content": "/9j/4AAQSkZJRgABAQEBLAEsAAD/4QQCRXh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Stu3/BodySite.json new file mode 100644 index 000000000..cb8cc34a1 --- /dev/null +++ b/data/SampleData/Stu3/BodySite.json @@ -0,0 +1,46 @@ +{ + "resourceType": "BodySite", + "id": "tumor", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: tumor

identifier: 12345

code: Splenic mass (Details : {SNOMED CT code '4147007' = 'Mass', given as 'Mass (morphologic abnormality)'})

qualifier: Splenic mass (Details : {SNOMED CT code '78961009' = 'Spleen', given as 'Splenic structure (body structure)'})

description: 7 cm maximum diameter

image:

patient: Patient/example

" + }, + "identifier": [ + { + "system": "http://goodhealth.org/bodysite/identifiers", + "value": "12345" + } + ], + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "4147007", + "display": "Mass (morphologic abnormality)" + } + ], + "text": "Splenic mass" + }, + "qualifier": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "78961009", + "display": "Splenic structure (body structure)" + } + ], + "text": "Splenic mass" + } + ], + "description": "7 cm maximum diameter", + "image": [ + { + "contentType": "application/dicom", + "url": "http://imaging.acme.com/wado/server?requestType=WADO&wado_details" + } + ], + "patient": { + "reference": "Patient/example" + } +} \ No newline at end of file diff --git a/data/SampleData/Stu3/CarePlan.json b/data/SampleData/Stu3/CarePlan.json new file mode 100644 index 000000000..83fe66bf1 --- /dev/null +++ b/data/SampleData/Stu3/CarePlan.json @@ -0,0 +1,137 @@ +{ + "resourceType": "CarePlan", + "id": "example", + "text": { + "status": "additional", + "div": "
\n

A simple care plan to indicate a patient taking their weight once a day because of obesity.

\n
" + }, + "identifier": [ + { + "value": "12345" + } + ], + "definition": [ + { + "display": "A PlanDefinition protocol for obesity" + } + ], + "basedOn": [ + { + "display": "Management of Type 2 Diabetes" + } + ], + "replaces": [ + { + "display": "Plan from urgent care clinic" + } + ], + "partOf": [ + { + "display": "Overall wellness plan" + } + ], + "status": "active", + "intent": "plan", + "category": [ + { + "text": "Weight management plan" + } + ], + "description": "Manage obesity and weight loss", + "subject": { + "reference": "Patient/example", + "display": "Peter James Chalmers" + }, + "context": { + "reference": "Encounter/home" + }, + "period": { + "end": "2017-06-01" + }, + "author": [ + { + "reference": "Practitioner/example", + "display": "Dr Adam Careful" + } + ], + "careTeam": [ + { + "reference": "CareTeam/example" + } + ], + "addresses": [ + { + "reference": "#p1", + "display": "obesity" + } + ], + "goal": [ + { + "reference": "Goal/example" + } + ], + "activity": [ + { + "outcomeCodeableConcept": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "161832001", + "display": "Progressive weight loss" + } + ] + } + ], + "outcomeReference": [ + { + "reference": "Observation/example", + "display": "Weight Measured" + } + ], + "detail": { + "category": { + "coding": [ + { + "system": "http://hl7.org/fhir/care-plan-activity-category", + "code": "observation" + } + ] + }, + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "3141-9", + "display": "Weight Measured" + }, + { + "system": "http://snomed.info/sct", + "code": "27113001", + "display": "Body weight" + } + ] + }, + "status": "completed", + "statusReason": "Achieved weight loss to mitigate diabetes risk.", + "prohibited": false, + "scheduledTiming": { + "repeat": { + "frequency": 1, + "period": 1, + "periodUnit": "d" + } + }, + "location": { + "display": "Patient's home" + }, + "performer": [ + { + "reference": "Patient/example", + "display": "Peter James Chalmers" + } + ] + } + } + ] +} \ No newline at end of file diff --git a/data/SampleData/Stu3/CareTeam.json b/data/SampleData/Stu3/CareTeam.json new file mode 100644 index 000000000..b78cb123e --- /dev/null +++ b/data/SampleData/Stu3/CareTeam.json @@ -0,0 +1,80 @@ +{ + "resourceType": "CareTeam", + "id": "example", + "text": { + "status": "generated", + "div": "
Care Team
" + }, + "contained": [ + { + "resourceType": "Practitioner", + "id": "pr1", + "name": [ + { + "family": "Dietician", + "given": [ + "Dorothy" + ] + } + ] + } + ], + "identifier": [ + { + "value": "12345" + } + ], + "status": "active", + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/care-team-category", + "code": "encounter" + } + ] + } + ], + "name": "Peter James Charlmers Care Plan for Inpatient Encounter", + "subject": { + "reference": "Patient/example", + "display": "Peter James Chalmers" + }, + "context": { + "reference": "Encounter/example" + }, + "period": { + "end": "2013-01-01" + }, + "participant": [ + { + "role": { + "text": "responsiblePerson" + }, + "member": { + "reference": "Patient/example", + "display": "Peter James Chalmers" + } + }, + { + "role": { + "text": "adviser" + }, + "member": { + "reference": "#pr1", + "display": "Dorothy Dietition" + }, + "onBehalfOf": { + "reference": "Organization/f001" + }, + "period": { + "end": "2013-01-01" + } + } + ], + "managingOrganization": [ + { + "reference": "Organization/f001" + } + ] +} \ No newline at end of file diff --git a/data/SampleData/Stu3/ChargeItem.json b/data/SampleData/Stu3/ChargeItem.json new file mode 100644 index 000000000..05c22ab37 --- /dev/null +++ b/data/SampleData/Stu3/ChargeItem.json @@ -0,0 +1,121 @@ +{ + "resourceType": "ChargeItem", + "id": "example", + "text": { + "status": "generated", + "div": "
Example of ChargeItem Usage in Context of the German EBM Billing code system
" + }, + "identifier": { + "system": "http://myHospital.org/ChargeItems", + "value": "654321" + }, + "definition": [ + "http://www.kbv.de/tools/ebm/html/01520_2904360860826220813632.html" + ], + "status": "billable", + "code": { + "coding": [ + { + "code": "01510", + "display": "Zusatzpauschale für Beobachtung nach diagnostischer Koronarangiografie" + } + ] + }, + "subject": { + "reference": "Patient/example" + }, + "context": { + "reference": "Encounter/example" + }, + "occurrencePeriod": { + "start": "2017-01-25T08:00:00+01:00", + "end": "2017-01-25T12:35:00+01:00" + }, + "participant": [ + { + "role": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "17561000", + "display": "Cardiologist" + } + ] + }, + "actor": { + "reference": "Practitioner/example" + } + }, + { + "role": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "224542009", + "display": "Coronary Care Nurse" + } + ] + }, + "actor": { + "reference": "Practitioner/example" + } + } + ], + "performingOrganization": { + "identifier": { + "system": "http://myhospital/NamingSystem/departments", + "value": "CARD_INTERMEDIATE_CARE" + } + }, + "requestingOrganization": { + "identifier": { + "system": "http://myhospital/NamingSystem/departments", + "value": "CARD_U1" + } + }, + "quantity": { + "value": 1 + }, + "factorOverride": 0.8, + "priceOverride": { + "value": 40, + "unit": "EUR", + "system": "urn:iso:std:iso:4217", + "code": "EUR" + }, + "overrideReason": "Patient is Cardiologist's golf buddy, so he gets a 20% discount!", + "enterer": { + "reference": "Practitioner/example" + }, + "enteredDate": "2017-01-25T23:55:04+01:00", + "reason": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/sid/icd-10", + "code": "123456", + "display": "DIAG-1" + } + ] + } + ], + "service": [ + { + "reference": "Procedure/example" + } + ], + "account": [ + { + "reference": "Account/example" + } + ], + "note": [ + { + "authorReference": { + "reference": "Practitioner/example" + }, + "time": "2017-01-25T23:55:04+01:00", + "text": "The code is only applicable for periods longer than 4h" + } + ] +} \ No newline at end of file diff --git a/data/SampleData/Stu3/Claim.json b/data/SampleData/Stu3/Claim.json new file mode 100644 index 000000000..491150a7d --- /dev/null +++ b/data/SampleData/Stu3/Claim.json @@ -0,0 +1,277 @@ +{ + "resourceType": "Claim", + "id": "100151", + "text": { + "status": "generated", + "div": "
A human-readable rendering of the Oral Health Claim
" + }, + "identifier": [ + { + "system": "http://happyvalley.com/claim", + "value": "12346" + } + ], + "status": "active", + "type": { + "coding": [ + { + "system": "http://hl7.org/fhir/ex-claimtype", + "code": "oral" + } + ] + }, + "use": "complete", + "patient": { + "reference": "Patient/1" + }, + "created": "2014-08-16", + "insurer": { + "reference": "Organization/2" + }, + "organization": { + "reference": "Organization/1" + }, + "priority": { + "coding": [ + { + "code": "normal" + } + ] + }, + "payee": { + "type": { + "coding": [ + { + "code": "provider" + } + ] + } + }, + "careTeam": [ + { + "sequence": 1, + "provider": { + "reference": "Practitioner/example" + } + } + ], + "information": [ + { + "sequence": 1, + "category": { + "coding": [ + { + "system": "http://hl7.org/fhir/claiminformationcategory", + "code": "missingtooth" + } + ] + }, + "code": { + "coding": [ + { + "system": "http://hl7.org/fhir/ex-tooth", + "code": "15" + } + ] + }, + "timingDate": "2012-04-07", + "reason": { + "coding": [ + { + "system": "http://hl7.org/fhir/missingtoothreason", + "code": "e" + } + ] + } + }, + { + "sequence": 2, + "category": { + "coding": [ + { + "system": "http://hl7.org/fhir/claiminformationcategory", + "code": "exception" + } + ] + }, + "code": { + "coding": [ + { + "system": "http://hl7.org/fhir/claim-exception", + "code": "student" + } + ] + }, + "valueString": "Happy Valley Community College" + } + ], + "diagnosis": [ + { + "sequence": 1, + "diagnosisCodeableConcept": { + "coding": [ + { + "code": "123456" + } + ] + } + } + ], + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "reference": "Coverage/9876B1" + } + } + ], + "item": [ + { + "sequence": 1, + "careTeamLinkId": [ + 1 + ], + "service": { + "coding": [ + { + "system": "http://example.org/fhir/oralservicecodes", + "code": "1200" + } + ] + }, + "servicedDate": "2014-08-16", + "unitPrice": { + "value": 135.57, + "system": "urn:iso:std:iso:4217", + "code": "USD" + }, + "net": { + "value": 135.57, + "system": "urn:iso:std:iso:4217", + "code": "USD" + } + }, + { + "sequence": 2, + "careTeamLinkId": [ + 1 + ], + "service": { + "coding": [ + { + "system": "http://example.org/fhir/oralservicecodes", + "code": "21211" + } + ] + }, + "servicedDate": "2014-08-16", + "unitPrice": { + "value": 105.00, + "system": "urn:iso:std:iso:4217", + "code": "USD" + }, + "net": { + "value": 105.00, + "system": "urn:iso:std:iso:4217", + "code": "USD" + }, + "bodySite": { + "coding": [ + { + "system": "http://fdi.org/fhir/oraltoothcodes", + "code": "21" + } + ] + }, + "subSite": [ + { + "coding": [ + { + "system": "http://fdi.org/fhir/oralsurfacecodes", + "code": "L" + } + ] + } + ] + }, + { + "sequence": 3, + "careTeamLinkId": [ + 1 + ], + "service": { + "coding": [ + { + "system": "http://example.org/fhir/oralservicecodes", + "code": "27211" + } + ] + }, + "servicedDate": "2014-08-16", + "unitPrice": { + "value": 1100.00, + "system": "urn:iso:std:iso:4217", + "code": "USD" + }, + "net": { + "value": 1100.00, + "system": "urn:iso:std:iso:4217", + "code": "USD" + }, + "bodySite": { + "coding": [ + { + "system": "http://fdi.org/fhir/oraltoothcodes", + "code": "36" + } + ] + }, + "detail": [ + { + "sequence": 1, + "service": { + "coding": [ + { + "system": "http://example.org/fhir/oralservicecodes", + "code": "27211" + } + ] + }, + "unitPrice": { + "value": 1000.00, + "system": "urn:iso:std:iso:4217", + "code": "USD" + }, + "factor": 0.75, + "net": { + "value": 750.00, + "system": "urn:iso:std:iso:4217", + "code": "USD" + } + }, + { + "sequence": 2, + "service": { + "coding": [ + { + "system": "http://example.org/fhir/oralservicecodes", + "code": "lab" + } + ] + }, + "unitPrice": { + "value": 350.00, + "system": "urn:iso:std:iso:4217", + "code": "USD" + }, + "net": { + "value": 350.00, + "system": "urn:iso:std:iso:4217", + "code": "USD" + } + } + ] + } + ] +} \ No newline at end of file diff --git a/data/SampleData/Stu3/ClaimResponse.json b/data/SampleData/Stu3/ClaimResponse.json new file mode 100644 index 000000000..8b87b929e --- /dev/null +++ b/data/SampleData/Stu3/ClaimResponse.json @@ -0,0 +1,140 @@ +{ + "resourceType": "ClaimResponse", + "id": "R3500", + "text": { + "status": "generated", + "div": "
A human-readable rendering of the ClaimResponse
" + }, + "identifier": [ + { + "system": "http://www.BenefitsInc.com/fhir/remittance", + "value": "R3500" + } + ], + "status": "active", + "patient": { + "reference": "Patient/1" + }, + "created": "2014-08-16", + "insurer": { + "identifier": { + "system": "http://www.jurisdiction.org/insurers", + "value": "555123" + } + }, + "requestProvider": { + "reference": "Practitioner/1" + }, + "requestOrganization": { + "reference": "Organization/1" + }, + "request": { + "reference": "http://www.BenefitsInc.com/fhir/oralhealthclaim/15476332402" + }, + "outcome": { + "coding": [ + { + "system": "http://hl7.org/fhir/remittance-outcome", + "code": "complete" + } + ] + }, + "disposition": "Claim settled as per contract.", + "payeeType": { + "coding": [ + { + "system": "http://hl7.org/fhir/payeetype", + "code": "provider" + } + ] + }, + "item": [ + { + "sequenceLinkId": 1, + "adjudication": [ + { + "category": { + "coding": [ + { + "code": "eligible" + } + ] + }, + "amount": { + "value": 135.57, + "system": "urn:iso:std:iso:4217", + "code": "USD" + } + }, + { + "category": { + "coding": [ + { + "code": "copay" + } + ] + }, + "amount": { + "value": 10.00, + "system": "urn:iso:std:iso:4217", + "code": "USD" + } + }, + { + "category": { + "coding": [ + { + "code": "eligpercent" + } + ] + }, + "value": 80.00 + }, + { + "category": { + "coding": [ + { + "code": "benefit" + } + ] + }, + "amount": { + "value": 100.47, + "system": "urn:iso:std:iso:4217", + "code": "USD" + } + } + ] + } + ], + "totalCost": { + "value": 135.57, + "system": "urn:iso:std:iso:4217", + "code": "USD" + }, + "totalBenefit": { + "value": 100.47, + "system": "urn:iso:std:iso:4217", + "code": "USD" + }, + "payment": { + "type": { + "coding": [ + { + "system": "http://hl7.org/fhir/ex-paymenttype", + "code": "complete" + } + ] + }, + "date": "2014-08-31", + "amount": { + "value": 100.47, + "system": "urn:iso:std:iso:4217", + "code": "USD" + }, + "identifier": { + "system": "http://www.BenefitsInc.com/fhir/paymentidentifier", + "value": "201408-2-1569478" + } + } +} \ No newline at end of file diff --git a/data/SampleData/Stu3/ClinicalImpression.json b/data/SampleData/Stu3/ClinicalImpression.json new file mode 100644 index 000000000..a89bbcda4 --- /dev/null +++ b/data/SampleData/Stu3/ClinicalImpression.json @@ -0,0 +1,71 @@ +{ + "resourceType": "ClinicalImpression", + "id": "example", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

identifier: 12345

status: completed

description: This 26 yo male patient is brought into ER by ambulance after being involved in a motor vehicle accident

subject: Patient/example

context: Encounter/example

effective: 06/12/2014 8:00:00 PM --> 06/12/2014 10:33:00 PM

date: 06/12/2014 10:33:00 PM

assessor: Practitioner/example

problem: MVA

Investigations

-CodeItem
*Initial Examination (Details )deep laceration of the scalp (left temporo-occipital)

summary: provisional diagnoses of laceration of head and traumatic brain injury (TBI)

Findings

-Item[x]
*850.0 (Details : {ICD-9 code '850.0' = '850.0)
" + }, + "identifier": [ + { + "value": "12345" + } + ], + "status": "draft", + "description": "This 26 yo male patient is brought into ER by ambulance after being involved in a motor vehicle accident", + "subject": { + "reference": "Patient/example" + }, + "context": { + "reference": "Encounter/example" + }, + "effectivePeriod": { + "start": "2014-12-06T20:00:00+11:00", + "end": "2014-12-06T22:33:00+11:00" + }, + "date": "2014-12-06T22:33:00+11:00", + "assessor": { + "reference": "Practitioner/example" + }, + "problem": [ + { + "display": "MVA" + } + ], + "action":{ + "reference": "action" + }, + "investigation": [ + { + "code": { + "text": "Initial Examination" + }, + "item": [ + { + "display": "deep laceration of the scalp (left temporo-occipital)" + }, + { + "display": "decreased level of consciousness" + }, + { + "display": "disoriented to time and place" + }, + { + "display": "restless" + } + ] + } + ], + "summary": "provisional diagnoses of laceration of head and traumatic brain injury (TBI)", + "finding": [ + { + "itemCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/sid/icd-9", + "code": "850.0" + } + ] + } + } + ] +} \ No newline at end of file diff --git a/data/SampleData/Stu3/Communication.json b/data/SampleData/Stu3/Communication.json new file mode 100644 index 000000000..7ccb0e5f8 --- /dev/null +++ b/data/SampleData/Stu3/Communication.json @@ -0,0 +1,76 @@ +{ + "resourceType": "Communication", + "id": "fm-attachment", + "text": { + "status": "generated", + "div": "
Attachment which is unsolicited
" + }, + "identifier": [ + { + "system": "http://www.providerco.com/communication", + "value": "12345" + } + ], + "status": "completed", + "category": [ + { + "coding": [ + { + "system": "http://acme.org/messagetypes", + "code": "SolicitedAttachment" + } + ] + } + ], + "subject": { + "reference": "Patient/1" + }, + "recipient": [ + { + "identifier": { + "system": "http://www.jurisdiction.com/insurer", + "value": "123456" + } + } + ], + "topic": [ + { + "identifier": { + "system": "http://happyvalley.com/claim", + "value": "12345" + } + }, + { + "identifier": { + "system": "http://www.BenefitsInc.com/fhir/claimresponse", + "value": "R3500" + } + } + ], + "sent": "2016-06-12T18:01:10-08:00", + "sender": { + "identifier": { + "system": "http://www.jurisdiction.com/provideroffices", + "value": "3456" + } + }, + "payload": [ + { + "contentAttachment": { + "contentType": "application/pdf", + "data": "SGVsbG8=", + "title": "accident notes 20100201.pdf", + "creation": "2010-02-01T11:50:23-05:00" + } + }, + { + "contentAttachment": { + "contentType": "application/pdf", + "url": "http://happyvalley.com/docs/AB12345", + "size": 104274, + "hash": "SGVsbG8gdGhlcmU=", + "creation": "2010-02-01T10:57:34+01:00" + } + } + ] +} \ No newline at end of file diff --git a/data/SampleData/Stu3/CommunicationRequest.json b/data/SampleData/Stu3/CommunicationRequest.json new file mode 100644 index 000000000..5ee1f9f7d --- /dev/null +++ b/data/SampleData/Stu3/CommunicationRequest.json @@ -0,0 +1,74 @@ +{ + "resourceType": "CommunicationRequest", + "id": "fm-solicit", + "text": { + "status": "generated", + "div": "
Request for Accident Report
" + }, + "identifier": [ + { + "system": "http://www.jurisdiction.com/insurer/123456", + "value": "ABC123" + } + ], + "basedOn": [ + { + "display": "EligibilityRequest" + } + ], + "replaces": [ + { + "display": "prior CommunicationRequest" + } + ], + "groupIdentifier": { + "value": "12345" + }, + "status": "active", + "category": [ + { + "coding": [ + { + "system": "http://acme.org/messagetypes", + "code": "SolicitedAttachmentRequest" + } + ] + } + ], + "priority": "routine", + "medium": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/v3/ParticipationMode", + "code": "WRITTEN", + "display": "written" + } + ], + "text": "written" + } + ], + "recipient": [ + { + "reference": "#provider" + } + ], + "context": { + "reference": "Encounter/example" + }, + "payload": [ + { + "contentString": "Please provide the accident report and any associated pictures to support your Claim# DEF5647." + } + ], + "occurrenceDateTime": "2016-06-10T11:01:10-08:00", + "authoredOn": "2016-06-10T11:01:10-08:00", + "sender": { + "reference": "#payor" + }, + "requester": { + "agent": { + "reference": "#requester" + } + } +} \ No newline at end of file diff --git a/data/SampleData/Stu3/CompartmentDefinition.json b/data/SampleData/Stu3/CompartmentDefinition.json new file mode 100644 index 000000000..45f1e28a5 --- /dev/null +++ b/data/SampleData/Stu3/CompartmentDefinition.json @@ -0,0 +1,608 @@ +{ + "resourceType": "CompartmentDefinition", + "id": "patient", + "text": { + "status": "generated", + "div": "
!-- Snipped for Brevity -->
" + }, + "url": "http://hl7.org/fhir/CompartmentDefinition/patient", + "name": "Base FHIR compartment definition for Patient", + "status": "draft", + "experimental": true, + "date": "2019-10-24T11:53:00+11:00", + "publisher": "FHIR Project Team", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "There is an instance of the patient compartment for each patient resource, and the identity of the compartment is the same as the patient. When a patient is linked to another patient, all the records associated with the linked patient are in the compartment associated with the target of the link.. The set of resources associated with a particular patient", + "code": "Patient", + "search": true, + "resource": [ + { + "code": "Account", + "param": [ + "subject" + ] + }, + { + "code": "ActivityDefinition" + }, + { + "code": "AdverseEvent", + "param": [ + "subject" + ] + }, + { + "code": "AllergyIntolerance", + "param": [ + "patient", + "recorder", + "asserter" + ] + }, + { + "code": "Appointment", + "param": [ + "actor" + ] + }, + { + "code": "AppointmentResponse", + "param": [ + "actor" + ] + }, + { + "code": "AuditEvent", + "param": [ + "patient", + "agent.patient", + "entity.patient" + ] + }, + { + "code": "Basic", + "param": [ + "patient", + "author" + ] + }, + { + "code": "Binary" + }, + { + "code": "BodySite", + "param": [ + "patient" + ] + }, + { + "code": "Bundle" + }, + { + "code": "CapabilityStatement" + }, + { + "code": "CarePlan", + "param": [ + "patient", + "performer" + ] + }, + { + "code": "CareTeam", + "param": [ + "patient", + "participant" + ] + }, + { + "code": "ChargeItem", + "param": [ + "subject" + ] + }, + { + "code": "Claim", + "param": [ + "patient", + "payee" + ] + }, + { + "code": "ClaimResponse", + "param": [ + "patient" + ] + }, + { + "code": "ClinicalImpression", + "param": [ + "subject" + ] + }, + { + "code": "CodeSystem" + }, + { + "code": "Communication", + "param": [ + "subject", + "sender", + "recipient" + ] + }, + { + "code": "CommunicationRequest", + "param": [ + "subject", + "sender", + "recipient", + "requester" + ] + }, + { + "code": "CompartmentDefinition" + }, + { + "code": "Composition", + "param": [ + "subject", + "author", + "attester" + ] + }, + { + "code": "ConceptMap" + }, + { + "code": "Condition", + "param": [ + "patient", + "asserter" + ] + }, + { + "code": "Consent", + "param": [ + "patient" + ] + }, + { + "code": "Contract" + }, + { + "code": "Coverage", + "param": [ + "policy-holder", + "subscriber", + "beneficiary", + "payor" + ] + }, + { + "code": "DataElement" + }, + { + "code": "DetectedIssue", + "param": [ + "patient" + ] + }, + { + "code": "Device" + }, + { + "code": "DeviceComponent" + }, + { + "code": "DeviceMetric" + }, + { + "code": "DeviceRequest", + "param": [ + "subject", + "requester", + "performer" + ] + }, + { + "code": "DeviceUseStatement", + "param": [ + "subject" + ] + }, + { + "code": "DiagnosticReport", + "param": [ + "subject" + ] + }, + { + "code": "DocumentManifest", + "param": [ + "subject", + "author", + "recipient" + ] + }, + { + "code": "DocumentReference", + "param": [ + "subject", + "author" + ] + }, + { + "code": "EligibilityRequest", + "param": [ + "patient" + ] + }, + { + "code": "EligibilityResponse" + }, + { + "code": "Encounter", + "param": [ + "patient" + ] + }, + { + "code": "Endpoint" + }, + { + "code": "EnrollmentRequest", + "param": [ + "subject" + ] + }, + { + "code": "EnrollmentResponse" + }, + { + "code": "EpisodeOfCare", + "param": [ + "patient" + ] + }, + { + "code": "ExpansionProfile" + }, + { + "code": "ExplanationOfBenefit", + "param": [ + "patient", + "payee" + ] + }, + { + "code": "FamilyMemberHistory", + "param": [ + "patient" + ] + }, + { + "code": "Flag", + "param": [ + "patient" + ] + }, + { + "code": "Goal", + "param": [ + "patient" + ] + }, + { + "code": "GraphDefinition" + }, + { + "code": "Group", + "param": [ + "member" + ] + }, + { + "code": "GuidanceResponse" + }, + { + "code": "HealthcareService" + }, + { + "code": "ImagingManifest", + "param": [ + "patient", + "author" + ] + }, + { + "code": "ImagingStudy", + "param": [ + "patient" + ] + }, + { + "code": "Immunization", + "param": [ + "patient" + ] + }, + { + "code": "ImmunizationRecommendation", + "param": [ + "patient" + ] + }, + { + "code": "ImplementationGuide" + }, + { + "code": "Library" + }, + { + "code": "Linkage" + }, + { + "code": "List", + "param": [ + "subject", + "source" + ] + }, + { + "code": "Location" + }, + { + "code": "Measure" + }, + { + "code": "MeasureReport", + "param": [ + "patient" + ] + }, + { + "code": "Media", + "param": [ + "subject" + ] + }, + { + "code": "Medication" + }, + { + "code": "MedicationAdministration", + "param": [ + "patient", + "performer", + "subject" + ] + }, + { + "code": "MedicationDispense", + "param": [ + "subject", + "patient", + "receiver" + ] + }, + { + "code": "MedicationRequest", + "param": [ + "subject" + ] + }, + { + "code": "MedicationStatement", + "param": [ + "subject" + ] + }, + { + "code": "MessageDefinition" + }, + { + "code": "MessageHeader" + }, + { + "code": "NamingSystem" + }, + { + "code": "NutritionOrder", + "param": [ + "patient" + ] + }, + { + "code": "Observation", + "param": [ + "subject", + "performer" + ] + }, + { + "code": "OperationDefinition" + }, + { + "code": "OperationOutcome" + }, + { + "code": "Organization" + }, + { + "code": "Patient", + "param": [ + "link" + ] + }, + { + "code": "PaymentNotice" + }, + { + "code": "PaymentReconciliation" + }, + { + "code": "Person", + "param": [ + "patient" + ] + }, + { + "code": "PlanDefinition" + }, + { + "code": "Practitioner" + }, + { + "code": "PractitionerRole" + }, + { + "code": "Procedure", + "param": [ + "patient", + "performer" + ] + }, + { + "code": "ProcedureRequest", + "param": [ + "subject", + "performer" + ] + }, + { + "code": "ProcessRequest" + }, + { + "code": "ProcessResponse" + }, + { + "code": "Provenance", + "param": [ + "target.subject", + "target.patient", + "patient" + ] + }, + { + "code": "Questionnaire" + }, + { + "code": "QuestionnaireResponse", + "param": [ + "subject", + "author" + ] + }, + { + "code": "ReferralRequest", + "param": [ + "patient", + "requester" + ] + }, + { + "code": "RelatedPerson", + "param": [ + "patient" + ] + }, + { + "code": "RequestGroup", + "param": [ + "subject", + "participant" + ] + }, + { + "code": "ResearchStudy" + }, + { + "code": "ResearchSubject", + "param": [ + "individual" + ] + }, + { + "code": "RiskAssessment", + "param": [ + "subject" + ] + }, + { + "code": "Schedule", + "param": [ + "actor" + ] + }, + { + "code": "SearchParameter" + }, + { + "code": "Sequence" + }, + { + "code": "ServiceDefinition" + }, + { + "code": "Slot" + }, + { + "code": "Specimen", + "param": [ + "subject" + ] + }, + { + "code": "StructureDefinition" + }, + { + "code": "StructureMap" + }, + { + "code": "Subscription" + }, + { + "code": "Substance" + }, + { + "code": "SupplyDelivery", + "param": [ + "patient" + ] + }, + { + "code": "SupplyRequest", + "param": [ + "requester" + ] + }, + { + "code": "Task" + }, + { + "code": "TestReport" + }, + { + "code": "TestScript" + }, + { + "code": "ValueSet" + }, + { + "code": "VisionPrescription", + "param": [ + "patient" + ] + } + ] +} \ No newline at end of file diff --git a/data/SampleData/Stu3/Composition.json b/data/SampleData/Stu3/Composition.json new file mode 100644 index 000000000..13ca6d578 --- /dev/null +++ b/data/SampleData/Stu3/Composition.json @@ -0,0 +1,167 @@ +{ + "resourceType": "Composition", + "id": "example", + "text": { + "status": "generated", + "div": "
\n\t\t\t

Consultation note for Henry Levin the 7th

\n\t\t\t

Managed by Good Health Clinic

\n\t\t
" + }, + "identifier": { + "system": "http://healthintersections.com.au/test", + "value": "1" + }, + "status": "final", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "11488-4", + "display": "Consult note" + } + ] + }, + "class": { + "coding": [ + { + "system": "http://loinc.org", + "code": "LP173421-1", + "display": "Report" + } + ] + }, + "subject": { + "reference": "Patient/xcda", + "display": "Henry Levin the 7th" + }, + "encounter": { + "reference": "Encounter/xcda" + }, + "date": "2012-01-04T09:10:14Z", + "author": [ + { + "reference": "Practitioner/xcda-author", + "display": "Harold Hippocrates, MD" + } + ], + "title": "Consultation Note", + "confidentiality": "N", + "attester": [ + { + "mode": [ + "legal" + ], + "time": "2012-01-04T09:10:14Z", + "party": { + "reference": "Practitioner/xcda-author", + "display": "Harold Hippocrates, MD" + } + } + ], + "custodian": { + "reference": "Organization/2.16.840.1.113883.19.5", + "display": "Good Health Clinic" + }, + "relatesTo": [ + { + "code": "replaces", + "targetReference": { + "reference": "Composition/old-example" + } + }, + { + "code": "appends", + "targetIdentifier": { + "system": "http://example.org/fhir/NamingSystem/document-ids", + "value": "ABC123" + } + } + ], + "event": [ + { + "code": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/v3/ActCode", + "code": "HEALTHREC", + "display": "health record" + } + ] + } + ], + "period": { + "start": "2010-07-18", + "end": "2012-11-12" + }, + "detail": [ + { + "reference": "Observation/example" + } + ] + } + ], + "section": [ + { + "title": "History of present illness", + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "11348-0", + "display": "History of past illness Narrative" + } + ] + }, + "text": { + "status": "generated", + "div": "
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\t\t\tCode\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tDate\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tType\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tBodySite\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSeverity\n\t\t\t\t\t\t
Stroke2010-07-18Diagnosis\n\t\t\t\t\t\t\n\t\t\t\t\t
Burnt Ear2012-05-24DiagnosisLeft Ear\n\t\t\t\t\t
Asthma2012-11-12Finding\n\t\t\t\t\t\tMild
\n\t\t\t
" + }, + "mode": "snapshot", + "orderedBy": { + "coding": [ + { + "system": "http://hl7.org/fhir/list-order", + "code": "event-date", + "display": "Sorted by Event Date" + } + ] + }, + "entry": [ + { + "reference": "Condition/stroke" + }, + { + "reference": "Condition/example" + }, + { + "reference": "Condition/example2" + } + ] + }, + { + "title": "History of family member diseases", + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "10157-6", + "display": "History of family member diseases Narrative" + } + ] + }, + "text": { + "status": "generated", + "div": "
\n\t\t\t\t

History of family member diseases - not available

\n\t\t\t
" + }, + "mode": "snapshot", + "emptyReason": { + "coding": [ + { + "system": "http://hl7.org/fhir/list-empty-reason", + "code": "withheld", + "display": "Information Withheld" + } + ] + } + } + ] +} \ No newline at end of file diff --git a/data/SampleData/Stu3/ConceptMap.json b/data/SampleData/Stu3/ConceptMap.json new file mode 100644 index 000000000..912c1239d --- /dev/null +++ b/data/SampleData/Stu3/ConceptMap.json @@ -0,0 +1,61 @@ +{ + "resourceType": "ConceptMap", + "id": "example2", + "text": { + "status": "generated", + "div": "
\n

FHIR-exanple-2 (http://hl7.org/fhir/ConceptMap/example2)

\n

Mapping from http://example.org/fhir/example1 to http://example.org/fhir/example2

\n

DRAFT (not intended for production usage). Published on 13/06/2012 by HL7, Inc (FHIR project team (example): \n http://hl7.org/fhir). \n

\n
\n

An example mapping

\n\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n Source Concept\n \n Equivalence\n \n Destination Concept\n
\n Code [http://example.org/fhir/example1]\n \n http://example.org/fhir/DataElement/example [http://example.org/fhir/example3]\n \n \n Code [http://example.org/fhir/example2]\n
codesome-code:equivalentcode2
\n
" + }, + "url": "http://hl7.org/fhir/ConceptMap/example2", + "name": "FHIR-exanple-2", + "title": "FHIR Example 2", + "status": "draft", + "experimental": true, + "date": "2012-06-13", + "publisher": "HL7, Inc", + "contact": [ + { + "name": "FHIR project team (example)", + "telecom": [ + { + "system": "url", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "An example mapping", + "purpose": "To illustrate mapping features", + "sourceUri": "http://example.org/fhir/example1", + "targetUri": "http://example.org/fhir/example2", + "group": [ + { + "source": "http://example.org/fhir/example1", + "target": "http://example.org/fhir/example2", + "element": [ + { + "code": "code", + "display": "Example Code", + "target": [ + { + "code": "code2", + "display": "Some Example Code", + "equivalence": "equivalent", + "dependsOn": [ + { + "property": "http://example.org/fhir/DataElement/example", + "system": "http://example.org/fhir/example3", + "code": "some-code", + "display": "Something Coded" + } + ] + } + ] + } + ], + "unmapped": { + "mode": "other-map", + "url": "http://example.org/fhir/ConceptMap/map2" + } + } + ] +} \ No newline at end of file diff --git a/data/SampleData/Stu3/Condition.json b/data/SampleData/Stu3/Condition.json new file mode 100644 index 000000000..adc19c1af --- /dev/null +++ b/data/SampleData/Stu3/Condition.json @@ -0,0 +1,93 @@ +{ + "resourceType": "Condition", + "id": "f201", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: f201

identifier: 12345

clinicalStatus: resolved

verificationStatus: confirmed

category: Problem (Details : {SNOMED CT code '55607006' = 'Problem', given as 'Problem'}; {http://hl7.org/fhir/condition-category code 'problem-list-item' = 'Problem List Item)

severity: Mild (Details : {SNOMED CT code '255604002' = 'Mild', given as 'Mild'})

code: Fever (Details : {SNOMED CT code '386661006' = 'Fever', given as 'Fever'})

bodySite: Entire body as a whole (Details : {SNOMED CT code '38266002' = 'Body as a whole', given as 'Entire body as a whole'})

subject: Roel

context: Encounter/f201

onset: 02/04/2013

abatement: around April 9, 2013

assertedDate: 04/04/2013

asserter: Practitioner/f201

Evidences

-CodeDetail
*degrees C (Details : {SNOMED CT code '258710007' = 'degrees C', given as 'degrees C'})Temperature
" + }, + "identifier": [ + { + "value": "12345" + } + ], + "clinicalStatus": "resolved", + "verificationStatus": "confirmed", + "category": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "55607006", + "display": "Problem" + }, + { + "system": "http://hl7.org/fhir/condition-category", + "code": "problem-list-item" + } + ] + } + ], + "severity": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "255604002", + "display": "Mild" + } + ] + }, + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "386661006", + "display": "Fever" + } + ] + }, + "bodySite": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "38266002", + "display": "Entire body as a whole" + } + ] + } + ], + "subject": { + "reference": "Patient/f201", + "display": "Roel" + }, + "context": { + "reference": "Encounter/f201" + }, + "onsetDateTime": "2013-04-02", + "abatementString": "around April 9, 2013", + "assertedDate": "2013-04-04", + "asserter": { + "reference": "Practitioner/f201" + }, + "evidence": [ + { + "code": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "258710007", + "display": "degrees C" + } + ] + } + ], + "detail": [ + { + "reference": "Observation/f202", + "display": "Temperature" + } + ] + } + ] +} \ No newline at end of file diff --git a/data/SampleData/Stu3/Consent.json b/data/SampleData/Stu3/Consent.json new file mode 100644 index 000000000..0e5116eef --- /dev/null +++ b/data/SampleData/Stu3/Consent.json @@ -0,0 +1,93 @@ +{ + "resourceType": "Consent", + "id": "consent-example-signature", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: consent-example-signature

identifier: 494e0c7a-a69e-4fb4-9d02-6aae747790d7

status: active

category: HIPAA Authorization (Details : {http://hl7.org/fhir/consentcategorycodes code 'HIPAA-Auth' = 'HIPAA Authorization)

patient: Patient/72

period: 10/10/2015 --> 10/10/2016

dateTime: 26/05/2016 12:41:10 AM

consentingParty: Patient/72

Actors

-RoleReference
*primary information recipient (Details : {http://hl7.org/fhir/v3/ParticipationType code 'PRCP' = 'primary information recipient)Practitioner/13

organization: Organization/example

policyRule: http://hl7.org/fhir/ConsentPolicy/opt-in

except

type: permit

Actors

-RoleReference
*author (originator) (Details : {http://hl7.org/fhir/v3/ParticipationType code 'AUT' = 'author (originator))Practitioner/xcda-author

class: application/hl7-cda+xml (Details: urn:ietf:bcp:13 code application/hl7-cda+xml = 'application/hl7-cda+xml', stated as 'null')

code: Summary of episode note (Details: LOINC code 34133-9 = 'Summary of episode note', stated as 'null'), Discharge summary (Details: LOINC code 18842-5 = 'Discharge summary', stated as 'null')

" + }, + "identifier": { + "system": "urn:oid:2.16.840.1.113883.3.72.5.9.1", + "value": "494e0c7a-a69e-4fb4-9d02-6aae747790d7" + }, + "status": "active", + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/consentcategorycodes", + "code": "HIPAA-Auth" + } + ] + } + ], + "patient": { + "reference": "Patient/72" + }, + "period": { + "start": "2015-10-10", + "end": "2016-10-10" + }, + "dateTime": "2016-05-26T00:41:10-04:00", + "consentingParty": [ + { + "reference": "Patient/72" + } + ], + "actor": [ + { + "role": { + "coding": [ + { + "system": "http://hl7.org/fhir/v3/ParticipationType", + "code": "PRCP" + } + ] + }, + "reference": { + "reference": "Practitioner/13" + } + } + ], + "organization": [ + { + "reference": "Organization/example" + } + ], + "policyRule": "http://hl7.org/fhir/ConsentPolicy/opt-in", + "except": [ + { + "type": "permit", + "actor": [ + { + "role": { + "coding": [ + { + "system": "http://hl7.org/fhir/v3/ParticipationType", + "code": "AUT" + } + ] + }, + "reference": { + "reference": "Practitioner/xcda-author" + } + } + ], + "class": [ + { + "system": "urn:ietf:bcp:13", + "code": "application/hl7-cda+xml" + } + ], + "code": [ + { + "system": "http://loinc.org", + "code": "34133-9" + }, + { + "system": "http://loinc.org", + "code": "18842-5" + } + ] + } + ] +} \ No newline at end of file diff --git a/data/SampleData/Stu3/Contract.json b/data/SampleData/Stu3/Contract.json new file mode 100644 index 000000000..ff00e7d25 --- /dev/null +++ b/data/SampleData/Stu3/Contract.json @@ -0,0 +1,112 @@ +{ + "resourceType": "Contract", + "id": "pcd-example-notThem", + "text": { + "status": "generated", + "div": "
The following scenario is based on existing\n jurisdictional policy and are realized in existing systems in Canada. The default policy is\n one of implied consent for the provision of care, so these scenarios all deal with withdrawal\n or withholding consent for that purpose. In other jurisdictions, where an express consent\n model is used (Opt-In), these would examples would contain the phrase "consent to" rather than\n "withhold" or "withdraw" consent for.

specific to use-case 4) Withhold or withdraw consent\n for disclosure to a specific provider agent (an individual within an organization)

\n Patient "P. van de Heuvel" ex-spouse, Bill T Lookafter is a Nurse that is employed by Good\n Health Hospital. P. realizes that she may receive treatment at GHH, however she does not\n want her ex-spouse to have any access to her IIHI. She indicates that she would like to\n withdraw/withhold consent to disclose any instance of her health information to her\n ex-spouse as a result of his employment at Good Health Clinic.

\n
" + }, + "issued": "2015-11-18", + "subject": [ + { + "reference": "Patient/f001", + "display": "P. van de Heuvel" + } + ], + "authority": [ + { + "reference": "Organization/2", + "display": "Canada Infoway" + } + ], + "domain": [ + { + "reference": "Location/ukp", + "display": "Canada Infoway" + } + ], + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "57016-8" + } + ] + }, + "subType": [ + { + "coding": [ + { + "system": "http://www.infoway-inforoute.ca.org/Consent-subtype-codes", + "code": "Opt-In", + "display": "Default Authorization with exceptions." + } + ] + } + ], + "agent": [ + { + "actor": { + "reference": "Patient/f001" + } + } + ], + "signer": [ + { + "type": { + "system": "http://www.hl7.org/fhir/contractsignertypecodes", + "code": "COVPTY" + }, + "party": { + "reference": "Patient/f001" + }, + "signature": [ + { + "type": [ + { + "system": "urn:iso-astm:E1762-95:2013", + "code": "1.2.840.10065.1.12.1.1" + } + ], + "when": "2013-06-08T10:57:34-07:00", + "whoReference": { + "reference": "Patient/f001" + } + } + ] + } + ], + "term": [ + { + "type": { + "coding": [ + { + "system": "http://example.org/fhir/consent-term-type-codes", + "code": "withhold-from", + "display": "Withhold all data from specified actor entity." + } + ] + }, + "topic": [ + { + "reference": "Practitioner/f204", + "display": "Fictive Nurse" + } + ], + "text": "Withhold this order and any results or related objects from specified nurse provider." + } + ], + "friendly": [ + { + "contentAttachment": { + "title": "The terms of the consent in friendly consumer speak." + } + } + ], + "legal": [ + { + "contentAttachment": { + "title": "The terms of the consent in lawyer speak." + } + } + ] +} \ No newline at end of file diff --git a/data/SampleData/Stu3/DetectedIssue.json b/data/SampleData/Stu3/DetectedIssue.json new file mode 100644 index 000000000..fa6044bbf --- /dev/null +++ b/data/SampleData/Stu3/DetectedIssue.json @@ -0,0 +1,53 @@ +{ + "resourceType": "DetectedIssue", + "id": "ddi", + "text": { + "status": "generated", + "div": "
\n

Severity: High - Risk of internal bleeding

\n

Those who take acetaminophen along with the widely used blood-thinning drug warfarin may face the risk of serious internal bleeding. People on warfarin who take acetaminophen for at least seven days in a row should be closely watched for bleeding.

\n \n

Mitigation: Jan 5, 2014 by Dr. Adam Careful:

\n

Asked patient to discontinue regular use of Tylenol and to consult with clinician if they need to resume to allow appropriate INR monitoring

\n
" + }, + "status": "final", + "category": { + "coding": [ + { + "system": "http://hl7.org/fhir/v3/ActCode", + "code": "DRG", + "display": "Drug Interaction Alert" + } + ] + }, + "severity": "high", + "date": "2014-01-05", + "author": { + "reference": "Device/software" + }, + "implicated": [ + { + "reference": "MedicationStatement/example001", + "display": "500 mg Acetaminophen tablet 1/day, PRN since 2010" + }, + { + "reference": "MedicationRequest/medrx0331", + "display": "Warfarin 1 MG TAB prescribed Jan. 15, 2015" + } + ], + "detail": "Risk of internal bleeding. Those who take acetaminophen along with the widely used blood-thinning drug warfarin may face the risk of serious internal bleeding. People on warfarin who take acetaminophen for at least seven days in a row should be closely watched for bleeding.", + "mitigation": [ + { + "action": { + "coding": [ + { + "system": "http://hl7.org/fhir/v3/ActCode", + "code": "13", + "display": "Stopped Concurrent Therapy" + } + ], + "text": "Asked patient to discontinue regular use of Tylenol and to consult with clinician if they need to resume to allow appropriate INR monitoring" + }, + "date": "2014-01-05", + "author": { + "reference": "Practitioner/example", + "display": "Dr. Adam Careful" + } + } + ] +} \ No newline at end of file diff --git a/data/SampleData/Stu3/Device.json b/data/SampleData/Stu3/Device.json new file mode 100644 index 000000000..48d9563b2 --- /dev/null +++ b/data/SampleData/Stu3/Device.json @@ -0,0 +1,55 @@ +{ + "resourceType": "Device", + "id": "example", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

identifier: 345675, Serial Number = AMID-342135-8464

status: active

type: ECG (Details : {SNOMED CT code '86184003' = 'Electrocardiographic monitor and recorder', given as 'Electrocardiographic monitor and recorder'})

lotNumber: 43453424

manufacturer: Acme Devices, Inc

model: AB 45-J

contact: ph: ext 4352

note: QA Checked

" + }, + "identifier": [ + { + "system": "http://goodcare.org/devices/id", + "value": "345675" + }, + { + "type": { + "coding": [ + { + "system": "http://hl7.org/fhir/identifier-type", + "code": "SNO" + } + ], + "text": "Serial Number" + }, + "value": "AMID-342135-8464" + } + ], + "status": "active", + "type": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "86184003", + "display": "Electrocardiographic monitor and recorder" + } + ], + "text": "ECG" + }, + "lotNumber": "43453424", + "manufacturer": "Acme Devices, Inc", + "model": "AB 45-J", + "contact": [ + { + "system": "phone", + "value": "ext 4352" + } + ], + "note": [ + { + "authorReference": { + "reference": "Practitioner/xcda-author" + }, + "time": "2015-06-28T14:03:32+10:00", + "text": "QA Checked" + } + ] +} \ No newline at end of file diff --git a/data/SampleData/Stu3/DeviceMetric.json b/data/SampleData/Stu3/DeviceMetric.json new file mode 100644 index 000000000..b3a91df7f --- /dev/null +++ b/data/SampleData/Stu3/DeviceMetric.json @@ -0,0 +1,53 @@ +{ + "resourceType": "DeviceMetric", + "id": "example", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

identifier: 345675

type: MDC_PULS_OXIM_SAT_O2 (Details : {https://rtmms.nist.gov code '150456' = '150456', given as 'MDC_PULS_OXIM_SAT_O2'})

unit: MDC_DIM_PERCENT (Details : {https://rtmms.nist.gov code '262688' = '262688', given as 'MDC_DIM_PERCENT'})

source: Device/dev1

parent: DeviceComponent/dc102

operationalStatus: on

color: blue

category: measurement

measurementPeriod: Do Once per 1 seconds

Calibrations

-TypeStateTime
*two-pointcalibrated28/12/2016 9:03:04 AM
" + }, + "identifier": { + "system": "http://goodcare.org/devicemetric/id", + "value": "345675" + }, + "type": { + "coding": [ + { + "system": "https://rtmms.nist.gov", + "code": "150456", + "display": "MDC_PULS_OXIM_SAT_O2" + } + ] + }, + "unit": { + "coding": [ + { + "system": "https://rtmms.nist.gov", + "code": "262688", + "display": "MDC_DIM_PERCENT" + } + ] + }, + "source": { + "reference": "Device/dev1" + }, + "parent": { + "reference": "DeviceComponent/dc102" + }, + "operationalStatus": "on", + "color": "blue", + "category": "measurement", + "measurementPeriod": { + "repeat": { + "frequency": 1, + "period": 1, + "periodUnit": "s" + } + }, + "calibration": [ + { + "type": "two-point", + "state": "calibrated", + "time": "2016-12-28T09:03:04-05:00" + } + ] +} \ No newline at end of file diff --git a/data/SampleData/Stu3/DeviceRequest.json b/data/SampleData/Stu3/DeviceRequest.json new file mode 100644 index 000000000..ca1b67aa7 --- /dev/null +++ b/data/SampleData/Stu3/DeviceRequest.json @@ -0,0 +1,102 @@ +{ + "resourceType": "DeviceRequest", + "id": "insulinpump", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: insulinpump

identifier: ip_request1.1

definition: DM ambulatory protocol II

basedOn: Homecare - DM follow-up

priorRequest: CGM ambulatory

groupIdentifier: ip_request1

status: active

intent: instance-order (Details )

priority: routine

code: Insulin delivery device panel (Details : {LOINC code '43148-6' = 'Insulin delivery device panel)

subject: Patient/dicom

context: Encounter 1

occurrence: 08/05/2013 9:33:27 AM

authoredOn: 08/05/2013 9:33:27 AM

Requesters

-AgentOnBehalfOf
*Dr. Adam CarefulOrganization/2.16.840.1.113883.19.5

performerType: Nurse (Details : {[not stated] code 'null' = 'null', given as 'Qualified nurse'})

performer: Nurse Rossignol

reasonCode: gastroparesis (Details )

reasonReference: Gastroparesis

supportingInfo: Previous results

note: this is the right device brand and model

relevantHistory: Request for unspecified device

" + }, + "identifier": [ + { + "value": "ip_request1.1" + } + ], + "definition": [ + { + "display": "DM ambulatory protocol II" + } + ], + "basedOn": [ + { + "display": "Homecare - DM follow-up" + } + ], + "priorRequest": [ + { + "display": "CGM ambulatory" + } + ], + "groupIdentifier": { + "value": "ip_request1" + }, + "status": "active", + "intent": { + "coding": [ + { + "code": "original-order" + } + ] + }, + "priority": "routine", + "codeCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "43148-6" + } + ], + "text": "Insulin delivery device panel" + }, + "subject": { + "reference": "Patient/dicom" + }, + "context": { + "display": "Encounter 1" + }, + "occurrenceDateTime": "2013-05-08T09:33:27+07:00", + "authoredOn": "2013-05-08T09:33:27+07:00", + "requester": { + "agent": { + "reference": "Practitioner/example", + "display": "Dr. Adam Careful" + }, + "onBehalfOf": { + "reference": "Organization/2.16.840.1.113883.19.5" + } + }, + "performerType": { + "coding": [ + { + "display": "Qualified nurse" + } + ], + "text": "Nurse" + }, + "performer": { + "display": "Nurse Rossignol" + }, + "reasonCode": [ + { + "text": "gastroparesis" + } + ], + "reasonReference": [ + { + "display": "Gastroparesis" + } + ], + "supportingInfo": [ + { + "display": "Previous results" + } + ], + "note": [ + { + "text": "this is the right device brand and model" + } + ], + "relevantHistory": [ + { + "display": "Request for unspecified device" + } + ] +} \ No newline at end of file diff --git a/data/SampleData/Stu3/DeviceUseStatement.json b/data/SampleData/Stu3/DeviceUseStatement.json new file mode 100644 index 000000000..be63c1160 --- /dev/null +++ b/data/SampleData/Stu3/DeviceUseStatement.json @@ -0,0 +1,21 @@ +{ + "resourceType": "DeviceUseStatement", + "id": "example", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

identifier: 51ebb7a9-4e3a-4360-9a05-0cc2d869086f

status: active

subject: Patient/example

device: Device/example

" + }, + "identifier": [ + { + "system": "http:goodhealth.org/identifiers", + "value": "51ebb7a9-4e3a-4360-9a05-0cc2d869086f" + } + ], + "status": "active", + "subject": { + "reference": "Patient/example" + }, + "device": { + "reference": "Device/example" + } +} \ No newline at end of file diff --git a/data/SampleData/Stu3/DiagnosticReport.json b/data/SampleData/Stu3/DiagnosticReport.json new file mode 100644 index 000000000..ac4224dd9 --- /dev/null +++ b/data/SampleData/Stu3/DiagnosticReport.json @@ -0,0 +1,57 @@ +{ + "resourceType": "DiagnosticReport", + "id": "102", + "text": { + "status": "generated", + "div": "
\n\t\t\t

DXA BONE DENSITOMETRY

\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
NAMEXXXXXXX
DOB10/02/1974
REFERRING DRSmith, Jane
INDICATIONSEarly menopause on estrogen levels. No period for 18 months
PROCEDUREDual energy x-ray absorptiometry (DEXA)
\n\t\t\t

Bone Mineral Density

\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
Scan TypeRegionMeasuredAgeBMDT-ScoreZ-Score?BMD(g/cm2)?BMD(%)
AP SpineL1-L417/06/200834.41.148 g/cm²-0.4-0.5--
Left FemurNeck17/06/200834.40.891 g/cm²-1.0-0.9--
Left FemurTotal17/06/200834.40.887 g/cm²-1.2-1.3--
Right FemurNeck17/06/200834.40.885 g/cm²-1.0-1.0--
Right FemurTotal17/06/200834.40.867 g/cm²-1.4-1.4--
\n\t\t\t

Assessment:

\n\t\t\t\n\t\t\t

\n\t\t\t\tCOMMENT\n\t\t\t

\n\t\t\t

Osteopenia on measured BMD. The estimated 10-year probability of fracture based on present age, gender and measured BMD is less than 10%. This absolute fracture risk remains low. A follow-up assessment may be considered in 2 to 3 years to monitor the trend in BMD.

\n\t\t\t

Thank you for your referral. Dr Henry Seven 17/06/2008

\n\t\t\t
\nNote:\nWHO classification of osteoporosis (WHO Technical Report Series 1994: 843)\n- Normal: T-score equal to -1.0 s.d. or higher\n- Osteopenia: T-score  between -1.0 and -2.5 s.d.\n- Osteoporosis: T-score equal to -2.5 s.d. or lower\n- Severe/Established osteoporosis: Osteoporosis with one or more fragility fracture.\nT-score: The number of s.d. from the mean BMD for a gender-matched young adult population.\nZ-score: The number of s.d. from the mean BMD for an age-, weight- and gender-matched population.\nReference for 10-year probability of fracture risk: Kanis JA, Johnell O, Oden A, Dawson A,  De Laet C, Jonsson B. Ten year probabilities of osteoporotic fractures according to BMD and diagnostic thresholds. Osteoporos.Int. 2001;12(12):989-995.\nGE LUNAR PRODIGY DENSITOMETER\n
\n\t\t
" + }, + "status": "final", + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "38269-7" + } + ], + "text": "DXA BONE DENSITOMETRY" + }, + "subject": { + "reference": "Patient/pat2" + }, + "effectiveDateTime": "2008-06-17", + "issued": "2008-06-18T09:23:00+10:00", + "performer": [ + { + "role": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "66862007", + "display": "Radiologist" + } + ], + "text": "Radiologist" + }, + "actor": { + "reference": "Practitioner/3ad0687e-f477-468c-afd5-fcc2bf897809", + "display": "Dr Henry Seven" + } + } + ], + "result": [ + { + "reference": "Observation/bmd" + } + ], + "codedDiagnosis": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "391040000", + "display": "At risk of osteoporotic fracture" + } + ] + } + ] +} \ No newline at end of file diff --git a/data/SampleData/Stu3/DocumentManifest.json b/data/SampleData/Stu3/DocumentManifest.json new file mode 100644 index 000000000..1123c7629 --- /dev/null +++ b/data/SampleData/Stu3/DocumentManifest.json @@ -0,0 +1,76 @@ +{ + "resourceType": "DocumentManifest", + "id": "example", + "text": { + "status": "generated", + "div": "
Text
" + }, + "contained": [ + { + "resourceType": "Practitioner", + "id": "a1", + "name": [ + { + "family": "Dopplemeyer", + "given": [ + "Sherry" + ] + } + ], + "telecom": [ + { + "system": "email", + "value": "john.doe@healthcare.example.org" + } + ] + } + ], + "masterIdentifier": { + "system": "http://example.org/documents", + "value": "23425234234-2346" + }, + "identifier": [ + { + "system": "http://example.org/documents", + "value": "23425234234-2347" + } + ], + "status": "current", + "type": { + "text": "History and Physical" + }, + "subject": { + "reference": "Patient/xcda" + }, + "created": "2004-12-25T23:50:50-05:00", + "author": [ + { + "reference": "#a1" + } + ], + "recipient": [ + { + "reference": "Practitioner/xcda1" + } + ], + "source": "urn:oid:1.3.6.1.4.1.21367.2009.1.2.1", + "description": "Physical", + "content": [ + { + "pReference": { + "reference": "DocumentReference/example" + } + } + ], + "related": [ + { + "identifier": { + "system": "http://example.org/documents", + "value": "23425234234-9999" + }, + "ref": { + "reference": "DocumentReference/example" + } + } + ] +} \ No newline at end of file diff --git a/data/SampleData/Stu3/DocumentReference.json b/data/SampleData/Stu3/DocumentReference.json new file mode 100644 index 000000000..9aee696a6 --- /dev/null +++ b/data/SampleData/Stu3/DocumentReference.json @@ -0,0 +1,159 @@ +{ + "resourceType": "DocumentReference", + "id": "example", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

contained:

masterIdentifier: urn:oid:1.3.6.1.4.1.21367.2005.3.7

identifier: urn:oid:1.3.6.1.4.1.21367.2005.3.7.1234

status: current

docStatus: preliminary

type: Outpatient Note (Details : {LOINC code '34108-1' = 'Outpatient Note', given as 'Outpatient Note'})

class: History and Physical (Details : {http://ihe.net/xds/connectathon/classCodes code 'History and Physical' = 'History and Physical', given as 'History and Physical'})

subject: Patient/xcda

created: 24/12/2005 9:35:00 AM

indexed: 24/12/2005 9:43:41 AM

author: Practitioner/xcda1, id: a2; Gerald Smitty

authenticator: Organization/f001

custodian: Organization/f001

RelatesTos

-CodeTarget
*appendsDocumentReference/example

description: Physical

securityLabel: very restricted (Details : {http://hl7.org/fhir/v3/Confidentiality code 'V' = 'very restricted', given as 'very restricted'})

Contents

-AttachmentFormat
*History and Physical Specification (Details: urn:oid:1.3.6.1.4.1.19376.1.2.3 code urn:ihe:pcc:handp:2008 = 'urn:ihe:pcc:handp:2008', stated as 'History and Physical Specification')

context

encounter: Encounter/xcda

event: Arm (Details : {http://ihe.net/xds/connectathon/eventCodes code 'T-D8200' = 'T-D8200', given as 'Arm'})

period: 23/12/2004 8:00:00 AM --> 23/12/2004 8:01:00 AM

facilityType: Outpatient (Details : {http://www.ihe.net/xds/connectathon/healthcareFacilityTypeCodes code 'Outpatient' = 'Outpatient', given as 'Outpatient'})

practiceSetting: General Medicine (Details : {http://www.ihe.net/xds/connectathon/practiceSettingCodes code 'General Medicine' = 'General Medicine', given as 'General Medicine'})

sourcePatientInfo: Patient/xcda

Relateds

-IdentifierRef
*urn:oid:1.3.6.1.4.1.21367.2005.3.7.2345Patient/xcda
" + }, + "contained": [ + { + "resourceType": "Practitioner", + "id": "a2", + "name": [ + { + "family": "Smitty", + "given": [ + "Gerald" + ] + } + ] + } + ], + "masterIdentifier": { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:1.3.6.1.4.1.21367.2005.3.7" + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:1.3.6.1.4.1.21367.2005.3.7.1234" + } + ], + "status": "current", + "docStatus": "preliminary", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34108-1", + "display": "Outpatient Note" + } + ] + }, + "class": { + "coding": [ + { + "system": "http://ihe.net/xds/connectathon/classCodes", + "code": "History and Physical", + "display": "History and Physical" + } + ] + }, + "subject": { + "reference": "Patient/xcda" + }, + "created": "2005-12-24T09:35:00+11:00", + "indexed": "2005-12-24T09:43:41+11:00", + "author": [ + { + "reference": "Practitioner/xcda1" + }, + { + "reference": "#a2" + } + ], + "authenticator": { + "reference": "Organization/f001" + }, + "custodian": { + "reference": "Organization/f001" + }, + "relatesTo": [ + { + "code": "appends", + "target": { + "reference": "DocumentReference/example" + } + } + ], + "description": "Physical", + "securityLabel": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/v3/Confidentiality", + "code": "V", + "display": "very restricted" + } + ] + } + ], + "content": [ + { + "attachment": { + "contentType": "application/hl7-v3+xml", + "language": "en-US", + "url": "http://example.org/xds/mhd/Binary/07a6483f-732b-461e-86b6-edb665c45510", + "size": 3654, + "hash": "2jmj7l5rSw0yVb/vlWAYkK/YBwk=" + }, + "format": { + "system": "urn:oid:1.3.6.1.4.1.19376.1.2.3", + "code": "urn:ihe:pcc:handp:2008", + "display": "History and Physical Specification" + } + } + ], + "context": { + "encounter": { + "reference": "Encounter/xcda" + }, + "event": [ + { + "coding": [ + { + "system": "http://ihe.net/xds/connectathon/eventCodes", + "code": "T-D8200", + "display": "Arm" + } + ] + } + ], + "period": { + "start": "2004-12-23T08:00:00+11:00", + "end": "2004-12-23T08:01:00+11:00" + }, + "facilityType": { + "coding": [ + { + "system": "http://www.ihe.net/xds/connectathon/healthcareFacilityTypeCodes", + "code": "Outpatient", + "display": "Outpatient" + } + ] + }, + "practiceSetting": { + "coding": [ + { + "system": "http://www.ihe.net/xds/connectathon/practiceSettingCodes", + "code": "General Medicine", + "display": "General Medicine" + } + ] + }, + "sourcePatientInfo": { + "reference": "Patient/xcda" + }, + "related": [ + { + "identifier": { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:1.3.6.1.4.1.21367.2005.3.7.2345" + }, + "ref": { + "reference": "Patient/xcda" + } + } + ] + } +} \ No newline at end of file diff --git a/data/SampleData/Stu3/EligibilityRequest.json b/data/SampleData/Stu3/EligibilityRequest.json new file mode 100644 index 000000000..f798aa70d --- /dev/null +++ b/data/SampleData/Stu3/EligibilityRequest.json @@ -0,0 +1,72 @@ +{ + "resourceType": "EligibilityRequest", + "id": "52346", + "text": { + "status": "generated", + "div": "
A human-readable rendering of the EligibilityRequest
" + }, + "identifier": [ + { + "system": "http://happyvalley.com/elegibilityrequest", + "value": "52346" + } + ], + "status": "active", + "priority": { + "coding": [ + { + "code": "normal" + } + ] + }, + "patient": { + "reference": "Patient/pat1" + }, + "servicedDate": "2014-09-17", + "created": "2014-08-16", + "enterer": { + "identifier": { + "system": "http://happyvalleyclinic.com/staff", + "value": "14" + } + }, + "provider": { + "identifier": { + "system": "http://happyvalleyclinic.com/staff", + "value": "18" + } + }, + "organization": { + "reference": "Organization/1" + }, + "insurer": { + "reference": "Organization/2" + }, + "facility": { + "identifier": { + "system": "http://statecliniclicensor.com/clinicid", + "value": "G35B9" + } + }, + "coverage": { + "reference": "Coverage/9876B1" + }, + "businessArrangement": "NB8742", + "benefitCategory": { + "coding": [ + { + "system": "http://hl7.org/fhir/benefit-category", + "code": "medical" + } + ] + }, + "benefitSubCategory": { + "coding": [ + { + "system": "http://hl7.org/fhir/benefit-subcategory", + "code": "69", + "display": "Maternity" + } + ] + } +} \ No newline at end of file diff --git a/data/SampleData/Stu3/EligibilityResponse.json b/data/SampleData/Stu3/EligibilityResponse.json new file mode 100644 index 000000000..fa30c9f93 --- /dev/null +++ b/data/SampleData/Stu3/EligibilityResponse.json @@ -0,0 +1,292 @@ +{ + "resourceType": "EligibilityResponse", + "id": "E2502", + "text": { + "status": "generated", + "div": "
A human-readable rendering of the EligibilityResponse.
" + }, + "identifier": [ + { + "system": "http://www.BenefitsInc.com/fhir/eligibilityresponse", + "value": "8812342" + } + ], + "status": "active", + "created": "2014-09-16", + "requestProvider": { + "identifier": { + "system": "http://national.org/provider", + "value": "PR9876" + } + }, + "requestOrganization": { + "identifier": { + "system": "http://national.org/clinic", + "value": "OR1234" + } + }, + "request": { + "reference": "http://www.BenefitsInc.com/fhir/eligibility/225476332405" + }, + "outcome": { + "coding": [ + { + "system": "http://hl7.org/fhir/remittance-outcome", + "code": "complete" + } + ] + }, + "disposition": "Policy is currently in-force.", + "insurer": { + "reference": "Organization/2" + }, + "inforce": true, + "insurance": [ + { + "coverage": { + "reference": "#coverage-1" + }, + "contract": { + "reference": "http://www.BenefitsInc.com/fhir/contract/NBU22547" + }, + "benefitBalance": [ + { + "category": { + "coding": [ + { + "system": "http://hl7.org/fhir/benefit-category", + "code": "medical" + } + ] + }, + "subCategory": { + "coding": [ + { + "system": "http://hl7.org/fhir/benefit-subcategory", + "code": "30", + "display": "Health Benefit Plan Coverage" + } + ] + }, + "network": { + "coding": [ + { + "system": "http://hl7.org/fhir/benefit-network", + "code": "in" + } + ] + }, + "unit": { + "coding": [ + { + "system": "http://hl7.org/fhir/benefit-unit", + "code": "individual" + } + ] + }, + "term": { + "coding": [ + { + "system": "http://hl7.org/fhir/benefit-term", + "code": "annual" + } + ] + }, + "financial": [ + { + "type": { + "coding": [ + { + "code": "benefit" + } + ] + }, + "allowedMoney": { + "value": 500000, + "system": "urn:iso:std:iso:4217", + "code": "USD" + }, + "usedMoney": { + "value": 3748.00, + "system": "urn:iso:std:iso:4217", + "code": "USD" + } + }, + { + "type": { + "coding": [ + { + "code": "copay-maximum" + } + ] + }, + "allowedMoney": { + "value": 100, + "system": "urn:iso:std:iso:4217", + "code": "USD" + } + }, + { + "type": { + "coding": [ + { + "code": "copay-percent" + } + ] + }, + "allowedUnsignedInt": 20 + } + ] + }, + { + "category": { + "coding": [ + { + "system": "http://hl7.org/fhir/benefit-category", + "code": "medical" + } + ] + }, + "subCategory": { + "coding": [ + { + "system": "http://hl7.org/fhir/benefit-subcategory", + "code": "69", + "display": "Maternity" + } + ] + }, + "network": { + "coding": [ + { + "system": "http://hl7.org/fhir/benefit-network", + "code": "in" + } + ] + }, + "unit": { + "coding": [ + { + "system": "http://hl7.org/fhir/benefit-unit", + "code": "individual" + } + ] + }, + "term": { + "coding": [ + { + "system": "http://hl7.org/fhir/benefit-term", + "code": "annual" + } + ] + }, + "financial": [ + { + "type": { + "coding": [ + { + "code": "benefit" + } + ] + }, + "allowedMoney": { + "value": 15000, + "system": "urn:iso:std:iso:4217", + "code": "USD" + } + } + ] + }, + { + "category": { + "coding": [ + { + "system": "http://hl7.org/fhir/benefit-category", + "code": "oral" + } + ] + }, + "subCategory": { + "coding": [ + { + "system": "http://hl7.org/fhir/benefit-subcategory", + "code": "F3", + "display": "Dental Coverage" + } + ] + }, + "network": { + "coding": [ + { + "system": "http://hl7.org/fhir/benefit-network", + "code": "in" + } + ] + }, + "unit": { + "coding": [ + { + "system": "http://hl7.org/fhir/benefit-unit", + "code": "individual" + } + ] + }, + "term": { + "coding": [ + { + "system": "http://hl7.org/fhir/benefit-term", + "code": "annual" + } + ] + }, + "financial": [ + { + "type": { + "coding": [ + { + "code": "benefit" + } + ] + }, + "allowedMoney": { + "value": 2000, + "system": "urn:iso:std:iso:4217", + "code": "USD" + } + } + ] + }, + { + "category": { + "coding": [ + { + "system": "http://hl7.org/fhir/benefit-category", + "code": "vision" + } + ] + }, + "subCategory": { + "coding": [ + { + "system": "http://hl7.org/fhir/benefit-subcategory", + "code": "F6", + "display": "Vision Coverage" + } + ] + }, + "excluded": true, + "name": "Vision", + "description": "Vision products and services such as exams, glasses and contatc lenses." + } + ] + } + ], + "form": { + "coding": [ + { + "system": "http://national.org/form", + "code": "ELRSP/2017/01" + } + ] + } +} \ No newline at end of file diff --git a/data/SampleData/Stu3/Encounter.json b/data/SampleData/Stu3/Encounter.json new file mode 100644 index 000000000..330210687 --- /dev/null +++ b/data/SampleData/Stu3/Encounter.json @@ -0,0 +1,88 @@ +{ + "resourceType": "Encounter", + "id": "f202", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: f202

identifier: Encounter_Roel_20130128 (TEMP)

status: finished

class: ambulatory (Details: http://hl7.org/fhir/v3/ActCode code AMB = 'ambulatory', stated as 'ambulatory')

type: Chemotherapy (Details : {SNOMED CT code '367336001' = 'Chemotherapy', given as 'Chemotherapy'})

priority: Urgent (Details : {SNOMED CT code '103391001' = 'Urgency', given as 'Urgent'})

subject: Roel

Participants

-Individual
*Practitioner/f201

length: 56 minutes (Details: UCUM code min = 'min')

reason: The patient is treated for a tumor. (Details )

Diagnoses

-ConditionRoleRank
*Complications from Roel's TPF chemotherapy on January 28th, 2013Admission diagnosis (Details : {http://hl7.org/fhir/diagnosis-role code 'AD' = 'Admission diagnosis', given as 'Admission diagnosis'})1

serviceProvider: Organization/f201

" + }, + "identifier": [ + { + "use": "temp", + "value": "Encounter_Roel_20130128" + } + ], + "status": "finished", + "class": { + "system": "http://hl7.org/fhir/v3/ActCode", + "code": "AMB", + "display": "ambulatory" + }, + "type": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "367336001", + "display": "Chemotherapy" + } + ] + } + ], + "priority": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "103391001", + "display": "Urgent" + } + ] + }, + "subject": { + "reference": "Patient/f201", + "display": "Roel" + }, + "participant": [ + { + "individual": { + "reference": "Practitioner/f201" + } + } + ], + "length": { + "value": 56, + "unit": "minutes", + "system": "http://unitsofmeasure.org", + "code": "min" + }, + "reason": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/encounter-primaryDiagnosis", + "valuePositiveInt": 2 + } + ], + "text": "The patient is treated for a tumor." + } + ], + "diagnosis": [ + { + "condition": { + "display": "Complications from Roel's TPF chemotherapy on January 28th, 2013" + }, + "role": { + "coding": [ + { + "system": "http://hl7.org/fhir/diagnosis-role", + "code": "AD", + "display": "Admission diagnosis" + } + ] + }, + "rank": 1 + } + ], + "serviceProvider": { + "reference": "Organization/f201" + } +} \ No newline at end of file diff --git a/data/SampleData/Stu3/EnrollmentRequest.json b/data/SampleData/Stu3/EnrollmentRequest.json new file mode 100644 index 000000000..820a821d3 --- /dev/null +++ b/data/SampleData/Stu3/EnrollmentRequest.json @@ -0,0 +1,25 @@ +{ + "resourceType": "EnrollmentRequest", + "id": "22345", + "text": { + "status": "generated", + "div": "
A human-readable rendering of the EnrollmentRequest.
" + }, + "identifier": [ + { + "system": "http://happyvalley.com/enrollmentrequest", + "value": "EN22345" + } + ], + "status": "active", + "created": "2014-08-16", + "organization": { + "reference": "Organization/1" + }, + "subject": { + "reference": "Patient/1" + }, + "coverage": { + "reference": "Coverage/9876B1" + } +} \ No newline at end of file diff --git a/data/SampleData/Stu3/EnrollmentResponse.json b/data/SampleData/Stu3/EnrollmentResponse.json new file mode 100644 index 000000000..4b58287b1 --- /dev/null +++ b/data/SampleData/Stu3/EnrollmentResponse.json @@ -0,0 +1,31 @@ +{ + "resourceType": "EnrollmentResponse", + "id": "ER2500", + "text": { + "status": "generated", + "div": "
A human-readable rendering of the EnrollmentResponse
" + }, + "identifier": [ + { + "system": "http://www.BenefitsInc.com/fhir/enrollmentresponse", + "value": "781234" + } + ], + "status": "active", + "request": { + "reference": "http://www.BenefitsInc.com/fhir/eligibility/225476332402" + }, + "outcome": { + "coding": [ + { + "system": "http://hl7.org/fhir/remittance-outcome", + "code": "complete" + } + ] + }, + "disposition": "Dependant added to policy.", + "created": "2014-08-16", + "organization": { + "reference": "Organization/2" + } +} \ No newline at end of file diff --git a/data/SampleData/Stu3/ExplanationOfBenefit.json b/data/SampleData/Stu3/ExplanationOfBenefit.json new file mode 100644 index 000000000..c3bf2f8a9 --- /dev/null +++ b/data/SampleData/Stu3/ExplanationOfBenefit.json @@ -0,0 +1,170 @@ +{ + "resourceType": "ExplanationOfBenefit", + "id": "EB3500", + "text": { + "status": "generated", + "div": "
A human-readable rendering of the ExplanationOfBenefit
" + }, + "identifier": [ + { + "system": "http://www.BenefitsInc.com/fhir/explanationofbenefit", + "value": "987654321" + } + ], + "status": "active", + "type": { + "coding": [ + { + "system": "http://hl7.org/fhir/ex-claimtype", + "code": "oral" + } + ] + }, + "patient": { + "reference": "Patient/pat1" + }, + "created": "2014-08-16", + "enterer": { + "reference": "Practitioner/1" + }, + "provider": { + "reference": "Practitioner/1" + }, + "organization": { + "reference": "Organization/2" + }, + "facility": { + "reference": "Location/1" + }, + "claim": { + "reference": "Claim/100150" + }, + "claimResponse": { + "reference": "ClaimResponse/R3500" + }, + "outcome": { + "coding": [ + { + "system": "http://hl7.org/fhir/remittance-outcome", + "code": "complete" + } + ] + }, + "disposition": "Claim settled as per contract.", + "payee": { + "type": { + "coding": [ + { + "system": "http://hl7.org/fhir/payeetype", + "code": "provider" + } + ] + }, + "resourceType": { + "coding": [ + { + "system": "http://hl7.org/fhir/resource-type-link", + "code": "organization" + } + ] + }, + "party": { + "reference": "Organization/2" + } + }, + "careTeam": [ + { + "sequence": 1, + "provider": { + "reference": "Practitioner/example" + } + } + ], + "insurance": { + "coverage": { + "reference": "Coverage/9876B1" + } + }, + "item": [ + { + "sequence": 1, + "careTeamLinkId": [ + 1 + ], + "service": { + "coding": [ + { + "system": "http://hl7.org/fhir/service-uscls", + "code": "1200" + } + ] + }, + "servicedDate": "2014-08-16", + "unitPrice": { + "value": 135.57, + "system": "urn:iso:std:iso:4217", + "code": "USD" + }, + "net": { + "value": 135.57, + "system": "urn:iso:std:iso:4217", + "code": "USD" + }, + "encounter": [ + { + "reference": "Encounter/example" + } + ], + "adjudication": [ + { + "category": { + "coding": [ + { + "code": "eligible" + } + ] + }, + "amount": { + "value": 120.00, + "system": "urn:iso:std:iso:4217", + "code": "USD" + } + }, + { + "category": { + "coding": [ + { + "code": "eligpercent" + } + ] + }, + "value": 0.80 + }, + { + "category": { + "coding": [ + { + "code": "benefit" + } + ] + }, + "amount": { + "value": 96.00, + "system": "urn:iso:std:iso:4217", + "code": "USD" + } + } + ] + } + ], + "totalCost": { + "value": 135.57, + "system": "urn:iso:std:iso:4217", + "code": "USD" + }, + "totalBenefit": { + "value": 96.00, + "system": "urn:iso:std:iso:4217", + "code": "USD" + } +} \ No newline at end of file diff --git a/data/SampleData/Stu3/FamilyMemberHistory.json b/data/SampleData/Stu3/FamilyMemberHistory.json new file mode 100644 index 000000000..f3cf16125 --- /dev/null +++ b/data/SampleData/Stu3/FamilyMemberHistory.json @@ -0,0 +1,60 @@ +{ + "resourceType": "FamilyMemberHistory", + "id": "father", + "text": { + "status": "generated", + "div": "
Father died of a heart attack aged 74
" + }, + "identifier": [ + { + "value": "12345" + } + ], + "definition": [ + { + "display": "Family Member History Questionnaire" + } + ], + "status": "completed", + "notDone": false, + "patient": { + "reference": "Patient/example", + "display": "Peter Patient" + }, + "date": "2011-03-18", + "relationship": { + "coding": [ + { + "system": "http://hl7.org/fhir/v3/RoleCode", + "code": "FTH", + "display": "father" + } + ] + }, + "gender": "male", + "condition": [ + { + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "315619001", + "display": "Myocardial Infarction" + } + ], + "text": "Heart Attack" + }, + "onsetAge": { + "value": 74, + "unit": "yr", + "system": "http://unitsofmeasure.org", + "code": "a" + }, + "note": [ + { + "text": "Was fishing at the time. At least he went doing someting he loved." + } + ] + } + ] +} \ No newline at end of file diff --git a/data/SampleData/Stu3/Flag.json b/data/SampleData/Stu3/Flag.json new file mode 100644 index 000000000..8768cd096 --- /dev/null +++ b/data/SampleData/Stu3/Flag.json @@ -0,0 +1,46 @@ +{ + "resourceType": "Flag", + "id": "example", + "text": { + "status": "generated", + "div": "
Large Dog warning for Peter Patient
" + }, + "identifier": [ + { + "value": "12345" + } + ], + "status": "inactive", + "category": { + "coding": [ + { + "system": "http://example.org/local", + "code": "admin", + "display": "Admin" + } + ], + "text": "admin" + }, + "code": { + "coding": [ + { + "system": "http://example.org/local", + "code": "bigdog", + "display": "Big dog" + } + ], + "text": "Patient has a big dog at his home. Always always wear a suit of armor or take other active counter-measures" + }, + "subject": { + "reference": "Patient/example", + "display": "Peter Patient" + }, + "period": { + "start": "2015-01-17", + "end": "2016-12-01" + }, + "author": { + "reference": "Practitioner/example", + "display": "Nancy Nurse" + } +} \ No newline at end of file diff --git a/data/SampleData/Stu3/Goal.json b/data/SampleData/Stu3/Goal.json new file mode 100644 index 000000000..184d1d73e --- /dev/null +++ b/data/SampleData/Stu3/Goal.json @@ -0,0 +1,85 @@ +{ + "resourceType": "Goal", + "id": "example", + "text": { + "status": "additional", + "div": "
\n\t\t\t

A simple care goal for a patient to lose weight due to obesity.

\n\t\t
" + }, + "identifier": [ + { + "value": "123" + } + ], + "status": "sustaining", + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/goal-category", + "code": "dietary" + } + ] + } + ], + "priority": { + "coding": [ + { + "system": "http://hl7.org/fhir/goal-priority", + "code": "high-priority", + "display": "High Priority" + } + ], + "text": "high" + }, + "description": { + "text": "Target weight is 160 to 180 lbs." + }, + "subject": { + "reference": "Patient/example", + "display": "Peter James Chalmers" + }, + "startDate": "2015-04-05", + "target": { + "measure": { + "coding": [ + { + "system": "http://loinc.org", + "code": "3141-9", + "display": "Weight Measured" + } + ] + }, + "detailRange": { + "low": { + "value": 160, + "unit": "lbs", + "system": "http://unitsofmeasure.org", + "code": "[lb_av]" + }, + "high": { + "value": 180, + "unit": "lbs", + "system": "http://unitsofmeasure.org", + "code": "[lb_av]" + } + }, + "dueDate": "2016-04-05" + }, + "statusDate": "2016-02-14", + "statusReason": "Patient wants to defer weight loss until after honeymoon.", + "expressedBy": { + "reference": "Patient/example", + "display": "Peter James Chalmers" + }, + "addresses": [ + { + "display": "obesity condition" + } + ], + "outcomeReference": [ + { + "reference": "Observation/example", + "display": "Body Weight Measured" + } + ] +} \ No newline at end of file diff --git a/data/SampleData/Stu3/GraphDefinition.json b/data/SampleData/Stu3/GraphDefinition.json new file mode 100644 index 000000000..01b9cb9c6 --- /dev/null +++ b/data/SampleData/Stu3/GraphDefinition.json @@ -0,0 +1,59 @@ +{ + "resourceType": "GraphDefinition", + "id": "example", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

url: http://h7.org/fhir/GraphDefinition/example

name: Document Generation Template

status: draft

date: 04/08/2015

publisher: FHIR Project

contact:

description: Specify to include list references when generating a document using the $document operation

start: Composition

link

path: Composition.section.entry

description: Link to List

target

type: List

Compartments

-CodeRule
*Patientidentical

Links

-
*
" + }, + "url": "http://h7.org/fhir/GraphDefinition/example", + "name": "Document Generation Template", + "status": "draft", + "date": "2015-08-04", + "publisher": "FHIR Project", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "Specify to include list references when generating a document using the $document operation", + "start": "Composition", + "link": [ + { + "path": "Composition.section.entry", + "description": "Link to List", + "target": [ + { + "type": "List", + "compartment": [ + { + "code": "Patient", + "rule": "identical" + } + ], + "link": [ + { + "path": "List.entry.item", + "description": "Include any list entries", + "target": [ + { + "type": "Resource", + "compartment": [ + { + "code": "Patient", + "rule": "identical" + } + ] + } + ] + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/data/SampleData/Stu3/GuidanceResponse.json b/data/SampleData/Stu3/GuidanceResponse.json new file mode 100644 index 000000000..9045e3659 --- /dev/null +++ b/data/SampleData/Stu3/GuidanceResponse.json @@ -0,0 +1,33 @@ +{ + "resourceType": "GuidanceResponse", + "id": "example", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

contained:

requestId: guidanceRequest1

identifier: guidanceResponse1

module: ServiceDefinition/example

status: success

subject: Patient/example

context: Encounter/example

occurrenceDateTime: 10/03/2017 4:02:00 PM

performer: Device/software

reason: Guideline Appropriate Ordering Assessment (Details )

outputParameters: id: outputParameters1

" + }, + "requestId": "guidanceRequest1", + "identifier": { + "system": "http://example.org", + "value": "guidanceResponse1" + }, + "module": { + "reference": "ServiceDefinition/example" + }, + "status": "success", + "subject": { + "reference": "Patient/example" + }, + "context": { + "reference": "Encounter/example" + }, + "occurrenceDateTime": "2017-03-10T16:02:00Z", + "performer": { + "reference": "Device/software" + }, + "reasonCodeableConcept": { + "text": "Guideline Appropriate Ordering Assessment" + }, + "outputParameters": { + "reference": "#outputParameters1" + } +} \ No newline at end of file diff --git a/data/SampleData/Stu3/HealthcareService.json b/data/SampleData/Stu3/HealthcareService.json new file mode 100644 index 000000000..80a3f54ee --- /dev/null +++ b/data/SampleData/Stu3/HealthcareService.json @@ -0,0 +1,200 @@ +{ + "resourceType": "HealthcareService", + "id": "example", + "text": { + "status": "generated", + "div": "
\n\t\t\t25 Dec 2013 9:15am - 9:30am: Busy Physiotherapy\n\t\t
" + }, + "identifier": [ + { + "system": "http://example.org/shared-ids", + "value": "HS-12" + } + ], + "active": true, + "providedBy": { + "reference": "Organization/f001", + "display": "Burgers University Medical Center" + }, + "category": { + "coding": [ + { + "system": "http://hl7.org/fhir/service-category", + "code": "8", + "display": "Counselling" + } + ], + "text": "Counselling" + }, + "type": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "394913002", + "display": "Psychotherapy" + } + ] + }, + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "394587001", + "display": "Psychiatry" + } + ] + } + ], + "specialty": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "47505003", + "display": "Posttraumatic stress disorder" + } + ] + } + ], + "location": [ + { + "reference": "Location/1" + } + ], + "name": "Consulting psychologists and/or psychology services", + "comment": "Providing Specialist psychology services to the greater Den Burg area, many years of experience dealing with PTSD issues", + "extraDetails": "Several assessments are required for these specialist services, and the waiting times can be greater than 3 months at times. Existing patients are prioritized when requesting appointments on the schedule.", + "telecom": [ + { + "system": "phone", + "value": "(555) silent", + "use": "work" + }, + { + "system": "email", + "value": "directaddress@example.com", + "use": "work" + } + ], + "coverageArea": [ + { + "reference": "#DenBurg", + "display": "Greater Denburg area" + } + ], + "serviceProvisionCode": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/service-provision-conditions", + "code": "cost", + "display": "Fees apply" + } + ] + } + ], + "eligibility": { + "coding": [ + { + "display": "DVA Required" + } + ] + }, + "eligibilityNote": "Evidence of application for DVA status may be sufficient for commencing assessment", + "programName": [ + "PTSD outreach" + ], + "characteristic": [ + { + "coding": [ + { + "display": "Wheelchair access" + } + ] + } + ], + "referralMethod": [ + { + "coding": [ + { + "code": "phone", + "display": "Phone" + } + ] + }, + { + "coding": [ + { + "code": "fax", + "display": "Fax" + } + ] + }, + { + "coding": [ + { + "code": "elec", + "display": "Secure Messaging" + } + ] + }, + { + "coding": [ + { + "code": "semail", + "display": "Secure Email" + } + ] + } + ], + "appointmentRequired": false, + "availableTime": [ + { + "daysOfWeek": [ + "wed" + ], + "allDay": true + }, + { + "daysOfWeek": [ + "mon", + "tue", + "thu", + "fri" + ], + "availableStartTime": "08:30:00", + "availableEndTime": "05:30:00" + }, + { + "daysOfWeek": [ + "sat", + "fri" + ], + "availableStartTime": "09:30:00", + "availableEndTime": "04:30:00" + } + ], + "notAvailable": [ + { + "description": "Christmas/Boxing Day", + "during": { + "start": "2015-12-25", + "end": "2015-12-26" + } + }, + { + "description": "New Years Day", + "during": { + "start": "2016-01-01", + "end": "2016-01-01" + } + } + ], + "availabilityExceptions": "Reduced capacity is available during the Christmas period", + "endpoint": [ + { + "reference": "Endpoint/example" + } + ] +} \ No newline at end of file diff --git a/data/SampleData/Stu3/ImagingStudy.json b/data/SampleData/Stu3/ImagingStudy.json new file mode 100644 index 000000000..3cab24c1b --- /dev/null +++ b/data/SampleData/Stu3/ImagingStudy.json @@ -0,0 +1,142 @@ +{ + "resourceType": "ImagingStudy", + "id": "example-xr", + "text": { + "status": "generated", + "div": "
XR Wrist 3+ Views. John Smith (MRN: 09236). Accession: W12342398. Performed: 2017-01-01. 1 series, 2 images.
" + }, + "uid": "urn:oid:2.16.124.113543.6003.1154777499.30246.19789.3503430046", + "accession": { + "use": "usual", + "type": { + "coding": [ + { + "system": "http://hl7.org/fhir/v2/0203", + "code": "ACSN" + } + ] + }, + "value": "W12342398", + "assigner": { + "reference": "Organization/dicom-organization" + } + }, + "identifier": [ + { + "use": "secondary", + "value": "55551234", + "assigner": { + "reference": "Organization/dicom-organization" + } + } + ], + "availability": "ONLINE", + "modalityList": [ + { + "system": "http://dicom.nema.org/resources/ontology/DCM", + "code": "DX" + } + ], + "patient": { + "reference": "Patient/dicom" + }, + "context": { + "reference": "Encounter/example" + }, + "started": "2017-01-01T11:01:20+03:00", + "basedOn": [ + { + "reference": "ProcedureRequest/example" + } + ], + "referrer": { + "reference": "Practitioner/example" + }, + "interpreter": [ + { + "reference": "Practitioner/example" + } + ], + "endpoint": [ + { + "reference": "Endpoint/example-wadors" + } + ], + "numberOfSeries": 1, + "numberOfInstances": 2, + "procedureReference": [ + { + "reference": "Procedure/example" + } + ], + "procedureCode": [ + { + "coding": [ + { + "system": "http://www.radlex.org", + "code": "RPID2589", + "display": "XR Wrist 3+ Views" + } + ], + "text": "XR Wrist 3+ Views" + } + ], + "reason": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "357009", + "display": "Closed fracture of trapezoidal bone of wrist" + } + ] + }, + "description": "XR Wrist 3+ Views", + "series": [ + { + "uid": "urn:oid:2.16.124.113543.6003.1154777499.30246.19789.3503430045.1", + "number": 3, + "modality": { + "system": "http://dicom.nema.org/resources/ontology/DCM", + "code": "DX" + }, + "description": "XR Wrist 3+ Views", + "numberOfInstances": 2, + "availability": "ONLINE", + "endpoint": [ + { + "reference": "Endpoint/example-wadors" + } + ], + "bodySite": { + "system": "http://snomed.info/sct", + "code": "T-15460", + "display": "Wrist Joint" + }, + "laterality": { + "system": "http://snomed.info/sct", + "code": "419161000", + "display": "Unilateral left" + }, + "started": "2011-01-01T11:01:20+03:00", + "performer": [ + { + "reference": "Practitioner/example" + } + ], + "instance": [ + { + "uid": "urn:oid:2.16.124.113543.6003.1154777499.30246.19789.3503430045.1.1", + "number": 1, + "sopClass": "urn:oid:1.2.840.10008.5.1.4.1.1.2", + "title": "PA VIEW" + }, + { + "uid": "urn:oid:2.16.124.113543.6003.1154777499.30246.19789.3503430045.1.2", + "number": 2, + "sopClass": "urn:oid:1.2.840.10008.5.1.4.1.1.2", + "title": "LL VIEW" + } + ] + } + ] +} \ No newline at end of file diff --git a/data/SampleData/Stu3/Immunization.json b/data/SampleData/Stu3/Immunization.json new file mode 100644 index 000000000..de2772cae --- /dev/null +++ b/data/SampleData/Stu3/Immunization.json @@ -0,0 +1,157 @@ +{ + "resourceType": "Immunization", + "id": "example", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

identifier: urn:oid:1.3.6.1.4.1.21367.2005.3.7.1234

status: completed

notGiven: false

vaccineCode: Fluvax (Influenza) (Details : {urn:oid:1.2.36.1.2001.1005.17 code 'FLUVAX' = 'Fluvax)

patient: Patient/example

encounter: Encounter/example

date: 10/01/2013

primarySource: true

location: Location/1

manufacturer: Organization/hl7

lotNumber: AAJN11K

expirationDate: 15/02/2015

site: left arm (Details : {http://hl7.org/fhir/v3/ActSite code 'LA' = 'left arm', given as 'left arm'})

route: Injection, intramuscular (Details : {http://hl7.org/fhir/v3/RouteOfAdministration code 'IM' = 'Injection, intramuscular', given as 'Injection, intramuscular'})

doseQuantity: 5 mg (Details: UCUM code mg = 'mg')

practitioner

role: Ordering Provider (Details : {http://hl7.org/fhir/v2/0443 code 'OP' = 'Ordering Provider)

actor: Practitioner/example

practitioner

role: Administering Provider (Details : {http://hl7.org/fhir/v2/0443 code 'AP' = 'Administering Provider)

actor: Practitioner/example

note: Notes on adminstration of vaccine

Explanations

-Reason
*Procedure to meet occupational requirement (Details : {SNOMED CT code '429060002' = 'Procedure to meet occupational requirement)

Reactions

-DateDetailReported
*10/01/2013Observation/exampletrue

VaccinationProtocols

-DoseSequenceDescriptionAuthoritySeriesSeriesDosesTargetDiseaseDoseStatusDoseStatusReason
*1Vaccination Protocol Sequence 1Organization/hl7Vaccination Series 12Gestational rubella syndrome (Details : {SNOMED CT code '1857005' = 'Gestational rubella syndrome)Counts (Details : {http://hl7.org/fhir/vaccination-protocol-dose-status code 'count' = 'Counts', given as 'Counts'})Cold chain break (Details : {http://hl7.org/fhir/vaccination-protocol-dose-status-reason code 'coldchbrk' = 'Cold chain break', given as 'Cold chain break'})
" + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:1.3.6.1.4.1.21367.2005.3.7.1234" + } + ], + "status": "completed", + "notGiven": false, + "vaccineCode": { + "coding": [ + { + "system": "urn:oid:1.2.36.1.2001.1005.17", + "code": "FLUVAX" + } + ], + "text": "Fluvax (Influenza)" + }, + "patient": { + "reference": "Patient/example" + }, + "encounter": { + "reference": "Encounter/example" + }, + "date": "2013-01-10", + "primarySource": true, + "location": { + "reference": "Location/1" + }, + "manufacturer": { + "reference": "Organization/hl7" + }, + "lotNumber": "AAJN11K", + "expirationDate": "2015-02-15", + "site": { + "coding": [ + { + "system": "http://hl7.org/fhir/v3/ActSite", + "code": "LA", + "display": "left arm" + } + ] + }, + "route": { + "coding": [ + { + "system": "http://hl7.org/fhir/v3/RouteOfAdministration", + "code": "IM", + "display": "Injection, intramuscular" + } + ] + }, + "doseQuantity": { + "value": 5, + "system": "http://unitsofmeasure.org", + "code": "mg" + }, + "practitioner": [ + { + "role": { + "coding": [ + { + "system": "http://hl7.org/fhir/v2/0443", + "code": "OP" + } + ] + }, + "actor": { + "reference": "Practitioner/example" + } + }, + { + "role": { + "coding": [ + { + "system": "http://hl7.org/fhir/v2/0443", + "code": "AP" + } + ] + }, + "actor": { + "reference": "Practitioner/example" + } + } + ], + "note": [ + { + "text": "Notes on adminstration of vaccine" + } + ], + "explanation": { + "reason": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "429060002" + } + ] + } + ] + }, + "reaction": [ + { + "date": "2013-01-10", + "detail": { + "reference": "Observation/example" + }, + "reported": true + } + ], + "vaccinationProtocol": [ + { + "doseSequence": 1, + "description": "Vaccination Protocol Sequence 1", + "authority": { + "reference": "Organization/hl7" + }, + "series": "Vaccination Series 1", + "seriesDoses": 2, + "targetDisease": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "1857005" + } + ] + } + ], + "doseStatus": { + "coding": [ + { + "system": "http://hl7.org/fhir/vaccination-protocol-dose-status", + "code": "count", + "display": "Counts" + } + ] + }, + "doseStatusReason": { + "coding": [ + { + "system": "http://hl7.org/fhir/vaccination-protocol-dose-status-reason", + "code": "coldchbrk", + "display": "Cold chain break" + } + ] + } + } + ] +} \ No newline at end of file diff --git a/data/SampleData/Stu3/ImmunizationRecommendation.json b/data/SampleData/Stu3/ImmunizationRecommendation.json new file mode 100644 index 000000000..d892f6e54 --- /dev/null +++ b/data/SampleData/Stu3/ImmunizationRecommendation.json @@ -0,0 +1,91 @@ +{ + "resourceType": "ImmunizationRecommendation", + "id": "example", + "text": { + "status": "generated", + "div": "
Authored by Joginder Madra
" + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:1.3.6.1.4.1.21367.2005.3.7.1235" + } + ], + "patient": { + "reference": "Patient/example" + }, + "recommendation": [ + { + "date": "2015-02-09T11:04:15.817-05:00", + "vaccineCode": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "14745005", + "display": "Hepatitis A vaccine" + } + ] + }, + "doseNumber": 1, + "forecastStatus": { + "text": "Not Complete" + }, + "dateCriterion": [ + { + "code": { + "coding": [ + { + "system": "http://hl7.org/fhir/immunization-recommendation-date-criterion", + "code": "earliest", + "display": "Earliest Date" + } + ] + }, + "value": "2015-12-01T00:00:00-05:00" + }, + { + "code": { + "coding": [ + { + "system": "http://hl7.org/fhir/immunization-recommendation-date-criterion", + "code": "recommended", + "display": "Recommended" + } + ] + }, + "value": "2015-12-01T00:00:00-05:00" + }, + { + "code": { + "coding": [ + { + "system": "http://hl7.org/fhir/immunization-recommendation-date-criterion", + "code": "overdue", + "display": "Past Due Date" + } + ] + }, + "value": "2016-12-28T00:00:00-05:00" + } + ], + "protocol": { + "doseSequence": 1, + "description": "First sequence in protocol", + "authority": { + "reference": "Organization/hl7" + }, + "series": "Vaccination Series 1" + }, + "supportingImmunization": [ + { + "reference": "Immunization/example" + } + ], + "supportingPatientInformation": [ + { + "reference": "Observation/example" + } + ] + } + ] +} \ No newline at end of file diff --git a/data/SampleData/Stu3/ImplementationGuide.json b/data/SampleData/Stu3/ImplementationGuide.json new file mode 100644 index 000000000..6dfff1156 --- /dev/null +++ b/data/SampleData/Stu3/ImplementationGuide.json @@ -0,0 +1,102 @@ +{ + "resourceType": "ImplementationGuide", + "id": "example", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

url: http://hl7.org/fhir/us/daf

version: 0

name: Data Access Framework (DAF)

status: draft

experimental: false

date: 01/01/2015

publisher: ONC / HL7 Joint project

contact: ,

description: The Data Access Framework (DAF) Initiative leverages the HL7 FHIR standards to standardize access to Meaningful Use Stage 2 structured information both within the organization and from external organizations

jurisdiction: United States (Details : {urn:iso:std:iso:3166 code 'US' = 'United States)

copyright: Published by ONC under the standard FHIR license (CC0)

fhirVersion: 1.0.0

Dependencies

-TypeUri
*referencehttp://hl7.org/fhir/ImplementationGuide/uscore

package

name: test

description: Base package (not broken up into multiple packages)

Resources

-ExampleNameDescriptionAcronymSource[x]ExampleFor
*trueTest ExampleA test example to show how a package worksdaf-tsttest.htmlStructureDefinition/daf-patient

Globals

-TypeProfile
*PatientStructureDefinition/daf-patient

binary: http://h7.org/fhir/fhir.css

page

source: patient-example.html

title: Example Patient Page

kind: page

Pages

-
*
" + }, + "url": "http://hl7.org/fhir/us/daf", + "version": "0", + "name": "Data Access Framework (DAF)", + "status": "draft", + "experimental": false, + "date": "2015-01-01", + "publisher": "ONC / HL7 Joint project", + "contact": [ + { + "name": "ONC", + "telecom": [ + { + "system": "url", + "value": "http://www.healthit.gov" + } + ] + }, + { + "name": "HL7", + "telecom": [ + { + "system": "url", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "The Data Access Framework (DAF) Initiative leverages the HL7 FHIR standards to standardize access to Meaningful Use Stage 2 structured information both within the organization and from external organizations", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Published by ONC under the standard FHIR license (CC0)", + "fhirVersion": "1.0.0", + "dependency": [ + { + "type": "reference", + "uri": "http://hl7.org/fhir/ImplementationGuide/uscore" + } + ], + "package": [ + { + "name": "test", + "description": "Base package (not broken up into multiple packages)", + "resource": [ + { + "example": true, + "name": "Test Example", + "description": "A test example to show how a package works", + "acronym": "daf-tst", + "sourceUri": "test.html", + "exampleFor": { + "reference": "StructureDefinition/daf-patient" + } + } + ] + } + ], + "global": [ + { + "type": "Patient", + "profile": { + "reference": "StructureDefinition/daf-patient" + } + } + ], + "binary": [ + "http://h7.org/fhir/fhir.css" + ], + "page": { + "source": "patient-example.html", + "title": "Example Patient Page", + "kind": "page", + "page": [ + { + "source": "list.html", + "title": "Value Set Page", + "kind": "list", + "type": [ + "ValueSet" + ], + "package": [ + "test" + ], + "format": "text/html" + } + ] + } +} \ No newline at end of file diff --git a/data/SampleData/Stu3/Library.json b/data/SampleData/Stu3/Library.json new file mode 100644 index 000000000..0fa31553f --- /dev/null +++ b/data/SampleData/Stu3/Library.json @@ -0,0 +1,258 @@ +{ + "resourceType": "Library", + "id": "suiciderisk-orderset-logic", + "text": { + "status": "generated", + "div": "
\n \n \n \n \n \n \n \n
\n Id: \n
Library/mmi-suiciderisk-orderset-logic
\n \n \n \n \n \n \n \n
\n Identifier: \n
\n value: \n SuicideRiskLogic\n
\n

\n \n \n \n \n \n \n \n
\n Version: \n
1.0.0
\n

\n \n \n \n \n \n \n \n
\n Title: \n
Suicide Risk Order Set Logic
\n

\n \n \n \n \n \n \n \n
\n Type: \n
\n \n \n \n code: \n logic-library\n \n \n \n
\n

\n \n \n \n \n \n \n \n
\n Status: \n
draft
\n

\n \n \n \n \n \n \n \n
\n Description: \n
Logic for Suicide Risk Order Sets
\n

\n \n \n \n \n \n \n \n
\n Topic: \n
\n \n text: \n Suicide Risk Order Set Logic\n \n
\n

\n \n \n \n \n \n \n \n
\n Related: \n
\n

\n type: \n depends-on\n

\n

\n Resource: \n
\n \n \n reference: \n Library/library-fhir-model-definition\n \n \n

\n
\n \n \n \n \n \n \n \n
\n Related: \n
\n

\n type: \n depends-on\n

\n

\n Resource: \n
\n \n \n reference: \n Library/library-fhir-helpers\n
\n
\n \n display: \n FHIRHelpers\n \n
\n

\n
\n \n \n \n \n \n \n \n
\n Related: \n
\n

\n type: \n depends-on\n

\n

\n Resource: \n
\n \n \n reference: \n http://nucc.org/provider-taxonomy\n \n \n

\n
\n \n \n \n \n \n \n \n
\n Related: \n
\n

\n type: \n depends-on\n

\n

\n Resource: \n
\n \n \n reference: \n ValueSet/1.2.3.4.5\n
\n
\n \n display: \n Suicide Risk Assessment\n \n
\n

\n
\n \n \n \n \n \n \n \n
\n Parameter: \n
\n \n name: \n Patient\n
\n
\n use: \n in\n
\n \n minimum cardinality: \n 1\n
\n
\n \n maximum cardinality: \n 1\n
\n
\n type: \n Patient\n
\n

\n

\n \n \n \n \n \n \n \n
\n Parameter: \n
\n \n name: \n Encounter\n
\n
\n use: \n in\n
\n \n minimum cardinality: \n 1\n
\n
\n \n maximum cardinality: \n 1\n
\n
\n type: \n Encounter\n
\n

\n

\n \n \n \n \n \n \n \n
\n Parameter: \n
\n \n name: \n Practitioner\n
\n
\n use: \n in\n
\n \n minimum cardinality: \n 1\n
\n
\n \n maximum cardinality: \n 1\n
\n
\n type: \n Practitioner\n
\n

\n

\n \n \n \n \n \n \n \n
\n Data Requirements: \n
\n
\n

\n type: \n RiskAssessment\n

\n

\n code filter:\n
\n \n path: \n code\n \n
\n \n valueset: \n Suicide Risk Assessment\n \n

\n
\n
\n \n \n \n \n \n \n \n
\n Content: \n
\n

\n type: \n text/cql\n

\n

\n url: \n library-mmi-suiciderisk-orderset-logic-content.cql\n

\n
\n

" + }, + "url": "http://motivemi.com/artifacts/Library/suiciderisk-orderset-logic", + "identifier": [ + { + "use": "official", + "system": "http://motivemi.com/artifacts", + "value": "mmi:suiciderisk-orderset-logic" + } + ], + "version": "1.0.0", + "name": "SuicideRiskOrderSetLogic", + "title": "Suicide Risk Order Set Logic", + "status": "active", + "experimental": true, + "type": { + "coding": [ + { + "code": "logic-library" + } + ] + }, + "date": "2015-07-22", + "publisher": "Motive Medical Intelligence", + "description": "Logic for Suicide Risk Order Sets", + "purpose": "Defines a referral to a mental-health integrated care program for use in suicide risk order sets. The definition is independent of the order set in which it appears to allow reuse of the general definition of the referrral.", + "usage": "This activity definition is used as the definition of a referral request within various suicide risk order sets. Elements that apply universally are defined here, while elements that apply to the specific setting of a referral within a particular order set are defined in the order set.", + "approvalDate": "2016-03-12", + "lastReviewDate": "2016-08-15", + "effectivePeriod": { + "start": "2016-01-01", + "end": "2017-12-31" + }, + "useContext": [ + { + "code": { + "system": "http://hl7.org/fhir/usage-context-type", + "code": "age" + }, + "valueCodeableConcept": { + "coding": [ + { + "system": "https://meshb.nlm.nih.gov", + "code": "D000328", + "display": "Adult" + } + ] + } + }, + { + "code": { + "system": "http://hl7.org/fhir/usage-context-type", + "code": "focus" + }, + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "87512008", + "display": "Mild major depression" + } + ] + } + }, + { + "code": { + "system": "http://hl7.org/fhir/usage-context-type", + "code": "focus" + }, + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "40379007", + "display": "Major depression, recurrent, mild" + } + ] + } + }, + { + "code": { + "system": "http://hl7.org/fhir/usage-context-type", + "code": "focus" + }, + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "225444004", + "display": "At risk for suicide (finding)" + } + ] + } + }, + { + "code": { + "system": "http://hl7.org/fhir/usage-context-type", + "code": "user" + }, + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "309343006", + "display": "Physician" + } + ] + } + }, + { + "code": { + "system": "http://hl7.org/fhir/usage-context-type", + "code": "venue" + }, + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "440655000", + "display": "Outpatient environment" + } + ] + } + } + ], + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "topic": [ + { + "text": "Suicide Risk Order Set Logic" + } + ], + "contributor": [ + { + "type": "author", + "name": "Motive Medical Intelligence", + "contact": [ + { + "telecom": [ + { + "system": "phone", + "value": "415-362-4007", + "use": "work" + }, + { + "system": "email", + "value": "info@motivemi.com", + "use": "work" + } + ] + } + ] + } + ], + "contact": [ + { + "telecom": [ + { + "system": "phone", + "value": "415-362-4007", + "use": "work" + }, + { + "system": "email", + "value": "info@motivemi.com", + "use": "work" + } + ] + } + ], + "copyright": "© Copyright 2016 Motive Medical Intelligence. All rights reserved.", + "relatedArtifact": [ + { + "type": "citation", + "display": "Practice Guideline for the Treatment of Patients with Major Depressive Disorder", + "url": "http://psychiatryonline.org/pb/assets/raw/sitewide/practice_guidelines/guidelines/mdd.pdf" + }, + { + "type": "depends-on", + "resource": { + "reference": "Library/library-fhir-model-definition" + } + }, + { + "type": "depends-on", + "resource": { + "reference": "Library/library-fhir-helpers", + "display": "FHIRHelpers" + } + }, + { + "type": "depends-on", + "resource": { + "reference": "http://nucc.org/provider-taxonomy" + } + }, + { + "type": "depends-on", + "resource": { + "reference": "ValueSet/1.2.3.4.5", + "display": "Suicide Risk Assessment" + } + } + ], + "parameter": [ + { + "name": "Patient", + "use": "in", + "min": 1, + "max": "1", + "type": "Patient" + }, + { + "name": "Encounter", + "use": "in", + "min": 1, + "max": "1", + "type": "Encounter" + }, + { + "name": "Practitioner", + "use": "in", + "min": 1, + "max": "1", + "type": "Practitioner" + } + ], + "dataRequirement": [ + { + "type": "RiskAssessment", + "codeFilter": [ + { + "path": "code", + "valueSetString": "Suicide Risk Assessment" + } + ] + } + ], + "content": [ + { + "contentType": "text/cql", + "url": "library-mmi-suiciderisk-orderset-logic-content.cql" + } + ] +} \ No newline at end of file diff --git a/data/SampleData/Stu3/Location.json b/data/SampleData/Stu3/Location.json new file mode 100644 index 000000000..127870d4a --- /dev/null +++ b/data/SampleData/Stu3/Location.json @@ -0,0 +1,79 @@ +{ + "resourceType": "Location", + "id": "1", + "text": { + "status": "generated", + "div": "
Burgers UMC, South Wing, second floor
" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/location-alias", + "valueString": "Burgers University Medical Center, South Wing, second floor" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/location-alias", + "valueString": "BU MC, SW, F2" + } + ], + "identifier": [ + { + "value": "B1-S.F2" + } + ], + "status": "active", + "name": "South Wing, second floor", + "description": "Second floor of the Old South Wing, formerly in use by Psychiatry", + "mode": "instance", + "telecom": [ + { + "system": "phone", + "value": "2328", + "use": "work" + }, + { + "system": "fax", + "value": "2329", + "use": "work" + }, + { + "system": "email", + "value": "second wing admissions" + }, + { + "system": "url", + "value": "http://sampleorg.com/southwing", + "use": "work" + } + ], + "address": { + "use": "work", + "line": [ + "Galapagosweg 91, Building A" + ], + "city": "Den Burg", + "postalCode": "9105 PZ", + "country": "NLD" + }, + "physicalType": { + "coding": [ + { + "system": "http://hl7.org/fhir/location-physical-type", + "code": "wi", + "display": "Wing" + } + ] + }, + "position": { + "longitude": -83.6945691, + "latitude": 42.25475478, + "altitude": 0 + }, + "managingOrganization": { + "reference": "Organization/f001" + }, + "endpoint": [ + { + "reference": "Endpoint/example" + } + ] +} \ No newline at end of file diff --git a/data/SampleData/Stu3/Measure.json b/data/SampleData/Stu3/Measure.json new file mode 100644 index 000000000..61207918d --- /dev/null +++ b/data/SampleData/Stu3/Measure.json @@ -0,0 +1,218 @@ +{ + "resourceType": "Measure", + "id": "measure-cms146-example", + "text": { + "status": "additional", + "div": "
Id:
Measure/measure-cms146-example

Identifier:
system: http://hl7.org/fhir/cqi/ecqm/Measure/Identifier/cms
value: 146
Identifier:
system: http://hl7.org/fhir/cqi/ecqm/Measure/Identifier/nqf
value: 0002

Title:
Appropriate Testing for Children with Pharyngitis

Status:
active

Description:
Percentage of children 2-18 years of age who were diagnosed with pharyngitis, ordered an antibiotic and received a group A streptococcus (strep) test for the episode.

Purpose:
The Infectious Diseases Society of America (IDSA) "recommends swabbing the throat and testing for GAS pharyngitis by rapid antigen detection test (RADT) and/or culture because the clinical features alone do not reliably discriminate between GAS and viral pharyngitis except when overt viral features like rhinorrhea, cough, oral ulcers, and/or hoarseness are present"

Topic:
system: http://hl7.org/fhir/c80-doc-typecodes
code: 57024-2

Library:
reference: Library/library-cms146-example

Scoring:
proportion

Type:
process

Group:
Identifier:
value: CMS146-group-1
Population:

type:initial-population

Identifier:
value: initial-population-identifier

criteria: CMS146.InInitialPopulation

Population:

type:numerator

Identifier:
value: numerator-identifier

criteria: CMS146.InNumerator

Population:

type:denominator

Identifier:
value: denominator-identifier

criteria: CMS146.InDenominator

Population:

type:denominator-exclusion

Identifier:
value: denominator-exclusions-identifier

criteria: CMS146.InDenominatorExclusions

Stratifier:

Identifier:
value: stratifier-ages-up-to-9

criteria: CMS146.AgesUpToNine

Stratifier:

Identifier:
value: stratifier-ages-10-plus

criteria: CMS146.AgesTenPlus

Stratifier:

Identifier:
value: stratifier-ages-up-to-9

path: Patient.gender

Supplemental Data:

Identifier:
value: supplemental-data-gender

path: Patient.gender

Supplemental Data:

Identifier:
value: supplemental-data-deceased

path: deceasedBoolean

" + }, + "url": "http://hl7.org/fhir/Measure/measure-cms146-example", + "identifier": [ + { + "use": "official", + "system": "http://hl7.org/fhir/cqi/ecqm/Measure/Identifier/cms", + "value": "146" + }, + { + "use": "official", + "system": "http://hl7.org/fhir/cqi/ecqm/Measure/Identifier/nqf", + "value": "0002" + } + ], + "version": "1.0.0", + "name": "CMS146", + "title": "Appropriate Testing for Children with Pharyngitis", + "status": "active", + "experimental": true, + "date": "2017-03-10", + "publisher": "National Committee for Quality Assurance", + "description": "Percentage of children 3-18 years of age who were diagnosed with pharyngitis, ordered an antibiotic and received a group A streptococcus (strep) test for the episode.", + "purpose": "Measure of children with a group A streptococcus test in the 7-day period from 3 days prior through 3 days after the diagnosis of pharyngitis", + "approvalDate": "2016-01-01", + "lastReviewDate": "2016-09-01", + "effectivePeriod": { + "start": "2017-01-01", + "end": "2017-12-31" + }, + "useContext": [ + { + "code": { + "code": "program" + }, + "valueCodeableConcept": { + "text": "eligibile-provider" + } + } + ], + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "topic": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/c80-doc-typecodes", + "code": "57024-2" + } + ] + } + ], + "contributor": [ + { + "type": "author", + "name": "National Committee for Quality Assurance" + } + ], + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.ncqa.org/" + } + ] + } + ], + "copyright": "Physician Performance Measure (Measures) and related data specifications were developed by the National Committee for Quality Assurance (NCQA). The Measures are copyrighted but can be reproduced and distributed, without modification, for noncommercial purposes (eg, use by healthcare providers in connection with their practices). Commercial use is defined as the sale, licensing, or distribution of the Measures for commercial gain, or incorporation of the Measures into a product or service that is sold, licensed or distributed for commercial gain. Commercial use of the Measures requires a license agreement between the user and NCQA. NCQA is not responsible for any use of the Measures. (c) 2008-2016 National Committee for Quality Assurance. All Rights Reserved. Limited proprietary coding is contained in the Measure specifications for user convenience. Users of proprietary code sets should obtain all necessary licenses from the owners of the code sets. NCQA disclaims all liability for use or accuracy of any CPT or other codes contained in the specifications. CPT(R) contained in the Measure specifications is copyright 2004-2015 American Medical Association. LOINC(R) copyright 2004-2015 Regenstrief Institute, Inc. This material contains SNOMED Clinical Terms(R) (SNOMED CT[R]) copyright 2004-2015 International Health Terminology Standards Development Organisation. ICD-10 copyright 2015 World Health Organization. All Rights Reserved.", + "relatedArtifact": [ + { + "type": "documentation", + "citation": "Linder, J.A., D.W. Bates, G.M. Lee, J.A. Finkelstein. 2005. \"Antibiotic treatment of children with sore throat.\" JAMA 294(18):2315-2322. " + }, + { + "type": "documentation", + "citation": "Infectious Diseases Society of America. 2012. \"Clinical Practice Guideline for the Diagnosis and Management of Group A Streptococcal Pharyngitis: 2012 Update.\" " + }, + { + "type": "documentation", + "citation": "Roberts, R.R., B. Hota, I. Ahmad, et al. \"Hospital and Societal Costs of Antimicrobial-Resistant Infections in a Chicago Teaching Hospital: Implications for Antibiotic Stewardship.\" Clin Infect Dis. Oct 2009; 49(8):1175-84." + } + ], + "library": [ + { + "reference": "Library/library-cms146-example" + } + ], + "disclaimer": "These performance Measures are not clinical guidelines and do not establish a standard of medical care, and have not been tested for all potential applications. THE MEASURES AND SPECIFICATIONS ARE PROVIDED \"AS IS\" WITHOUT WARRANTY OF ANY KIND. Due to technical limitations, registered trademarks are indicated by (R) or [R] and unregistered trademarks are indicated by (TM) or [TM].", + "scoring": { + "coding": [ + { + "code": "proportion" + } + ] + }, + "type": [ + { + "coding": [ + { + "code": "process" + } + ] + } + ], + "rationale": "Group A streptococcal bacterial infections and other infections that cause pharyngitis (which are most often viral) often produce the same signs and symptoms (IDSA 2002). The American Academy of Pediatrics, the Centers for Disease Control and Prevention, and the Infectious Diseases Society of America all recommend a diagnostic test for Strep A to improve diagnostic accuracy and avoid unnecessary antibiotic treatment (Linder et al. 2005). Estimated economic costs of pediatric streptococcal pharyngitis in the United States range from $224 million to $539 million per year, including indirect costs related to parental work losses. At a higher level, the economic cost of antibiotic resistance vary but have extended as high as $20 billion in excess direct healthcare costs, with additional costs to society for lost productivity as high as $35 billion a year (2008 dollars) (Roberts et al. 2009).", + "clinicalRecommendationStatement": "The Infectious Diseases Society of America (IDSA) \"recommends swabbing the throat and testing for GAS pharyngitis by rapid antigen detection test (RADT) and/or culture because the clinical features alone do not reliably discriminate between GAS and viral pharyngitis except when overt viral features like rhinorrhea, cough, oral ulcers, and/or hoarseness are present\"", + "improvementNotation": "Higher score indicates better quality", + "guidance": "This is an episode of care measure that examines all eligible episodes for the patient during the measurement period. If the patient has more than one episode, include all episodes in the measure", + "group": [ + { + "identifier": { + "value": "CMS146-group-1" + }, + "population": [ + { + "identifier": { + "value": "initial-population-identifier" + }, + "code": { + "coding": [ + { + "code": "initial-population" + } + ] + }, + "criteria": "CMS146.InInitialPopulation" + }, + { + "identifier": { + "value": "numerator-identifier" + }, + "code": { + "coding": [ + { + "code": "numerator" + } + ] + }, + "criteria": "CMS146.InNumerator" + }, + { + "identifier": { + "value": "denominator-identifier" + }, + "code": { + "coding": [ + { + "code": "denominator" + } + ] + }, + "criteria": "CMS146.InDenominator" + }, + { + "identifier": { + "value": "denominator-exclusions-identifier" + }, + "code": { + "coding": [ + { + "code": "denominator-exclusion" + } + ] + }, + "criteria": "CMS146.InDenominatorExclusions" + } + ], + "stratifier": [ + { + "identifier": { + "value": "stratifier-ages-up-to-9" + }, + "criteria": "CMS146.AgesUpToNine" + }, + { + "identifier": { + "value": "stratifier-ages-10-plus" + }, + "criteria": "CMS146.AgesTenPlus" + }, + { + "identifier": { + "value": "stratifier-ages-up-to-9" + }, + "path": "Patient.gender" + } + ] + } + ], + "supplementalData": [ + { + "identifier": { + "value": "supplemental-data-gender" + }, + "path": "Patient.gender" + }, + { + "identifier": { + "value": "supplemental-data-deceased" + }, + "path": "deceasedBoolean" + } + ] +} \ No newline at end of file diff --git a/data/SampleData/Stu3/MeasureReport.json b/data/SampleData/Stu3/MeasureReport.json new file mode 100644 index 000000000..e81ad57dc --- /dev/null +++ b/data/SampleData/Stu3/MeasureReport.json @@ -0,0 +1,455 @@ +{ + "resourceType": "MeasureReport", + "id": "measurereport-cms146-cat3-example", + "text": { + "status": "generated", + "div": "
\n \n \n \n \n \n \n \n
\n Id: \n
MeasureReport/measurereport-cms146-cat3-example
\n

\n \n \n \n \n \n \n \n
\n Measure: \n
\n \n reference: \n Measure/CMS146\n
\n
\n
\n

\n \n \n \n \n \n \n \n
\n Type: \n
summary
\n

\n \n \n \n \n \n \n \n \n \n \n
\n Period: \n
\n start: \n Wed Jan 01 00:00:00 MST 2014\n
\n end: \n Mon Mar 31 00:00:00 MDT 2014\n
\n

\n \n \n \n \n \n \n \n
\n Status: \n
complete
\n

\n \n \n \n \n \n \n \n
\n Reporting Organization: \n
\n

\n \n name: \n Good Health Hospital\n \n

\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n Group:\n
\n

\n value: \n CMS146-group-1\n

\n
\n Population:\n

\n type: \n initial-population\n

\n

\n count: \n 500\n

\n
\n Population:\n

\n type: \n numerator\n

\n

\n count: \n 200\n

\n
\n Population:\n

\n type: \n denominator\n

\n

\n count: \n 500\n

\n
\n Population:\n

\n type: \n denominator-exclusion\n

\n

\n count: \n 100\n

\n
\n Stratifier:\n

\n \n value: \n CMS146-group-1\n \n

\n

\n Group:\n
\n \n value: \n \n true\n
\n \n \n Population:\n \n
\n \n type: \n \n initial-population\n \n
\n \n count: \n \n 250\n
\n
\n
\n \n \n Population:\n \n
\n \n type: \n \n numerator\n \n
\n \n count: \n \n 100\n
\n
\n
\n \n \n Population:\n \n
\n \n type: \n \n denominator\n \n
\n \n count: \n \n 250\n
\n
\n
\n \n \n Population:\n \n
\n \n type: \n \n denominator-exclusion\n \n
\n \n count: \n \n 50\n
\n
\n
\n

\n

\n Group:\n
\n \n value: \n \n false\n
\n \n \n Population:\n \n
\n \n type: \n \n initial-population\n \n
\n \n count: \n \n 250\n
\n
\n
\n \n \n Population:\n \n
\n \n type: \n \n numerator\n \n
\n \n count: \n \n 100\n
\n
\n
\n \n \n Population:\n \n
\n \n type: \n \n denominator\n \n
\n \n count: \n \n 250\n
\n
\n
\n \n \n Population:\n \n
\n \n type: \n \n denominator-exclusion\n \n
\n \n count: \n \n 50\n
\n
\n
\n

\n
\n Stratifier:\n

\n \n value: \n CMS146-group-1\n \n

\n

\n Group:\n
\n \n value: \n \n true\n
\n \n \n Population:\n \n
\n \n type: \n \n initial-population\n \n
\n \n count: \n \n 250\n
\n
\n
\n \n \n Population:\n \n
\n \n type: \n \n numerator\n \n
\n \n count: \n \n 100\n
\n
\n
\n \n \n Population:\n \n
\n \n type: \n \n denominator\n \n
\n \n count: \n \n 250\n
\n
\n
\n \n \n Population:\n \n
\n \n type: \n \n denominator-exclusion\n \n
\n \n count: \n \n 50\n
\n
\n
\n

\n

\n Group:\n
\n \n value: \n \n false\n
\n \n \n Population:\n \n
\n \n type: \n \n initial-population\n \n
\n \n count: \n \n 250\n
\n
\n
\n \n \n Population:\n \n
\n \n type: \n \n numerator\n \n
\n \n count: \n \n 100\n
\n
\n
\n \n \n Population:\n \n
\n \n type: \n \n denominator\n \n
\n \n count: \n \n 250\n
\n
\n
\n \n \n Population:\n \n
\n \n type: \n \n denominator-exclusion\n \n
\n \n count: \n \n 50\n
\n
\n
\n

\n
\n Stratifier:\n

\n \n value: \n CMS146-group-1\n \n

\n

\n Group:\n
\n \n value: \n \n male\n
\n \n \n Population:\n \n
\n \n type: \n \n initial-population\n \n
\n \n count: \n \n 250\n
\n
\n
\n \n \n Population:\n \n
\n \n type: \n \n numerator\n \n
\n \n count: \n \n 100\n
\n
\n
\n \n \n Population:\n \n
\n \n type: \n \n denominator\n \n
\n \n count: \n \n 250\n
\n
\n
\n \n \n Population:\n \n
\n \n type: \n \n denominator-exclusion\n \n
\n \n count: \n \n 50\n
\n
\n
\n

\n

\n Group:\n
\n \n value: \n \n female\n
\n \n \n Population:\n \n
\n \n type: \n \n initial-population\n \n
\n \n count: \n \n 250\n
\n
\n
\n \n \n Population:\n \n
\n \n type: \n \n numerator\n \n
\n \n count: \n \n 100\n
\n
\n
\n \n \n Population:\n \n
\n \n type: \n \n denominator\n \n
\n \n count: \n \n 250\n
\n
\n
\n \n \n Population:\n \n
\n \n type: \n \n denominator-exclusion\n \n
\n \n count: \n \n 50\n
\n
\n
\n

\n

\n Group:\n
\n \n value: \n \n other\n
\n \n \n Population:\n \n
\n \n type: \n \n initial-population\n \n
\n \n count: \n \n 0\n
\n
\n
\n \n \n Population:\n \n
\n \n type: \n \n numerator\n \n
\n \n count: \n \n 0\n
\n
\n
\n \n \n Population:\n \n
\n \n type: \n \n denominator\n \n
\n \n count: \n \n 0\n
\n
\n
\n \n \n Population:\n \n
\n \n type: \n \n denominator-exclusion\n \n
\n \n count: \n \n 0\n
\n
\n
\n

\n

\n Group:\n
\n \n value: \n \n unknown\n
\n \n \n Population:\n \n
\n \n type: \n \n initial-population\n \n
\n \n count: \n \n 0\n
\n
\n
\n \n \n Population:\n \n
\n \n type: \n \n numerator\n \n
\n \n count: \n \n 0\n
\n
\n
\n \n \n Population:\n \n
\n \n type: \n \n denominator\n \n
\n \n count: \n \n 0\n
\n
\n
\n \n \n Population:\n \n
\n \n type: \n \n denominator-exclusion\n \n
\n \n count: \n \n 0\n
\n
\n
\n

\n
\n Supplemental:\n

\n \n value: \n supplemental-data-gender\n \n

\n

\n Group:\n
\n \n value: \n \n male\n \n
\n \n count: \n \n 250\n
\n

\n

\n Group:\n
\n \n value: \n \n female\n \n
\n \n count: \n \n 250\n
\n

\n

\n Group:\n
\n \n value: \n \n other\n \n
\n \n count: \n \n 0\n
\n

\n

\n Group:\n
\n \n value: \n \n unknown\n \n
\n \n count: \n \n 0\n
\n

\n
\n Supplemental:\n

\n \n value: \n supplemental-data-deceased\n \n

\n

\n Group:\n
\n \n value: \n \n true\n \n
\n \n count: \n \n 0\n
\n

\n

\n Group:\n
\n \n value: \n \n false\n \n
\n \n count: \n \n 500\n
\n

\n
\n

" + }, + "identifier": { + "value": "measurereport-cms146-cat3-example-2017-03-13" + }, + "status": "complete", + "type": "patient-list", + "measure": { + "reference": "Measure/CMS146" + }, + "reportingOrganization": { + "reference": "#reporter" + }, + "period": { + "start": "2014-01-01", + "end": "2014-03-31" + }, + "group": [ + { + "identifier": { + "value": "CMS146-group-1" + }, + "population": [ + { + "code": { + "coding": [ + { + "code": "initial-population" + } + ] + }, + "count": 500 + }, + { + "code": { + "coding": [ + { + "code": "numerator" + } + ] + }, + "count": 200 + }, + { + "code": { + "coding": [ + { + "code": "denominator" + } + ] + }, + "count": 500 + }, + { + "code": { + "coding": [ + { + "code": "denominator-exclusion" + } + ] + }, + "count": 100 + } + ], + "stratifier": [ + { + "identifier": { + "value": "stratifier-ages-up-to-9" + }, + "stratum": [ + { + "value": "true", + "population": [ + { + "code": { + "coding": [ + { + "code": "initial-population" + } + ] + }, + "count": 250 + }, + { + "code": { + "coding": [ + { + "code": "numerator" + } + ] + }, + "count": 100 + }, + { + "code": { + "coding": [ + { + "code": "denominator" + } + ] + }, + "count": 250 + }, + { + "code": { + "coding": [ + { + "code": "denominator-exclusion" + } + ] + }, + "count": 50 + } + ] + }, + { + "value": "false", + "population": [ + { + "code": { + "coding": [ + { + "code": "initial-population" + } + ] + }, + "count": 250 + }, + { + "code": { + "coding": [ + { + "code": "numerator" + } + ] + }, + "count": 100 + }, + { + "code": { + "coding": [ + { + "code": "denominator" + } + ] + }, + "count": 250 + }, + { + "code": { + "coding": [ + { + "code": "denominator-exclusion" + } + ] + }, + "count": 50 + } + ] + } + ] + }, + { + "identifier": { + "value": "stratifier-ages-10-plus" + }, + "stratum": [ + { + "value": "true", + "population": [ + { + "code": { + "coding": [ + { + "code": "initial-population" + } + ] + }, + "count": 250 + }, + { + "code": { + "coding": [ + { + "code": "numerator" + } + ] + }, + "count": 100 + }, + { + "code": { + "coding": [ + { + "code": "denominator" + } + ] + }, + "count": 250 + }, + { + "code": { + "coding": [ + { + "code": "denominator-exclusion" + } + ] + }, + "count": 50 + } + ] + }, + { + "value": "false", + "population": [ + { + "code": { + "coding": [ + { + "code": "initial-population" + } + ] + }, + "count": 250 + }, + { + "code": { + "coding": [ + { + "code": "numerator" + } + ] + }, + "count": 100 + }, + { + "code": { + "coding": [ + { + "code": "denominator" + } + ] + }, + "count": 250 + }, + { + "code": { + "coding": [ + { + "code": "denominator-exclusion" + } + ] + }, + "count": 50 + } + ] + } + ] + }, + { + "identifier": { + "value": "stratifier-gender" + }, + "stratum": [ + { + "value": "male", + "population": [ + { + "code": { + "coding": [ + { + "code": "initial-population" + } + ] + }, + "count": 250 + }, + { + "code": { + "coding": [ + { + "code": "numerator" + } + ] + }, + "count": 100 + }, + { + "code": { + "coding": [ + { + "code": "denominator" + } + ] + }, + "count": 250 + }, + { + "code": { + "coding": [ + { + "code": "denominator-exclusion" + } + ] + }, + "count": 50 + } + ] + }, + { + "value": "female", + "population": [ + { + "code": { + "coding": [ + { + "code": "initial-population" + } + ] + }, + "count": 250 + }, + { + "code": { + "coding": [ + { + "code": "numerator" + } + ] + }, + "count": 100 + }, + { + "code": { + "coding": [ + { + "code": "denominator" + } + ] + }, + "count": 250 + }, + { + "code": { + "coding": [ + { + "code": "denominator-exclusion" + } + ] + }, + "count": 50 + } + ] + }, + { + "value": "other", + "population": [ + { + "code": { + "coding": [ + { + "code": "initial-population" + } + ] + }, + "count": 0 + }, + { + "code": { + "coding": [ + { + "code": "numerator" + } + ] + }, + "count": 0 + }, + { + "code": { + "coding": [ + { + "code": "denominator" + } + ] + }, + "count": 0 + }, + { + "code": { + "coding": [ + { + "code": "denominator-exclusion" + } + ] + }, + "count": 0 + } + ] + }, + { + "value": "unknown", + "population": [ + { + "code": { + "coding": [ + { + "code": "initial-population" + } + ] + }, + "count": 0 + }, + { + "code": { + "coding": [ + { + "code": "numerator" + } + ] + }, + "count": 0 + }, + { + "code": { + "coding": [ + { + "code": "denominator" + } + ] + }, + "count": 0 + }, + { + "code": { + "coding": [ + { + "code": "denominator-exclusion" + } + ] + }, + "count": 0 + } + ] + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/data/SampleData/Stu3/Media.json b/data/SampleData/Stu3/Media.json new file mode 100644 index 000000000..ff48e4086 --- /dev/null +++ b/data/SampleData/Stu3/Media.json @@ -0,0 +1,53 @@ +{ + "resourceType": "Media", + "id": "xray", + "text": { + "status": "generated", + "div": "
Xray of left hand for Patient Henry Levin (MRN 12345) 2016-03-15
" + }, + "basedOn": [ + { + "identifier": { + "system": "http://someclinic.org/fhir/NamingSystem/imaging-orders", + "value": "111222", + "assigner": { + "display": "XYZ Medical Clinic" + } + } + } + ], + "type": "photo", + "subtype": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "39714003", + "display": "Skeletal X-ray of wrist and hand" + } + ] + }, + "subject": { + "reference": "Patient/example" + }, + "context": { + "reference": "Encounter/example" + }, + "occurrenceDateTime": "2016-03-15", + "bodySite": { + "coding": [ + { + "system": "http://snomed.info.sct", + "code": "85151006", + "display": "Structure of left hand (body structure)" + } + ] + }, + "height": 432, + "width": 640, + "content": { + "id": "a1", + "contentType": "image/jpeg", + "url": "http://someimagingcenter.org/fhir/Binary/A12345", + "creation": "2016-03-15" + } +} \ No newline at end of file diff --git a/data/SampleData/Stu3/Medication.json b/data/SampleData/Stu3/Medication.json new file mode 100644 index 000000000..2388bf2ce --- /dev/null +++ b/data/SampleData/Stu3/Medication.json @@ -0,0 +1,97 @@ +{ + "resourceType": "Medication", + "id": "med0303", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: med0303

contained:

code: Alemtuzumab 10mg/ml (Lemtrada) (Details : {RxNorm code '1594660' = '1594660', given as 'Alemtuzumab 10mg/ml (Lemtrada)'})

isBrand: true

manufacturer: id: org6; name: Genzyme

form: Injection solution (qualifier vallue) (Details : {SNOMED CT code '385219001' = 'Injection solution', given as 'Injection solution (qualifier vallue)'})

Ingredients

-Item[x]Amount
*Alemtuzamab (substance) (Details : {SNOMED CT code '129472003' = 'Alemtuzumab', given as 'Alemtuzamab (substance)'})12 mg (Details: UCUM code mg = 'mg')/1.2 mL (Details: UCUM code mL = 'mL')

package

container: Vial (Details : {SNOMED CT code '415818006' = 'Vial', given as 'Vial'})

Contents

-Item[x]Amount
*Alemtuzumab 30mg/3mL infusion concentrate (product) (Details : {SNOMED CT code '408596005' = 'Alemtuzumab 30mg/3mL infusion concentrate', given as 'Alemtuzumab 30mg/3mL infusion concentrate (product)'})3 mL (Details: UCUM code mL = 'mL')

Batches

-LotNumberExpirationDate
*949478822/05/2017
" + }, + "contained": [ + { + "resourceType": "Organization", + "id": "org6", + "name": "Genzyme" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "1594660", + "display": "Alemtuzumab 10mg/ml (Lemtrada)" + } + ] + }, + "isBrand": true, + "manufacturer": { + "reference": "#org6" + }, + "form": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "385219001", + "display": "Injection solution (qualifier vallue)" + } + ] + }, + "ingredient": [ + { + "itemCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "129472003", + "display": "Alemtuzamab (substance)" + } + ] + }, + "amount": { + "numerator": { + "value": 12, + "system": "http://unitsofmeasure.org", + "code": "mg" + }, + "denominator": { + "value": 1.2, + "system": "http://unitsofmeasure.org", + "code": "mL" + } + } + } + ], + "package": { + "container": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "415818006", + "display": "Vial" + } + ] + }, + "content": [ + { + "itemCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "408596005", + "display": "Alemtuzumab 30mg/3mL infusion concentrate (product)" + } + ] + }, + "amount": { + "value": 3, + "system": "http://unitsofmeasure.org", + "code": "mL" + } + } + ], + "batch": [ + { + "lotNumber": "9494788", + "expirationDate": "2017-05-22" + } + ] + } +} \ No newline at end of file diff --git a/data/SampleData/Stu3/MedicationAdministration.json b/data/SampleData/Stu3/MedicationAdministration.json new file mode 100644 index 000000000..dd11462ca --- /dev/null +++ b/data/SampleData/Stu3/MedicationAdministration.json @@ -0,0 +1,72 @@ +{ + "resourceType": "MedicationAdministration", + "id": "medadmin0301", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: medadmin0301

contained: ,

status: in-progress

medication: id: med0301; Vancomycin Hydrochloride (VANCOMYCIN HYDROCHLORIDE) (Details : {http://hl7.org/fhir/sid/ndc code '0069-2587-10' = '0069-2587-10', given as 'Vancomycin Hydrochloride (VANCOMYCIN HYDROCHLORIDE)'})

subject: Donald Duck

context: encounter who leads to this prescription

effective: 15/01/2015 2:30:00 PM --> (ongoing)

Performers

-Actor
*Patrick Pump

reasonCode: Given as Ordered (Details : {http://hl7.org/fhir/reason-medication-given code 'b' = 'Given as Ordered', given as 'Given as Ordered'})

prescription: MedicationRequest/medrx0318

Dosages

-TextRouteMethodDose
*500mg IV q6h x 3 daysIntravenous route (qualifier value) (Details : {SNOMED CT code '47625008' = 'Intravenous route', given as 'Intravenous route (qualifier value)'})IV Push (Details )500 mg (Details: UCUM code mg = 'mg')

eventHistory: Author's Signature. Generated Summary: id: signature; recorded: 01/02/2017 5:23:07 PM;

" + }, + "status": "in-progress", + "medicationReference": { + "reference": "#med0301" + }, + "subject": { + "reference": "Patient/pat1", + "display": "Donald Duck" + }, + "context": { + "reference": "Encounter/f001", + "display": "encounter who leads to this prescription" + }, + "effectivePeriod": { + "start": "2015-01-15T14:30:00+01:00" + }, + "performer": [ + { + "actor": { + "reference": "Practitioner/f007", + "display": "Patrick Pump" + } + } + ], + "reasonCode": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/reason-medication-given", + "code": "b", + "display": "Given as Ordered" + } + ] + } + ], + "prescription": { + "reference": "MedicationRequest/medrx0318" + }, + "dosage": { + "text": "500mg IV q6h x 3 days", + "route": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "47625008", + "display": "Intravenous route (qualifier value)" + } + ] + }, + "method": { + "text": "IV Push" + }, + "dose": { + "value": 500, + "unit": "mg", + "system": "http://unitsofmeasure.org", + "code": "mg" + } + }, + "eventHistory": [ + { + "reference": "#signature", + "display": "Author's Signature" + } + ] +} \ No newline at end of file diff --git a/data/SampleData/Stu3/MedicationDispense.json b/data/SampleData/Stu3/MedicationDispense.json new file mode 100644 index 000000000..1b0e3c322 --- /dev/null +++ b/data/SampleData/Stu3/MedicationDispense.json @@ -0,0 +1,130 @@ +{ + "resourceType": "MedicationDispense", + "id": "meddisp0303", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: meddisp0303

contained:

partOf: Procedure/biopsy

status: on-hold

category: Outpatient (Details : {http://hl7.org/fhir/medication-dispense-category code 'outpatient' = 'Outpatient', given as 'Outpatient'})

medication: id: med0310; Oxycodone Hydrochloride 5mg oral tablet (Roxicodone (Details : {RxNorm code '1049623' = '1049623', given as 'Oxycodone Hydrochloride 5mg oral tablet (Roxicodone'})

subject: Donald Duck

context: Encounter/f001

Performers

-ActorOnBehalfOf
*Practitioner/f006Organization/2.16.840.1.113883.19.5

authorizingPrescription: MedicationRequest/medrx0310

type: Emergency Supply (Details : {http://hl7.org/fhir/v3/ActCode code 'EM' = 'Emergency Supply', given as 'Emergency Supply'})

quantity: 30 TAB (Details: http://hl7.org/fhir/v3/orderableDrugForm code TAB = 'Tablet')

daysSupply: 10 Day (Details: UCUM code d = 'd')

whenPrepared: 15/04/2016 7:14:00 AM

dosageInstruction:

detectedIssue: DetectedIssue/allergy

notDone: true

notDoneReason: DetectedIssue/allergy

" + }, + "partOf": [ + { + "reference": "Procedure/biopsy" + } + ], + "status": "on-hold", + "category": { + "coding": [ + { + "system": "http://hl7.org/fhir/medication-dispense-category", + "code": "outpatient", + "display": "Outpatient" + } + ] + }, + "medicationReference": { + "reference": "#med0310" + }, + "subject": { + "reference": "Patient/pat1", + "display": "Donald Duck" + }, + "context": { + "reference": "Encounter/f001" + }, + "performer": [ + { + "actor": { + "reference": "Practitioner/f006" + }, + "onBehalfOf": { + "reference": "Organization/2.16.840.1.113883.19.5" + } + } + ], + "authorizingPrescription": [ + { + "reference": "MedicationRequest/medrx0310" + } + ], + "type": { + "coding": [ + { + "system": "http://hl7.org/fhir/v3/ActCode", + "code": "EM", + "display": "Emergency Supply" + } + ] + }, + "quantity": { + "value": 30, + "system": "http://hl7.org/fhir/v3/orderableDrugForm", + "code": "TAB" + }, + "daysSupply": { + "value": 10, + "unit": "Day", + "system": "http://unitsofmeasure.org", + "code": "d" + }, + "whenPrepared": "2016-04-15T07:14:00+05:00", + "dosageInstruction": [ + { + "sequence": 1, + "text": "one to two tablets every 4-6 hours as needed for rib pain", + "additionalInstruction": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "418914006", + "display": "Warning. May cause drowsiness. If affected do not drive or operate machinery. Avoid alcoholic drink (qualifier value)" + } + ] + } + ], + "timing": { + "repeat": { + "frequency": 1, + "period": 4, + "periodMax": 6, + "periodUnit": "h" + } + }, + "asNeededCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "297217002", + "display": "Rib Pain (finding)" + } + ] + }, + "route": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "26643006", + "display": "Oral Route" + } + ] + }, + "method": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "421521009", + "display": "Swallow - dosing instruction imperative (qualifier value)" + } + ] + } + } + ], + "detectedIssue": [ + { + "reference": "DetectedIssue/allergy" + } + ], + "notDone": true, + "notDoneReasonReference": { + "reference": "DetectedIssue/allergy" + } +} \ No newline at end of file diff --git a/data/SampleData/Stu3/MedicationRequest.json b/data/SampleData/Stu3/MedicationRequest.json new file mode 100644 index 000000000..c9c284d39 --- /dev/null +++ b/data/SampleData/Stu3/MedicationRequest.json @@ -0,0 +1,185 @@ +{ + "resourceType": "MedicationRequest", + "id": "medrx0302", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: medrx0302

contained:

identifier: 12345689 (OFFICIAL)

status: active

intent: order

medication: id: med0320; Azithromycin 250mg capsule (product) (Details : {SNOMED CT code '324252006' = 'Azithromycin 250mg capsule', given as 'Azithromycin 250mg capsule (product)'})

subject: Donald Duck

context: encounter who leads to this prescription

authoredOn: 15/01/2015

Requesters

-AgentOnBehalfOf
*Patrick PumpOrganization/f002

reasonCode: Traveller's Diarrhea (disorder) (Details : {SNOMED CT code '11840006' = 'Traveler's diarrhea', given as 'Traveller's Diarrhea (disorder)'})

note: Patient told to take with food

dosageInstruction: ,

DispenseRequests

-ValidityPeriodNumberOfRepeatsAllowedQuantityExpectedSupplyDuration
*15/01/2015 --> 15/01/201616 TAB (Details: http://hl7.org/fhir/v3/orderableDrugForm code TAB = 'Tablet')5 days (Details: UCUM code d = 'd')

Substitutions

-AllowedReason
*trueformulary policy (Details : {http://hl7.org/fhir/v3/ActReason code 'FP' = 'formulary policy', given as 'formulary policy'})
" + }, + "contained": [ + { + "resourceType": "Medication", + "id": "med0320", + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "324252006", + "display": "Azithromycin 250mg capsule (product)" + } + ] + } + } + ], + "identifier": [ + { + "use": "official", + "system": "http://www.bmc.nl/portal/prescriptions", + "value": "12345689" + } + ], + "status": "active", + "intent": "order", + "medicationReference": { + "reference": "#med0320" + }, + "subject": { + "reference": "Patient/pat1", + "display": "Donald Duck" + }, + "context": { + "reference": "Encounter/f001", + "display": "encounter who leads to this prescription" + }, + "authoredOn": "2015-01-15", + "requester": { + "agent": { + "reference": "Practitioner/f007", + "display": "Patrick Pump" + }, + "onBehalfOf": { + "reference": "Organization/f002" + } + }, + "reasonCode": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "11840006", + "display": "Traveller's Diarrhea (disorder)" + } + ] + } + ], + "note": [ + { + "text": "Patient told to take with food" + } + ], + "dosageInstruction": [ + { + "sequence": 1, + "text": "Two tablets at once", + "additionalInstruction": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "311504000", + "display": "With or after food" + } + ] + } + ], + "timing": { + "repeat": { + "frequency": 1, + "period": 1, + "periodUnit": "d" + } + }, + "route": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "26643006", + "display": "Oral Route" + } + ] + }, + "method": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "421521009", + "display": "Swallow - dosing instruction imperative (qualifier value)" + } + ] + }, + "doseQuantity": { + "value": 2, + "unit": "TAB", + "system": "http://hl7.org/fhir/v3/orderableDrugForm", + "code": "TAB" + } + }, + { + "sequence": 2, + "text": "One tablet daily for 4 days", + "additionalInstruction": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "311504000", + "display": "With or after food" + } + ] + } + ], + "timing": { + "repeat": { + "frequency": 4, + "period": 1, + "periodUnit": "d" + } + }, + "route": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "26643006", + "display": "Oral Route" + } + ] + }, + "doseQuantity": { + "value": 1, + "unit": "TAB", + "system": "http://hl7.org/fhir/v3/orderableDrugForm", + "code": "TAB" + } + } + ], + "dispenseRequest": { + "validityPeriod": { + "start": "2015-01-15", + "end": "2016-01-15" + }, + "numberOfRepeatsAllowed": 1, + "quantity": { + "value": 6, + "unit": "TAB", + "system": "http://hl7.org/fhir/v3/orderableDrugForm", + "code": "TAB" + }, + "expectedSupplyDuration": { + "value": 5, + "unit": "days", + "system": "http://unitsofmeasure.org", + "code": "d" + } + }, + "substitution": { + "allowed": true, + "reason": { + "coding": [ + { + "system": "http://hl7.org/fhir/v3/ActReason", + "code": "FP", + "display": "formulary policy" + } + ] + } + } +} \ No newline at end of file diff --git a/data/SampleData/Stu3/MedicationStatement.json b/data/SampleData/Stu3/MedicationStatement.json new file mode 100644 index 000000000..ad1518b35 --- /dev/null +++ b/data/SampleData/Stu3/MedicationStatement.json @@ -0,0 +1,110 @@ +{ + "resourceType": "MedicationStatement", + "id": "example001", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example001

contained:

identifier: 12345689 (OFFICIAL)

status: active

category: Inpatient (Details : {http://hl7.org/fhir/medication-statement-category code 'inpatient' = 'Inpatient', given as 'Inpatient'})

medication: id: med0309; Tylenol PM (Details : {http://hl7.org/fhir/sid/ndc code '50580-506-02' = '50580-506-02', given as 'Tylenol PM'}); isBrand; Film-coated tablet (qualifier value) (Details : {SNOMED CT code '385057009' = 'Film-coated tablet', given as 'Film-coated tablet (qualifier value)'})

effective: 23/01/2015

dateAsserted: 22/02/2015

informationSource: Donald Duck

subject: Donald Duck

derivedFrom: MedicationRequest/medrx002

taken: n

reasonCode: Restless Legs (Details : {SNOMED CT code '32914008' = 'Restless legs', given as 'Restless Legs'})

note: Patient indicates they miss the occasional dose

dosage:

" + }, + "identifier": [ + { + "use": "official", + "system": "http://www.bmc.nl/portal/medstatements", + "value": "12345689" + } + ], + "status": "active", + "category": { + "coding": [ + { + "system": "http://hl7.org/fhir/medication-statement-category", + "code": "inpatient", + "display": "Inpatient" + } + ] + }, + "medicationReference": { + "reference": "#med0309" + }, + "effectiveDateTime": "2015-01-23", + "dateAsserted": "2015-02-22", + "informationSource": { + "reference": "Patient/pat1", + "display": "Donald Duck" + }, + "subject": { + "reference": "Patient/pat1", + "display": "Donald Duck" + }, + "derivedFrom": [ + { + "reference": "MedicationRequest/medrx002" + } + ], + "taken": "n", + "reasonCode": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "32914008", + "display": "Restless Legs" + } + ] + } + ], + "note": [ + { + "text": "Patient indicates they miss the occasional dose" + } + ], + "dosage": [ + { + "sequence": 1, + "text": "1-2 tablets once daily at bedtime as needed for restless legs", + "additionalInstruction": [ + { + "text": "Taking at bedtime" + } + ], + "timing": { + "repeat": { + "frequency": 1, + "period": 1, + "periodUnit": "d" + } + }, + "asNeededCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "32914008", + "display": "Restless Legs" + } + ] + }, + "route": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "26643006", + "display": "Oral Route" + } + ] + }, + "doseRange": { + "low": { + "value": 1, + "unit": "TAB", + "system": "http://hl7.org/fhir/v3/orderableDrugForm", + "code": "TAB" + }, + "high": { + "value": 2, + "unit": "TAB", + "system": "http://hl7.org/fhir/v3/orderableDrugForm", + "code": "TAB" + } + } + } + ] +} \ No newline at end of file diff --git a/data/SampleData/Stu3/MessageDefinition.json b/data/SampleData/Stu3/MessageDefinition.json new file mode 100644 index 000000000..75107cde6 --- /dev/null +++ b/data/SampleData/Stu3/MessageDefinition.json @@ -0,0 +1,97 @@ +{ + "resourceType": "MessageDefinition", + "id": "patient-link-notification", + "text": { + "status": "generated", + "div": "
Link Patients Notification
" + }, + "url": "http://hl7.org/fhir/MessageDefinition/patient-link-notification", + "identifier": { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:1.3.6.1.4.1.21367.2005.3.7.9878" + }, + "version": "1", + "name": "PATIENT-LINK-NOTIFICATION", + "title": "Link Patients Notification", + "status": "draft", + "experimental": true, + "date": "2017-02-03", + "publisher": "Health Level Seven, Int'l", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://hl7.org" + } + ] + } + ], + "description": "Notification of two patient records that represent the same individual that require an established linkage.", + "useContext": [ + { + "code": { + "system": "http://hl7.org/fhir/usage-context-type", + "code": "focus" + }, + "valueCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/variant-state", + "code": "positive" + } + ] + } + } + ], + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America (the)" + } + ] + } + ], + "category": "Notification", + "purpose": "Notifies recipient systems that two patients have been 'linked' - meaning they represent the same individual", + "copyright": "� HL7.org 2011+", + "base": { + "reference": "MessageDefinition/example" + }, + "parent": [ + { + "reference": "ActivityDefinition/example" + } + ], + "replaces": [ + { + "reference": "MessageDefinition/example" + } + ], + "event": { + "system": "http://hl7.org/fhir/message-events", + "code": "patient-link" + }, + "focus": [ + { + "code": "Patient", + "profile": { + "reference": "StructureDefinition/example" + }, + "min": 2, + "max": "2" + } + ], + "responseRequired": false, + "allowedResponse": [ + { + "message": { + "reference": "MessageDefinition/patient-link-response" + }, + "situation": "Optional response message that may provide additional information" + } + ] +} \ No newline at end of file diff --git a/data/SampleData/Stu3/MessageHeader.json b/data/SampleData/Stu3/MessageHeader.json new file mode 100644 index 000000000..1a704202d --- /dev/null +++ b/data/SampleData/Stu3/MessageHeader.json @@ -0,0 +1,61 @@ +{ + "resourceType": "MessageHeader", + "id": "1cbdfb97-5859-48a4-8301-d54eab818d68", + "text": { + "status": "generated", + "div": "
\n

Update Person resource for Peter James CHALMERS (Jim), MRN: 12345 (Acme Healthcare)

\n
" + }, + "event": { + "system": "http://hl7.org/fhir/message-events", + "code": "admin-notify" + }, + "destination": [ + { + "name": "Acme Message Gateway", + "target": { + "reference": "Device/example" + }, + "endpoint": "llp:10.11.12.14:5432" + } + ], + "receiver": { + "reference": "http://acme.com/ehr/fhir/Practitioner/2323-33-4" + }, + "sender": { + "reference": "Organization/1" + }, + "timestamp": "2012-01-04T09:10:14Z", + "enterer": { + "reference": "Practitioner/example" + }, + "author": { + "reference": "Practitioner/example" + }, + "source": { + "name": "Acme Central Patient Registry", + "software": "FooBar Patient Manager", + "version": "3.1.45.AABB", + "contact": { + "system": "phone", + "value": "+1 (555) 123 4567" + }, + "endpoint": "llp:10.11.12.13:5432" + }, + "reason": { + "coding": [ + { + "system": "http://hl7.org/fhir/message-reasons-encounter", + "code": "admit" + } + ] + }, + "response": { + "identifier": "5015fe84-8e76-4526-89d8-44b322e8d4fb", + "code": "ok" + }, + "focus": [ + { + "reference": "Patient/example" + } + ] +} \ No newline at end of file diff --git a/data/SampleData/Stu3/NamingSystem.json b/data/SampleData/Stu3/NamingSystem.json new file mode 100644 index 000000000..bab28f618 --- /dev/null +++ b/data/SampleData/Stu3/NamingSystem.json @@ -0,0 +1,62 @@ +{ + "resourceType": "NamingSystem", + "id": "example-id", + "text": { + "status": "generated", + "div": "
\n

\n Australian IHI Number\n

\n \n

oid: 1.2.36.1.2001.1003.0

\n \n

uri: http://ns.electronichealth.net.au/id/hi/ihi/1.0

\n \n
" + }, + "name": "Austalian Healthcare Identifier - Individual", + "status": "active", + "kind": "identifier", + "date": "2015-08-31", + "publisher": "HL7 Australia on behalf of NEHTA", + "contact": [ + { + "name": "HL7 Australia FHIR Team", + "telecom": [ + { + "system": "url", + "value": "http://hl7-australia.wikispaces.com/FHIR+Australia" + } + ] + } + ], + "responsible": "HI Service Operator / NEHTA", + "type": { + "coding": [ + { + "system": "http://hl7.org/fhir/v2/0203", + "code": "NI", + "display": "National unique individual identifier" + } + ], + "text": "IHI" + }, + "description": "Australian HI Identifier as established by relevant regulations etc", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "AU" + } + ] + } + ], + "usage": "Used in Australia for identifying patients", + "uniqueId": [ + { + "type": "oid", + "value": "1.2.36.1.2001.1003.0", + "comment": "This value is used in Australian CDA documents" + }, + { + "type": "uri", + "value": "http://ns.electronichealth.net.au/id/hi/ihi/1.0", + "preferred": true, + "period": { + "start": "2015-08-21" + } + } + ] +} \ No newline at end of file diff --git a/data/SampleData/Stu3/NutritionOrder.json b/data/SampleData/Stu3/NutritionOrder.json new file mode 100644 index 000000000..bcc97ce26 --- /dev/null +++ b/data/SampleData/Stu3/NutritionOrder.json @@ -0,0 +1,93 @@ +{ + "resourceType": "NutritionOrder", + "id": "infantenteral", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: infantenteral

identifier: 123

status: active

patient: Peter Chalmers

encounter: Inpatient

dateTime: 17/09/2014

orderer: Dr Adam Careful

enteralFormula

baseFormulaType: infant formula + iron (Details : {SNOMED CT code '412414007' = 'Infant formula + iron', given as 'infant formula + iron'})

baseFormulaProductName: Acme Infant Formula + Iron

additiveType: Carbohydrate (Details : {http://hl7.org/fhir/entformula-additive code 'carbohydrate' = 'Carbohydrate', given as 'Carbohydrate'})

additiveProductName: Acme High Carbohydrate Additive

caloricDensity: 20 calories per ounce (Details: UCUM code cal/[foz_us] = 'cal/foz_us')

routeofAdministration: Swallow, oral (Details : {http://hl7.org/fhir/v3/RouteOfAdministration code 'PO' = 'Swallow, oral', given as 'Swallow, oral'})

Administrations

-ScheduleQuantity
*Starting 17/09/2014, Do Once per 3 hours4 ounces (Details: UCUM code [foz_us] = 'foz_us')

maxVolumeToDeliver: 32 ounces (Details: UCUM code [foz_us] = 'foz_us')

administrationInstruction: Add high calorie high carbohydrate additive to increase cal/oz from 24 cal/oz to 27 cal/oz.

" + }, + "identifier": [ + { + "system": "http://www.acme.org/nutritionorders", + "value": "123" + } + ], + "status": "active", + "patient": { + "reference": "Patient/example", + "display": "Peter Chalmers" + }, + "encounter": { + "reference": "Encounter/example", + "display": "Inpatient" + }, + "dateTime": "2014-09-17", + "orderer": { + "reference": "Practitioner/example", + "display": "Dr Adam Careful" + }, + "enteralFormula": { + "baseFormulaType": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "412414007", + "display": "infant formula + iron" + } + ] + }, + "baseFormulaProductName": "Acme Infant Formula + Iron", + "additiveType": { + "coding": [ + { + "system": "http://hl7.org/fhir/entformula-additive", + "code": "carbohydrate", + "display": "Carbohydrate" + } + ] + }, + "additiveProductName": "Acme High Carbohydrate Additive", + "caloricDensity": { + "value": 20, + "unit": "calories per ounce", + "system": "http://unitsofmeasure.org", + "code": "cal/[foz_us]" + }, + "routeofAdministration": { + "coding": [ + { + "system": "http://hl7.org/fhir/v3/RouteOfAdministration", + "code": "PO", + "display": "Swallow, oral", + "userSelected": true + } + ] + }, + "administration": [ + { + "schedule": { + "repeat": { + "boundsPeriod": { + "start": "2014-09-17" + }, + "frequency": 1, + "period": 3, + "periodUnit": "h" + } + }, + "quantity": { + "value": 4, + "unit": "ounces", + "system": "http://unitsofmeasure.org", + "code": "[foz_us]" + } + } + ], + "maxVolumeToDeliver": { + "value": 32, + "unit": "ounces", + "system": "http://unitsofmeasure.org", + "code": "[foz_us]" + }, + "administrationInstruction": "Add high calorie high carbohydrate additive to increase cal/oz from 24 cal/oz to 27 cal/oz." + } +} \ No newline at end of file diff --git a/data/SampleData/Stu3/Organization.json b/data/SampleData/Stu3/Organization.json new file mode 100644 index 000000000..8a3dacf8f --- /dev/null +++ b/data/SampleData/Stu3/Organization.json @@ -0,0 +1,71 @@ +{ + "resourceType": "Organization", + "id": "f003", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: f003

active: true

type: Hospital Department (Details : {http://hl7.org/fhir/organization-type code 'dept' = 'Hospital Department', given as 'Hospital Department'})

name: Burgers UMC Ear,Nose,Throat unit

telecom: ph: 022-655 6780

address: West Wing, floor 5

partOf: Organization/f001

Contacts

-PurposeNameTelecomAddress
*Administrative (Details : {http://hl7.org/fhir/contactentity-type code 'ADMIN' = 'Administrative)mr. F. de Hondph: 022-655 7654West Wing, floor 5
" + }, + "active": true, + "type": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/organization-type", + "code": "dept", + "display": "Hospital Department" + } + ] + } + ], + "name": "Burgers UMC Ear,Nose,Throat unit", + "telecom": [ + { + "system": "phone", + "value": "022-655 6780" + } + ], + "address": [ + { + "line": [ + "West Wing, floor 5" + ] + } + ], + "partOf": { + "reference": "Organization/f001" + }, + "contact": [ + { + "purpose": { + "coding": [ + { + "system": "http://hl7.org/fhir/contactentity-type", + "code": "ADMIN" + } + ] + }, + "name": { + "text": "mr. F. de Hond" + }, + "telecom": [ + { + "system": "phone", + "value": "022-655 7654" + }, + { + "system": "email", + "value": "KNO@burgersumc.nl" + }, + { + "system": "fax", + "value": "022-655 0998" + } + ], + "address": { + "line": [ + "West Wing, floor 5" + ] + } + } + ] +} \ No newline at end of file diff --git a/data/SampleData/Stu3/PaymentNotice.json b/data/SampleData/Stu3/PaymentNotice.json new file mode 100644 index 000000000..7422b7781 --- /dev/null +++ b/data/SampleData/Stu3/PaymentNotice.json @@ -0,0 +1,46 @@ +{ + "resourceType": "PaymentNotice", + "id": "77654", + "text": { + "status": "generated", + "div": "
A human-readable rendering of the PaymentNotice
" + }, + "identifier": [ + { + "system": "http://benefitsinc.com/paymentnotice", + "value": "776543" + } + ], + "status": "active", + "request": { + "reference": "http://benefitsinc.com/fhir/claim/12345" + }, + "response": { + "reference": "http://benefitsinc.com/fhir/claimresponse/CR12345" + }, + "statusDate": "2014-08-15", + "created": "2014-08-16", + "target": { + "identifier": { + "system": "http://regulators.gov", + "value": "AB123" + } + }, + "provider": { + "identifier": { + "system": "http://npid.org/provider", + "value": "PR957857" + } + }, + "organization": { + "reference": "Organization/1" + }, + "paymentStatus": { + "coding": [ + { + "system": "http://hl7.org/fhir/paymentstatus", + "code": "paid" + } + ] + } +} \ No newline at end of file diff --git a/data/SampleData/Stu3/PaymentReconciliation.json b/data/SampleData/Stu3/PaymentReconciliation.json new file mode 100644 index 000000000..43f7cffe4 --- /dev/null +++ b/data/SampleData/Stu3/PaymentReconciliation.json @@ -0,0 +1,138 @@ +{ + "resourceType": "PaymentReconciliation", + "id": "ER2500", + "text": { + "status": "generated", + "div": "
A human-readable rendering of the PaymentReconciliation
" + }, + "identifier": [ + { + "system": "http://www.BenefitsInc.com/fhir/enrollmentresponse", + "value": "781234" + } + ], + "status": "active", + "period": { + "start": "2014-08-16", + "end": "2014-08-31" + }, + "created": "2014-08-16", + "organization": { + "reference": "Organization/2" + }, + "request": { + "reference": "http://www.BenefitsInc.com/fhir/eligibility/225476332402" + }, + "outcome": { + "coding": [ + { + "system": "http://hl7.org/fhir/remittance-outcome", + "code": "complete" + } + ] + }, + "disposition": "2014 August mid-month settlement.", + "requestProvider": { + "reference": "Practitioner/example" + }, + "requestOrganization": { + "reference": "Organization/1" + }, + "detail": [ + { + "type": { + "coding": [ + { + "system": "http://hl7.org/fhir/payment-type", + "code": "payment" + } + ] + }, + "request": { + "identifier": { + "system": "http://happyvalleyclinic.com/claim", + "value": "AB12345" + } + }, + "response": { + "identifier": { + "system": "http://www.BenefitsInc.com/fhir/claimresponse", + "value": "CR20140815-AB12345" + } + }, + "submitter": { + "reference": "Organization/1" + }, + "payee": { + "reference": "Organization/1" + }, + "date": "2014-08-16", + "amount": { + "value": 1000.00, + "system": "urn:iso:std:iso:4217", + "code": "USD" + } + }, + { + "type": { + "coding": [ + { + "system": "http://hl7.org/fhir/payment-type", + "code": "payment" + } + ] + }, + "request": { + "reference": "http://www.BenefitsInc.com/fhir/oralhealthclaim/225476332699" + }, + "date": "2014-08-12", + "amount": { + "value": 4000.00, + "system": "urn:iso:std:iso:4217", + "code": "USD" + } + }, + { + "type": { + "coding": [ + { + "system": "http://hl7.org/fhir/payment-type", + "code": "advance" + } + ] + }, + "date": "2014-08-16", + "amount": { + "value": -1500.00, + "system": "urn:iso:std:iso:4217", + "code": "USD" + } + } + ], + "form": { + "coding": [ + { + "system": "http://ncforms.org/formid", + "code": "PAYREC/2016/01B" + } + ] + }, + "total": { + "value": 3500.00, + "system": "urn:iso:std:iso:4217", + "code": "USD" + }, + "processNote": [ + { + "type": { + "coding": [ + { + "system": "http://hl7.org/fhir/note-type", + "code": "display" + } + ] + }, + "text": "Due to the year end holiday the cutoff for submissions for December will be the 28th." + } + ] +} \ No newline at end of file diff --git a/data/SampleData/Stu3/Person.json b/data/SampleData/Stu3/Person.json new file mode 100644 index 000000000..ccf6e1e6a --- /dev/null +++ b/data/SampleData/Stu3/Person.json @@ -0,0 +1,88 @@ +{ + "resourceType": "Person", + "id": "example", + "text": { + "status": "generated", + "div": "
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
NamePeter James Chalmers ("Jim")
Address534 Erewhon, Pleasantville, Vic, 3999
ContactsHome: unknown. Work: (03) 5555 6473
IdMRN: 12345 (Acme Healthcare)
\n
" + }, + "identifier": [ + { + "use": "usual", + "type": { + "coding": [ + { + "system": "http://hl7.org/fhir/v2/0203", + "code": "MR" + } + ] + }, + "system": "urn:oid:1.2.36.146.595.217.0.1", + "value": "12345", + "period": { + "start": "2001-05-06" + }, + "assigner": { + "display": "Acme Healthcare" + } + } + ], + "name": [ + { + "use": "official", + "family": "Chalmers", + "given": [ + "Peter", + "James" + ] + }, + { + "use": "usual", + "given": [ + "Jim" + ] + } + ], + "telecom": [ + { + "use": "home" + }, + { + "system": "phone", + "value": "(03) 5555 6473", + "use": "work" + }, + { + "system": "email", + "value": "Jim@example.org", + "use": "home" + } + ], + "gender": "male", + "birthDate": "1974-12-25", + "address": [ + { + "use": "home", + "line": [ + "534 Erewhon St" + ], + "city": "PleasantVille", + "state": "Vic", + "postalCode": "3999" + } + ], + "active": true, + "link": [ + { + "target": { + "reference": "RelatedPerson/peter", + "display": "Peter Chalmers" + } + }, + { + "target": { + "reference": "Patient/example", + "display": "Peter Chalmers" + } + } + ] +} \ No newline at end of file diff --git a/data/SampleData/Stu3/PlanDefinition.json b/data/SampleData/Stu3/PlanDefinition.json new file mode 100644 index 000000000..a7f94556c --- /dev/null +++ b/data/SampleData/Stu3/PlanDefinition.json @@ -0,0 +1,372 @@ +{ + "resourceType": "PlanDefinition", + "id": "low-suicide-risk-order-set", + "text": { + "status": "generated", + "div": "
\n \n \n \n \n \n \n \n
\n Id: \n
PlanDefinition/low-suicide-risk-order-set
\n

\n \n \n \n \n \n \n \n
\n Identifier: \n
\n value: \n mmi:low-suicide-risk-order-set\n
\n

\n \n \n \n \n \n \n \n
\n Title: \n
Low Suicide Risk Order Set
\n

\n \n \n \n \n \n \n \n
\n Status: \n
draft
\n

\n \n \n \n \n \n \n \n
\n Description: \n
Orders to be applied to a patient characterized as low suicide risk.
\n

\n \n \n \n \n \n \n \n
\n Purpose: \n
This order set helps ensure consistent application of appropriate orders for the care of low suicide risk patients.
\n

\n \n \n \n \n \n \n \n
\n Usage: \n
This order set should be applied after assessing a patient for suicide risk, when the findings of that assessment indicate the patient has low suicide risk.
\n

\n \n \n \n \n \n \n \n
\n Context: \n
\n

\n system: \n http://hl7.org/fhir/usage-context-type\n

\n

\n code: \n age\n

\n

\n value: \n
\n \n \n \n \n system: \n https://meshb.nlm.nih.gov\n
\n
\n \n code: \n D000328\n
\n
\n \n display: \n Adult\n \n
\n
\n
\n

\n
\n \n \n \n \n \n \n \n
\n Context: \n
\n

\n system: \n http://hl7.org/fhir/usage-context-type\n

\n

\n code: \n focus\n

\n

\n value: \n
\n \n \n \n \n system: \n http://snomed.info/sct\n
\n
\n \n code: \n 87512008\n
\n
\n \n display: \n Mild major depression\n \n
\n
\n
\n

\n
\n \n \n \n \n \n \n \n
\n Context: \n
\n

\n system: \n http://hl7.org/fhir/usage-context-type\n

\n

\n code: \n focus\n

\n

\n value: \n
\n \n \n \n \n system: \n http://snomed.info/sct\n
\n
\n \n code: \n 40379007\n
\n
\n \n display: \n Major depression, recurrent, mild\n \n
\n
\n
\n

\n
\n \n \n \n \n \n \n \n
\n Context: \n
\n

\n system: \n http://hl7.org/fhir/usage-context-type\n

\n

\n code: \n focus\n

\n

\n value: \n
\n \n \n \n \n system: \n http://snomed.info/sct\n
\n
\n \n code: \n 394687007\n
\n
\n \n display: \n Low suicide risk\n \n
\n
\n
\n

\n
\n \n \n \n \n \n \n \n
\n Context: \n
\n

\n system: \n http://hl7.org/fhir/usage-context-type\n

\n

\n code: \n focus\n

\n

\n value: \n
\n \n \n \n \n system: \n http://snomed.info/sct\n
\n
\n \n code: \n 225337009\n
\n
\n \n display: \n Suicide risk assessment\n \n
\n
\n
\n

\n
\n \n \n \n \n \n \n \n
\n Context: \n
\n

\n system: \n http://hl7.org/fhir/usage-context-type\n

\n

\n code: \n user\n

\n

\n value: \n
\n \n \n \n \n system: \n http://snomed.info/sct\n
\n
\n \n code: \n 309343006\n
\n
\n \n display: \n Physician\n \n
\n
\n
\n

\n
\n \n \n \n \n \n \n \n
\n Context: \n
\n

\n system: \n http://hl7.org/fhir/usage-context-type\n

\n

\n code: \n venue\n

\n

\n value: \n
\n \n \n \n \n system: \n http://snomed.info/sct\n
\n
\n \n code: \n 440655000\n
\n
\n \n display: \n Outpatient environment\n \n
\n
\n
\n

\n
\n

\n \n \n \n \n \n \n \n
\n Topic: \n
\n \n text: \n Suicide risk assessment\n \n
\n

\n \n \n \n \n \n \n \n \n \n \n
\n Contributor: \n
\n \n author:\n \n
Motive Medical Intelligence
\n

\n \n \n \n \n \n \n \n \n \n \n
\n Library: \n
\n reference: \n Library/suiciderisk-orderset-logic\n
\n display: \n SuicideRiskLogic\n
\n

\n

Actions

\n

\n \n Step: \n
\n \n title: \n Suicide Risk Assessment and Outpatient Management\n
\n
\n \n \n Step: \n
\n \n title: \n Consults and Referrals\n
\n
\n \n \n Step: \n
\n \n text: \n Refer to outpatient mental health program for evaluation and treatment of mental health conditions now\n
\n
\n \n condition: \n
\n \n reference: \n
\n #referralToMentalHealthCare\n \n \n
\n \n description: \n refer to primary care mental-health integrated care program for evaluation and treatment of mental health conditions now\n
\n
\n \n category: \n referral\n
\n
\n
\n
\n
\n
\n \n \n
\n
\n \n Step: \n
\n \n title: \n Medications\n
\n
\n \n \n Step: \n
\n \n title: \n First-Line Antidepressants\n
\n
\n \n \n Step: \n
\n \n title: \n Selective Serotonin Reuptake Inhibitors (Choose a mazimum of one or document reasons for exception)\n
\n
\n \n \n Step: \n
\n \n text: \n citalopram 20 mg tablet 1 tablet oral 1 time daily now (30 table; 3 refills)\n
\n
\n \n condition: \n
\n \n reference: \n
\n #citalopramPrescription\n \n \n \n
\n \n category: \n drug\n
\n
\n
\n
\n \n \n \n \n \n \n \n Step: \n
\n \n text: \n escitalopram 10 mg tablet 1 tablet oral 1 time daily now (30 tablet; 3 refills)\n
\n
\n \n \n \n Step: \n
\n \n text: \n fluoxetine 20 mg capsule 1 capsule oral 1 time daily now (30 tablet; 3 refills)\n
\n
\n \n \n \n Step: \n
\n \n text: \n paroxetine 20 mg tablet 1 tablet oral 1 time daily now (30 tablet; 3 refills)\n
\n
\n \n \n \n Step: \n
\n \n text: \n sertraline 50 mg tablet 1 tablet oral 1 time daily now (30 tablet; 3 refills)\n
\n
\n \n \n
\n
\n \n Step: \n
\n \n text: \n Dopamine Norepinephrine Reuptake Inhibitors (Choose a maximum of one or document reasons for exception)\n
\n
\n \n \n \n Step: \n
\n \n text: \n Serotonin Norepinephrine Reuptake Inhibitors (Choose a maximum of one or doument reasons for exception)\n
\n
\n \n \n \n Step: \n
\n \n text: \n Norepinephrine-Serotonin Modulators (Choose a maximum of one or document reasons for exception)\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n

\n
" + }, + "url": "http://motivemi.com/artifacts/PlanDefinition/low-suicide-risk-order-set", + "identifier": [ + { + "use": "official", + "system": "http://motivemi.com/artifacts", + "value": "mmi:low-suicide-risk-order-set" + } + ], + "version": "1.0.0", + "name": "LowSuicideRiskOrderSet", + "title": "Low Suicide Risk Order Set", + "status": "active", + "experimental": true, + "date": "2015-08-15", + "publisher": "Motive Medical Intelligence", + "description": "Orders to be applied to a patient characterized as low suicide risk.", + "purpose": "This order set helps ensure consistent application of appropriate orders for the care of low suicide risk patients.", + "usage": "This order set should be applied after assessing a patient for suicide risk, when the findings of that assessment indicate the patient has low suicide risk.", + "approvalDate": "2016-03-12", + "lastReviewDate": "2016-08-15", + "effectivePeriod": { + "start": "2016-01-01", + "end": "2017-12-31" + }, + "useContext": [ + { + "code": { + "system": "http://hl7.org/fhir/usage-context-type", + "code": "age" + }, + "valueCodeableConcept": { + "coding": [ + { + "system": "https://meshb.nlm.nih.gov", + "code": "D000328", + "display": "Adult" + } + ] + } + }, + { + "code": { + "system": "http://hl7.org/fhir/usage-context-type", + "code": "focus" + }, + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "87512008", + "display": "Mild major depression" + } + ] + } + }, + { + "code": { + "system": "http://hl7.org/fhir/usage-context-type", + "code": "focus" + }, + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "40379007", + "display": "Major depression, recurrent, mild" + } + ] + } + }, + { + "code": { + "system": "http://hl7.org/fhir/usage-context-type", + "code": "focus" + }, + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "394687007", + "display": "Low suicide risk" + } + ] + } + }, + { + "code": { + "system": "http://hl7.org/fhir/usage-context-type", + "code": "focus" + }, + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "225337009", + "display": "Suicide risk assessment" + } + ] + } + }, + { + "code": { + "system": "http://hl7.org/fhir/usage-context-type", + "code": "user" + }, + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "309343006", + "display": "Physician" + } + ] + } + }, + { + "code": { + "system": "http://hl7.org/fhir/usage-context-type", + "code": "venue" + }, + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "440655000", + "display": "Outpatient environment" + } + ] + } + } + ], + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "topic": [ + { + "text": "Suicide risk assessment" + } + ], + "contributor": [ + { + "type": "author", + "name": "Motive Medical Intelligence", + "contact": [ + { + "telecom": [ + { + "system": "phone", + "value": "415-362-4007", + "use": "work" + }, + { + "system": "email", + "value": "info@motivemi.com", + "use": "work" + } + ] + } + ] + } + ], + "contact": [ + { + "telecom": [ + { + "system": "phone", + "value": "415-362-4007", + "use": "work" + }, + { + "system": "email", + "value": "info@motivemi.com", + "use": "work" + } + ] + } + ], + "copyright": "© Copyright 2016 Motive Medical Intelligence. All rights reserved.", + "relatedArtifact": [ + { + "type": "derived-from", + "display": "Practice Guideline for the Treatment of Patients with Major Depressive Disorder", + "url": "http://psychiatryonline.org/pb/assets/raw/sitewide/practice_guidelines/guidelines/mdd.pdf" + }, + { + "type": "composed-of", + "resource": { + "reference": "ActivityDefinition/referralPrimaryCareMentalHealth" + } + }, + { + "type": "composed-of", + "resource": { + "reference": "ActivityDefinition/citalopramPrescription" + } + } + ], + "library": [ + { + "reference": "Library/suiciderisk-orderset-logic", + "display": "SuicideRiskLogic" + } + ], + "action": [ + { + "title": "Suicide Risk Assessment and Outpatient Management", + "action": [ + { + "title": "Consults and Referrals", + "groupingBehavior": "logical-group", + "selectionBehavior": "any", + "action": [ + { + "textEquivalent": "Refer to outpatient mental health program for evaluation and treatment of mental health conditions now", + "definition": { + "reference": "#referralToMentalHealthCare" + }, + "dynamicValue": [ + { + "path": "timing.event", + "expression": "Now()" + }, + { + "path": "specialty", + "expression": "Code '261QM0850X' from SuicideRiskLogic." + }, + { + "path": "occurrenceDateTime", + "expression": "SuicideRiskLogic.ReferralRequestFulfillmentTime" + }, + { + "path": "subject", + "expression": "SuicideRiskLogic.Patient" + }, + { + "path": "requester.agent", + "expression": "SuicideRiskLogic.Practitioner" + }, + { + "path": "reasonCode", + "expression": "SuicideRiskLogic.RiskAssessmentScore" + }, + { + "path": "reasonReference", + "expression": "SuicideRiskLogic.RiskAssessment" + } + ] + } + ] + }, + { + "title": "Medications", + "groupingBehavior": "logical-group", + "selectionBehavior": "at-most-one", + "action": [ + { + "title": "First-Line Antidepressants", + "documentation": [ + { + "type": "citation", + "document": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/cqif-qualityOfEvidence", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/evidence-quality", + "code": "high" + } + ], + "text": "High Quality" + } + } + ], + "contentType": "text/html", + "url": "http://psychiatryonline.org/pb/assets/raw/sitewide/practice_guidelines/guidelines/mdd.pdf", + "title": "Practice Guideline for the Treatment of Patients with Major Depressive Disorder" + } + } + ], + "groupingBehavior": "logical-group", + "selectionBehavior": "at-most-one", + "action": [ + { + "title": "Selective Serotonin Reuptake Inhibitors (Choose a mazimum of one or document reasons for exception)", + "documentation": [ + { + "type": "citation", + "document": { + "contentType": "text/html", + "url": "http://dailymed.nlm.nih.gov/dailymed/drugInfo.cfm?setid=6daeb45c-451d-b135-bf8f-2d6dff4b6b01", + "title": "National Library of Medicine. DailyMed website. CITALOPRAM- citalopram hydrobromide tablet, film coated." + } + } + ], + "groupingBehavior": "logical-group", + "selectionBehavior": "at-most-one", + "action": [ + { + "textEquivalent": "citalopram 20 mg tablet 1 tablet oral 1 time daily now (30 table; 3 refills)", + "definition": { + "reference": "#citalopramPrescription" + }, + "dynamicValue": [ + { + "path": "status", + "expression": "'draft'" + }, + { + "path": "patient", + "expression": "SuicideRiskLogic.Patient" + }, + { + "path": "prescriber", + "expression": "SuicideRiskLogic.Practitioner" + }, + { + "path": "reasonCode", + "expression": "SuicideRiskLogic.RiskAssessmentScore" + }, + { + "path": "reasonReference", + "expression": "SuicideRiskLogic.RiskAssessment" + } + ] + }, + { + "textEquivalent": "escitalopram 10 mg tablet 1 tablet oral 1 time daily now (30 tablet; 3 refills)" + }, + { + "textEquivalent": "fluoxetine 20 mg capsule 1 capsule oral 1 time daily now (30 tablet; 3 refills)" + }, + { + "textEquivalent": "paroxetine 20 mg tablet 1 tablet oral 1 time daily now (30 tablet; 3 refills)" + }, + { + "textEquivalent": "sertraline 50 mg tablet 1 tablet oral 1 time daily now (30 tablet; 3 refills)" + } + ] + }, + { + "textEquivalent": "Dopamine Norepinephrine Reuptake Inhibitors (Choose a maximum of one or document reasons for exception)" + }, + { + "textEquivalent": "Serotonin Norepinephrine Reuptake Inhibitors (Choose a maximum of one or doument reasons for exception)" + }, + { + "textEquivalent": "Norepinephrine-Serotonin Modulators (Choose a maximum of one or document reasons for exception)" + } + ] + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/data/SampleData/Stu3/Practitioner.json b/data/SampleData/Stu3/Practitioner.json new file mode 100644 index 000000000..c981e788a --- /dev/null +++ b/data/SampleData/Stu3/Practitioner.json @@ -0,0 +1,62 @@ +{ + "resourceType": "Practitioner", + "id": "f001", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: f001

identifier: 938273695 (OFFICIAL), 129IDH4OP733 (USUAL)

name: Eric van den broek (OFFICIAL)

telecom: ph: 0205568263(WORK), E.M.vandenbroek@bmc.nl(WORK), fax: 0205664440(WORK)

address: Galapagosweg 91 Den Burg 9105 PZ NLD (WORK)

gender: male

birthDate: 07/12/1975

" + }, + "identifier": [ + { + "use": "official", + "system": "urn:oid:2.16.528.1.1007.3.1", + "value": "938273695" + }, + { + "use": "usual", + "system": "urn:oid:2.16.840.1.113883.2.4.6.3", + "value": "129IDH4OP733" + } + ], + "name": [ + { + "use": "official", + "family": "van den broek", + "given": [ + "Eric" + ], + "suffix": [ + "MD" + ] + } + ], + "telecom": [ + { + "system": "phone", + "value": "0205568263", + "use": "work" + }, + { + "system": "email", + "value": "E.M.vandenbroek@bmc.nl", + "use": "work" + }, + { + "system": "fax", + "value": "0205664440", + "use": "work" + } + ], + "address": [ + { + "use": "work", + "line": [ + "Galapagosweg 91" + ], + "city": "Den Burg", + "postalCode": "9105 PZ", + "country": "NLD" + } + ], + "gender": "male", + "birthDate": "1975-12-07" +} \ No newline at end of file diff --git a/data/SampleData/Stu3/PractitionerRole.json b/data/SampleData/Stu3/PractitionerRole.json new file mode 100644 index 000000000..a1aa14690 --- /dev/null +++ b/data/SampleData/Stu3/PractitionerRole.json @@ -0,0 +1,104 @@ +{ + "resourceType": "PractitionerRole", + "id": "example", + "text": { + "status": "generated", + "div": "
\n\t\t\t

\n\t\t\t\tDr Adam Careful is a Referring Practitioner for Acme Hospital from 1-Jan 2012 to 31-Mar\n\t\t\t\t2012\n\t\t\t

\n\t\t
" + }, + "identifier": [ + { + "system": "http://www.acme.org/practitioners", + "value": "23" + } + ], + "active": true, + "period": { + "start": "2012-01-01", + "end": "2012-03-31" + }, + "practitioner": { + "reference": "Practitioner/example", + "display": "Dr Adam Careful" + }, + "organization": { + "reference": "Organization/f001" + }, + "code": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/v2/0286", + "code": "RP" + } + ] + } + ], + "specialty": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "408443003", + "display": "General medical practice" + } + ] + } + ], + "location": [ + { + "reference": "Location/1", + "display": "South Wing, second floor" + } + ], + "healthcareService": [ + { + "reference": "HealthcareService/example" + } + ], + "telecom": [ + { + "system": "phone", + "value": "(03) 5555 6473", + "use": "work" + }, + { + "system": "email", + "value": "adam.southern@example.org", + "use": "work" + } + ], + "availableTime": [ + { + "daysOfWeek": [ + "mon", + "tue", + "wed" + ], + "availableStartTime": "09:00:00", + "availableEndTime": "16:30:00" + }, + { + "daysOfWeek": [ + "thu", + "fri" + ], + "availableStartTime": "09:00:00", + "availableEndTime": "12:00:00" + } + ], + "notAvailable": [ + { + "description": "Adam will be on extended leave during May 2017", + "during": { + "start": "2017-05-01", + "end": "2017-05-20" + } + } + ], + "availabilityExceptions": "Adam is generally unavailable on public holidays and during the Christmas/New Year break", + "endpoint": [ + { + "reference": "Endpoint/example" + } + ] +} \ No newline at end of file diff --git a/data/SampleData/Stu3/Procedure.json b/data/SampleData/Stu3/Procedure.json new file mode 100644 index 000000000..bf854938b --- /dev/null +++ b/data/SampleData/Stu3/Procedure.json @@ -0,0 +1,71 @@ +{ + "resourceType": "Procedure", + "id": "ambulation", + "text": { + "status": "generated", + "div": "
Ambulation procedure was not done
" + }, + "identifier": [ + { + "value": "12345" + } + ], + "definition": [ + { + "display": "Protocol for hypertension during pregnancy" + } + ], + "basedOn": [ + { + "reference": "CarePlan/preg", + "display": "Maternity care plan" + } + ], + "status": "aborted", + "notDone": false, + "notDoneReason": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "398254007", + "display": " Pre-eclampsia (disorder)" + } + ], + "text": "Pre-eclampsia" + }, + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "62013009", + "display": "Ambulating patient (procedure)" + } + ], + "text": "Ambulation" + }, + "subject": { + "reference": "Patient/example" + }, + "performer": [ + { + "actor": { + "reference": "Practitioner/f204", + "display": "Carla Espinosa" + }, + "onBehalfOf": { + "reference": "Organization/f001", + "display": "University Medical Hospital" + } + } + ], + "location": { + "reference": "Location/1", + "display": "Burgers University Medical Center, South Wing, second floor" + }, + "reasonReference": [ + { + "reference": "Observation/blood-pressure", + "display": "Blood Pressure" + } + ] +} \ No newline at end of file diff --git a/data/SampleData/Stu3/Provenance.json b/data/SampleData/Stu3/Provenance.json new file mode 100644 index 000000000..6bd54cd71 --- /dev/null +++ b/data/SampleData/Stu3/Provenance.json @@ -0,0 +1,58 @@ +{ + "resourceType": "Provenance", + "id": "signature", + "text": { + "status": "generated", + "div": "
procedure record authored on 27-June 2015 by Harold Hippocrates, MD Content extracted from Referral received 26-June
" + }, + "target": [ + { + "reference": "DocumentReference/example" + } + ], + "recorded": "2015-08-27T08:39:24+10:00", + "reason": [ + { + "system": "http://hl7.org/fhir/v3/ActReason", + "code": "TREAT", + "display": "treatment" + } + ], + "activity": { + "system": "http://hl7.org/fhir/v3/DocumentCompletion", + "code": "AU", + "display": "authenticated" + }, + "agent": [ + { + "role": [ + { + "coding": [ + { + "system": "http://www.hl7.org/fhir/contractsignertypecodes", + "code": "VERF" + } + ] + } + ], + "whoUri": "mailto://hhd@ssa.gov" + } + ], + "signature": [ + { + "type": [ + { + "system": "urn:iso-astm:E1762-95:2013", + "code": "1.2.840.10065.1.12.1.5", + "display": "Verification Signature" + } + ], + "when": "2015-08-27T08:39:24+10:00", + "whoReference": { + "reference": "Practitioner/xcda-author" + }, + "contentType": "application/signature+xml", + "blob": "Li4u" + } + ] +} \ No newline at end of file diff --git a/data/SampleData/Stu3/Provenance3.json b/data/SampleData/Stu3/Provenance3.json new file mode 100644 index 000000000..ce1571143 --- /dev/null +++ b/data/SampleData/Stu3/Provenance3.json @@ -0,0 +1,77 @@ +{ + "resourceType": "Provenance", + "id": "example", + "text": { + "status": "generated", + "div": "
procedure record authored on 27-June 2015 by Harold Hippocrates, MD Content extracted from XDS managed CDA Referral received 26-June
" + }, + "target": [ + { + "reference": "Procedure/example/_history/1" + } + ], + "period": { + "start": "2015-06-27", + "end": "2015-06-28" + }, + "recorded": "2015-06-27T08:39:24+10:00", + "policy": [ + "http://acme.com/fhir/Consent/25" + ], + "location": { + "reference": "Location/1" + }, + "reason": [ + { + "system": "http://snomed.info/sct", + "code": "3457005", + "display": "Referral" + } + ], + "agent": [ + { + "role": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/v3/ParticipationType", + "code": "AUT" + } + ] + } + ], + "whoReference": { + "reference": "Practitioner/xcda-author" + }, + "onBehalfOfUri": "#a1", + "relatedAgentType": { + "text": "used" + } + }, + { + "id": "a1", + "role": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/v3/ParticipationType", + "code": "DEV" + } + ] + } + ], + "whoReference": { + "reference": "Device/software" + } + } + ], + "entity": [ + { + "role": "source", + "whatReference": { + "reference": "DocumentReference/example", + "display": "CDA Document in XDS repository" + } + } + ] +} \ No newline at end of file diff --git a/data/SampleData/Stu3/Questionnaire.json b/data/SampleData/Stu3/Questionnaire.json new file mode 100644 index 000000000..f91f0b016 --- /dev/null +++ b/data/SampleData/Stu3/Questionnaire.json @@ -0,0 +1,480 @@ +{ + "resourceType": "Questionnaire", + "id": "54127-6", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/sdc/StructureDefinition/sdc-questionnaire" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: 54127-6

meta:

contained: ,

url: http://hl7.org/fhir/us/sdc/Questionnaire/54127-6

identifier: 54127-6

title: US Surgeon General - Family Health Portrait

status: active

experimental: true

date: 01/01/2015

publisher: Regenstrief Institute, Inc and the LOINC Committee

description: This represents an implementation of the "US Surgeon General family health portrait" form found at https://lforms-demo.nlm.nih.gov

purpose: Captures basic family history information

approvalDate: 31/10/2015

lastReviewDate: 15/03/2017

useContext:

jurisdiction: United States (Details : {urn:iso:std:iso:3166 code 'US' = 'United States)

contact:

copyright: (c) 2015 Regenstrief Institute

code: US Surgeon General family health portrait [USSG-FHT] (Details: LOINC code 54127-6 = 'US Surgeon General family health portrait [USSG-FHT]', stated as 'US Surgeon General family health portrait [USSG-FHT]')

subjectType: Patient

item

linkId: 0

type: group

Items

-
*
*
*
*

item

linkId: 1

definition: http://loinc.org/fhir/DataElement/54126-8

text: Your health information

type: group

required: true

Items

-
*
*

item

linkId: 2

definition: http://loinc.org/fhir/DataElement/54114-4

text: Family member health information

type: group

repeats: true

Items

-
*
" + }, + "url": "http://hl7.org/fhir/us/sdc/Questionnaire/54127-6", + "identifier": [ + { + "system": "http://example.org/panel-id", + "value": "54127-6" + } + ], + "title": "US Surgeon General - Family Health Portrait", + "status": "active", + "experimental": true, + "date": "2015", + "publisher": "Regenstrief Institute, Inc and the LOINC Committee", + "description": "This represents an implementation of the \"US Surgeon General family health portrait\" form found at https://lforms-demo.nlm.nih.gov", + "purpose": "Captures basic family history information", + "approvalDate": "2015-10-31", + "lastReviewDate": "2017-03-15", + "useContext": [ + { + "code": { + "system": "http://hl7.org/fhir/usage-context-type", + "code": "species" + }, + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "337915000", + "display": "Homo sapiens" + } + ] + } + } + ], + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://loinc.org" + } + ] + } + ], + "copyright": "(c) 2015 Regenstrief Institute", + "code": [ + { + "system": "http://loinc.org", + "code": "54127-6", + "display": "US Surgeon General family health portrait [USSG-FHT]" + } + ], + "subjectType": [ + "Patient" + ], + "item": [ + { + "linkId": "0", + "type": "group", + "item": [ + { + "linkId": "0.1", + "text": "Date Done", + "type": "date" + }, + { + "linkId": "0.2", + "text": "Time Done", + "type": "time" + }, + { + "linkId": "0.3", + "text": "Where Done", + "type": "string" + }, + { + "linkId": "0.4", + "text": "Comment", + "type": "string" + } + ] + }, + { + "linkId": "1", + "definition": "http://loinc.org/fhir/DataElement/54126-8", + "text": "Your health information", + "type": "group", + "required": true, + "item": [ + { + "linkId": "1.1", + "type": "group", + "item": [ + { + "linkId": "1.1.1", + "definition": "http://loinc.org/fhir/DataElement/54125-0", + "text": "Name", + "type": "string", + "maxLength": 200 + }, + { + "linkId": "1.1.2", + "definition": "http://loinc.org/fhir/DataElement/54131-8", + "text": "Gender", + "type": "choice", + "required": true, + "options": { + "reference": "http://hl7.org/fhir/us/sdc/ValueSet/LL1-9", + "display": "Gender_M/F" + }, + "item": [ + { + "linkId": "1.1.2.1.1", + "text": "Please specify", + "type": "string", + "required": true + } + ] + }, + { + "linkId": "1.1.3", + "definition": "http://loinc.org/fhir/DataElement/21112-8", + "text": "Date of Birth", + "type": "date" + }, + { + "linkId": "1.1.4", + "definition": "http://loinc.org/fhir/DataElement/54132-6", + "text": "Were you born a twin?", + "type": "choice", + "options": { + "reference": "http://hl7.org/fhir/us/sdc/ValueSet/LL623-0", + "display": "USSG-FHT twin" + }, + "initialCoding": { + "system": "http://loinc.org", + "code": "LA32-8", + "display": "No" + } + }, + { + "linkId": "1.1.5", + "definition": "http://loinc.org/fhir/DataElement/54128-4", + "text": "Were you adopted?", + "type": "choice", + "options": { + "reference": "http://hl7.org/fhir/us/sdc/ValueSet/LL361-7", + "display": "Y/N1" + } + }, + { + "linkId": "1.1.6", + "definition": "http://loinc.org/fhir/DataElement/54135-9", + "text": "Are your parents related to each other in any way other than marriage?", + "type": "choice", + "options": { + "reference": "http://hl7.org/fhir/us/sdc/ValueSet/LL361-7", + "display": "Y/N1" + } + }, + { + "linkId": "1.1.7", + "definition": "http://loinc.org/fhir/DataElement/8302-2", + "text": "Height", + "type": "decimal", + "required": true, + "item": [ + { + "linkId": "1.1.7.1.1", + "text": "Units", + "type": "choice", + "options": { + "reference": "#length" + } + } + ] + }, + { + "linkId": "1.1.8", + "definition": "http://loinc.org/fhir/DataElement/29463-7", + "text": "Weight", + "type": "decimal", + "item": [ + { + "linkId": "1.1.8.1.1", + "text": "Units", + "type": "choice", + "options": { + "reference": "#weight" + } + } + ] + }, + { + "linkId": "1.1.9", + "definition": "http://loinc.org/fhir/DataElement/39156-5", + "text": "Body mass index (BMI) [Ratio]", + "type": "decimal", + "readOnly": true + }, + { + "linkId": "1.1.10", + "definition": "http://loinc.org/fhir/DataElement/54134-2", + "text": "Race", + "type": "choice", + "required": true, + "options": { + "reference": "http://hl7.org/fhir/us/sdc/ValueSet/LL629-7", + "display": "USSG-FHT race" + } + }, + { + "linkId": "1.1.11", + "definition": "http://loinc.org/fhir/DataElement/54133-4", + "text": "Ethnicity", + "type": "choice", + "repeats": true, + "options": { + "reference": "http://hl7.org/fhir/us/sdc/ValueSet/LL628-9", + "display": "USSG-FHT ethnicity" + } + } + ] + }, + { + "linkId": "1.2", + "definition": "http://loinc.org/fhir/DataElement/54137-5", + "text": "Your diseases history", + "type": "group", + "repeats": true, + "item": [ + { + "linkId": "1.2.1", + "definition": "http://loinc.org/fhir/DataElement/54140-9", + "text": "Disease or Condition", + "type": "choice", + "options": { + "reference": "http://hl7.org/fhir/us/sdc/ValueSet/LL626-3", + "display": "USSG-FHT diseases" + } + }, + { + "linkId": "1.2.2", + "definition": "http://loinc.org/fhir/DataElement/54130-0", + "text": "Age at Diagnosis", + "type": "choice", + "options": { + "reference": "http://hl7.org/fhir/us/sdc/ValueSet/LL619-8", + "display": "USSG-FHT age" + } + } + ] + } + ] + }, + { + "linkId": "2", + "definition": "http://loinc.org/fhir/DataElement/54114-4", + "text": "Family member health information", + "type": "group", + "repeats": true, + "item": [ + { + "linkId": "2.1", + "type": "group", + "item": [ + { + "linkId": "2.1.1", + "type": "group", + "item": [ + { + "linkId": "2.1.1.1", + "definition": "http://loinc.org/fhir/DataElement/54136-7", + "text": "Relationship to you", + "type": "choice", + "options": { + "reference": "http://hl7.org/fhir/us/sdc/ValueSet/LL621-4", + "display": "USSG-FHT relationship" + } + }, + { + "linkId": "2.1.1.2", + "definition": "http://loinc.org/fhir/DataElement/54138-3", + "text": "Name", + "type": "string" + }, + { + "linkId": "2.1.1.3", + "definition": "http://loinc.org/fhir/DataElement/54123-5", + "text": "Gender", + "type": "choice", + "options": { + "reference": "http://hl7.org/fhir/us/sdc/ValueSet/LL1-9", + "display": "Gender_M/F" + }, + "item": [ + { + "linkId": "2.1.1.3.1.1", + "text": "Please specify", + "type": "string", + "required": true + } + ] + }, + { + "linkId": "2.1.1.4", + "definition": "http://loinc.org/fhir/DataElement/54139-1", + "text": "Living?", + "type": "choice", + "options": { + "reference": "http://hl7.org/fhir/us/sdc/ValueSet/LL361-7", + "display": "Y/N1" + }, + "item": [ + { + "linkId": "2.1.1.4.1", + "type": "group", + "item": [ + { + "linkId": "2.1.1.4.1.1", + "definition": "http://loinc.org/fhir/DataElement/54112-8", + "text": "Cause of Death", + "type": "choice", + "options": { + "reference": "http://hl7.org/fhir/us/sdc/ValueSet/LL627-1" + }, + "item": [ + { + "linkId": "2.1.1.4.1.1.1", + "text": "Please specify", + "type": "string" + } + ] + }, + { + "linkId": "2.1.1.4.1.2", + "definition": "http://loinc.org/fhir/DataElement/54113-6", + "text": "Age at Death", + "type": "choice", + "options": { + "reference": "http://hl7.org/fhir/us/sdc/ValueSet/LL619-8", + "display": "USSG-FHT age" + } + } + ] + }, + { + "linkId": "2.1.1.4.2", + "type": "group", + "item": [ + { + "linkId": "2.1.1.4.2.1", + "definition": "http://loinc.org/fhir/DataElement/54124-3", + "text": "Date of Birth", + "type": "date" + }, + { + "linkId": "2.1.1.4.2.2", + "definition": "http://loinc.org/fhir/DataElement/54141-7", + "text": "Age", + "type": "decimal" + } + ] + } + ] + }, + { + "linkId": "2.1.1.5", + "definition": "http://loinc.org/fhir/DataElement/54121-9", + "text": "Was this person born a twin?", + "type": "choice", + "options": { + "reference": "http://hl7.org/fhir/us/sdc/ValueSet/LL623-0" + } + }, + { + "linkId": "2.1.1.6", + "definition": "http://loinc.org/fhir/DataElement/54122-7", + "text": "Was this person adopted?", + "type": "choice", + "options": { + "reference": "http://hl7.org/fhir/us/sdc/ValueSet/LL623-0" + } + }, + { + "linkId": "2.1.1.7", + "definition": "http://loinc.org/fhir/DataElement/54119-3", + "text": "Race", + "type": "choice", + "repeats": true, + "options": { + "reference": "http://hl7.org/fhir/us/sdc/ValueSet/LL629-7", + "display": "USSG-FHT race" + } + }, + { + "linkId": "2.1.1.8", + "definition": "http://loinc.org/fhir/DataElement/54120-1", + "text": "Ethnicity", + "type": "choice", + "repeats": true, + "options": { + "reference": "http://hl7.org/fhir/us/sdc/ValueSet/LL628-9", + "display": "USSG-FHT ethnicity" + } + } + ] + }, + { + "linkId": "2.1.2", + "definition": "http://loinc.org/fhir/DataElement/54117-7", + "text": "This family member's history of disease", + "type": "group", + "repeats": true, + "item": [ + { + "linkId": "2.1.2.1", + "definition": "http://loinc.org/fhir/DataElement/54116-9", + "text": "Disease or Condition", + "type": "choice", + "required": true, + "options": { + "reference": "http://hl7.org/fhir/us/sdc/ValueSet/LL626-3", + "display": "USSG-FHT diseases" + } + }, + { + "linkId": "2.1.2.2", + "definition": "http://loinc.org/fhir/DataElement/54115-1", + "text": "Age at Diagnosis", + "type": "choice", + "options": { + "reference": "http://hl7.org/fhir/us/sdc/ValueSet/LL619-8", + "display": "USSG-FHT age" + } + }, + { + "linkId": "2.1.2.3", + "text": "Mock-up item: Height", + "type": "decimal" + }, + { + "linkId": "2.1.2.4", + "text": "Mock-up item: Weight", + "type": "decimal" + }, + { + "linkId": "2.1.2.5", + "text": "Mock-up item: BMI", + "type": "decimal" + } + ] + } + ] + } + ] + } + ] + } \ No newline at end of file diff --git a/data/SampleData/Stu3/QuestionnaireResponse.json b/data/SampleData/Stu3/QuestionnaireResponse.json new file mode 100644 index 000000000..2fb47263d --- /dev/null +++ b/data/SampleData/Stu3/QuestionnaireResponse.json @@ -0,0 +1,92 @@ +{ + "resourceType": "QuestionnaireResponse", + "id": "3141", + "text": { + "status": "generated", + "div": "
\n
\n            Comorbidity? YES\n              Cardial Comorbidity? YES\n                Angina? YES\n                MI? NO\n              Vascular Comorbidity?\n                (no answers)\n              ...\n            Histopathology\n              Abdominal\n                pT category: 1a\n              ...\n          
\n
" + }, + "identifier": { + "system": "http://example.org/fhir/NamingSystem/questionnaire-ids", + "value": "Q12349876" + }, + "basedOn": [ + { + "reference": "#order" + } + ], + "parent": [ + { + "reference": "Procedure/f201" + } + ], + "status": "completed", + "subject": { + "reference": "#patsub" + }, + "context": { + "reference": "Encounter/example" + }, + "authored": "2013-02-19T14:15:00-05:00", + "author": { + "reference": "#questauth" + }, + "item": [ + { + "linkId": "1", + "item": [ + { + "linkId": "1.1", + "answer": [ + { + "valueCoding": { + "system": "http://cancer.questionnaire.org/system/code/yesno", + "code": "1", + "display": "Yes" + }, + "item": [ + { + "linkId": "1.1.1", + "item": [ + { + "linkId": "1.1.1.1", + "answer": [ + { + "valueCoding": { + "system": "http://cancer.questionnaire.org/system/code/yesno", + "code": "1" + } + } + ] + }, + { + "linkId": "1.1.1.2", + "answer": [ + { + "valueCoding": { + "system": "http://cancer.questionnaire.org/system/code/yesno", + "code": "1" + } + } + ] + }, + { + "linkId": "1.1.1.3", + "answer": [ + { + "valueCoding": { + "system": "http://cancer.questionnaire.org/system/code/yesno", + "code": "0" + } + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/data/SampleData/Stu3/RelatedPerson.json b/data/SampleData/Stu3/RelatedPerson.json new file mode 100644 index 000000000..96163c077 --- /dev/null +++ b/data/SampleData/Stu3/RelatedPerson.json @@ -0,0 +1,73 @@ +{ + "resourceType": "RelatedPerson", + "id": "benedicte", + "text": { + "status": "generated", + "div": "
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
NameBénédicte du Marché
Address43, Place du Marché Sainte Catherine, 75004 Paris, France
ContactsPhone: +33 (237) 998327
\n
" + }, + "identifier": [ + { + "use": "usual", + "type": { + "text": "INSEE" + }, + "system": "urn:oid:1.2.250.1.61", + "value": "272117510400399" + } + ], + "active": true, + "patient": { + "reference": "Patient/example" + }, + "relationship": { + "coding": [ + { + "system": "http://hl7.org/fhir/v2/0131", + "code": "N" + }, + { + "system": "http://hl7.org/fhir/v3/RoleCode", + "code": "WIFE" + } + ] + }, + "name": [ + { + "family": "du Marché", + "_family": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/humanname-own-prefix", + "valueString": "VV" + } + ] + }, + "given": [ + "Bénédicte" + ] + } + ], + "telecom": [ + { + "system": "phone", + "value": "+33 (237) 998327" + } + ], + "gender": "female", + "address": [ + { + "line": [ + "43, Place du Marché Sainte Catherine" + ], + "city": "Paris", + "postalCode": "75004", + "country": "FRA" + } + ], + "photo": [ + { + "contentType": "image/jpeg", + "url": "Binary/f016" + } + ] +} \ No newline at end of file diff --git a/data/SampleData/Stu3/RequestGroup.json b/data/SampleData/Stu3/RequestGroup.json new file mode 100644 index 000000000..a039a7fd0 --- /dev/null +++ b/data/SampleData/Stu3/RequestGroup.json @@ -0,0 +1,89 @@ +{ + "resourceType": "RequestGroup", + "id": "example", + "text": { + "status": "generated", + "div": "
Example RequestGroup illustrating related actions to administer medications in sequence with time delay.
" + }, + "identifier": [ + { + "value": "requestgroup-1" + } + ], + "groupIdentifier": { + "system": "http://example.org/treatment-group", + "value": "00001" + }, + "status": "draft", + "intent": "plan", + "priority": "routine", + "subject": { + "reference": "Patient/example" + }, + "context": { + "reference": "Encounter/example" + }, + "authoredOn": "2017-03-06T17:31:00Z", + "author": { + "reference": "Practitioner/1" + }, + "reasonCodeableConcept": { + "text": "Treatment" + }, + "note": [ + { + "text": "Additional notes about the request group" + } + ], + "action": [ + { + "label": "1", + "title": "Administer Medications", + "description": "Administer medications at the appropriate time", + "textEquivalent": "Administer medication 1, followed an hour later by medication 2", + "timingDateTime": "2017-03-06T19:00:00Z", + "participant": [ + { + "reference": "Practitioner/1" + } + ], + "groupingBehavior": "logical-group", + "selectionBehavior": "all", + "requiredBehavior": "must", + "precheckBehavior": "yes", + "cardinalityBehavior": "single", + "action": [ + { + "id": "medication-action-1", + "description": "Administer medication 1", + "type": { + "code": "create" + }, + "resource": { + "reference": "#medicationrequest-1" + } + }, + { + "id": "medication-action-2", + "description": "Administer medication 2", + "relatedAction": [ + { + "actionId": "medication-action-1", + "relationship": "after-end", + "offsetDuration": { + "value": 1, + "unit": "h" + } + } + ], + "type": { + "code": "create" + }, + "resource": { + "reference": "#medicationrequest-2" + } + } + ] + } + ] +} \ No newline at end of file diff --git a/data/SampleData/Stu3/ResearchStudy.json b/data/SampleData/Stu3/ResearchStudy.json new file mode 100644 index 000000000..9370c19e8 --- /dev/null +++ b/data/SampleData/Stu3/ResearchStudy.json @@ -0,0 +1,9 @@ +{ + "resourceType": "ResearchStudy", + "id": "example", + "text": { + "status": "generated", + "div": "
[Put rendering here]
" + }, + "status": "draft" +} \ No newline at end of file diff --git a/data/SampleData/Stu3/ResearchSubject.json b/data/SampleData/Stu3/ResearchSubject.json new file mode 100644 index 000000000..56889c068 --- /dev/null +++ b/data/SampleData/Stu3/ResearchSubject.json @@ -0,0 +1,22 @@ +{ + "resourceType": "ResearchSubject", + "id": "example", + "text": { + "status": "generated", + "div": "
[Put rendering here]
" + }, + "identifier": { + "type": { + "text": "Subject id" + }, + "system": "http://example.org/studysubjectids", + "value": "123" + }, + "status": "candidate", + "study": { + "reference": "ResearchStudy/example" + }, + "individual": { + "reference": "Patient/example" + } +} \ No newline at end of file diff --git a/data/SampleData/Stu3/RiskAssessment.json b/data/SampleData/Stu3/RiskAssessment.json new file mode 100644 index 000000000..4c82685bf --- /dev/null +++ b/data/SampleData/Stu3/RiskAssessment.json @@ -0,0 +1,179 @@ +{ + "resourceType": "RiskAssessment", + "id": "genetic", + "text": { + "status": "generated", + "div": "
\n

Probability of developing breast cancer before the age indicated:

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
AgeProbability (%)
current-530.0168
54-570.0368
58-620.0594
63-670.0838
68-720.1089
73-770.1327
78-820.1530
83-870.1663
\n
" + }, + "status": "final", + "method": { + "coding": [ + { + "code": "BRCAPRO" + } + ] + }, + "occurrenceDateTime": "2006-01-13T23:01:00Z", + "basis": [ + { + "reference": "List/prognosis" + } + ], + "prediction": [ + { + "outcome": { + "text": "Breast Cancer" + }, + "probabilityDecimal": 0.000168, + "whenRange": { + "high": { + "value": 53, + "unit": "years", + "system": "http://unitsofmeasure.org", + "code": "a" + } + } + }, + { + "outcome": { + "text": "Breast Cancer" + }, + "probabilityDecimal": 0.000368, + "whenRange": { + "low": { + "value": 54, + "unit": "years", + "system": "http://unitsofmeasure.org", + "code": "a" + }, + "high": { + "value": 57, + "unit": "years", + "system": "http://unitsofmeasure.org", + "code": "a" + } + } + }, + { + "outcome": { + "text": "Breast Cancer" + }, + "probabilityDecimal": 0.000594, + "whenRange": { + "low": { + "value": 58, + "unit": "years", + "system": "http://unitsofmeasure.org", + "code": "a" + }, + "high": { + "value": 62, + "unit": "years", + "system": "http://unitsofmeasure.org", + "code": "a" + } + } + }, + { + "outcome": { + "text": "Breast Cancer" + }, + "probabilityDecimal": 0.000838, + "whenRange": { + "low": { + "value": 63, + "unit": "years", + "system": "http://unitsofmeasure.org", + "code": "a" + }, + "high": { + "value": 67, + "unit": "years", + "system": "http://unitsofmeasure.org", + "code": "a" + } + } + }, + { + "outcome": { + "text": "Breast Cancer" + }, + "probabilityDecimal": 0.001089, + "whenRange": { + "low": { + "value": 68, + "unit": "years", + "system": "http://unitsofmeasure.org", + "code": "a" + }, + "high": { + "value": 72, + "unit": "years", + "system": "http://unitsofmeasure.org", + "code": "a" + } + } + }, + { + "outcome": { + "text": "Breast Cancer" + }, + "probabilityDecimal": 0.001327, + "whenRange": { + "low": { + "value": 73, + "unit": "years", + "system": "http://unitsofmeasure.org", + "code": "a" + }, + "high": { + "value": 77, + "unit": "years", + "system": "http://unitsofmeasure.org", + "code": "a" + } + } + }, + { + "outcome": { + "text": "Breast Cancer" + }, + "probabilityDecimal": 0.001530, + "whenRange": { + "low": { + "value": 78, + "unit": "years", + "system": "http://unitsofmeasure.org", + "code": "a" + }, + "high": { + "value": 82, + "unit": "years", + "system": "http://unitsofmeasure.org", + "code": "a" + } + } + }, + { + "outcome": { + "text": "Breast Cancer" + }, + "probabilityDecimal": 0.001663, + "whenRange": { + "low": { + "value": 83, + "unit": "years", + "system": "http://unitsofmeasure.org", + "code": "a" + }, + "high": { + "value": 88, + "unit": "years", + "system": "http://unitsofmeasure.org", + "code": "a" + } + } + } + ], + "comment": "High degree of certainty" +} \ No newline at end of file diff --git a/data/SampleData/Stu3/Schedule.json b/data/SampleData/Stu3/Schedule.json new file mode 100644 index 000000000..eb718c730 --- /dev/null +++ b/data/SampleData/Stu3/Schedule.json @@ -0,0 +1,55 @@ +{ + "resourceType": "Schedule", + "id": "example", + "text": { + "status": "generated", + "div": "
\n Burgers UMC, South Wing, second floor Physiotherapy Schedule\n
" + }, + "identifier": [ + { + "use": "usual", + "system": "http://example.org/scheduleid", + "value": "45" + } + ], + "active": true, + "serviceCategory": { + "coding": [ + { + "code": "17", + "display": "General Practice" + } + ] + }, + "serviceType": [ + { + "coding": [ + { + "code": "57", + "display": "Immunization" + } + ] + } + ], + "specialty": [ + { + "coding": [ + { + "code": "408480009", + "display": "Clinical immunology" + } + ] + } + ], + "actor": [ + { + "reference": "Location/1", + "display": "Burgers UMC, South Wing, second floor" + } + ], + "planningHorizon": { + "start": "2013-12-25T09:15:00Z", + "end": "2013-12-25T09:30:00Z" + }, + "comment": "The slots attached to this schedule should be specialized to cover immunizations within the clinic" +} \ No newline at end of file diff --git a/data/SampleData/Stu3/SearchParameter.json b/data/SampleData/Stu3/SearchParameter.json new file mode 100644 index 000000000..d0ff5e9ff --- /dev/null +++ b/data/SampleData/Stu3/SearchParameter.json @@ -0,0 +1,67 @@ +{ + "resourceType": "SearchParameter", + "id": "example", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

url: http://hl7.org/fhir/SearchParameter/example

version: 1

name: ID-SEARCH-PARAMETER

status: draft

experimental: true

date: 23/10/2013

publisher: Health Level Seven International (FHIR Infrastructure)

contact:

useContext:

jurisdiction: United States of America (the) (Details : {urn:iso:std:iso:3166 code 'US' = 'United States', given as 'United States of America (the)'})

purpose: Need to search by identifier for various infrastructural cases - mainly retrieving packages, and matching as part of a chain

code: _id

base: Resource

type: token

derivedFrom: http://hl7.org/fhir/SearchParameter/Resource-id

description: Search by resource identifier - e.g. same as the read interaction, but can return included resources

expression: id

xpath: f:*/f:id

xpathUsage: normal

comparator: eq

" + }, + "url": "http://hl7.org/fhir/SearchParameter/example", + "version": "1", + "name": "ID-SEARCH-PARAMETER", + "status": "draft", + "experimental": true, + "date": "2013-10-23", + "publisher": "Health Level Seven International (FHIR Infrastructure)", + "contact": [ + { + "name": "[string]", + "telecom": [ + { + "system": "url", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "useContext": [ + { + "code": { + "system": "http://hl7.org/fhir/usage-context-type", + "code": "focus" + }, + "valueCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/variant-state", + "code": "positive" + } + ] + } + } + ], + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America (the)" + } + ] + } + ], + "purpose": "Need to search by identifier for various infrastructural cases - mainly retrieving packages, and matching as part of a chain", + "code": "_id", + "base": [ + "Resource" + ], + "type": "token", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Resource-id", + "description": "Search by resource identifier - e.g. same as the read interaction, but can return included resources", + "expression": "id", + "xpath": "f:*/f:id", + "xpathUsage": "normal", + "comparator": [ + "eq" + ] +} \ No newline at end of file diff --git a/data/SampleData/Stu3/Sequence.json b/data/SampleData/Stu3/Sequence.json new file mode 100644 index 000000000..3caec926d --- /dev/null +++ b/data/SampleData/Stu3/Sequence.json @@ -0,0 +1,98 @@ +{ + "resourceType": "Sequence", + "id": "fda-vcfeval-comparison", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: fda-vcfeval-comparison

coordinateSystem: 1

patient: Patient/example

ReferenceSeqs

-ReferenceSeqIdStrandWindowStartWindowEnd
*NC_000001.11 (Details : {http://www.ncbi.nlm.nih.gov/nuccore code 'NC_000001.11' = 'NC_000001.11)110453101770080

Variants

-StartEndObservedAlleleReferenceAllele
*1311613117TG

quality

type: indel

standardSequence: file-BkZxBZ00bpJVk2q6x43b1YBx (Details : {https://precision.fda.gov/files/ code 'file-BkZxBZ00bpJVk2q6x43b1YBx' = 'file-BkZxBZ00bpJVk2q6x43b1YBx)

start: 10453

end: 101770080

method: Vcfeval + Hap.py Comparison (Details : {https://precision.fda.gov/apps/ code 'app-BxfGF8j02pBZzZxbzZxP725P' = 'app-BxfGF8j02pBZzZxbzZxP725P)

truthTP: 7749

truthFN: 2554

queryFP: 10670

gtFP: 2186

precision: 0.428005

recall: 0.752111

quality

type: snp

standardSequence: file-BkZxBZ00bpJVk2q6x43b1YBx (Details : {https://precision.fda.gov/files/ code 'file-BkZxBZ00bpJVk2q6x43b1YBx' = 'file-BkZxBZ00bpJVk2q6x43b1YBx)

start: 10453

end: 101770080

method: Vcfeval + Hap.py Comparison (Details : {https://precision.fda.gov/apps/ code 'app-BxfGF8j02pBZzZxbzZxP725P' = 'app-BxfGF8j02pBZzZxbzZxP725P)

truthTP: 92106

truthFN: 1247

queryFP: 21744

gtFP: 493

precision: 0.808602

recall: 0.986642

Repositories

-TypeUrlName
*loginhttps://precision.fda.gov/jobs/job-ByxYPx809jFVy21KJG74Jg3YFDA
" + }, + "coordinateSystem": 1, + "patient": { + "reference": "Patient/example" + }, + "referenceSeq": { + "referenceSeqId": { + "coding": [ + { + "system": "http://www.ncbi.nlm.nih.gov/nuccore", + "code": "NC_000001.11" + } + ] + }, + "strand": 1, + "windowStart": 10453, + "windowEnd": 101770080 + }, + "variant": [ + { + "start": 13116, + "end": 13117, + "observedAllele": "T", + "referenceAllele": "G" + } + ], + "quality": [ + { + "type": "indel", + "standardSequence": { + "coding": [ + { + "system": "https://precision.fda.gov/files/", + "code": "file-BkZxBZ00bpJVk2q6x43b1YBx" + } + ] + }, + "start": 10453, + "end": 101770080, + "method": { + "coding": [ + { + "system": "https://precision.fda.gov/apps/", + "code": "app-BxfGF8j02pBZzZxbzZxP725P" + } + ], + "text": "Vcfeval + Hap.py Comparison" + }, + "truthTP": 7749, + "truthFN": 2554, + "queryFP": 10670, + "gtFP": 2186, + "precision": 0.428005, + "recall": 0.752111 + }, + { + "type": "snp", + "standardSequence": { + "coding": [ + { + "system": "https://precision.fda.gov/files/", + "code": "file-BkZxBZ00bpJVk2q6x43b1YBx" + } + ] + }, + "start": 10453, + "end": 101770080, + "method": { + "coding": [ + { + "system": "https://precision.fda.gov/apps/", + "code": "app-BxfGF8j02pBZzZxbzZxP725P" + } + ], + "text": "Vcfeval + Hap.py Comparison" + }, + "truthTP": 92106, + "truthFN": 1247, + "queryFP": 21744, + "gtFP": 493, + "precision": 0.808602, + "recall": 0.986642 + } + ], + "repository": [ + { + "type": "login", + "url": "https://precision.fda.gov/jobs/job-ByxYPx809jFVy21KJG74Jg3Y", + "name": "FDA" + } + ] +} \ No newline at end of file diff --git a/data/SampleData/Stu3/Slot.json b/data/SampleData/Stu3/Slot.json new file mode 100644 index 000000000..e3b9a974e --- /dev/null +++ b/data/SampleData/Stu3/Slot.json @@ -0,0 +1,52 @@ +{ + "resourceType": "Slot", + "id": "example", + "text": { + "status": "generated", + "div": "
\n\t\t\t25 Dec 2013 9:15am - 9:30am: Busy Physiotherapy\n\t\t
" + }, + "serviceCategory": { + "coding": [ + { + "code": "17", + "display": "General Practice" + } + ] + }, + "serviceType": [ + { + "coding": [ + { + "code": "57", + "display": "Immunization" + } + ] + } + ], + "specialty": [ + { + "coding": [ + { + "code": "408480009", + "display": "Clinical immunology" + } + ] + } + ], + "appointmentType": { + "coding": [ + { + "system": "http://hl7.org/fhir/v2/0276", + "code": "WALKIN", + "display": "A previously unscheduled walk-in visit" + } + ] + }, + "schedule": { + "reference": "Schedule/example" + }, + "status": "free", + "start": "2013-12-25T09:15:00Z", + "end": "2013-12-25T09:30:00Z", + "comment": "Assessments should be performed before requesting appointments in this slot." +} \ No newline at end of file diff --git a/data/SampleData/Stu3/Specimen.json b/data/SampleData/Stu3/Specimen.json new file mode 100644 index 000000000..133f04a23 --- /dev/null +++ b/data/SampleData/Stu3/Specimen.json @@ -0,0 +1,95 @@ +{ + "resourceType": "Specimen", + "id": "101", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: 101

contained:

identifier: 23234352356

accessionIdentifier: X352356

status: available

type: Venous blood specimen (Details : {SNOMED CT code '122555007' = 'Venous blood specimen', given as 'Venous blood specimen'})

subject: Peter Patient

receivedTime: 04/03/2011 7:03:00 AM

request: ProcedureRequest/example

Collections

-CollectorCollected[x]QuantityMethodBodySite
*Practitioner/example30/05/2011 6:15:00 AM6 mLLine, Venous (Details : {http://hl7.org/fhir/v2/0488 code 'LNV' = 'Line, Venous)Right median cubital vein (Details : {SNOMED CT code '49852007' = 'Median cubital vein', given as 'Structure of median cubital vein (body structure)'})

Containers

-IdentifierDescriptionTypeCapacitySpecimenQuantityAdditive[x]
*48736-15394-75465Green Gel tubeVacutainer (Details )10 mL6 mLid: hep; Lithium/Li Heparin (Details : {http://hl7.org/fhir/v3/EntityCode code 'HEPL' = 'Lithium/Li Heparin)

note: Specimen is grossly lipemic

" + }, + "identifier": [ + { + "system": "http://ehr.acme.org/identifiers/collections", + "value": "23234352356" + } + ], + "accessionIdentifier": { + "system": "http://lab.acme.org/specimens/2011", + "value": "X352356" + }, + "status": "available", + "type": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "122555007", + "display": "Venous blood specimen" + } + ] + }, + "subject": { + "reference": "Patient/example", + "display": "Peter Patient" + }, + "receivedTime": "2011-03-04T07:03:00Z", + "request": [ + { + "reference": "ProcedureRequest/example" + } + ], + "collection": { + "collector": { + "reference": "Practitioner/example" + }, + "collectedDateTime": "2011-05-30T06:15:00Z", + "quantity": { + "value": 6, + "unit": "mL" + }, + "method": { + "coding": [ + { + "system": "http://hl7.org/fhir/v2/0488", + "code": "LNV" + } + ] + }, + "bodySite": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "49852007", + "display": "Structure of median cubital vein (body structure)" + } + ], + "text": "Right median cubital vein" + } + }, + "container": [ + { + "identifier": [ + { + "value": "48736-15394-75465" + } + ], + "description": "Green Gel tube", + "type": { + "text": "Vacutainer" + }, + "capacity": { + "value": 10, + "unit": "mL" + }, + "specimenQuantity": { + "value": 6, + "unit": "mL" + }, + "additiveReference": { + "reference": "#hep" + } + } + ], + "note": [ + { + "text": "Specimen is grossly lipemic" + } + ] +} \ No newline at end of file diff --git a/data/SampleData/Stu3/StructureMap.json b/data/SampleData/Stu3/StructureMap.json new file mode 100644 index 000000000..e80c07626 --- /dev/null +++ b/data/SampleData/Stu3/StructureMap.json @@ -0,0 +1,190 @@ +{ + "resourceType": "StructureMap", + "id": "supplyrequest-transform", + "text": { + "status": "generated", + "div": "
\nmap "http://hl7.org/fhir/StructureMap/supplyrequest-transform" = supplyRequestTransform\n\nuses "http://hl7.org/fhir/StructureDefinition/ActivityDefinition" as source\nuses "http://hl7.org/fhir/StructureDefinition/SupplyRequest" as target\n\ngroup main\n input "source": ActivityDefinition as source\n input "target": SupplyRequest as target\n\n "status": for source.id make target.status = 'draft'\n "category": for source.id make target.category = 'non-stock'\n "priority": for source.id make target.priority = 'routine'\n "quantity": for source.quantity make target.orderedItem.quantity\n "item": for source.code make target.orderedItem.itemCodeableConcept\n "when": for source.id make target.occurrenceDateTime = Now()\n "authoredOn": for source.id make target.authoredOn = Now()\n
" + }, + "url": "http://hl7.org/fhir/StructureMap/supplyrequest-transform", + "name": "Transform from an ActivityDefinition to a SupplyRequest", + "status": "draft", + "structure": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/activitydefinition", + "mode": "source" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/supplyrequest", + "mode": "target" + } + ], + "group": [ + { + "name": "main", + "typeMode": "none", + "input": [ + { + "name": "source", + "mode": "source" + }, + { + "name": "target", + "mode": "target" + } + ], + "rule": [ + { + "name": "status", + "source": [ + { + "context": "source", + "element": "id", + "variable": "a" + } + ], + "target": [ + { + "context": "target", + "contextType": "variable", + "element": "status", + "transform": "evaluate", + "parameter": [ + { + "valueString": "'draft'" + } + ] + } + ] + }, + { + "name": "category", + "source": [ + { + "context": "source", + "element": "id", + "variable": "a" + } + ], + "target": [ + { + "context": "target", + "contextType": "variable", + "element": "category", + "transform": "evaluate", + "parameter": [ + { + "valueString": "'non-stock'" + } + ] + } + ] + }, + { + "name": "priority", + "source": [ + { + "context": "source", + "element": "id", + "variable": "a" + } + ], + "target": [ + { + "context": "target", + "contextType": "variable", + "element": "priority", + "transform": "evaluate", + "parameter": [ + { + "valueString": "'routine'" + } + ] + } + ] + }, + { + "name": "quantity", + "source": [ + { + "context": "source", + "element": "quantity", + "variable": "a" + } + ], + "target": [ + { + "context": "target", + "contextType": "variable", + "element": "category", + "transform": "copy" + } + ] + }, + { + "name": "item", + "source": [ + { + "context": "source", + "element": "code", + "variable": "a" + } + ], + "target": [ + { + "context": "target", + "contextType": "variable", + "element": "orderedItem.itemCodeableConcept", + "transform": "copy" + } + ] + }, + { + "name": "when", + "source": [ + { + "context": "source", + "element": "id", + "variable": "a" + } + ], + "target": [ + { + "context": "target", + "contextType": "variable", + "element": "occurrenceDateTime", + "transform": "evaluate", + "parameter": [ + { + "valueString": "now()" + } + ] + } + ] + }, + { + "name": "authoredOn", + "source": [ + { + "context": "source", + "element": "id", + "variable": "a" + } + ], + "target": [ + { + "context": "target", + "contextType": "variable", + "element": "authoredOn", + "transform": "evaluate", + "parameter": [ + { + "valueString": "now()" + } + ] + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/data/SampleData/Stu3/Subscription.json b/data/SampleData/Stu3/Subscription.json new file mode 100644 index 000000000..bc6d23527 --- /dev/null +++ b/data/SampleData/Stu3/Subscription.json @@ -0,0 +1,33 @@ +{ + "resourceType": "Subscription", + "id": "example-error", + "text": { + "status": "generated", + "div": "
[Put rendering here]
" + }, + "status": "error", + "contact": [ + { + "system": "phone", + "value": "ext 4123" + } + ], + "end": "2021-01-01T00:00:00Z", + "reason": "Monitor new neonatal function", + "criteria": "Observation?code=http://loinc.org|1975-2", + "error": "Socket Error 10060 - can't connect to host", + "channel": { + "type": "rest-hook", + "endpoint": "https://biliwatch.com/customers/mount-auburn-miu/on-result", + "payload": "application/fhir+json", + "header": [ + "Authorization: Bearer secret-token-abc-123" + ] + }, + "tag": [ + { + "system": "http://example.org/fhir/cs/internal", + "code": "bili-done" + } + ] +} \ No newline at end of file diff --git a/data/SampleData/Stu3/SupplyRequest.json b/data/SampleData/Stu3/SupplyRequest.json new file mode 100644 index 000000000..bb8ba35ce --- /dev/null +++ b/data/SampleData/Stu3/SupplyRequest.json @@ -0,0 +1,63 @@ +{ + "resourceType": "SupplyRequest", + "id": "simpleorder", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: simpleorder

identifier: Order10284

status: active

category: Central Stock Resupply (Details : {[not stated] code 'central' = 'central', given as 'Central Stock Resupply'})

priority: asap

OrderedItems

-QuantityItem[x]
*10Blood collect tubes blue cap (Details : {[not stated] code 'BlueTubes' = 'BlueTubes', given as 'Blood collect tubes blue cap'})

occurrence: 31/12/2016

authoredOn: 31/12/2016

Requesters

-AgentOnBehalfOf
*Henry SevenPurchasing Dept

supplier: Vendor1

reason: Refill due to low stock (Details : {[not stated] code 'stock_low' = 'stock_low', given as 'Refill due to low stock'})

deliverFrom: Location 1

deliverTo: GoodHealth Clinic Receiving

" + }, + "identifier": { + "value": "Order10284" + }, + "status": "active", + "category": { + "coding": [ + { + "code": "central", + "display": "Central Stock Resupply" + } + ] + }, + "priority": "asap", + "orderedItem": { + "quantity": { + "value": 10 + }, + "itemCodeableConcept": { + "coding": [ + { + "code": "BlueTubes", + "display": "Blood collect tubes blue cap" + } + ] + } + }, + "occurrenceDateTime": "2016-12-31", + "authoredOn": "2016-12-31", + "requester": { + "agent": { + "display": "Henry Seven" + }, + "onBehalfOf": { + "display": "Purchasing Dept" + } + }, + "supplier": [ + { + "display": "Vendor1" + } + ], + "reasonCodeableConcept": { + "coding": [ + { + "code": "stock_low", + "display": "Refill due to low stock" + } + ] + }, + "deliverFrom": { + "display": "Location 1" + }, + "deliverTo": { + "display": "GoodHealth Clinic Receiving" + } +} \ No newline at end of file diff --git a/data/SampleData/Stu3/Task.json b/data/SampleData/Stu3/Task.json new file mode 100644 index 000000000..770532a42 --- /dev/null +++ b/data/SampleData/Stu3/Task.json @@ -0,0 +1,102 @@ +{ + "resourceType": "Task", + "id": "example5", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example5

identifier: 20170201-001 (OFFICIAL)

basedOn: General Wellness Careplan

groupIdentifier: G20170201-001 (OFFICIAL)

status: in-progress

businessStatus: specimen received, test in progress (Details )

intent: order

priority: routine

code: Lipid Panel (Details )

description: Create order for getting specimen, Set up inhouse testing, generate order for any sendouts and submit with specimen

focus: Lipid Panel Request

for: Peter James Chalmers

context: Example In-Patient Encounter

executionPeriod: 31/10/2016 8:25:05 AM --> (ongoing)

authoredOn: 31/10/2016 8:25:05 AM

lastModified: 31/10/2016 4:45:05 PM

Requesters

-AgentOnBehalfOf
*Dr Adam CarefulGood Health Clinic

performerType: Performer (Details : {http://hl7.org/fhir/task-performer-type code 'performer' = 'Performer', given as 'Performer'})

owner: Clinical Laboratory @ Acme Hospital

reason: The Task.reason should only be included if there is no Task.focus or if it differs from the reason indicated on the focus (Details )

note: This is an example to demonstrate using task for actioning a procedurerequest and to illustrate how to populate many of the task elements - this is the parent task that will be broken into subtask to grab the specimen and a sendout lab test

Restrictions

-RepetitionsPeriod
*1?? --> 02/11/2016 9:45:05 AM

Outputs

-TypeValue[x]
*collected specimen (Details )Specimen/101
" + }, + "identifier": [ + { + "use": "official", + "system": "http:/goodhealth.org/identifiers", + "value": "20170201-001" + } + ], + "basedOn": [ + { + "display": "General Wellness Careplan" + } + ], + "groupIdentifier": { + "use": "official", + "system": "http:/goodhealth.org/accession/identifiers", + "value": "G20170201-001" + }, + "status": "in-progress", + "businessStatus": { + "text": "specimen received, test in progress" + }, + "intent": "order", + "priority": "routine", + "code": { + "text": "Lipid Panel" + }, + "description": "Create order for getting specimen, Set up inhouse testing, generate order for any sendouts and submit with specimen", + "focus": { + "reference": "ProcedureRequest/lipid", + "display": "Lipid Panel Request" + }, + "for": { + "reference": "Patient/example", + "display": "Peter James Chalmers" + }, + "context": { + "reference": "Encounter/example", + "display": "Example In-Patient Encounter" + }, + "executionPeriod": { + "start": "2016-10-31T08:25:05+10:00" + }, + "authoredOn": "2016-10-31T08:25:05+10:00", + "lastModified": "2016-10-31T16:45:05+10:00", + "requester": { + "agent": { + "reference": "Practitioner/example", + "display": "Dr Adam Careful" + }, + "onBehalfOf": { + "reference": "Organization/2.16.840.1.113883.19.5", + "display": "Good Health Clinic" + } + }, + "performerType": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/task-performer-type", + "code": "performer", + "display": "Performer" + } + ], + "text": "Performer" + } + ], + "owner": { + "reference": "Organization/1832473e-2fe0-452d-abe9-3cdb9879522f", + "display": "Clinical Laboratory @ Acme Hospital" + }, + "reason": { + "text": "The Task.reason should only be included if there is no Task.focus or if it differs from the reason indicated on the focus" + }, + "note": [ + { + "text": "This is an example to demonstrate using task for actioning a procedurerequest and to illustrate how to populate many of the task elements - this is the parent task that will be broken into subtask to grab the specimen and a sendout lab test " + } + ], + "restriction": { + "repetitions": 1, + "period": { + "end": "2016-11-02T09:45:05+10:00" + } + }, + "output": [ + { + "type": { + "text": "collected specimen" + }, + "valueReference": { + "reference": "Specimen/101" + } + } + ] +} \ No newline at end of file diff --git a/data/SampleData/Stu3/TestScript.json b/data/SampleData/Stu3/TestScript.json new file mode 100644 index 000000000..881db9aca --- /dev/null +++ b/data/SampleData/Stu3/TestScript.json @@ -0,0 +1,298 @@ +{ + "resourceType": "TestScript", + "id": "testscript-example", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: testscript-example

url: http://hl7.org/fhir/TestScript/testscript-example

identifier: urn:oid:1.3.6.1.4.1.21367.2005.3.7.9876

version: 1.0

name: TestScript Example

status: draft

experimental: true

date: 18/01/2017

publisher: HL7

contact:

description: TestScript example resource with setup to delete if present and create a new instance of a Patient; and single test definition to read the created Patient with various asserts.

useContext:

jurisdiction: United States of America (the) (Details : {urn:iso:std:iso:3166 code 'US' = 'United States', given as 'United States of America (the)'})

purpose: Patient Conditional Create (Update), Read and Delete Operations

copyright: © HL7.org 2011+

metadata

Links

-UrlDescription
*http://hl7.org/fhir/patient.htmlDemographics and other administrative information about an individual or animal receiving care or other health-related services.

Capabilities

-RequiredDescriptionLinkCapabilities
*truePatient Update, Read and Delete Operationshttp://hl7.org/fhir/http.html#deleteCapabilityStatement/example

fixture

autocreate: false

autodelete: false

resource: Peter Chalmers

fixture

autocreate: false

autodelete: false

resource: Peter Chalmers (minimum)

profile: http://hl7.org/fhir/StructureDefinition/Patient

Variables

-NamePathSourceId
*createResourceIdPatient/idfixture-patient-create

setup

action

Operations

-TypeResourceLabelDescriptionAcceptParams
*Delete (Details: http://hl7.org/fhir/testscript-operation-codes code delete = 'Delete', stated as 'null')PatientSetupDeletePatientExecute a delete operation to insure the patient does not exist on the server.json/${createResourceId}

action

Asserts

-DescriptionDirectionOperatorResponseCode
*Confirm that the returned HTTP status is 200(OK) or 204(No Content).responsein200,204

action

Operations

-TypeResourceLabelDescriptionAcceptContentTypeParamsSourceId
*Update (Details: http://hl7.org/fhir/testscript-operation-codes code update = 'Update', stated as 'null')PatientSetupCreatePatientCreate patient resource on test server using the contents of fixture-patient-createjsonjson/${createResourceId}fixture-patient-create

action

Asserts

-DescriptionDirectionResponseCode
*Confirm that the returned HTTP status is 201(Created).response201

action

Operations

-TypeResourceDescriptionTargetId
*Read (Details: http://hl7.org/fhir/testscript-operation-codes code read = 'Read', stated as 'null')PatientRead the created patient resource on the test server using the id from fixture-patient-create. Verify contents.fixture-patient-create

action

Asserts

-DescriptionDirectionResponse
*Confirm that the returned HTTP status is 200(OK).responseokay

action

Asserts

-DescriptionCompareToSourceIdCompareToSourceExpressionOperator
*Confirm that the returned Patient contains the expected family name 'Chalmers'. Uses explicit compareToSourceId reference to fixture-patient-create used to create the Patient.fixture-patient-createPatient.name.first().familyequals

test

name: Read Patient

description: Read a Patient and validate response.

action

Operations

-
*

action

Asserts

-
*

action

Asserts

-
*

action

Asserts

-
*

action

Asserts

-
*

action

Asserts

-
*

action

Asserts

-
*

action

Asserts

-
*

action

Asserts

-
*

action

Asserts

-
*

teardown

action

Operations

-
*
" + }, + "url": "http://hl7.org/fhir/TestScript/testscript-example", + "identifier": { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:1.3.6.1.4.1.21367.2005.3.7.9876" + }, + "version": "1.0", + "name": "TestScript Example", + "status": "draft", + "experimental": true, + "date": "2017-01-18", + "publisher": "HL7", + "contact": [ + { + "name": "Support", + "telecom": [ + { + "system": "email", + "value": "support@HL7.org", + "use": "work" + } + ] + } + ], + "description": "TestScript example resource with setup to delete if present and create a new instance of a Patient; and single test definition to read the created Patient with various asserts.", + "useContext": [ + { + "code": { + "system": "http://hl7.org/fhir/usage-context-type", + "code": "focus" + }, + "valueCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/variant-state", + "code": "positive" + } + ] + } + } + ], + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America (the)" + } + ] + } + ], + "purpose": "Patient Conditional Create (Update), Read and Delete Operations", + "copyright": "© HL7.org 2011+", + "metadata": { + "link": [ + { + "url": "http://hl7.org/fhir/patient.html", + "description": "Demographics and other administrative information about an individual or animal receiving care or other health-related services." + } + ], + "capability": [ + { + "required": true, + "description": "Patient Update, Read and Delete Operations", + "link": [ + "http://hl7.org/fhir/http.html#delete", + "http://hl7.org/fhir/http.html#read", + "http://hl7.org/fhir/http.html#update" + ], + "capabilities": { + "reference": "CapabilityStatement/example" + } + } + ] + }, + "fixture": [ + { + "id": "fixture-patient-create", + "autocreate": false, + "autodelete": false, + "resource": { + "reference": "Patient/example", + "display": "Peter Chalmers" + } + }, + { + "id": "fixture-patient-minimum", + "autocreate": false, + "autodelete": false, + "resource": { + "reference": "Patient/example", + "display": "Peter Chalmers (minimum)" + } + } + ], + "profile": [ + { + "id": "patient-profile", + "reference": "http://hl7.org/fhir/StructureDefinition/Patient" + } + ], + "variable": [ + { + "name": "createResourceId", + "path": "Patient/id", + "sourceId": "fixture-patient-create" + } + ], + "setup": { + "action": [ + { + "operation": { + "type": { + "system": "http://hl7.org/fhir/testscript-operation-codes", + "code": "delete" + }, + "resource": "Patient", + "label": "SetupDeletePatient", + "description": "Execute a delete operation to insure the patient does not exist on the server.", + "accept": "json", + "params": "/${createResourceId}" + } + }, + { + "assert": { + "description": "Confirm that the returned HTTP status is 200(OK) or 204(No Content).", + "direction": "response", + "operator": "in", + "responseCode": "200,204" + } + }, + { + "operation": { + "type": { + "system": "http://hl7.org/fhir/testscript-operation-codes", + "code": "update" + }, + "resource": "Patient", + "label": "SetupCreatePatient", + "description": "Create patient resource on test server using the contents of fixture-patient-create", + "accept": "json", + "contentType": "json", + "params": "/${createResourceId}", + "sourceId": "fixture-patient-create" + } + }, + { + "assert": { + "description": "Confirm that the returned HTTP status is 201(Created).", + "direction": "response", + "responseCode": "201" + } + }, + { + "operation": { + "type": { + "system": "http://hl7.org/fhir/testscript-operation-codes", + "code": "read" + }, + "resource": "Patient", + "description": "Read the created patient resource on the test server using the id from fixture-patient-create. Verify contents.", + "targetId": "fixture-patient-create" + } + }, + { + "assert": { + "description": "Confirm that the returned HTTP status is 200(OK).", + "direction": "response", + "response": "okay" + } + }, + { + "assert": { + "description": "Confirm that the returned Patient contains the expected family name 'Chalmers'. Uses explicit compareToSourceId reference to fixture-patient-create used to create the Patient.", + "compareToSourceId": "fixture-patient-create", + "compareToSourceExpression": "Patient.name.first().family", + "operator": "equals" + } + } + ] + }, + "test": [ + { + "id": "01-ReadPatient", + "name": "Read Patient", + "description": "Read a Patient and validate response.", + "action": [ + { + "operation": { + "type": { + "system": "http://hl7.org/fhir/testscript-operation-codes", + "code": "read" + }, + "resource": "Patient", + "description": "Read the patient resource on the test server using the id from fixture-patient-create. Prevent URL encoding of the request.", + "encodeRequestUrl": false, + "responseId": "fixture-patient-read", + "targetId": "fixture-patient-create" + } + }, + { + "assert": { + "label": "01-ReadPatientOK", + "description": "Confirm that the returned HTTP status is 200(OK).", + "direction": "response", + "response": "okay" + } + }, + { + "assert": { + "description": "Confirm that the returned HTTP Header Last-Modified is present. Warning only as the server may not support versioning.", + "direction": "response", + "headerField": "Last-Modified", + "operator": "notEmpty", + "warningOnly": true + } + }, + { + "assert": { + "description": "Confirm that the returned resource type is Patient.", + "resource": "Patient" + } + }, + { + "assert": { + "description": "Confirm that the returned Patient conforms to the base FHIR specification.", + "validateProfileId": "patient-profile" + } + }, + { + "assert": { + "description": "Confirm that the returned Patient contains the expected family name 'Chalmers'. Uses explicit sourceId reference to read responseId fixture.", + "operator": "equals", + "path": "fhir:Patient/fhir:name/fhir:family/@value", + "sourceId": "fixture-patient-read", + "value": "Chalmers" + } + }, + { + "assert": { + "description": "Confirm that the returned Patient contains the expected given name 'Peter'. Uses explicit sourceId reference to read responseId fixture.", + "operator": "equals", + "path": "fhir:Patient/fhir:name/fhir:given/@value", + "sourceId": "fixture-patient-read", + "value": "Peter" + } + }, + { + "assert": { + "description": "Confirm that the returned Patient contains the expected family name 'Chalmers'. Uses explicit compareToSourceId reference to fixture-patient-create used to create the Patient and implicit reference to read response payload.", + "compareToSourceId": "fixture-patient-create", + "compareToSourcePath": "fhir:Patient/fhir:name/fhir:family/@value", + "operator": "equals", + "path": "fhir:Patient/fhir:name/fhir:family/@value" + } + }, + { + "assert": { + "description": "Confirm that the returned Patient contains the expected family name 'Chalmers'. Uses explicit compareToSourceId reference to fixture-patient-create used to create the Patient and explicit reference to read response payload and default operator of 'equals'.", + "compareToSourceId": "fixture-patient-create", + "compareToSourcePath": "fhir:Patient/fhir:name/fhir:given/@value", + "path": "fhir:Patient/fhir:name/fhir:given/@value", + "sourceId": "fixture-patient-read" + } + }, + { + "assert": { + "description": "Confirm that the returned resource contains the expected retained elements and values. Warning only to provide users with reviewable results.", + "minimumId": "fixture-patient-minimum", + "warningOnly": true + } + } + ] + } + ], + "teardown": { + "action": [ + { + "operation": { + "type": { + "system": "http://hl7.org/fhir/testscript-operation-codes", + "code": "delete" + }, + "resource": "Patient", + "description": "Delete the patient resource on the test server using the id from fixture-patient-create.", + "targetId": "fixture-patient-create" + } + } + ] + } +} \ No newline at end of file diff --git a/data/SampleData/Stu3/VisionPrescription.json b/data/SampleData/Stu3/VisionPrescription.json new file mode 100644 index 000000000..0c7b9d618 --- /dev/null +++ b/data/SampleData/Stu3/VisionPrescription.json @@ -0,0 +1,95 @@ +{ + "resourceType": "VisionPrescription", + "id": "33124", + "text": { + "status": "generated", + "div": "
Sample Contract Lens prescription
" + }, + "identifier": [ + { + "system": "http://www.happysight.com/prescription", + "value": "15014" + } + ], + "status": "active", + "patient": { + "reference": "Patient/example" + }, + "encounter": { + "reference": "Encounter/f001" + }, + "dateWritten": "2014-06-15", + "prescriber": { + "reference": "Practitioner/example" + }, + "reasonCodeableConcept": { + "coding": [ + { + "system": "http://samplevisionreasoncodes.com", + "code": "myopia" + } + ] + }, + "dispense": [ + { + "product": { + "coding": [ + { + "system": "http://hl7.org/fhir/ex-visionprescriptionproduct", + "code": "contact" + } + ] + }, + "eye": "right", + "cylinder": -2.25, + "axis": 160, + "add": 1.75, + "power": -2.75, + "backCurve": 8.7, + "diameter": 14.0, + "duration": { + "value": 1, + "unit": "month", + "system": "http://unitsofmeasure.org", + "code": "month" + }, + "color": "green", + "brand": "OphthaGuard", + "note": [ + { + "text": "Shade treatment for extreme light sensitivity" + } + ] + }, + { + "product": { + "coding": [ + { + "system": "http://hl7.org/fhir/ex-visionprescriptionproduct", + "code": "contact" + } + ] + }, + "eye": "left", + "cylinder": -3.50, + "axis": 160, + "add": 1.75, + "power": -2.75, + "backCurve": 8.7, + "diameter": 14.0, + "duration": { + "value": 1, + "unit": "month", + "system": "http://unitsofmeasure.org", + "code": "month" + }, + "color": "green", + "brand": "OphthaGuard", + "note": [ + { + "text": "Shade treatment for extreme light sensitivity" + } + ] + } + ] +} \ No newline at end of file diff --git a/data/Templates/Stu3ToR4/Account.liquid b/data/Templates/Stu3ToR4/Account.liquid index 2d50bd917..3609a67f0 100644 --- a/data/Templates/Stu3ToR4/Account.liquid +++ b/data/Templates/Stu3ToR4/Account.liquid @@ -2,6 +2,7 @@ { "contained" : [ {{msg.contained | to_array | batch_render : 'Resource', 'msg'}} ], "servicePeriod" : {{msg.period | to_json_string | default : '""'}}, + "subject" : [{{msg.subject | to_json_string | default : '""'}}], "balance" : "", "active" : "", "period" : "" diff --git a/data/Templates/Stu3ToR4/AllergyIntolerance.liquid b/data/Templates/Stu3ToR4/AllergyIntolerance.liquid index 02df753a5..9b5fe350d 100644 --- a/data/Templates/Stu3ToR4/AllergyIntolerance.liquid +++ b/data/Templates/Stu3ToR4/AllergyIntolerance.liquid @@ -1,8 +1,6 @@ {% mergeDiff msg -%} { "contained" : [ {{msg.contained | to_array | batch_render : 'Resource', 'msg'}} ], - "clinicalStatus" : "", - "verificationStatus" : "", {%if msg.clinicalStatus -%} "clinicalStatus" : { "coding" : { diff --git a/data/Templates/Stu3ToR4/Appointment.liquid b/data/Templates/Stu3ToR4/Appointment.liquid index 1e8b2c8e0..fb63b722e 100644 --- a/data/Templates/Stu3ToR4/Appointment.liquid +++ b/data/Templates/Stu3ToR4/Appointment.liquid @@ -1,6 +1,7 @@ {% mergeDiff msg -%} { "contained" : [ {{msg.contained | to_array | batch_render : 'Resource', 'msg'}} ], + "serviceCategory" : [{{msg.serviceCategory | to_json_string | default : '""'}}], "reasonCode" : {{msg.reason | to_json_string | default : '""'}}, "reasonReference" : {{msg.indication | to_json_string | default : '""'}}, "basedOn" : {{msg.incomingReferral | to_json_string | default : '""'}}, diff --git a/data/Templates/Stu3ToR4/Bundle.liquid b/data/Templates/Stu3ToR4/Bundle.liquid index 84795968c..896e06892 100644 --- a/data/Templates/Stu3ToR4/Bundle.liquid +++ b/data/Templates/Stu3ToR4/Bundle.liquid @@ -1,6 +1,7 @@ {% mergeDiff msg -%} { "contained" : [ {{msg.contained | to_array | batch_render : 'Resource', 'msg'}} ], - "entry" : [ {{ msg.entry | to_array | batch_render: 'Bundle/Entry', 'msg' }} ] + "entry" : [ {{ msg.entry | to_array | batch_render: 'Bundle/Entry', 'msg' }} ], + "signature" : {% include 'DataType/Signature' msg : msg.signature -%} } {% endmergeDiff -%} \ No newline at end of file diff --git a/data/Templates/Stu3ToR4/Bundle/_Entry.liquid b/data/Templates/Stu3ToR4/Bundle/_Entry.liquid index 5aec020be..6354c2d93 100644 --- a/data/Templates/Stu3ToR4/Bundle/_Entry.liquid +++ b/data/Templates/Stu3ToR4/Bundle/_Entry.liquid @@ -1,5 +1,6 @@ {% mergeDiff msg -%} { - "resource": {% include 'Resource' msg : msg.resource -%} + "resource": {% include 'Resource' msg : msg.resource -%}, + "response": {% include 'Bundle/Response' msg: msg.response -%} } {% endmergeDiff -%} \ No newline at end of file diff --git a/data/Templates/Stu3ToR4/Bundle/_Response.liquid b/data/Templates/Stu3ToR4/Bundle/_Response.liquid new file mode 100644 index 000000000..2cdf682f0 --- /dev/null +++ b/data/Templates/Stu3ToR4/Bundle/_Response.liquid @@ -0,0 +1,5 @@ +{% mergeDiff msg -%} +{ + "outcome": {% include 'Resource' msg : msg.resource -%} +} +{% endmergeDiff -%} \ No newline at end of file diff --git a/data/Templates/Stu3ToR4/CarePlan.liquid b/data/Templates/Stu3ToR4/CarePlan.liquid index fea94c60e..8b3ffe3af 100644 --- a/data/Templates/Stu3ToR4/CarePlan.liquid +++ b/data/Templates/Stu3ToR4/CarePlan.liquid @@ -3,6 +3,7 @@ "contained" : [ {{msg.contained | to_array | batch_render : 'Resource', 'msg'}} ], "instantiatesCanonical" : {% include 'DataType/ReferenceToCanonical' msg: msg.definition -%}, "encounter" : {{msg.context | to_json_string | default : '""'}}, + "author" : {{msg.author[0] | to_json_string | default : '""'}}, "activity" : [ {{ msg.activity | to_array | batch_render: 'CarePlan/Activity', 'msg' }} ], "context" : "", "definition" : "" diff --git a/data/Templates/Stu3ToR4/CareTeam.liquid b/data/Templates/Stu3ToR4/CareTeam.liquid index 80c97e2d7..332a4a257 100644 --- a/data/Templates/Stu3ToR4/CareTeam.liquid +++ b/data/Templates/Stu3ToR4/CareTeam.liquid @@ -2,6 +2,7 @@ { "contained" : [ {{msg.contained | to_array | batch_render : 'Resource', 'msg'}} ], "encounter" : {{msg.context | to_json_string | default : '""'}}, + "participant" : [ {{ msg.participant | to_array | batch_render: 'CareTeam/Participant', 'msg' }} ], "context" : "" } {% endmergeDiff -%} \ No newline at end of file diff --git a/data/Templates/Stu3ToR4/CareTeam/_Participant.liquid b/data/Templates/Stu3ToR4/CareTeam/_Participant.liquid new file mode 100644 index 000000000..d993a583e --- /dev/null +++ b/data/Templates/Stu3ToR4/CareTeam/_Participant.liquid @@ -0,0 +1,5 @@ +{% mergeDiff msg -%} +{ + "role" : [{{msg.role | to_json_string | default:'""' }}] +} +{% endmergeDiff -%} \ No newline at end of file diff --git a/data/Templates/Stu3ToR4/CompartmentDefinition/__CompartmentDefinitionResource.liquid b/data/Templates/Stu3ToR4/CompartmentDefinition/_CompartmentDefinitionResource.liquid similarity index 100% rename from data/Templates/Stu3ToR4/CompartmentDefinition/__CompartmentDefinitionResource.liquid rename to data/Templates/Stu3ToR4/CompartmentDefinition/_CompartmentDefinitionResource.liquid diff --git a/data/Templates/Stu3ToR4/Composition.liquid b/data/Templates/Stu3ToR4/Composition.liquid index 3a9f9dd5a..f544f8454 100644 --- a/data/Templates/Stu3ToR4/Composition.liquid +++ b/data/Templates/Stu3ToR4/Composition.liquid @@ -4,6 +4,7 @@ "category" : [ {{msg.class | to_json_string | default : '""'}} ], - "class" : "" + "class" : "", + "attester": [{{msg.attester | to_array | batch_render : 'Composition/Attester', 'msg'}}] } {% endmergeDiff -%} \ No newline at end of file diff --git a/data/Templates/Stu3ToR4/Composition/_Attester.liquid b/data/Templates/Stu3ToR4/Composition/_Attester.liquid new file mode 100644 index 000000000..0b1855eaf --- /dev/null +++ b/data/Templates/Stu3ToR4/Composition/_Attester.liquid @@ -0,0 +1,5 @@ +{% mergeDiff msg -%} +{ + "mode" : "{{msg.mode[0]}}" +} +{% endmergeDiff -%} \ No newline at end of file diff --git a/data/Templates/Stu3ToR4/ConceptMap.liquid b/data/Templates/Stu3ToR4/ConceptMap.liquid index 799f4c662..0d5ebad8d 100644 --- a/data/Templates/Stu3ToR4/ConceptMap.liquid +++ b/data/Templates/Stu3ToR4/ConceptMap.liquid @@ -1,8 +1,8 @@ {% mergeDiff msg -%} { "contained" : [ {{msg.contained | to_array | batch_render : 'Resource', 'msg'}} ], - "sourceReference" : {% include 'DataType/ReferenceToCanonical' msg: msg.sourceReference -%}, - "targetReference" : {% include 'DataType/ReferenceToCanonical' msg: msg.targetReference -%}, + "sourceCanonical" : {% include 'DataType/ReferenceToCanonical' msg: msg.sourceReference -%}, + "targetCanonical" : {% include 'DataType/ReferenceToCanonical' msg: msg.targetReference -%}, "group" : [ {{ msg.group | to_array | batch_render: 'ConceptMap/TheGroup', 'msg' }} ] } {% endmergeDiff -%} \ No newline at end of file diff --git a/data/Templates/Stu3ToR4/Condition.liquid b/data/Templates/Stu3ToR4/Condition.liquid index e33298a9e..863eac1ed 100644 --- a/data/Templates/Stu3ToR4/Condition.liquid +++ b/data/Templates/Stu3ToR4/Condition.liquid @@ -17,6 +17,8 @@ } }, {% endif -%} + "abatementBoolean" : "", + "stage" : [{{msg.stage | to_json_string | default : '""'}}], "encounter" : {{msg.context | to_json_string | default : '""'}}, "recordedDate" : "{{msg.assertedDate | date: "yyyy-MM-dd"}}", "assertedDate" : "", diff --git a/data/Templates/Stu3ToR4/Consent.liquid b/data/Templates/Stu3ToR4/Consent.liquid index 6cab3299e..46631c739 100644 --- a/data/Templates/Stu3ToR4/Consent.liquid +++ b/data/Templates/Stu3ToR4/Consent.liquid @@ -1,6 +1,7 @@ {% mergeDiff msg -%} { "contained" : [ {{msg.contained | to_array | batch_render : 'Resource', 'msg'}} ], + "identifier" : [{{msg.identifier | to_json_string | default : '""'}}], "performer" : {{msg.consentingParty | to_json_string | default : '""'}}, {%if msg.policyRule -%} "policyRule" : { @@ -13,6 +14,7 @@ {% if msg.securityLabel or msg.period or msg.actor or msg.action or msg.purpose or msg.dataPeriod or msg.data or msg.except -%} "provision" : {% include 'Consent/Base' msg: msg %}, {% endif -%} + "sourceIdentifier" : "", "except" : "", "data" : "", "dataPeriod" : "", diff --git a/data/Templates/Stu3ToR4/Device.liquid b/data/Templates/Stu3ToR4/Device.liquid index 5b33cd7b2..64940537f 100644 --- a/data/Templates/Stu3ToR4/Device.liquid +++ b/data/Templates/Stu3ToR4/Device.liquid @@ -4,14 +4,6 @@ "udiCarrier" : [ { "deviceIdentifier" : "{{msg.udi.deviceIdentifier}}", - "deviceName" : [ - {%if msg.udi.name -%} - { - "name" : "{{msg.udi.name}}", - "type" : "udi-label-name" - }, - {% endif -%} - ], "jurisdiction" : "{{msg.udi.jurisdiction}}", "carrierHRF" : "{{msg.udi.carrierHRF}}", "carrierAIDC" : "{{msg.udi.carrierAIDC}}", @@ -19,6 +11,14 @@ "entryType" : "{{msg.udi.entryType}}" } ], + "deviceName" : [ + {%if msg.udi.name -%} + { + "name" : "{{msg.udi.name}}", + "type" : "udi-label-name" + }, + {% endif -%} + ], "modelNumber" : "{{msg.model}}", "version" : [ { diff --git a/data/Templates/Stu3ToR4/DiagnosticReport.liquid b/data/Templates/Stu3ToR4/DiagnosticReport.liquid index 53eaca6ec..78830b9c7 100644 --- a/data/Templates/Stu3ToR4/DiagnosticReport.liquid +++ b/data/Templates/Stu3ToR4/DiagnosticReport.liquid @@ -1,6 +1,7 @@ {% mergeDiff msg -%} { "contained" : [ {{msg.contained | to_array | batch_render : 'Resource', 'msg'}} ], + "category" : [{{msg.category | to_json_string | default : '""'}}], "encounter" : {{msg.context | to_json_string | default : '""'}}, "performer" : [ {{ msg.performer | to_array | batch_render: 'DiagnosticReport/Performer', 'msg' }} ], "media" : {{msg.image | to_json_string | default : '""' }}, diff --git a/data/Templates/Stu3ToR4/DiagnosticReport/_Performer.liquid b/data/Templates/Stu3ToR4/DiagnosticReport/_Performer.liquid index aefd24ec1..60882bad0 100644 --- a/data/Templates/Stu3ToR4/DiagnosticReport/_Performer.liquid +++ b/data/Templates/Stu3ToR4/DiagnosticReport/_Performer.liquid @@ -12,6 +12,9 @@ {% endif -%} ], "actor" : "", - "role" : "" + "role" : "", + "reference" : "{{msg.actor.reference}}", + "identifier" : {{msg.actor.identifier | to_json_string | default:'""'}}, + "display" : "{{msg.actor.display}}" } {% endmergeDiff -%} diff --git a/data/Templates/Stu3ToR4/DocumentReference.liquid b/data/Templates/Stu3ToR4/DocumentReference.liquid index ef335a13f..6c5136bad 100644 --- a/data/Templates/Stu3ToR4/DocumentReference.liquid +++ b/data/Templates/Stu3ToR4/DocumentReference.liquid @@ -4,7 +4,6 @@ "category" : [ {{msg.class | to_json_string | default : '""'}} ], - "author" : "", "date" : "{{msg.indexed | date: "yyyy-MM-ddTHH:mm:ss.fff%K" }}", "created" : "", "extension" : [ diff --git a/data/Templates/Stu3ToR4/DocumentReference/_Context.liquid b/data/Templates/Stu3ToR4/DocumentReference/_Context.liquid index cb29c9d8c..4892c7df8 100644 --- a/data/Templates/Stu3ToR4/DocumentReference/_Context.liquid +++ b/data/Templates/Stu3ToR4/DocumentReference/_Context.liquid @@ -1,5 +1,6 @@ {% mergeDiff msg -%} { + "encounter" : [{{msg.encounter | to_json_string | default : '""'}}], "related" : [ {% for r in msg.related %} {% if r.ref %} diff --git a/data/Templates/Stu3ToR4/Encounter.liquid b/data/Templates/Stu3ToR4/Encounter.liquid index 40bdbe7f6..5b6bbe9ea 100644 --- a/data/Templates/Stu3ToR4/Encounter.liquid +++ b/data/Templates/Stu3ToR4/Encounter.liquid @@ -3,6 +3,7 @@ "contained" : [ {{msg.contained | to_array | batch_render : 'Resource', 'msg'}} ], "basedOn" : {{msg.incomingReferral | to_json_string | default : '""'}}, "reasonCode" : {{msg.reason | to_json_string | default : '""'}}, + "appointment" : [{{msg.appointment | to_json_string | default : '""'}}], "diagnosis" : [ {{ msg.diagnosis | to_array | batch_render: 'Encounter/Diagnosis', 'msg' }} ], "reason" : "", "incomingReferral" : "" diff --git a/data/Templates/Stu3ToR4/ExplanationOfBenefit.liquid b/data/Templates/Stu3ToR4/ExplanationOfBenefit.liquid index abfe9522b..303e8249d 100644 --- a/data/Templates/Stu3ToR4/ExplanationOfBenefit.liquid +++ b/data/Templates/Stu3ToR4/ExplanationOfBenefit.liquid @@ -1,6 +1,7 @@ {% mergeDiff msg -%} { "contained" : [ {{msg.contained | to_array | batch_render : 'Resource', 'msg'}} ], + "subtype" : {{msg.subtype[0] | to_json_string | default:'""'}}, "outcome" : "", {% assign value = msg.outcome.coding[0].code %} {% if value == 'complete' or value == 'error' or value == 'partial' -%} @@ -8,6 +9,7 @@ {% endif -%} "payee" : {% include 'ExplanationOfBenefit/ExplanationOfBenefitPayee' msg: msg.payee -%}, "supportingInfo" : {{msg.information | to_json_string | default : '""' }}, + "insurance" : [{{msg.insurance | to_json_string | default:'""'}}], "item" : [ {{ msg.item | to_array | batch_render: 'ExplanationOfBenefit/ExplanationOfBenefitItem', 'msg' }} ], "addItem" : [ {{ msg.addItem | to_array | batch_render: 'ExplanationOfBenefit/ExplanationOfBenefitAddItem', 'msg' }} ], "total" : [ diff --git a/data/Templates/Stu3ToR4/FamilyMemberHistory.liquid b/data/Templates/Stu3ToR4/FamilyMemberHistory.liquid index d034594c1..692bfc54e 100644 --- a/data/Templates/Stu3ToR4/FamilyMemberHistory.liquid +++ b/data/Templates/Stu3ToR4/FamilyMemberHistory.liquid @@ -26,6 +26,7 @@ {% endif -%} "definition" : "", "gender" : "", - "notDone" : "" + "notDone" : "", + "notDoneReason" : "", } {% endmergeDiff -%} diff --git a/data/Templates/Stu3ToR4/Goal.liquid b/data/Templates/Stu3ToR4/Goal.liquid index 8341df2d4..102a96be6 100644 --- a/data/Templates/Stu3ToR4/Goal.liquid +++ b/data/Templates/Stu3ToR4/Goal.liquid @@ -47,6 +47,7 @@ ] }, {% endif -%} + "target" : [{{msg.target | to_json_string | default : '""'}}], "status" : "" } {% endmergeDiff -%} \ No newline at end of file diff --git a/data/Templates/Stu3ToR4/Immunization/_Protocol.liquid b/data/Templates/Stu3ToR4/Immunization/_Protocol.liquid index 756276229..123bb8105 100644 --- a/data/Templates/Stu3ToR4/Immunization/_Protocol.liquid +++ b/data/Templates/Stu3ToR4/Immunization/_Protocol.liquid @@ -1,7 +1,7 @@ {% mergeDiff msg -%} { "doseNumberPositiveInt" : {{msg.doseSequence}}, - "doseNumberPositiveInt" : {{msg.seriesDoses}}, + "seriesDosesPositiveInt" : {{msg.seriesDoses}}, "extension" : [ {% for e in msg.extension -%} {{ e | to_json_string | default : '""'}}, diff --git a/data/Templates/Stu3ToR4/Location.liquid b/data/Templates/Stu3ToR4/Location.liquid index 2a9471609..488ec2f57 100644 --- a/data/Templates/Stu3ToR4/Location.liquid +++ b/data/Templates/Stu3ToR4/Location.liquid @@ -1,5 +1,6 @@ {% mergeDiff msg -%} { "contained" : [ {{msg.contained | to_array | batch_render : 'Resource', 'msg'}} ], + "type" : [{{msg.type | to_json_string | default : '""'}}] } {% endmergeDiff -%} \ No newline at end of file diff --git a/data/Templates/Stu3ToR4/Medication.liquid b/data/Templates/Stu3ToR4/Medication.liquid index 99d54b9f2..8ca67d233 100644 --- a/data/Templates/Stu3ToR4/Medication.liquid +++ b/data/Templates/Stu3ToR4/Medication.liquid @@ -55,7 +55,6 @@ "image" : "", "isOverTheCounter" : "", "isBrand" : "", - "status" : "", "package" : "" } {% endmergeDiff -%} \ No newline at end of file diff --git a/data/Templates/Stu3ToR4/MedicationDispense.liquid b/data/Templates/Stu3ToR4/MedicationDispense.liquid index 3320ed0b6..56ea766ae 100644 --- a/data/Templates/Stu3ToR4/MedicationDispense.liquid +++ b/data/Templates/Stu3ToR4/MedicationDispense.liquid @@ -27,6 +27,6 @@ {% endif -%} ], "notDone" : "", - "notDoneReasonReference[x]" : "" + "notDoneReason[x]" : "" } {% endmergeDiff -%} \ No newline at end of file diff --git a/data/Templates/Stu3ToR4/MedicationRequest.liquid b/data/Templates/Stu3ToR4/MedicationRequest.liquid index c56120c96..c5979de25 100644 --- a/data/Templates/Stu3ToR4/MedicationRequest.liquid +++ b/data/Templates/Stu3ToR4/MedicationRequest.liquid @@ -1,6 +1,7 @@ {% mergeDiff msg -%} { "contained" : [ {{msg.contained | to_array | batch_render : 'Resource', 'msg'}} ], + "category" : [{{msg.category | to_json_string | default : '""'}}], "instantiatesCanonical" : {{msg.definition | to_json_string | default : '""'}}, "encounter" : {{msg.context | to_json_string | default : '""'}}, "extension" : [ diff --git a/data/Templates/Stu3ToR4/Observation.liquid b/data/Templates/Stu3ToR4/Observation.liquid index d5cfc0d04..b64464af6 100644 --- a/data/Templates/Stu3ToR4/Observation.liquid +++ b/data/Templates/Stu3ToR4/Observation.liquid @@ -3,6 +3,7 @@ "contained" : [ {{msg.contained | to_array | batch_render : 'Resource', 'msg'}} ], "encounter" : {{msg.context | to_json_string | default : '""'}}, "related" : "", + "interpretation" : [ {{msg.interpretation | to_json_string | default : '""'}}], "note" : [ {% include 'DataType/StringToAnnotation' msg: msg.comment -%} ], diff --git a/data/Templates/Stu3ToR4/OperationDefinition/_Parameter.liquid b/data/Templates/Stu3ToR4/OperationDefinition/_Parameter.liquid index a14307e7e..ed4fb3c90 100644 --- a/data/Templates/Stu3ToR4/OperationDefinition/_Parameter.liquid +++ b/data/Templates/Stu3ToR4/OperationDefinition/_Parameter.liquid @@ -1,7 +1,7 @@ {% mergeDiff msg -%} { "targetProfile" : [ - {{msg.profile | to_json_string | default : '""'}} + {% include 'DataType/ReferenceToCanonical' msg: msg.profile -%} ], "profile" : "", "binding" : {% include 'OperationDefinition/Binding' msg: msg.binding -%}, diff --git a/data/Templates/Stu3ToR4/PaymentNotice.liquid b/data/Templates/Stu3ToR4/PaymentNotice.liquid index 2175fc085..66ab969f7 100644 --- a/data/Templates/Stu3ToR4/PaymentNotice.liquid +++ b/data/Templates/Stu3ToR4/PaymentNotice.liquid @@ -5,6 +5,7 @@ "recipient" : {{msg.target | to_json_string | default : '""'}}, "organization" : "", "target" : "", - "statusDate" : "" + "statusDate" : "", + "provider" : "" } {% endmergeDiff -%} \ No newline at end of file diff --git a/data/Templates/Stu3ToR4/Provenance/_Entity.liquid b/data/Templates/Stu3ToR4/Provenance/_Entity.liquid index f901aedea..da312e7de 100644 --- a/data/Templates/Stu3ToR4/Provenance/_Entity.liquid +++ b/data/Templates/Stu3ToR4/Provenance/_Entity.liquid @@ -14,7 +14,7 @@ {% else if msg.whatReference -%} "what" : {{msg.whatReference |to_json_string | default : '""'}}, {% else if msg.whatIdentifier -%} - "what" : {{msg.whatIdentifier |to_json_string | default : '""'}}, + "what" : {% include 'DataType/IdentifierToReference' msg : msg.whatIdentifier -%}, {% endif -%} "agent" : [ {{ msg.agent | to_array | batch_render: 'Provenance/Agent', 'msg' }} ] } diff --git a/data/Templates/Stu3ToR4/Questionnaire/_EnableWhen.liquid b/data/Templates/Stu3ToR4/Questionnaire/_EnableWhen.liquid index ab2f5d3a9..a16413395 100644 --- a/data/Templates/Stu3ToR4/Questionnaire/_EnableWhen.liquid +++ b/data/Templates/Stu3ToR4/Questionnaire/_EnableWhen.liquid @@ -6,6 +6,8 @@ {% else -%} "operator" : "=", {% endif -%} - "hasAnswer" : "" + "hasAnswer" : "", + "answerAttachment" : "", + "answerUri" : "" } {% endmergeDiff -%} \ No newline at end of file diff --git a/data/Templates/Stu3ToR4/Questionnaire/_Initial.liquid b/data/Templates/Stu3ToR4/Questionnaire/_Initial.liquid index 64e836071..4fb6e4263 100644 --- a/data/Templates/Stu3ToR4/Questionnaire/_Initial.liquid +++ b/data/Templates/Stu3ToR4/Questionnaire/_Initial.liquid @@ -1,4 +1,3 @@ -{% mergeDiff msg -%} { "valueBoolean" : {{msg.initialBoolean}}, "valueDecimal" : {{msg.initialDecimal}}, @@ -14,5 +13,4 @@ "valueReference" : {{msg.initialReference | to_json_string | default : '""'}}, "initial[x]" : "", } -{% endmergeDiff -%} diff --git a/data/Templates/Stu3ToR4/RelatedPerson.liquid b/data/Templates/Stu3ToR4/RelatedPerson.liquid index 2a9471609..f943a8020 100644 --- a/data/Templates/Stu3ToR4/RelatedPerson.liquid +++ b/data/Templates/Stu3ToR4/RelatedPerson.liquid @@ -1,5 +1,8 @@ {% mergeDiff msg -%} { "contained" : [ {{msg.contained | to_array | batch_render : 'Resource', 'msg'}} ], + "relationship" : [ + {{msg.relationship | to_json_string | default : '""'}} + ], } {% endmergeDiff -%} \ No newline at end of file diff --git a/data/Templates/Stu3ToR4/Schedule.liquid b/data/Templates/Stu3ToR4/Schedule.liquid index 2ee684055..67d342aef 100644 --- a/data/Templates/Stu3ToR4/Schedule.liquid +++ b/data/Templates/Stu3ToR4/Schedule.liquid @@ -1,6 +1,6 @@ {% mergeDiff msg -%} { "contained" : [ {{msg.contained | to_array | batch_render : 'Resource', 'msg'}} ], - "serviceCategory" : [{{ msg.serviceCategory | to_json_string | default : '""'}}] + "serviceCategory" : [{{ msg.serviceCategory | to_json_string | default : '""'}}] } {% endmergeDiff -%} \ No newline at end of file diff --git a/data/Templates/Stu3ToR4/Slot.liquid b/data/Templates/Stu3ToR4/Slot.liquid index b839e0093..283b18d14 100644 --- a/data/Templates/Stu3ToR4/Slot.liquid +++ b/data/Templates/Stu3ToR4/Slot.liquid @@ -1,6 +1,6 @@ {% mergeDiff msg -%} { "contained" : [ {{msg.contained | to_array | batch_render : 'Resource', 'msg'}} ], - "serviceCategory" : [{{msg.serviceCategory | to_json_string | default : '""'}}] + "serviceCategory" : [{{msg.serviceCategory | to_json_string | default : '""'}}] } {% endmergeDiff -%} \ No newline at end of file diff --git a/data/Templates/Stu3ToR4/VisionPrescription/_Dispense.liquid b/data/Templates/Stu3ToR4/VisionPrescription/_Dispense.liquid index 5d829926d..d30ca2230 100644 --- a/data/Templates/Stu3ToR4/VisionPrescription/_Dispense.liquid +++ b/data/Templates/Stu3ToR4/VisionPrescription/_Dispense.liquid @@ -7,6 +7,7 @@ "base" : "{{msg.base}}" }, {% endif -%} - ] + ], + "base" : "" } {% endmergeDiff -%} \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/FunctionalTests.cs b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/FunctionalTests.cs index 7b885e17c..17da98141 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/FunctionalTests.cs +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/FunctionalTests.cs @@ -233,15 +233,44 @@ public static IEnumerable GetDataForStu3ToR4() { var data = new List { - @"CapabilityStatement", - @"CodeSystem", - @"Observation", - @"OperationDefinition", - @"OperationOutcome", - @"Parameters", - @"Patient", - @"StructureDefinition", - @"ValueSet", + // Maturity Level in R4 : N + "CapabilityStatement", + "CodeSystem", + "Observation", + "OperationDefinition", + "OperationOutcome", + "Parameters", + "Patient", + "StructureDefinition", + "ValueSet", + + // Maturity Level in R4 : 3 & 4 + "SearchParameter", + "ConceptMap", + "Provenance", + "AuditEvent", + "DocumentReference", + "MessageHeader", + "Subscription", + "Practitioner", + "Organization", + "Location", + "Appointment", + "AppointmentResponse", + "Schedule", + "Slot", + "AllergyIntolerance", + "Condition", + "Procedure", + "DiagnosticReport", + "ImagingStudy", + "QuestionnaireResponse", + "MedicationRequest", + "MedicationStatement", + "Medication", + "Immunization", + "Questionnaire", + }; return data.Select(item => new[] { diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Stu3ToR4/AllergyIntolerance.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Stu3ToR4/AllergyIntolerance.json new file mode 100644 index 000000000..fcad3b507 --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Stu3ToR4/AllergyIntolerance.json @@ -0,0 +1,113 @@ +{ + "resourceType": "AllergyIntolerance", + "id": "example", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

identifier: 49476534

clinicalStatus: active

verificationStatus: confirmed

type: allergy

category: food

criticality: high

code: Cashew nuts (Details : {SNOMED CT code '227493005' = 'Cashew nuts', given as 'Cashew nuts'})

patient: Patient/example

onset: 01/01/2004

assertedDate: 09/10/2014 2:58:00 PM

recorder: Practitioner/example

asserter: Patient/example

lastOccurrence: 01/06/2012

note: The criticality is high becasue of the observed anaphylactic reaction when challenged with cashew extract.

reaction

substance: cashew nut allergenic extract Injectable Product (Details : {RxNorm code '1160593' = '1160593', given as 'cashew nut allergenic extract Injectable Product'})

manifestation: Anaphylactic reaction (Details : {SNOMED CT code '39579001' = 'Anaphylaxis', given as 'Anaphylactic reaction'})

description: Challenge Protocol. Severe reaction to subcutaneous cashew extract. Epinephrine administered

onset: 12/06/2012

severity: severe

exposureRoute: Subcutaneous route (Details : {SNOMED CT code '34206005' = 'Subcutaneous route', given as 'Subcutaneous route'})

reaction

manifestation: Urticaria (Details : {SNOMED CT code '64305001' = 'Urticaria', given as 'Urticaria'})

onset: 01/01/2004

severity: moderate

note: The patient reports that the onset of urticaria was within 15 minutes of eating cashews.

" + }, + "identifier": [ + { + "system": "http://acme.com/ids/patients/risks", + "value": "49476534" + } + ], + "clinicalStatus": { + "coding": { + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical", + "code": "active" + } + }, + "verificationStatus": { + "coding": { + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification", + "code": "confirmed" + } + }, + "type": "allergy", + "category": [ + "food" + ], + "criticality": "high", + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "227493005", + "display": "Cashew nuts" + } + ] + }, + "patient": { + "reference": "Patient/example" + }, + "onsetDateTime": "2004", + "recorder": { + "reference": "Practitioner/example" + }, + "asserter": { + "reference": "Patient/example" + }, + "lastOccurrence": "2012-06", + "note": [ + { + "text": "The criticality is high becasue of the observed anaphylactic reaction when challenged with cashew extract." + } + ], + "reaction": [ + { + "substance": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "1160593", + "display": "cashew nut allergenic extract Injectable Product" + } + ] + }, + "manifestation": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "39579001", + "display": "Anaphylactic reaction" + } + ] + } + ], + "description": "Challenge Protocol. Severe reaction to subcutaneous cashew extract. Epinephrine administered", + "onset": "2012-06-12", + "severity": "severe", + "exposureRoute": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "34206005", + "display": "Subcutaneous route" + } + ] + } + }, + { + "manifestation": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "64305001", + "display": "Urticaria" + } + ] + } + ], + "onset": "2004", + "severity": "moderate", + "note": [ + { + "text": "The patient reports that the onset of urticaria was within 15 minutes of eating cashews." + } + ] + } + ], + "recordedDate": "2014-10-09T11:58:00+08:00" +} \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Stu3ToR4/Appointment.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Stu3ToR4/Appointment.json new file mode 100644 index 000000000..55e92fad0 --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Stu3ToR4/Appointment.json @@ -0,0 +1,103 @@ +{ + "resourceType": "Appointment", + "id": "example", + "text": { + "status": "generated", + "div": "
Brian MRI results discussion
" + }, + "status": "booked", + "serviceCategory": [ + { + "coding": [ + { + "system": "http://example.org/service-category", + "code": "gp", + "display": "General Practice" + } + ] + } + ], + "serviceType": [ + { + "coding": [ + { + "code": "52", + "display": "General Discussion" + } + ] + } + ], + "specialty": [ + { + "coding": [ + { + "system": "http://example.org/specialty", + "code": "gp", + "display": "General Practice" + } + ] + } + ], + "appointmentType": { + "coding": [ + { + "system": "http://example.org/appointment-type", + "code": "follow", + "display": "Followup" + } + ] + }, + "priority": 5, + "description": "Discussion on the results of your recent MRI", + "start": "2013-12-10T09:00:00Z", + "end": "2013-12-10T11:00:00Z", + "created": "2013-10-10", + "comment": "Further expand on the results of the MRI and determine the next actions that may be appropriate.", + "participant": [ + { + "actor": { + "reference": "Patient/example", + "display": "Peter James Chalmers" + }, + "required": "required", + "status": "accepted" + }, + { + "type": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/v3/ParticipationType", + "code": "ATND" + } + ] + } + ], + "actor": { + "reference": "Practitioner/example", + "display": "Dr Adam Careful" + }, + "required": "required", + "status": "accepted" + }, + { + "actor": { + "reference": "Location/1", + "display": "South Wing, second floor" + }, + "required": "required", + "status": "accepted" + } + ], + "reasonReference": [ + { + "reference": "Condition/example", + "display": "Severe burn of left ear" + } + ], + "basedOn": [ + { + "reference": "ReferralRequest/example" + } + ] +} \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Stu3ToR4/AppointmentResponse.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Stu3ToR4/AppointmentResponse.json new file mode 100644 index 000000000..9a2b87207 --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Stu3ToR4/AppointmentResponse.json @@ -0,0 +1,36 @@ +{ + "resourceType": "AppointmentResponse", + "id": "exampleresp", + "text": { + "status": "generated", + "div": "
Accept Brian MRI results discussion
" + }, + "identifier": [ + { + "system": "http://example.org/sampleappointmentresponse-identifier", + "value": "response123" + } + ], + "appointment": { + "reference": "Appointment/examplereq", + "display": "Brian MRI results discussion" + }, + "start": "2013-12-25T13:15:00Z", + "end": "2013-12-25T13:30:00Z", + "participantType": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/v3/ParticipationType", + "code": "ATND" + } + ] + } + ], + "actor": { + "reference": "Practitioner/example", + "display": "Dr Adam Careful" + }, + "participantStatus": "tentative", + "comment": "can't we try for this time, can't do mornings" +} \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Stu3ToR4/AuditEvent.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Stu3ToR4/AuditEvent.json new file mode 100644 index 000000000..4df428b6d --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Stu3ToR4/AuditEvent.json @@ -0,0 +1,99 @@ +{ + "resourceType": "AuditEvent", + "id": "example-pixQuery", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example-pixQuery

type: Query (Details: DICOM code 110112 = 'Query', stated as 'Query')

subtype: PIX Query (Details: urn:oid:1.3.6.1.4.1.19376.1.2 code ITI-9 = 'ITI-9', stated as 'PIX Query')

action: E

recorded: 26/08/2015 11:42:24 PM

outcome: 0

agent

role: Source Role ID (Details : {DICOM code '110153' = 'Source Role ID', given as 'Source Role ID'})

userId: 2.16.840.1.113883.4.2|2.16.840.1.113883.4.2

altId: 6580

requestor: false

Networks

-AddressType
*Workstation1.ehr.familyclinic.com1

agent

userId: 95

altId: 601847123

name: Grahame Grieve

requestor: true

Sources

-Identifier
*hl7connect.healthintersections.com.au

entity

identifier: e3cdfc81a0d24bd^^^&2.16.840.1.113883.4.2&ISO

type: Person (Details: http://hl7.org/fhir/object-type code 1 = '1', stated as 'Person')

role: Patient (Details: http://hl7.org/fhir/object-role code 1 = 'Patient', stated as 'Patient')

entity

type: System Object (Details: http://hl7.org/fhir/object-type code 2 = '2', stated as 'System Object')

role: Query (Details: http://hl7.org/fhir/object-role code 24 = 'Query', stated as 'Query')

query: PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPFBSUEFfSU4yMDEzMDlVVjAyIElUU1ZlcnNpb249IlhNTF8xLjAiIHhtbG5zPSJ1cm46aGw3LW9yZzp2MyI+CiAgPGlkIGV4dGVuc2lvbj0iMzU0MjMiIHJvb3Q9IjEuMi44NDAuMTE0MzUwLjEuMTMuMC4xLjcuMS4xIi8+CiAgPGNyZWF0aW9uVGltZSB2YWx1ZT0iMjAxNDA1MDgxNjQ5MjUiLz4KICA8aW50ZXJhY3Rpb25JZCBleHRlbnNpb249IlBSUEFfSU4yMDEzMDVVVjAyIiByb290PSIyLjE2Ljg0MC4xLjExMzg4My4xLjYiLz4KICA8cHJvY2Vzc2luZ0NvZGUgY29kZT0iVCIvPgogIDxwcm9jZXNzaW5nTW9kZUNvZGUgY29kZT0iVCIvPgogID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NDAuMS4xMTM4ODMuMS42Ii8+CiAgICA8cXVlcnlCeVBhcmFtZXRlcj4KICAgICAgPHF1ZXJ5SWQgZXh0ZW5zaW9uPSIxODQwOTk3MDg0IiByb290PSIxLjIuODQwLjExNDM1MC4xLjEzLjI4LjEuMTguNS45OTkiLz4KICAgICAgPHN0YXR1c0NvZGUgY29kZT0ibmV3Ii8+CiAgICAgIDxyZXNwb25zZVByaW9yaXR5Q29kZSBjb2RlPSJJIi8+CiAgICAgIDxwYXJhbWV0ZXJMaXN0PgogICAgICAgIDxwYXRpZW50SWRlbnRpZmllcj4KICAgICAgICAgIDx2YWx1ZSBleHRlbnNpb249IlN1cnlhQnJhbmQiIHJvb3Q9IjIuMTYuODQwLjEuMTEzODgzLjQuMiIvPgogICAgICAgICAgPHNlbWFudGljc1RleHQ+UGF0aWVudC5JZDwvc2VtYW50aWNzVGV4dD4KICAgICAgICA8L3BhdGllbnRJZGVudGlmaWVyPgogICAgICA8L3BhcmFtZXRlckxpc3Q+CiAgICA8L3F1ZXJ5QnlQYXJhbWV0ZXI+CiAgPC9jb250cm9sQWN0UHJvY2Vzcz4KPC9QUlBBX0lOMjAxMzA5VVYwMj4K

Details

-TypeValue
*MSH-10MS4yLjg0MC4xMTQzNTAuMS4xMy4wLjEuNy4xLjE=
" + }, + "type": { + "system": "http://dicom.nema.org/resources/ontology/DCM", + "code": "110112", + "display": "Query" + }, + "subtype": [ + { + "system": "urn:oid:1.3.6.1.4.1.19376.1.2", + "code": "ITI-9", + "display": "PIX Query" + } + ], + "action": "E", + "recorded": "2015-08-26T23:42:24Z", + "outcome": "0", + "agent": [ + { + "role": [ + { + "coding": [ + { + "system": "http://dicom.nema.org/resources/ontology/DCM", + "code": "110153", + "display": "Source Role ID" + } + ] + } + ], + "altId": "6580", + "requestor": false, + "network": { + "address": "Workstation1.ehr.familyclinic.com", + "type": "1" + }, + "who": { + "identifier": { + "value": "2.16.840.1.113883.4.2|2.16.840.1.113883.4.2" + } + } + }, + { + "altId": "601847123", + "name": "Grahame Grieve", + "requestor": true, + "who": { + "identifier": { + "value": "95" + } + } + } + ], + "source": { + "observer": { + "identifier": { + "value": "hl7connect.healthintersections.com.au" + } + } + }, + "entity": [ + { + "type": { + "system": "http://hl7.org/fhir/object-type", + "code": "1", + "display": "Person" + }, + "role": { + "system": "http://hl7.org/fhir/object-role", + "code": "1", + "display": "Patient" + } + }, + { + "type": { + "system": "http://hl7.org/fhir/object-type", + "code": "2", + "display": "System Object" + }, + "role": { + "system": "http://hl7.org/fhir/object-role", + "code": "24", + "display": "Query" + }, + "query": "PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPFBSUEFfSU4yMDEzMDlVVjAyIElUU1ZlcnNpb249IlhNTF8xLjAiIHhtbG5zPSJ1cm46aGw3LW9yZzp2MyI+CiAgPGlkIGV4dGVuc2lvbj0iMzU0MjMiIHJvb3Q9IjEuMi44NDAuMTE0MzUwLjEuMTMuMC4xLjcuMS4xIi8+CiAgPGNyZWF0aW9uVGltZSB2YWx1ZT0iMjAxNDA1MDgxNjQ5MjUiLz4KICA8aW50ZXJhY3Rpb25JZCBleHRlbnNpb249IlBSUEFfSU4yMDEzMDVVVjAyIiByb290PSIyLjE2Ljg0MC4xLjExMzg4My4xLjYiLz4KICA8cHJvY2Vzc2luZ0NvZGUgY29kZT0iVCIvPgogIDxwcm9jZXNzaW5nTW9kZUNvZGUgY29kZT0iVCIvPgogIDxhY2NlcHRBY2tDb2RlIGNvZGU9IkFMIi8+CiAgPHJlY2VpdmVyIHR5cGVDb2RlPSJSQ1YiPgogICAgPGRldmljZSBjbGFzc0NvZGU9IkRFViIgZGV0ZXJtaW5lckNvZGU9IklOU1RBTkNFIj4KICAgICAgPGlkIHJvb3Q9IkVIUl9NSVNZUyIvPgogICAgICA8YXNBZ2VudCBjbGFzc0NvZGU9IkFHTlQiPgogICAgICAgIDxyZXByZXNlbnRlZE9yZ2FuaXphdGlvbiBjbGFzc0NvZGU9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ICAgICAgIDxwYXRpZW50SWRlbnRpZmllcj4KICAgICAgICAgIDx2YWx1ZSBleHRlbnNpb249IlN1cnlhQnJhbmQiIHJvb3Q9IjIuMTYuODQwLjEuMTEzODgzLjQuMiIvPgogICAgICAgICAgPHNlbWFudGljc1RleHQ+UGF0aWVudC5JZDwvc2VtYW50aWNzVGV4dD4KICAgICAgICA8L3BhdGllbnRJZGVudGlmaWVyPgogICAgICA8L3BhcmFtZXRlckxpc3Q+CiAgICA8L3F1ZXJ5QnlQYXJhbWV0ZXI+CiAgPC9jb250cm9sQWN0UHJvY2Vzcz4KPC9QUlBBX0lOMjAxMzA5VVYwMj4K", + "detail": [ + { + "type": "MSH-10", + "valueBase64Binary": "MS4yLjg0MC4xMTQzNTAuMS4xMy4wLjEuNy4xLjE=" + } + ] + } + ] +} \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Stu3ToR4/ConceptMap.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Stu3ToR4/ConceptMap.json new file mode 100644 index 000000000..31d4e41b9 --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Stu3ToR4/ConceptMap.json @@ -0,0 +1,61 @@ +{ + "resourceType": "ConceptMap", + "id": "example2", + "text": { + "status": "generated", + "div": "
\n

FHIR-exanple-2 (http://hl7.org/fhir/ConceptMap/example2)

\n

Mapping from http://example.org/fhir/example1 to http://example.org/fhir/example2

\n

DRAFT (not intended for production usage). Published on 13/06/2012 by HL7, Inc (FHIR project team (example): \n http://hl7.org/fhir). \n

\n
\n

An example mapping

\n\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n Source Concept\n \n Equivalence\n \n Destination Concept\n
\n Code [http://example.org/fhir/example1]\n \n http://example.org/fhir/DataElement/example [http://example.org/fhir/example3]\n \n \n Code [http://example.org/fhir/example2]\n
codesome-code:equivalentcode2
\n
" + }, + "url": "http://hl7.org/fhir/ConceptMap/example2", + "name": "FHIR-exanple-2", + "title": "FHIR Example 2", + "status": "draft", + "experimental": true, + "date": "2012-06-13", + "publisher": "HL7, Inc", + "contact": [ + { + "name": "FHIR project team (example)", + "telecom": [ + { + "system": "url", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "An example mapping", + "purpose": "To illustrate mapping features", + "sourceUri": "http://example.org/fhir/example1", + "targetUri": "http://example.org/fhir/example2", + "group": [ + { + "source": "http://example.org/fhir/example1", + "target": "http://example.org/fhir/example2", + "element": [ + { + "code": "code", + "display": "Example Code", + "target": [ + { + "code": "code2", + "display": "Some Example Code", + "equivalence": "equivalent", + "dependsOn": [ + { + "property": "http://example.org/fhir/DataElement/example", + "system": "http://example.org/fhir/example3", + "display": "Something Coded", + "value": "some-code" + } + ] + } + ] + } + ], + "unmapped": { + "mode": "other-map", + "url": "http://example.org/fhir/ConceptMap/map2" + } + } + ] +} \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Stu3ToR4/Condition.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Stu3ToR4/Condition.json new file mode 100644 index 000000000..ef6d4a179 --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Stu3ToR4/Condition.json @@ -0,0 +1,103 @@ +{ + "resourceType": "Condition", + "id": "f201", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: f201

identifier: 12345

clinicalStatus: resolved

verificationStatus: confirmed

category: Problem (Details : {SNOMED CT code '55607006' = 'Problem', given as 'Problem'}; {http://hl7.org/fhir/condition-category code 'problem-list-item' = 'Problem List Item)

severity: Mild (Details : {SNOMED CT code '255604002' = 'Mild', given as 'Mild'})

code: Fever (Details : {SNOMED CT code '386661006' = 'Fever', given as 'Fever'})

bodySite: Entire body as a whole (Details : {SNOMED CT code '38266002' = 'Body as a whole', given as 'Entire body as a whole'})

subject: Roel

context: Encounter/f201

onset: 02/04/2013

abatement: around April 9, 2013

assertedDate: 04/04/2013

asserter: Practitioner/f201

Evidences

-CodeDetail
*degrees C (Details : {SNOMED CT code '258710007' = 'degrees C', given as 'degrees C'})Temperature
" + }, + "identifier": [ + { + "value": "12345" + } + ], + "clinicalStatus": { + "coding": { + "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", + "code": "resolved" + } + }, + "verificationStatus": { + "coding": { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed" + } + }, + "category": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "55607006", + "display": "Problem" + }, + { + "system": "http://hl7.org/fhir/condition-category", + "code": "problem-list-item" + } + ] + } + ], + "severity": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "255604002", + "display": "Mild" + } + ] + }, + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "386661006", + "display": "Fever" + } + ] + }, + "bodySite": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "38266002", + "display": "Entire body as a whole" + } + ] + } + ], + "subject": { + "reference": "Patient/f201", + "display": "Roel" + }, + "onsetDateTime": "2013-04-02", + "abatementString": "around April 9, 2013", + "asserter": { + "reference": "Practitioner/f201" + }, + "evidence": [ + { + "code": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "258710007", + "display": "degrees C" + } + ] + } + ], + "detail": [ + { + "reference": "Observation/f202", + "display": "Temperature" + } + ] + } + ], + "encounter": { + "reference": "Encounter/f201" + }, + "recordedDate": "2013-04-04" +} \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Stu3ToR4/DiagnosticReport.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Stu3ToR4/DiagnosticReport.json new file mode 100644 index 000000000..51eff0126 --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Stu3ToR4/DiagnosticReport.json @@ -0,0 +1,60 @@ +{ + "resourceType": "DiagnosticReport", + "id": "102", + "text": { + "status": "generated", + "div": "
\n\t\t\t

DXA BONE DENSITOMETRY

\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
NAMEXXXXXXX
DOB10/02/1974
REFERRING DRSmith, Jane
INDICATIONSEarly menopause on estrogen levels. No period for 18 months
PROCEDUREDual energy x-ray absorptiometry (DEXA)
\n\t\t\t

Bone Mineral Density

\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
Scan TypeRegionMeasuredAgeBMDT-ScoreZ-Score?BMD(g/cm2)?BMD(%)
AP SpineL1-L417/06/200834.41.148 g/cm²-0.4-0.5--
Left FemurNeck17/06/200834.40.891 g/cm²-1.0-0.9--
Left FemurTotal17/06/200834.40.887 g/cm²-1.2-1.3--
Right FemurNeck17/06/200834.40.885 g/cm²-1.0-1.0--
Right FemurTotal17/06/200834.40.867 g/cm²-1.4-1.4--
\n\t\t\t

Assessment:

\n\t\t\t
    \n\t\t\t\t
  • The Spine L1-L4 BMD is normal.
  • \n\t\t\t\t
  • The Left Femur Neck BMD is in the osteopenic range. Relative fracture risk is about 2.
  • \n\t\t\t\t
  • The Left Femur Total BMD is in the osteopenic range. Relative fracture risk is about 2.
  • \n\t\t\t\t
  • The Right Femur Neck BMD is in the osteopenic range. Relative fracture risk is about 2.
  • \n\t\t\t\t
  • The Right Femur Total BMD is in the osteopenic range. Relative fracture risk is about 2.
  • \n\t\t\t
\n\t\t\t

\n\t\t\t\tCOMMENT\n\t\t\t

\n\t\t\t

Osteopenia on measured BMD. The estimated 10-year probability of fracture based on present age, gender and measured BMD is less than 10%. This absolute fracture risk remains low. A follow-up assessment may be considered in 2 to 3 years to monitor the trend in BMD.

\n\t\t\t

Thank you for your referral. Dr Henry Seven 17/06/2008

\n\t\t\t
\nNote:\nWHO classification of osteoporosis (WHO Technical Report Series 1994: 843)\n- Normal: T-score equal to -1.0 s.d. or higher\n- Osteopenia: T-score  between -1.0 and -2.5 s.d.\n- Osteoporosis: T-score equal to -2.5 s.d. or lower\n- Severe/Established osteoporosis: Osteoporosis with one or more fragility fracture.\nT-score: The number of s.d. from the mean BMD for a gender-matched young adult population.\nZ-score: The number of s.d. from the mean BMD for an age-, weight- and gender-matched population.\nReference for 10-year probability of fracture risk: Kanis JA, Johnell O, Oden A, Dawson A,  De Laet C, Jonsson B. Ten year probabilities of osteoporotic fractures according to BMD and diagnostic thresholds. Osteoporos.Int. 2001;12(12):989-995.\nGE LUNAR PRODIGY DENSITOMETER\n
\n\t\t
" + }, + "status": "final", + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "38269-7" + } + ], + "text": "DXA BONE DENSITOMETRY" + }, + "subject": { + "reference": "Patient/pat2" + }, + "effectiveDateTime": "2008-06-17", + "issued": "2008-06-18T07:23:00+08:00", + "performer": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/r3/StructureDefinition/extension-DiagnosticReport.performer.role", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "66862007", + "display": "Radiologist" + } + ], + "text": "Radiologist" + } + } + ], + "reference": "Practitioner/3ad0687e-f477-468c-afd5-fcc2bf897809", + "display": "Dr Henry Seven" + } + ], + "result": [ + { + "reference": "Observation/bmd" + } + ], + "conclusionCode": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "391040000", + "display": "At risk of osteoporotic fracture" + } + ] + } + ] +} \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Stu3ToR4/DocumentReference.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Stu3ToR4/DocumentReference.json new file mode 100644 index 000000000..248f2faf1 --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Stu3ToR4/DocumentReference.json @@ -0,0 +1,162 @@ +{ + "resourceType": "DocumentReference", + "id": "example", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

contained:

masterIdentifier: urn:oid:1.3.6.1.4.1.21367.2005.3.7

identifier: urn:oid:1.3.6.1.4.1.21367.2005.3.7.1234

status: current

docStatus: preliminary

type: Outpatient Note (Details : {LOINC code '34108-1' = 'Outpatient Note', given as 'Outpatient Note'})

class: History and Physical (Details : {http://ihe.net/xds/connectathon/classCodes code 'History and Physical' = 'History and Physical', given as 'History and Physical'})

subject: Patient/xcda

created: 24/12/2005 9:35:00 AM

indexed: 24/12/2005 9:43:41 AM

author: Practitioner/xcda1, id: a2; Gerald Smitty

authenticator: Organization/f001

custodian: Organization/f001

RelatesTos

-CodeTarget
*appendsDocumentReference/example

description: Physical

securityLabel: very restricted (Details : {http://hl7.org/fhir/v3/Confidentiality code 'V' = 'very restricted', given as 'very restricted'})

Contents

-AttachmentFormat
*History and Physical Specification (Details: urn:oid:1.3.6.1.4.1.19376.1.2.3 code urn:ihe:pcc:handp:2008 = 'urn:ihe:pcc:handp:2008', stated as 'History and Physical Specification')

context

encounter: Encounter/xcda

event: Arm (Details : {http://ihe.net/xds/connectathon/eventCodes code 'T-D8200' = 'T-D8200', given as 'Arm'})

period: 23/12/2004 8:00:00 AM --> 23/12/2004 8:01:00 AM

facilityType: Outpatient (Details : {http://www.ihe.net/xds/connectathon/healthcareFacilityTypeCodes code 'Outpatient' = 'Outpatient', given as 'Outpatient'})

practiceSetting: General Medicine (Details : {http://www.ihe.net/xds/connectathon/practiceSettingCodes code 'General Medicine' = 'General Medicine', given as 'General Medicine'})

sourcePatientInfo: Patient/xcda

Relateds

-IdentifierRef
*urn:oid:1.3.6.1.4.1.21367.2005.3.7.2345Patient/xcda
" + }, + "contained": [ + { + "resourceType": "Practitioner", + "id": "a2", + "name": [ + { + "family": "Smitty", + "given": [ + "Gerald" + ] + } + ] + } + ], + "masterIdentifier": { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:1.3.6.1.4.1.21367.2005.3.7" + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:1.3.6.1.4.1.21367.2005.3.7.1234" + } + ], + "status": "current", + "docStatus": "preliminary", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34108-1", + "display": "Outpatient Note" + } + ] + }, + "subject": { + "reference": "Patient/xcda" + }, + "author": [ + { + "reference": "Practitioner/xcda1" + }, + { + "reference": "#a2" + } + ], + "authenticator": { + "reference": "Organization/f001" + }, + "custodian": { + "reference": "Organization/f001" + }, + "relatesTo": [ + { + "code": "appends", + "target": { + "reference": "DocumentReference/example" + } + } + ], + "description": "Physical", + "securityLabel": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/v3/Confidentiality", + "code": "V", + "display": "very restricted" + } + ] + } + ], + "content": [ + { + "attachment": { + "contentType": "application/hl7-v3+xml", + "language": "en-US", + "url": "http://example.org/xds/mhd/Binary/07a6483f-732b-461e-86b6-edb665c45510", + "size": 3654, + "hash": "2jmj7l5rSw0yVb/vlWAYkK/YBwk=" + }, + "format": { + "system": "urn:oid:1.3.6.1.4.1.19376.1.2.3", + "code": "urn:ihe:pcc:handp:2008", + "display": "History and Physical Specification" + } + } + ], + "context": { + "encounter": [ + { + "reference": "Encounter/xcda" + } + ], + "event": [ + { + "coding": [ + { + "system": "http://ihe.net/xds/connectathon/eventCodes", + "code": "T-D8200", + "display": "Arm" + } + ] + } + ], + "period": { + "start": "2004-12-23T05:00:00+08:00", + "end": "2004-12-23T05:01:00+08:00" + }, + "facilityType": { + "coding": [ + { + "system": "http://www.ihe.net/xds/connectathon/healthcareFacilityTypeCodes", + "code": "Outpatient", + "display": "Outpatient" + } + ] + }, + "practiceSetting": { + "coding": [ + { + "system": "http://www.ihe.net/xds/connectathon/practiceSettingCodes", + "code": "General Medicine", + "display": "General Medicine" + } + ] + }, + "sourcePatientInfo": { + "reference": "Patient/xcda" + }, + "related": [ + { + "reference": "Patient/xcda" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://ihe.net/xds/connectathon/classCodes", + "code": "History and Physical", + "display": "History and Physical" + } + ] + } + ], + "date": "2005-12-24T06:43:41+08:00", + "extension": [ + { + "url": "http://hl7.org/fhir/r3/StructureDefinition/extension-DocumentReference.created", + "valuedateTime": "2005-12-24T06:35:00+08:00" + } + ] +} \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Stu3ToR4/ImagingStudy.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Stu3ToR4/ImagingStudy.json new file mode 100644 index 000000000..a28ce17ca --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Stu3ToR4/ImagingStudy.json @@ -0,0 +1,166 @@ +{ + "resourceType": "ImagingStudy", + "id": "example-xr", + "text": { + "status": "generated", + "div": "
XR Wrist 3+ Views. John Smith (MRN: 09236). Accession: W12342398. Performed: 2017-01-01. 1 series, 2 images.
" + }, + "identifier": [ + { + "system": "urn:dicom:uid", + "value": "urn:oid:2.16.124.113543.6003.1154777499.30246.19789.3503430046" + }, + { + "use": "secondary", + "value": "55551234", + "assigner": { + "reference": "Organization/dicom-organization" + } + }, + { + "use": "usual", + "type": { + "coding": [ + { + "system": "http://hl7.org/fhir/v2/0203", + "code": "ACSN" + } + ] + }, + "value": "W12342398", + "assigner": { + "reference": "Organization/dicom-organization" + } + } + ], + "started": "2017-01-01T16:01:20+08:00", + "basedOn": [ + { + "reference": "ProcedureRequest/example" + } + ], + "referrer": { + "reference": "Practitioner/example" + }, + "interpreter": [ + { + "reference": "Practitioner/example" + } + ], + "endpoint": [ + { + "reference": "Endpoint/example-wadors" + } + ], + "numberOfSeries": 1, + "numberOfInstances": 2, + "procedureReference": { + "reference": "Procedure/example" + }, + "procedureCode": [ + { + "coding": [ + { + "system": "http://www.radlex.org", + "code": "RPID2589", + "display": "XR Wrist 3+ Views" + } + ], + "text": "XR Wrist 3+ Views" + } + ], + "description": "XR Wrist 3+ Views", + "series": [ + { + "uid": "2.16.124.113543.6003.1154777499.30246.19789.3503430045.1", + "number": 3, + "modality": { + "system": "http://dicom.nema.org/resources/ontology/DCM", + "code": "DX" + }, + "description": "XR Wrist 3+ Views", + "numberOfInstances": 2, + "endpoint": [ + { + "reference": "Endpoint/example-wadors" + } + ], + "bodySite": { + "system": "http://snomed.info/sct", + "code": "T-15460", + "display": "Wrist Joint" + }, + "laterality": { + "system": "http://snomed.info/sct", + "code": "419161000", + "display": "Unilateral left" + }, + "started": "2011-01-01T16:01:20+08:00", + "performer": [ + { + "function": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", + "code": "PRF" + } + ] + }, + "actor": { + "reference": "Practitioner/example" + } + } + ], + "instance": [ + { + "uid": "2.16.124.113543.6003.1154777499.30246.19789.3503430045.1.1", + "number": 1, + "sopClass": { + "system": "urn:ietf:rfc:3986", + "code": "urn:oid:1.2.840.10008.5.1.4.1.1.2" + }, + "title": "PA VIEW" + }, + { + "uid": "2.16.124.113543.6003.1154777499.30246.19789.3503430045.1.2", + "number": 2, + "sopClass": { + "system": "urn:ietf:rfc:3986", + "code": "urn:oid:1.2.840.10008.5.1.4.1.1.2" + }, + "title": "LL VIEW" + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/r3/StructureDefinition/extension-ImagingStudy.series.availability", + "valueCode": "ONLINE" + } + ] + } + ], + "status": "available", + "modality": [ + { + "system": "http://dicom.nema.org/resources/ontology/DCM", + "code": "DX" + } + ], + "subject": { + "reference": "Patient/dicom" + }, + "encounter": { + "reference": "Encounter/example" + }, + "reasonCode": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "357009", + "display": "Closed fracture of trapezoidal bone of wrist" + } + ] + } + ] +} \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Stu3ToR4/Immunization.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Stu3ToR4/Immunization.json new file mode 100644 index 000000000..c5ff67780 --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Stu3ToR4/Immunization.json @@ -0,0 +1,155 @@ +{ + "resourceType": "Immunization", + "id": "example", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

identifier: urn:oid:1.3.6.1.4.1.21367.2005.3.7.1234

status: completed

notGiven: false

vaccineCode: Fluvax (Influenza) (Details : {urn:oid:1.2.36.1.2001.1005.17 code 'FLUVAX' = 'Fluvax)

patient: Patient/example

encounter: Encounter/example

date: 10/01/2013

primarySource: true

location: Location/1

manufacturer: Organization/hl7

lotNumber: AAJN11K

expirationDate: 15/02/2015

site: left arm (Details : {http://hl7.org/fhir/v3/ActSite code 'LA' = 'left arm', given as 'left arm'})

route: Injection, intramuscular (Details : {http://hl7.org/fhir/v3/RouteOfAdministration code 'IM' = 'Injection, intramuscular', given as 'Injection, intramuscular'})

doseQuantity: 5 mg (Details: UCUM code mg = 'mg')

practitioner

role: Ordering Provider (Details : {http://hl7.org/fhir/v2/0443 code 'OP' = 'Ordering Provider)

actor: Practitioner/example

practitioner

role: Administering Provider (Details : {http://hl7.org/fhir/v2/0443 code 'AP' = 'Administering Provider)

actor: Practitioner/example

note: Notes on adminstration of vaccine

Explanations

-Reason
*Procedure to meet occupational requirement (Details : {SNOMED CT code '429060002' = 'Procedure to meet occupational requirement)

Reactions

-DateDetailReported
*10/01/2013Observation/exampletrue

VaccinationProtocols

-DoseSequenceDescriptionAuthoritySeriesSeriesDosesTargetDiseaseDoseStatusDoseStatusReason
*1Vaccination Protocol Sequence 1Organization/hl7Vaccination Series 12Gestational rubella syndrome (Details : {SNOMED CT code '1857005' = 'Gestational rubella syndrome)Counts (Details : {http://hl7.org/fhir/vaccination-protocol-dose-status code 'count' = 'Counts', given as 'Counts'})Cold chain break (Details : {http://hl7.org/fhir/vaccination-protocol-dose-status-reason code 'coldchbrk' = 'Cold chain break', given as 'Cold chain break'})
" + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:1.3.6.1.4.1.21367.2005.3.7.1234" + } + ], + "status": "completed", + "vaccineCode": { + "coding": [ + { + "system": "urn:oid:1.2.36.1.2001.1005.17", + "code": "FLUVAX" + } + ], + "text": "Fluvax (Influenza)" + }, + "patient": { + "reference": "Patient/example" + }, + "encounter": { + "reference": "Encounter/example" + }, + "primarySource": true, + "location": { + "reference": "Location/1" + }, + "manufacturer": { + "reference": "Organization/hl7" + }, + "lotNumber": "AAJN11K", + "expirationDate": "2015-02-15", + "site": { + "coding": [ + { + "system": "http://hl7.org/fhir/v3/ActSite", + "code": "LA", + "display": "left arm" + } + ] + }, + "route": { + "coding": [ + { + "system": "http://hl7.org/fhir/v3/RouteOfAdministration", + "code": "IM", + "display": "Injection, intramuscular" + } + ] + }, + "doseQuantity": { + "value": 5, + "system": "http://unitsofmeasure.org", + "code": "mg" + }, + "note": [ + { + "text": "Notes on adminstration of vaccine" + } + ], + "reaction": [ + { + "date": "2013-01-10", + "detail": { + "reference": "Observation/example" + }, + "reported": true + } + ], + "occurrenceDateTime": "2013-01-10", + "performer": [ + { + "actor": { + "reference": "Practitioner/example" + }, + "function": { + "coding": [ + { + "system": "http://hl7.org/fhir/v2/0443", + "code": "OP" + } + ] + } + }, + { + "actor": { + "reference": "Practitioner/example" + }, + "function": { + "coding": [ + { + "system": "http://hl7.org/fhir/v2/0443", + "code": "AP" + } + ] + } + } + ], + "protocolApplied": [ + { + "authority": { + "reference": "Organization/hl7" + }, + "series": "Vaccination Series 1", + "targetDisease": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "1857005" + } + ] + } + ], + "doseNumberPositiveInt": 1, + "seriesDosesPositiveInt": 2, + "extension": [ + { + "url": "http://hl7.org/fhir/r3/StructureDefinition/extension-Immunization.vaccinationProtocol.description", + "valueString": "Vaccination Protocol Sequence 1" + }, + { + "url": "http://hl7.org/fhir/r3/StructureDefinition/extension-Immunization.vaccinationProtocol.doseStatus", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/vaccination-protocol-dose-status", + "code": "count", + "display": "Counts" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/r3/StructureDefinition/extension-Immunization.vaccinationProtocol.doseStatusReason", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/vaccination-protocol-dose-status-reason", + "code": "coldchbrk", + "display": "Cold chain break" + } + ] + } + } + ] + } + ] +} \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Stu3ToR4/Location.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Stu3ToR4/Location.json new file mode 100644 index 000000000..127870d4a --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Stu3ToR4/Location.json @@ -0,0 +1,79 @@ +{ + "resourceType": "Location", + "id": "1", + "text": { + "status": "generated", + "div": "
Burgers UMC, South Wing, second floor
" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/location-alias", + "valueString": "Burgers University Medical Center, South Wing, second floor" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/location-alias", + "valueString": "BU MC, SW, F2" + } + ], + "identifier": [ + { + "value": "B1-S.F2" + } + ], + "status": "active", + "name": "South Wing, second floor", + "description": "Second floor of the Old South Wing, formerly in use by Psychiatry", + "mode": "instance", + "telecom": [ + { + "system": "phone", + "value": "2328", + "use": "work" + }, + { + "system": "fax", + "value": "2329", + "use": "work" + }, + { + "system": "email", + "value": "second wing admissions" + }, + { + "system": "url", + "value": "http://sampleorg.com/southwing", + "use": "work" + } + ], + "address": { + "use": "work", + "line": [ + "Galapagosweg 91, Building A" + ], + "city": "Den Burg", + "postalCode": "9105 PZ", + "country": "NLD" + }, + "physicalType": { + "coding": [ + { + "system": "http://hl7.org/fhir/location-physical-type", + "code": "wi", + "display": "Wing" + } + ] + }, + "position": { + "longitude": -83.6945691, + "latitude": 42.25475478, + "altitude": 0 + }, + "managingOrganization": { + "reference": "Organization/f001" + }, + "endpoint": [ + { + "reference": "Endpoint/example" + } + ] +} \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Stu3ToR4/Medication.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Stu3ToR4/Medication.json new file mode 100644 index 000000000..cd477e16d --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Stu3ToR4/Medication.json @@ -0,0 +1,85 @@ +{ + "resourceType": "Medication", + "id": "med0303", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: med0303

contained:

code: Alemtuzumab 10mg/ml (Lemtrada) (Details : {RxNorm code '1594660' = '1594660', given as 'Alemtuzumab 10mg/ml (Lemtrada)'})

isBrand: true

manufacturer: id: org6; name: Genzyme

form: Injection solution (qualifier vallue) (Details : {SNOMED CT code '385219001' = 'Injection solution', given as 'Injection solution (qualifier vallue)'})

Ingredients

-Item[x]Amount
*Alemtuzamab (substance) (Details : {SNOMED CT code '129472003' = 'Alemtuzumab', given as 'Alemtuzamab (substance)'})12 mg (Details: UCUM code mg = 'mg')/1.2 mL (Details: UCUM code mL = 'mL')

package

container: Vial (Details : {SNOMED CT code '415818006' = 'Vial', given as 'Vial'})

Contents

-Item[x]Amount
*Alemtuzumab 30mg/3mL infusion concentrate (product) (Details : {SNOMED CT code '408596005' = 'Alemtuzumab 30mg/3mL infusion concentrate', given as 'Alemtuzumab 30mg/3mL infusion concentrate (product)'})3 mL (Details: UCUM code mL = 'mL')

Batches

-LotNumberExpirationDate
*949478822/05/2017
" + }, + "contained": [ + { + "resourceType": "Organization", + "id": "org6", + "name": "Genzyme" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "1594660", + "display": "Alemtuzumab 10mg/ml (Lemtrada)" + } + ] + }, + "manufacturer": { + "reference": "#org6" + }, + "form": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "385219001", + "display": "Injection solution (qualifier vallue)" + } + ] + }, + "ingredient": [ + { + "itemCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "129472003", + "display": "Alemtuzamab (substance)" + } + ] + }, + "strength": { + "numerator": { + "value": 12, + "system": "http://unitsofmeasure.org", + "code": "mg" + }, + "denominator": { + "value": 1.2, + "system": "http://unitsofmeasure.org", + "code": "mL" + } + } + } + ], + "extension": [ + { + "url": "hhttp://hl7.org/fhir/r3/StructureDefinition/extension-Medication.isBrand", + "valueBoolean": "true" + }, + { + "url": "http://hl7.org/fhir/r3/StructureDefinition/extension-Medication.package.container", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "415818006", + "display": "Vial" + } + ] + } + } + ], + "batch": [ + { + "lotNumber": "9494788", + "expirationDate": "2017-05-22" + } + ] +} \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Stu3ToR4/MedicationRequest.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Stu3ToR4/MedicationRequest.json new file mode 100644 index 000000000..26508e7fc --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Stu3ToR4/MedicationRequest.json @@ -0,0 +1,196 @@ +{ + "resourceType": "MedicationRequest", + "id": "medrx0302", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: medrx0302

contained:

identifier: 12345689 (OFFICIAL)

status: active

intent: order

medication: id: med0320; Azithromycin 250mg capsule (product) (Details : {SNOMED CT code '324252006' = 'Azithromycin 250mg capsule', given as 'Azithromycin 250mg capsule (product)'})

subject: Donald Duck

context: encounter who leads to this prescription

authoredOn: 15/01/2015

Requesters

-AgentOnBehalfOf
*Patrick PumpOrganization/f002

reasonCode: Traveller's Diarrhea (disorder) (Details : {SNOMED CT code '11840006' = 'Traveler's diarrhea', given as 'Traveller's Diarrhea (disorder)'})

note: Patient told to take with food

dosageInstruction: ,

DispenseRequests

-ValidityPeriodNumberOfRepeatsAllowedQuantityExpectedSupplyDuration
*15/01/2015 --> 15/01/201616 TAB (Details: http://hl7.org/fhir/v3/orderableDrugForm code TAB = 'Tablet')5 days (Details: UCUM code d = 'd')

Substitutions

-AllowedReason
*trueformulary policy (Details : {http://hl7.org/fhir/v3/ActReason code 'FP' = 'formulary policy', given as 'formulary policy'})
" + }, + "contained": [ + { + "resourceType": "Medication", + "id": "med0320", + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "324252006", + "display": "Azithromycin 250mg capsule (product)" + } + ] + } + } + ], + "identifier": [ + { + "use": "official", + "system": "http://www.bmc.nl/portal/prescriptions", + "value": "12345689" + } + ], + "status": "active", + "intent": "order", + "medicationReference": { + "reference": "#med0320" + }, + "subject": { + "reference": "Patient/pat1", + "display": "Donald Duck" + }, + "authoredOn": "2015-01-15", + "requester": { + "reference": "Practitioner/f007", + "display": "Patrick Pump" + }, + "reasonCode": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "11840006", + "display": "Traveller's Diarrhea (disorder)" + } + ] + } + ], + "note": [ + { + "text": "Patient told to take with food" + } + ], + "dosageInstruction": [ + { + "sequence": 1, + "text": "Two tablets at once", + "additionalInstruction": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "311504000", + "display": "With or after food" + } + ] + } + ], + "timing": { + "repeat": { + "frequency": 1, + "period": 1, + "periodUnit": "d" + } + }, + "route": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "26643006", + "display": "Oral Route" + } + ] + }, + "method": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "421521009", + "display": "Swallow - dosing instruction imperative (qualifier value)" + } + ] + }, + "doseAndRate": [ + { + "doseQuantity": { + "value": 2, + "unit": "TAB", + "system": "http://hl7.org/fhir/v3/orderableDrugForm", + "code": "TAB" + } + } + ] + }, + { + "sequence": 2, + "text": "One tablet daily for 4 days", + "additionalInstruction": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "311504000", + "display": "With or after food" + } + ] + } + ], + "timing": { + "repeat": { + "frequency": 4, + "period": 1, + "periodUnit": "d" + } + }, + "route": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "26643006", + "display": "Oral Route" + } + ] + }, + "doseAndRate": [ + { + "doseQuantity": { + "value": 1, + "unit": "TAB", + "system": "http://hl7.org/fhir/v3/orderableDrugForm", + "code": "TAB" + } + } + ] + } + ], + "dispenseRequest": { + "validityPeriod": { + "start": "2015-01-15", + "end": "2016-01-15" + }, + "numberOfRepeatsAllowed": 1, + "quantity": { + "value": 6, + "unit": "TAB", + "system": "http://hl7.org/fhir/v3/orderableDrugForm", + "code": "TAB" + }, + "expectedSupplyDuration": { + "value": 5, + "unit": "days", + "system": "http://unitsofmeasure.org", + "code": "d" + } + }, + "substitution": { + "reason": { + "coding": [ + { + "system": "http://hl7.org/fhir/v3/ActReason", + "code": "FP", + "display": "formulary policy" + } + ] + }, + "allowedBoolean": true + }, + "encounter": { + "reference": "Encounter/f001", + "display": "encounter who leads to this prescription" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/r3/StructureDefinition/extension-MedicationRequest.requester.onBehalfOf", + "valueReference": { + "reference": "Organization/f002" + } + } + ] +} \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Stu3ToR4/MedicationStatement.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Stu3ToR4/MedicationStatement.json new file mode 100644 index 000000000..060064889 --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Stu3ToR4/MedicationStatement.json @@ -0,0 +1,123 @@ +{ + "resourceType": "MedicationStatement", + "id": "example001", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example001

contained:

identifier: 12345689 (OFFICIAL)

status: active

category: Inpatient (Details : {http://hl7.org/fhir/medication-statement-category code 'inpatient' = 'Inpatient', given as 'Inpatient'})

medication: id: med0309; Tylenol PM (Details : {http://hl7.org/fhir/sid/ndc code '50580-506-02' = '50580-506-02', given as 'Tylenol PM'}); isBrand; Film-coated tablet (qualifier value) (Details : {SNOMED CT code '385057009' = 'Film-coated tablet', given as 'Film-coated tablet (qualifier value)'})

effective: 23/01/2015

dateAsserted: 22/02/2015

informationSource: Donald Duck

subject: Donald Duck

derivedFrom: MedicationRequest/medrx002

taken: n

reasonCode: Restless Legs (Details : {SNOMED CT code '32914008' = 'Restless legs', given as 'Restless Legs'})

note: Patient indicates they miss the occasional dose

dosage:

" + }, + "identifier": [ + { + "use": "official", + "system": "http://www.bmc.nl/portal/medstatements", + "value": "12345689" + } + ], + "status": "not-taken", + "category": { + "coding": [ + { + "system": "http://hl7.org/fhir/medication-statement-category", + "code": "inpatient", + "display": "Inpatient" + } + ] + }, + "medicationReference": { + "reference": "#med0309" + }, + "effectiveDateTime": "2015-01-23", + "dateAsserted": "2015-02-22", + "informationSource": { + "reference": "Patient/pat1", + "display": "Donald Duck" + }, + "subject": { + "reference": "Patient/pat1", + "display": "Donald Duck" + }, + "derivedFrom": [ + { + "reference": "MedicationRequest/medrx002" + } + ], + "reasonCode": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "32914008", + "display": "Restless Legs" + } + ] + } + ], + "note": [ + { + "text": "Patient indicates they miss the occasional dose" + } + ], + "dosage": [ + { + "sequence": 1, + "text": "1-2 tablets once daily at bedtime as needed for restless legs", + "additionalInstruction": [ + { + "text": "Taking at bedtime" + } + ], + "timing": { + "repeat": { + "frequency": 1, + "period": 1, + "periodUnit": "d" + } + }, + "asNeededCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "32914008", + "display": "Restless Legs" + } + ] + }, + "route": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "26643006", + "display": "Oral Route" + } + ] + }, + "doseAndRate": [ + { + "doseRange": { + "low": { + "value": 1, + "unit": "TAB", + "system": "http://hl7.org/fhir/v3/orderableDrugForm", + "code": "TAB" + }, + "high": { + "value": 2, + "unit": "TAB", + "system": "http://hl7.org/fhir/v3/orderableDrugForm", + "code": "TAB" + } + } + } + ] + } + ], + "extension": [ + { + "url": "http://hl7.org/fhir/r3/StructureDefinition/extension-MedicationStatement.status", + "valueCode": "active" + }, + { + "url": "http://hl7.org/fhir/r3/StructureDefinition/extension-MedicationStatement.taken", + "valueCode": "n" + } + ] +} \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Stu3ToR4/MessageHeader.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Stu3ToR4/MessageHeader.json new file mode 100644 index 000000000..890207cb8 --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Stu3ToR4/MessageHeader.json @@ -0,0 +1,60 @@ +{ + "resourceType": "MessageHeader", + "id": "1cbdfb97-5859-48a4-8301-d54eab818d68", + "text": { + "status": "generated", + "div": "
\n

Update Person resource for Peter James CHALMERS (Jim), MRN: 12345 (Acme Healthcare)

\n
" + }, + "destination": [ + { + "name": "Acme Message Gateway", + "target": { + "reference": "Device/example" + }, + "endpoint": "llp:10.11.12.14:5432", + "receiver": { + "reference": "http://acme.com/ehr/fhir/Practitioner/2323-33-4" + } + } + ], + "sender": { + "reference": "Organization/1" + }, + "enterer": { + "reference": "Practitioner/example" + }, + "author": { + "reference": "Practitioner/example" + }, + "source": { + "name": "Acme Central Patient Registry", + "software": "FooBar Patient Manager", + "version": "3.1.45.AABB", + "contact": { + "system": "phone", + "value": "+1 (555) 123 4567" + }, + "endpoint": "llp:10.11.12.13:5432" + }, + "reason": { + "coding": [ + { + "system": "http://hl7.org/fhir/message-reasons-encounter", + "code": "admit" + } + ] + }, + "response": { + "identifier": "5015fe84-8e76-4526-89d8-44b322e8d4fb", + "code": "ok" + }, + "focus": [ + { + "reference": "Patient/example" + } + ], + "eventCoding": { + "system": "http://hl7.org/fhir/message-events", + "code": "admin-notify" + } +} \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Stu3ToR4/Organization.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Stu3ToR4/Organization.json new file mode 100644 index 000000000..8a3dacf8f --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Stu3ToR4/Organization.json @@ -0,0 +1,71 @@ +{ + "resourceType": "Organization", + "id": "f003", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: f003

active: true

type: Hospital Department (Details : {http://hl7.org/fhir/organization-type code 'dept' = 'Hospital Department', given as 'Hospital Department'})

name: Burgers UMC Ear,Nose,Throat unit

telecom: ph: 022-655 6780

address: West Wing, floor 5

partOf: Organization/f001

Contacts

-PurposeNameTelecomAddress
*Administrative (Details : {http://hl7.org/fhir/contactentity-type code 'ADMIN' = 'Administrative)mr. F. de Hondph: 022-655 7654West Wing, floor 5
" + }, + "active": true, + "type": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/organization-type", + "code": "dept", + "display": "Hospital Department" + } + ] + } + ], + "name": "Burgers UMC Ear,Nose,Throat unit", + "telecom": [ + { + "system": "phone", + "value": "022-655 6780" + } + ], + "address": [ + { + "line": [ + "West Wing, floor 5" + ] + } + ], + "partOf": { + "reference": "Organization/f001" + }, + "contact": [ + { + "purpose": { + "coding": [ + { + "system": "http://hl7.org/fhir/contactentity-type", + "code": "ADMIN" + } + ] + }, + "name": { + "text": "mr. F. de Hond" + }, + "telecom": [ + { + "system": "phone", + "value": "022-655 7654" + }, + { + "system": "email", + "value": "KNO@burgersumc.nl" + }, + { + "system": "fax", + "value": "022-655 0998" + } + ], + "address": { + "line": [ + "West Wing, floor 5" + ] + } + } + ] +} \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Stu3ToR4/Practitioner.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Stu3ToR4/Practitioner.json new file mode 100644 index 000000000..c981e788a --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Stu3ToR4/Practitioner.json @@ -0,0 +1,62 @@ +{ + "resourceType": "Practitioner", + "id": "f001", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: f001

identifier: 938273695 (OFFICIAL), 129IDH4OP733 (USUAL)

name: Eric van den broek (OFFICIAL)

telecom: ph: 0205568263(WORK), E.M.vandenbroek@bmc.nl(WORK), fax: 0205664440(WORK)

address: Galapagosweg 91 Den Burg 9105 PZ NLD (WORK)

gender: male

birthDate: 07/12/1975

" + }, + "identifier": [ + { + "use": "official", + "system": "urn:oid:2.16.528.1.1007.3.1", + "value": "938273695" + }, + { + "use": "usual", + "system": "urn:oid:2.16.840.1.113883.2.4.6.3", + "value": "129IDH4OP733" + } + ], + "name": [ + { + "use": "official", + "family": "van den broek", + "given": [ + "Eric" + ], + "suffix": [ + "MD" + ] + } + ], + "telecom": [ + { + "system": "phone", + "value": "0205568263", + "use": "work" + }, + { + "system": "email", + "value": "E.M.vandenbroek@bmc.nl", + "use": "work" + }, + { + "system": "fax", + "value": "0205664440", + "use": "work" + } + ], + "address": [ + { + "use": "work", + "line": [ + "Galapagosweg 91" + ], + "city": "Den Burg", + "postalCode": "9105 PZ", + "country": "NLD" + } + ], + "gender": "male", + "birthDate": "1975-12-07" +} \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Stu3ToR4/Procedure.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Stu3ToR4/Procedure.json new file mode 100644 index 000000000..9888e7e7f --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Stu3ToR4/Procedure.json @@ -0,0 +1,65 @@ +{ + "resourceType": "Procedure", + "id": "ambulation", + "text": { + "status": "generated", + "div": "
Ambulation procedure was not done
" + }, + "identifier": [ + { + "value": "12345" + } + ], + "basedOn": [ + { + "reference": "CarePlan/preg", + "display": "Maternity care plan" + } + ], + "status": "stopped", + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "62013009", + "display": "Ambulating patient (procedure)" + } + ], + "text": "Ambulation" + }, + "subject": { + "reference": "Patient/example" + }, + "performer": [ + { + "actor": { + "reference": "Practitioner/f204", + "display": "Carla Espinosa" + }, + "onBehalfOf": { + "reference": "Organization/f001", + "display": "University Medical Hospital" + } + } + ], + "location": { + "reference": "Location/1", + "display": "Burgers University Medical Center, South Wing, second floor" + }, + "reasonReference": [ + { + "reference": "Observation/blood-pressure", + "display": "Blood Pressure" + } + ], + "statusReason": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "398254007", + "display": " Pre-eclampsia (disorder)" + } + ], + "text": "Pre-eclampsia" + } +} \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Stu3ToR4/Provenance.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Stu3ToR4/Provenance.json new file mode 100644 index 000000000..50eb89334 --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Stu3ToR4/Provenance.json @@ -0,0 +1,74 @@ +{ + "resourceType": "Provenance", + "id": "signature", + "text": { + "status": "generated", + "div": "
procedure record authored on 27-June 2015 by Harold Hippocrates, MD Content extracted from Referral received 26-June
" + }, + "target": [ + { + "reference": "DocumentReference/example" + } + ], + "recorded": "2015-08-27T06:39:24+08:00", + "reason": [ + [ + { + "coding": { + "system": "http://hl7.org/fhir/v3/ActReason", + "code": "TREAT", + "display": "treatment" + } + } + ] + ], + "activity": [ + { + "coding": { + "system": "http://hl7.org/fhir/v3/DocumentCompletion", + "code": "AU", + "display": "authenticated" + } + } + ], + "agent": [ + { + "role": [ + { + "coding": [ + { + "system": "http://www.hl7.org/fhir/contractsignertypecodes", + "code": "VERF" + } + ] + } + ], + "who": { + "reference": "mailto://hhd@ssa.gov", + "extension": [ + { + "url": "http://hl7.org/fhir/r3/StructureDefinition/BaseType", + "valueString": "uri" + } + ] + } + } + ], + "signature": [ + { + "type": [ + { + "system": "urn:iso-astm:E1762-95:2013", + "code": "1.2.840.10065.1.12.1.5", + "display": "Verification Signature" + } + ], + "when": "2015-08-27T06:39:24+08:00", + "who": { + "reference": "Practitioner/xcda-author" + }, + "sigFormat": "application/signature+xml", + "data": "Li4u" + } + ] +} \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Stu3ToR4/Questionnaire.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Stu3ToR4/Questionnaire.json new file mode 100644 index 000000000..4c499da0d --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Stu3ToR4/Questionnaire.json @@ -0,0 +1,429 @@ +{ + "resourceType": "Questionnaire", + "id": "54127-6", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/sdc/StructureDefinition/sdc-questionnaire" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: 54127-6

meta:

contained: ,

url: http://hl7.org/fhir/us/sdc/Questionnaire/54127-6

identifier: 54127-6

title: US Surgeon General - Family Health Portrait

status: active

experimental: true

date: 01/01/2015

publisher: Regenstrief Institute, Inc and the LOINC Committee

description: This represents an implementation of the "US Surgeon General family health portrait" form found at https://lforms-demo.nlm.nih.gov

purpose: Captures basic family history information

approvalDate: 31/10/2015

lastReviewDate: 15/03/2017

useContext:

jurisdiction: United States (Details : {urn:iso:std:iso:3166 code 'US' = 'United States)

contact:

copyright: (c) 2015 Regenstrief Institute

code: US Surgeon General family health portrait [USSG-FHT] (Details: LOINC code 54127-6 = 'US Surgeon General family health portrait [USSG-FHT]', stated as 'US Surgeon General family health portrait [USSG-FHT]')

subjectType: Patient

item

linkId: 0

type: group

Items

-
*
*
*
*

item

linkId: 1

definition: http://loinc.org/fhir/DataElement/54126-8

text: Your health information

type: group

required: true

Items

-
*
*

item

linkId: 2

definition: http://loinc.org/fhir/DataElement/54114-4

text: Family member health information

type: group

repeats: true

Items

-
*
" + }, + "url": "http://hl7.org/fhir/us/sdc/Questionnaire/54127-6", + "identifier": [ + { + "system": "http://example.org/panel-id", + "value": "54127-6" + } + ], + "title": "US Surgeon General - Family Health Portrait", + "status": "active", + "experimental": true, + "date": "2015", + "publisher": "Regenstrief Institute, Inc and the LOINC Committee", + "description": "This represents an implementation of the \"US Surgeon General family health portrait\" form found at https://lforms-demo.nlm.nih.gov", + "purpose": "Captures basic family history information", + "approvalDate": "2015-10-31", + "lastReviewDate": "2017-03-15", + "useContext": [ + { + "code": { + "system": "http://hl7.org/fhir/usage-context-type", + "code": "species" + }, + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "337915000", + "display": "Homo sapiens" + } + ] + } + } + ], + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://loinc.org" + } + ] + } + ], + "copyright": "(c) 2015 Regenstrief Institute", + "code": [ + { + "system": "http://loinc.org", + "code": "54127-6", + "display": "US Surgeon General family health portrait [USSG-FHT]" + } + ], + "subjectType": [ + "Patient" + ], + "item": [ + { + "linkId": "0", + "type": "group", + "item": [ + { + "linkId": "0.1", + "text": "Date Done", + "type": "date" + }, + { + "linkId": "0.2", + "text": "Time Done", + "type": "time" + }, + { + "linkId": "0.3", + "text": "Where Done", + "type": "string" + }, + { + "linkId": "0.4", + "text": "Comment", + "type": "string" + } + ] + }, + { + "linkId": "1", + "definition": "http://loinc.org/fhir/DataElement/54126-8", + "text": "Your health information", + "type": "group", + "required": true, + "item": [ + { + "linkId": "1.1", + "type": "group", + "item": [ + { + "linkId": "1.1.1", + "definition": "http://loinc.org/fhir/DataElement/54125-0", + "text": "Name", + "type": "string", + "maxLength": 200 + }, + { + "linkId": "1.1.2", + "definition": "http://loinc.org/fhir/DataElement/54131-8", + "text": "Gender", + "type": "choice", + "required": true, + "item": [ + { + "linkId": "1.1.2.1.1", + "text": "Please specify", + "type": "string", + "required": true + } + ], + "answerValueSet": "http://hl7.org/fhir/us/sdc/ValueSet/LL1-9" + }, + { + "linkId": "1.1.3", + "definition": "http://loinc.org/fhir/DataElement/21112-8", + "text": "Date of Birth", + "type": "date" + }, + { + "linkId": "1.1.4", + "definition": "http://loinc.org/fhir/DataElement/54132-6", + "text": "Were you born a twin?", + "type": "choice", + "answerValueSet": "http://hl7.org/fhir/us/sdc/ValueSet/LL623-0", + "initial": [ + { + "valueBoolean": null, + "valueDecimal": null, + "valueInteger": null, + "valueCoding": { + "system": "http://loinc.org", + "code": "LA32-8", + "display": "No" + } + } + ] + }, + { + "linkId": "1.1.5", + "definition": "http://loinc.org/fhir/DataElement/54128-4", + "text": "Were you adopted?", + "type": "choice", + "answerValueSet": "http://hl7.org/fhir/us/sdc/ValueSet/LL361-7" + }, + { + "linkId": "1.1.6", + "definition": "http://loinc.org/fhir/DataElement/54135-9", + "text": "Are your parents related to each other in any way other than marriage?", + "type": "choice", + "answerValueSet": "http://hl7.org/fhir/us/sdc/ValueSet/LL361-7" + }, + { + "linkId": "1.1.7", + "definition": "http://loinc.org/fhir/DataElement/8302-2", + "text": "Height", + "type": "decimal", + "required": true, + "item": [ + { + "linkId": "1.1.7.1.1", + "text": "Units", + "type": "choice", + "answerValueSet": "#length" + } + ] + }, + { + "linkId": "1.1.8", + "definition": "http://loinc.org/fhir/DataElement/29463-7", + "text": "Weight", + "type": "decimal", + "item": [ + { + "linkId": "1.1.8.1.1", + "text": "Units", + "type": "choice", + "answerValueSet": "#weight" + } + ] + }, + { + "linkId": "1.1.9", + "definition": "http://loinc.org/fhir/DataElement/39156-5", + "text": "Body mass index (BMI) [Ratio]", + "type": "decimal", + "readOnly": true + }, + { + "linkId": "1.1.10", + "definition": "http://loinc.org/fhir/DataElement/54134-2", + "text": "Race", + "type": "choice", + "required": true, + "answerValueSet": "http://hl7.org/fhir/us/sdc/ValueSet/LL629-7" + }, + { + "linkId": "1.1.11", + "definition": "http://loinc.org/fhir/DataElement/54133-4", + "text": "Ethnicity", + "type": "choice", + "repeats": true, + "answerValueSet": "http://hl7.org/fhir/us/sdc/ValueSet/LL628-9" + } + ] + }, + { + "linkId": "1.2", + "definition": "http://loinc.org/fhir/DataElement/54137-5", + "text": "Your diseases history", + "type": "group", + "repeats": true, + "item": [ + { + "linkId": "1.2.1", + "definition": "http://loinc.org/fhir/DataElement/54140-9", + "text": "Disease or Condition", + "type": "choice", + "answerValueSet": "http://hl7.org/fhir/us/sdc/ValueSet/LL626-3" + }, + { + "linkId": "1.2.2", + "definition": "http://loinc.org/fhir/DataElement/54130-0", + "text": "Age at Diagnosis", + "type": "choice", + "answerValueSet": "http://hl7.org/fhir/us/sdc/ValueSet/LL619-8" + } + ] + } + ] + }, + { + "linkId": "2", + "definition": "http://loinc.org/fhir/DataElement/54114-4", + "text": "Family member health information", + "type": "group", + "repeats": true, + "item": [ + { + "linkId": "2.1", + "type": "group", + "item": [ + { + "linkId": "2.1.1", + "type": "group", + "item": [ + { + "linkId": "2.1.1.1", + "definition": "http://loinc.org/fhir/DataElement/54136-7", + "text": "Relationship to you", + "type": "choice", + "answerValueSet": "http://hl7.org/fhir/us/sdc/ValueSet/LL621-4" + }, + { + "linkId": "2.1.1.2", + "definition": "http://loinc.org/fhir/DataElement/54138-3", + "text": "Name", + "type": "string" + }, + { + "linkId": "2.1.1.3", + "definition": "http://loinc.org/fhir/DataElement/54123-5", + "text": "Gender", + "type": "choice", + "item": [ + { + "linkId": "2.1.1.3.1.1", + "text": "Please specify", + "type": "string", + "required": true + } + ], + "answerValueSet": "http://hl7.org/fhir/us/sdc/ValueSet/LL1-9" + }, + { + "linkId": "2.1.1.4", + "definition": "http://loinc.org/fhir/DataElement/54139-1", + "text": "Living?", + "type": "choice", + "item": [ + { + "linkId": "2.1.1.4.1", + "type": "group", + "item": [ + { + "linkId": "2.1.1.4.1.1", + "definition": "http://loinc.org/fhir/DataElement/54112-8", + "text": "Cause of Death", + "type": "choice", + "item": [ + { + "linkId": "2.1.1.4.1.1.1", + "text": "Please specify", + "type": "string" + } + ], + "answerValueSet": "http://hl7.org/fhir/us/sdc/ValueSet/LL627-1" + }, + { + "linkId": "2.1.1.4.1.2", + "definition": "http://loinc.org/fhir/DataElement/54113-6", + "text": "Age at Death", + "type": "choice", + "answerValueSet": "http://hl7.org/fhir/us/sdc/ValueSet/LL619-8" + } + ] + }, + { + "linkId": "2.1.1.4.2", + "type": "group", + "item": [ + { + "linkId": "2.1.1.4.2.1", + "definition": "http://loinc.org/fhir/DataElement/54124-3", + "text": "Date of Birth", + "type": "date" + }, + { + "linkId": "2.1.1.4.2.2", + "definition": "http://loinc.org/fhir/DataElement/54141-7", + "text": "Age", + "type": "decimal" + } + ] + } + ], + "answerValueSet": "http://hl7.org/fhir/us/sdc/ValueSet/LL361-7" + }, + { + "linkId": "2.1.1.5", + "definition": "http://loinc.org/fhir/DataElement/54121-9", + "text": "Was this person born a twin?", + "type": "choice", + "answerValueSet": "http://hl7.org/fhir/us/sdc/ValueSet/LL623-0" + }, + { + "linkId": "2.1.1.6", + "definition": "http://loinc.org/fhir/DataElement/54122-7", + "text": "Was this person adopted?", + "type": "choice", + "answerValueSet": "http://hl7.org/fhir/us/sdc/ValueSet/LL623-0" + }, + { + "linkId": "2.1.1.7", + "definition": "http://loinc.org/fhir/DataElement/54119-3", + "text": "Race", + "type": "choice", + "repeats": true, + "answerValueSet": "http://hl7.org/fhir/us/sdc/ValueSet/LL629-7" + }, + { + "linkId": "2.1.1.8", + "definition": "http://loinc.org/fhir/DataElement/54120-1", + "text": "Ethnicity", + "type": "choice", + "repeats": true, + "answerValueSet": "http://hl7.org/fhir/us/sdc/ValueSet/LL628-9" + } + ] + }, + { + "linkId": "2.1.2", + "definition": "http://loinc.org/fhir/DataElement/54117-7", + "text": "This family member's history of disease", + "type": "group", + "repeats": true, + "item": [ + { + "linkId": "2.1.2.1", + "definition": "http://loinc.org/fhir/DataElement/54116-9", + "text": "Disease or Condition", + "type": "choice", + "required": true, + "answerValueSet": "http://hl7.org/fhir/us/sdc/ValueSet/LL626-3" + }, + { + "linkId": "2.1.2.2", + "definition": "http://loinc.org/fhir/DataElement/54115-1", + "text": "Age at Diagnosis", + "type": "choice", + "answerValueSet": "http://hl7.org/fhir/us/sdc/ValueSet/LL619-8" + }, + { + "linkId": "2.1.2.3", + "text": "Mock-up item: Height", + "type": "decimal" + }, + { + "linkId": "2.1.2.4", + "text": "Mock-up item: Weight", + "type": "decimal" + }, + { + "linkId": "2.1.2.5", + "text": "Mock-up item: BMI", + "type": "decimal" + } + ] + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Stu3ToR4/QuestionnaireResponse.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Stu3ToR4/QuestionnaireResponse.json new file mode 100644 index 000000000..d2b0d46ab --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Stu3ToR4/QuestionnaireResponse.json @@ -0,0 +1,92 @@ +{ + "resourceType": "QuestionnaireResponse", + "id": "3141", + "text": { + "status": "generated", + "div": "
\n
\n            Comorbidity? YES\n              Cardial Comorbidity? YES\n                Angina? YES\n                MI? NO\n              Vascular Comorbidity?\n                (no answers)\n              ...\n            Histopathology\n              Abdominal\n                pT category: 1a\n              ...\n          
\n
" + }, + "identifier": { + "system": "http://example.org/fhir/NamingSystem/questionnaire-ids", + "value": "Q12349876" + }, + "basedOn": [ + { + "reference": "#order" + } + ], + "status": "completed", + "subject": { + "reference": "#patsub" + }, + "authored": "2013-02-20T03:15:00+08:00", + "author": { + "reference": "#questauth" + }, + "item": [ + { + "linkId": "1", + "item": [ + { + "linkId": "1.1", + "answer": [ + { + "valueCoding": { + "system": "http://cancer.questionnaire.org/system/code/yesno", + "code": "1", + "display": "Yes" + }, + "item": [ + { + "linkId": "1.1.1", + "item": [ + { + "linkId": "1.1.1.1", + "answer": [ + { + "valueCoding": { + "system": "http://cancer.questionnaire.org/system/code/yesno", + "code": "1" + } + } + ] + }, + { + "linkId": "1.1.1.2", + "answer": [ + { + "valueCoding": { + "system": "http://cancer.questionnaire.org/system/code/yesno", + "code": "1" + } + } + ] + }, + { + "linkId": "1.1.1.3", + "answer": [ + { + "valueCoding": { + "system": "http://cancer.questionnaire.org/system/code/yesno", + "code": "0" + } + } + ] + } + ] + } + ] + } + ] + } + ] + } + ], + "partOf": [ + { + "reference": "Procedure/f201" + } + ], + "encounter": { + "reference": "Encounter/example" + } +} \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Stu3ToR4/Schedule.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Stu3ToR4/Schedule.json new file mode 100644 index 000000000..27b6a409e --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Stu3ToR4/Schedule.json @@ -0,0 +1,57 @@ +{ + "resourceType": "Schedule", + "id": "example", + "text": { + "status": "generated", + "div": "
\n Burgers UMC, South Wing, second floor Physiotherapy Schedule\n
" + }, + "identifier": [ + { + "use": "usual", + "system": "http://example.org/scheduleid", + "value": "45" + } + ], + "active": true, + "serviceCategory": [ + { + "coding": [ + { + "code": "17", + "display": "General Practice" + } + ] + } + ], + "serviceType": [ + { + "coding": [ + { + "code": "57", + "display": "Immunization" + } + ] + } + ], + "specialty": [ + { + "coding": [ + { + "code": "408480009", + "display": "Clinical immunology" + } + ] + } + ], + "actor": [ + { + "reference": "Location/1", + "display": "Burgers UMC, South Wing, second floor" + } + ], + "planningHorizon": { + "start": "2013-12-25T09:15:00Z", + "end": "2013-12-25T09:30:00Z" + }, + "comment": "The slots attached to this schedule should be specialized to cover immunizations within the clinic" +} \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Stu3ToR4/SearchParameter.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Stu3ToR4/SearchParameter.json new file mode 100644 index 000000000..d0ff5e9ff --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Stu3ToR4/SearchParameter.json @@ -0,0 +1,67 @@ +{ + "resourceType": "SearchParameter", + "id": "example", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

url: http://hl7.org/fhir/SearchParameter/example

version: 1

name: ID-SEARCH-PARAMETER

status: draft

experimental: true

date: 23/10/2013

publisher: Health Level Seven International (FHIR Infrastructure)

contact:

useContext:

jurisdiction: United States of America (the) (Details : {urn:iso:std:iso:3166 code 'US' = 'United States', given as 'United States of America (the)'})

purpose: Need to search by identifier for various infrastructural cases - mainly retrieving packages, and matching as part of a chain

code: _id

base: Resource

type: token

derivedFrom: http://hl7.org/fhir/SearchParameter/Resource-id

description: Search by resource identifier - e.g. same as the read interaction, but can return included resources

expression: id

xpath: f:*/f:id

xpathUsage: normal

comparator: eq

" + }, + "url": "http://hl7.org/fhir/SearchParameter/example", + "version": "1", + "name": "ID-SEARCH-PARAMETER", + "status": "draft", + "experimental": true, + "date": "2013-10-23", + "publisher": "Health Level Seven International (FHIR Infrastructure)", + "contact": [ + { + "name": "[string]", + "telecom": [ + { + "system": "url", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "useContext": [ + { + "code": { + "system": "http://hl7.org/fhir/usage-context-type", + "code": "focus" + }, + "valueCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/variant-state", + "code": "positive" + } + ] + } + } + ], + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America (the)" + } + ] + } + ], + "purpose": "Need to search by identifier for various infrastructural cases - mainly retrieving packages, and matching as part of a chain", + "code": "_id", + "base": [ + "Resource" + ], + "type": "token", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Resource-id", + "description": "Search by resource identifier - e.g. same as the read interaction, but can return included resources", + "expression": "id", + "xpath": "f:*/f:id", + "xpathUsage": "normal", + "comparator": [ + "eq" + ] +} \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Stu3ToR4/Slot.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Stu3ToR4/Slot.json new file mode 100644 index 000000000..db005cee9 --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Stu3ToR4/Slot.json @@ -0,0 +1,54 @@ +{ + "resourceType": "Slot", + "id": "example", + "text": { + "status": "generated", + "div": "
\n\t\t\t25 Dec 2013 9:15am - 9:30am: Busy Physiotherapy\n\t\t
" + }, + "serviceCategory": [ + { + "coding": [ + { + "code": "17", + "display": "General Practice" + } + ] + } + ], + "serviceType": [ + { + "coding": [ + { + "code": "57", + "display": "Immunization" + } + ] + } + ], + "specialty": [ + { + "coding": [ + { + "code": "408480009", + "display": "Clinical immunology" + } + ] + } + ], + "appointmentType": { + "coding": [ + { + "system": "http://hl7.org/fhir/v2/0276", + "code": "WALKIN", + "display": "A previously unscheduled walk-in visit" + } + ] + }, + "schedule": { + "reference": "Schedule/example" + }, + "status": "free", + "start": "2013-12-25T09:15:00Z", + "end": "2013-12-25T09:30:00Z", + "comment": "Assessments should be performed before requesting appointments in this slot." +} \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Stu3ToR4/Subscription.json b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Stu3ToR4/Subscription.json new file mode 100644 index 000000000..46867b917 --- /dev/null +++ b/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Stu3ToR4/Subscription.json @@ -0,0 +1,27 @@ +{ + "resourceType": "Subscription", + "id": "example-error", + "text": { + "status": "generated", + "div": "
[Put rendering here]
" + }, + "status": "error", + "contact": [ + { + "system": "phone", + "value": "ext 4123" + } + ], + "end": "2021-01-01T00:00:00Z", + "reason": "Monitor new neonatal function", + "criteria": "Observation?code=http://loinc.org|1975-2", + "error": "Socket Error 10060 - can't connect to host", + "channel": { + "type": "rest-hook", + "endpoint": "https://biliwatch.com/customers/mount-auburn-miu/on-result", + "payload": "application/fhir+json", + "header": [ + "Authorization: Bearer secret-token-abc-123" + ] + } +} \ No newline at end of file diff --git a/src/Microsoft.Health.Fhir.Liquid.Converter/DotLiquids/MergeDiff.cs b/src/Microsoft.Health.Fhir.Liquid.Converter/DotLiquids/MergeDiff.cs index 25c037892..26c2cb5fd 100644 --- a/src/Microsoft.Health.Fhir.Liquid.Converter/DotLiquids/MergeDiff.cs +++ b/src/Microsoft.Health.Fhir.Liquid.Converter/DotLiquids/MergeDiff.cs @@ -122,8 +122,11 @@ private Dictionary MergeDiffContent(object source, Dictionary x.Key.StartsWith(choiceTypeName)).First().Key; - result[choiceElement] = item.Value; + var choiceElement = result.Where(x => x.Key.StartsWith(choiceTypeName)); + if (choiceElement.Any()) + { + result[choiceElement.First().Key] = item.Value; + } } else {