Skip to content

Commit

Permalink
Add immunization and medicationrequest
Browse files Browse the repository at this point in the history
  • Loading branch information
projkov committed Dec 9, 2024
1 parent 889f005 commit d6fd8fc
Show file tree
Hide file tree
Showing 2 changed files with 304 additions and 0 deletions.
148 changes: 148 additions & 0 deletions resources/seeds/Immunization/immunization-tc-2.json
Original file line number Diff line number Diff line change
@@ -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": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Immunization</b><a name=\"covid-1\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource Immunization &quot;covid-1&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-au-core-immunization.html\">AU Core Immunization</a></p></div><p><b>status</b>: completed</p><p><b>vaccineCode</b>: Pfizer Comirnaty <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (air-vaccine-code-formats#COMIRN; <a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#1525011000168107 &quot;Comirnaty&quot;)</span></p><p><b>patient</b>: <a href=\"Patient-bennelong-anne.html\">Patient/bennelong-anne</a> &quot; BENNELONG&quot;</p><p><b>encounter</b>: <a href=\"Encounter-covid-admin-1.html\">Encounter/covid-admin-1</a></p><p><b>occurrence</b>: 2021-06-17</p><p><b>recorded</b>: 2021-06-17</p><p><b>primarySource</b>: true</p><p><b>location</b>: <a href=\"Location-bobrester-medical-center.html\">Location/bobrester-medical-center</a> &quot;Tindal Building&quot;</p><p><b>manufacturer</b>: <span>: Pfizer Australia Ltd</span></p><p><b>lotNumber</b>: 200000000P</p><p><b>site</b>: Left upper arm <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#368208006 &quot;Left upper arm structure&quot;)</span></p><p><b>route</b>: Intramuscular <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#78421000 &quot;Intramuscular route&quot;)</span></p><h3>Performers</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Function</b></td><td><b>Actor</b></td></tr><tr><td style=\"display: none\">*</td><td>Administering Provider <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.3.0/CodeSystem-v2-0443.html\">providerRole</a>#AP)</span></td><td><a href=\"PractitionerRole-bobrester-bob-gp.html\">PractitionerRole/bobrester-bob-gp</a></td></tr></table><h3>ProtocolApplieds</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Series</b></td><td><b>TargetDisease</b></td><td><b>DoseNumber[x]</b></td></tr><tr><td style=\"display: none\">*</td><td>primary vaccination course 2-dose</td><td>COVID-19 <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#840539006)</span></td><td>1</td></tr></table></div>",
"status": "generated"
}
}
156 changes: 156 additions & 0 deletions resources/seeds/MedicationRequest/medicationrequest-tc-2.json
Original file line number Diff line number Diff line change
@@ -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": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: MedicationRequest</b><a name=\"reaptan\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource MedicationRequest &quot;reaptan&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-au-core-medicationrequest.html\">AU Core MedicationRequest</a></p></div><p><b>identifier</b>: Local Prescription Number/53720010</p><p><b>status</b>: active</p><p><b>intent</b>: order</p><p><b>category</b>: Discharge <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.3.0/CodeSystem-medicationrequest-category.html\">MedicationRequest Category Codes</a>#discharge)</span></p><p><b>medication</b>: Reaptan 10 mg/10 mg (perindopril arginine/amlodipine) tablet, 10 <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#926213011000036100)</span></p><p><b>subject</b>: <a href=\"Patient-smith-emma.html\">Patient/smith-emma</a> &quot; SMITH&quot;</p><p><b>authoredOn</b>: 2018-07-15</p><p><b>requester</b>: <a href=\"PractitionerRole-surgeon-david-surgeon.html\">PractitionerRole/surgeon-david-surgeon</a></p><p><b>reasonCode</b>: Pain management <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ()</span></p><p><b>note</b>: Patient requires an administration aid.</p><blockquote><p><b>dosageInstruction</b></p><p><b>text</b>: 1-2 tablets every 4-6 hours as needed for pain</p><p><b>timing</b>: 1-1 per 4-6 hours</p><p><b>asNeeded</b>: true</p><p><b>route</b>: Oral route <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#26643006)</span></p><blockquote><p><b>doseAndRate</b></p></blockquote></blockquote><blockquote><p><b>dispenseRequest</b></p><h3>DispenseIntervals</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Value</b></td><td><b>Unit</b></td><td><b>System</b></td><td><b>Code</b></td></tr><tr><td style=\"display: none\">*</td><td>1</td><td>week</td><td><a href=\"http://terminology.hl7.org/5.3.0/CodeSystem-v3-ucum.html\">Unified Code for Units of Measure (UCUM)</a></td><td>wk</td></tr></table><p><b>validityPeriod</b>: 2018-07-15 --&gt; 2019-07-15</p><p><b>numberOfRepeatsAllowed</b>: 2</p><p><b>quantity</b>: 20 Tab<span style=\"background: LightGoldenRodYellow\"> (Details: http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm code TAB = 'Tablet')</span></p><h3>ExpectedSupplyDurations</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Value</b></td><td><b>Unit</b></td><td><b>System</b></td><td><b>Code</b></td></tr><tr><td style=\"display: none\">*</td><td>10</td><td>days</td><td><a href=\"http://terminology.hl7.org/5.3.0/CodeSystem-v3-ucum.html\">Unified Code for Units of Measure (UCUM)</a></td><td>d</td></tr></table></blockquote><h3>Substitutions</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Allowed[x]</b></td></tr><tr><td style=\"display: none\">*</td><td>true</td></tr></table></div>",
"status": "generated"
}
}

0 comments on commit d6fd8fc

Please sign in to comment.