diff --git a/resources/seeds/Immunization/immunization-tc-2.json b/resources/seeds/Immunization/immunization-tc-2.json new file mode 100644 index 0000000..e9a6f8d --- /dev/null +++ b/resources/seeds/Immunization/immunization-tc-2.json @@ -0,0 +1,148 @@ +{ + "patient": { + "id": "patient-tc-2", + "identifier": { + "type": { + "text": "IHI", + "coding": [ + { + "code": "NI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National unique individual identifier" + } + ] + }, + "value": "8003608833357361", + "system": "http://ns.electronichealth.net.au/id/hi/ihi/1.0" + }, + "resourceType": "Patient" + }, + "protocolApplied": [ + { + "series": "primary vaccination course 2-dose", + "doseNumber": { + "positiveInt": 1 + }, + "targetDisease": [ + { + "text": "COVID-19", + "coding": [ + { + "code": "840539006", + "system": "http://snomed.info/sct", + "display": "COVID-19" + } + ] + } + ] + } + ], + "meta": { + "profile": [ + "http://hl7.org.au/fhir/core/StructureDefinition/au-core-immunization" + ] + }, + "site": { + "text": "Left upper arm", + "coding": [ + { + "code": "368208006", + "system": "http://snomed.info/sct", + "display": "Left upper arm structure" + } + ] + }, + "encounter": { + "id": "encounter-tc", + "resourceType": "Encounter" + }, + "vaccineCode": { + "text": "Pfizer Comirnaty", + "coding": [ + { + "code": "830851000168105", + "system": "http://snomed.info/sct", + "display": "varicella-zoster live vaccine" + } + ] + }, + "reasonCode": [ + { + "text": "COVID-19 Immunization", + "coding": [ + { + "code": "840539006", + "system": "http://snomed.info/sct", + "display": "COVID-19" + } + ] + } + ], + "route": { + "text": "Intramuscular", + "coding": [ + { + "code": "78421000", + "system": "http://snomed.info/sct", + "display": "Intramuscular route" + } + ] + }, + "resourceType": "Immunization", + "recorded": "2021-06-17", + "note": [ + { + "text": "Primary vaccination course 2-dose" + } + ], + "primarySource": true, + "status": "completed", + "id": "immunization-tc-2", + "lotNumber": "200000000P", + "manufacturer": { + "display": "Pfizer Australia Ltd" + }, + "location": { + "id": "location-tc", + "resourceType": "Location" + }, + "occurrence": { + "dateTime": "2021-06-17" + }, + "performer": [ + { + "actor": { + "id": "practitionerrole-tc", + "identifier": { + "type": { + "text": "HPI-I", + "coding": [ + { + "code": "NPI", + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "display": "National provider identifier" + } + ] + }, + "value": "8003619900015717", + "system": "http://ns.electronichealth.net.au/id/hi/hpii/1.0" + }, + "resourceType": "PractitionerRole" + }, + "function": { + "text": "Administering Provider", + "coding": [ + { + "code": "AP", + "system": "http://terminology.hl7.org/CodeSystem/v2-0443", + "display": "Administering Provider" + } + ] + } + } + ], + "text": { + "div": "

Generated Narrative: Immunization

Resource Immunization "covid-1"

Profile: AU Core Immunization

status: completed

vaccineCode: Pfizer Comirnaty (air-vaccine-code-formats#COMIRN; SNOMED CT#1525011000168107 "Comirnaty")

patient: Patient/bennelong-anne " BENNELONG"

encounter: Encounter/covid-admin-1

occurrence: 2021-06-17

recorded: 2021-06-17

primarySource: true

location: Location/bobrester-medical-center "Tindal Building"

manufacturer: : Pfizer Australia Ltd

lotNumber: 200000000P

site: Left upper arm (SNOMED CT#368208006 "Left upper arm structure")

route: Intramuscular (SNOMED CT#78421000 "Intramuscular route")

Performers

-FunctionActor
*Administering Provider (providerRole#AP)PractitionerRole/bobrester-bob-gp

ProtocolApplieds

-SeriesTargetDiseaseDoseNumber[x]
*primary vaccination course 2-doseCOVID-19 (SNOMED CT#840539006)1
", + "status": "generated" + } +} diff --git a/resources/seeds/MedicationRequest/medicationrequest-tc-2.json b/resources/seeds/MedicationRequest/medicationrequest-tc-2.json new file mode 100644 index 0000000..7fe52d7 --- /dev/null +++ b/resources/seeds/MedicationRequest/medicationrequest-tc-2.json @@ -0,0 +1,156 @@ +{ + "category": [ + { + "coding": [ + { + "code": "discharge", + "system": "http://terminology.hl7.org/CodeSystem/medicationrequest-category" + } + ] + } + ], + "meta": { + "profile": [ + "http://hl7.org.au/fhir/core/StructureDefinition/au-core-medicationrequest" + ] + }, + "substitution": { + "allowed": { + "boolean": true + } + }, + "encounter": { + "id": "encounter-tc", + "resourceType": "Encounter" + }, + "dispenseRequest": { + "quantity": { + "code": "TAB", + "unit": "Tab", + "value": 20, + "system": "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm" + }, + "validityPeriod": { + "end": "2019-07-15", + "start": "2018-07-15" + }, + "dispenseInterval": { + "code": "wk", + "unit": "week", + "value": 1, + "system": "http://unitsofmeasure.org" + }, + "expectedSupplyDuration": { + "code": "d", + "unit": "days", + "value": 10, + "system": "http://unitsofmeasure.org" + }, + "numberOfRepeatsAllowed": 2 + }, + "reasonCode": [ + { + "text": "Pain management" + } + ], + "authoredOn": "2018-07-15", + "resourceType": "MedicationRequest", + "note": [ + { + "text": "Patient requires an administration aid." + } + ], + "requester": { + "id": "practitionerrole-tc", + "resourceType": "PractitionerRole" + }, + "status": "active", + "id": "medicationrequest-tc-2", + "dosageInstruction": [ + { + "text": "1-2 tablets every 4-6 hours as needed for pain", + "route": { + "coding": [ + { + "code": "26643006", + "system": "http://snomed.info/sct", + "display": "Oral route" + } + ] + }, + "timing": { + "repeat": { + "period": 4, + "frequency": 1, + "periodMax": 6, + "periodUnit": "h", + "frequencyMax": 2 + } + }, + "asNeeded": { + "boolean": true + }, + "doseAndRate": [ + { + "dose": { + "Quantity": { + "code": "TAB", + "unit": "TAB", + "value": 1, + "system": "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm" + } + } + } + ] + } + ], + "identifier": [ + { + "type": { + "text": "Local Prescription Number", + "coding": [ + { + "code": "LPN", + "system": "http://terminology.hl7.org.au/CodeSystem/v2-0203" + } + ] + }, + "value": "53720010", + "system": "http://ns.electronichealth.net.au/id/hpio-scoped/prescription/1.0/8003621566684455", + "assigner": { + "id": "organization-medical-center-tc", + "resourceType": "Organization" + } + } + ], + "intent": "proposal", + "subject": { + "id": "patient-tc", + "resourceType": "Patient" + }, + "medication": { + "CodeableConcept": { + "coding": [ + { + "code": "926213011000036100", + "system": "http://snomed.info/sct", + "display": "Reaptan 10 mg/10 mg (perindopril arginine/amlodipine) tablet, 10" + }, + { + "code": "13382H", + "system": "http://pbs.gov.au/code/item" + } + ] + } + }, + "reasonReference": [ + { + "id": "condition-tc", + "resourceType": "Condition" + } + ], + "text": { + "div": "

Generated Narrative: MedicationRequest

Resource MedicationRequest "reaptan"

Profile: AU Core MedicationRequest

identifier: Local Prescription Number/53720010

status: active

intent: order

category: Discharge (MedicationRequest Category Codes#discharge)

medication: Reaptan 10 mg/10 mg (perindopril arginine/amlodipine) tablet, 10 (SNOMED CT#926213011000036100)

subject: Patient/smith-emma " SMITH"

authoredOn: 2018-07-15

requester: PractitionerRole/surgeon-david-surgeon

reasonCode: Pain management ()

note: Patient requires an administration aid.

dosageInstruction

text: 1-2 tablets every 4-6 hours as needed for pain

timing: 1-1 per 4-6 hours

asNeeded: true

route: Oral route (SNOMED CT#26643006)

doseAndRate

dispenseRequest

DispenseIntervals

-ValueUnitSystemCode
*1weekUnified Code for Units of Measure (UCUM)wk

validityPeriod: 2018-07-15 --> 2019-07-15

numberOfRepeatsAllowed: 2

quantity: 20 Tab (Details: http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm code TAB = 'Tablet')

ExpectedSupplyDurations

-ValueUnitSystemCode
*10daysUnified Code for Units of Measure (UCUM)d

Substitutions

-Allowed[x]
*true
", + "status": "generated" + } +}