Skip to content

Commit

Permalink
Update seeds
Browse files Browse the repository at this point in the history
  • Loading branch information
projkov committed Jul 31, 2024
1 parent b58f221 commit 09873d4
Show file tree
Hide file tree
Showing 27 changed files with 1,035 additions and 990 deletions.
129 changes: 66 additions & 63 deletions resources/seeds/AllergyIntolerance/AllergyIntolerance-tc.json
Original file line number Diff line number Diff line change
@@ -1,141 +1,144 @@
{
"type": "allergy",
"category": [
"environment"
],
"onset": {
"dateTime": "2023-02-12"
},
"reaction": [
{
"severity": "mild",
"substance": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "102263004",
"display": "Eggs (edible)"
}
],
"text": "Egg"
},
"manifestation": [
{
"coding": [
{
"code": "active",
"system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical",
"display": "Active"
}
]
}
]
}
],
"note": [
{
"text": "noneknown note"
}
],
"patient": {
"id": "patient-tc",
"identifier": {
"type": {
"text": "IHI",
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/v2-0203",
"code": "NI",
"system": "http://terminology.hl7.org/CodeSystem/v2-0203",
"display": "National unique individual identifier"
}
],
"text": "IHI"
]
},
"system": "http://ns.electronichealth.net.au/id/hi/ihi/1.0",
"value": "8003608833357361"
"value": "8003608833357361",
"system": "http://ns.electronichealth.net.au/id/hi/ihi/1.0"
},
"id": "patient-tc",
"resourceType": "Patient"
},
"onset": {
"dateTime": "2023-02-12"
},
"category": [
"environment"
],
"clinicalStatus": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical",
"code": "active",
"system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical",
"display": "Active"
}
]
},
"meta": {
"profile": [
"http://hl7.org.au/fhir/core/StructureDefinition/au-core-allergyintolerance"
]
],
"lastUpdated": "2024-07-17T13:10:06.918451Z",
"createdAt": "2024-06-23T19:02:30.770016Z",
"versionId": "2211"
},
"encounter": {
"id": "encounter-tc",
"resourceType": "Encounter"
},
"type": "allergy",
"resourceType": "AllergyIntolerance",
"asserter": {
"id": "patient-tc",
"identifier": {
"type": {
"text": "IHI",
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/v2-0203",
"code": "NI",
"system": "http://terminology.hl7.org/CodeSystem/v2-0203",
"display": "National unique individual identifier"
}
],
"text": "IHI"
]
},
"system": "http://ns.electronichealth.net.au/id/hi/ihi/1.0",
"value": "8003608833357361"
"value": "8003608833357361",
"system": "http://ns.electronichealth.net.au/id/hi/ihi/1.0"
},
"id": "patient-tc",
"resourceType": "Patient"
},
"note": [
{
"text": "noneknown note"
}
],
"id": "ai-tc",
"recorder": {
"id": "practitionerrole-tc",
"identifier": {
"type": {
"text": "HPI-I",
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/v2-0203",
"code": "NPI",
"system": "http://terminology.hl7.org/CodeSystem/v2-0203",
"display": "National provider identifier"
}
],
"text": "HPI-I"
]
},
"system": "http://ns.electronichealth.net.au/id/hi/hpii/1.0",
"value": "8003614900041243"
"value": "8003614900041243",
"system": "http://ns.electronichealth.net.au/id/hi/hpii/1.0"
},
"id": "practitionerrole-tc",
"resourceType": "PractitionerRole"
},
"code": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "716186003",
"system": "http://snomed.info/sct",
"display": "No known allergy"
},
{
"system": "http://hl7.org/fhir/uv/ips/CodeSystem/absent-unknown-uv-ips",
"code": "no-known-allergies",
"system": "http://hl7.org/fhir/uv/ips/CodeSystem/absent-unknown-uv-ips",
"display": "No known allergies"
}
]
},
"verificationStatus": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification",
"code": "unconfirmed",
"system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification",
"display": "Unconfirmed"
}
]
},
"reaction": [
{
"severity": "mild",
"substance": {
"text": "Egg",
"coding": [
{
"code": "102263004",
"system": "http://snomed.info/sct",
"display": "Eggs (edible)"
}
]
},
"manifestation": [
{
"coding": [
{
"code": "active",
"system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical",
"display": "Active"
}
]
}
]
}
],
"text": {
"status": "generated",
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: AllergyIntolerance</b><a name=\"noneknown\"> </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 AllergyIntolerance &quot;noneknown&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-au-core-allergyintolerance.html\">AU Core AllergyIntolerance</a></p></div><p><b>clinicalStatus</b>: Active <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.3.0/CodeSystem-allergyintolerance-clinical.html\">AllergyIntolerance Clinical Status Codes</a>#active)</span></p><p><b>verificationStatus</b>: Unconfirmed <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.3.0/CodeSystem-allergyintolerance-verification.html\">AllergyIntolerance Verification Status</a>#unconfirmed)</span></p><p><b>code</b>: No known allergy <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#716186003; absent-unknown-uv-ips#no-known-allergies &quot;No known allergies&quot;)</span></p><p><b>patient</b>: <a href=\"Patient-wang-li.html\">Patient/wang-li</a> &quot; WANG&quot;</p><p><b>encounter</b>: <span>: GP Visit</span></p><p><b>recorder</b>: <a href=\"PractitionerRole-bobrester-bob-gp.html\">PractitionerRole/bobrester-bob-gp</a></p><p><b>asserter</b>: <a href=\"Patient-wang-li.html\">Patient/wang-li</a> &quot; WANG&quot;</p></div>"
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: AllergyIntolerance</b><a name=\"noneknown\"> </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 AllergyIntolerance &quot;noneknown&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-au-core-allergyintolerance.html\">AU Core AllergyIntolerance</a></p></div><p><b>clinicalStatus</b>: Active <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.3.0/CodeSystem-allergyintolerance-clinical.html\">AllergyIntolerance Clinical Status Codes</a>#active)</span></p><p><b>verificationStatus</b>: Unconfirmed <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.3.0/CodeSystem-allergyintolerance-verification.html\">AllergyIntolerance Verification Status</a>#unconfirmed)</span></p><p><b>code</b>: No known allergy <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#716186003; absent-unknown-uv-ips#no-known-allergies &quot;No known allergies&quot;)</span></p><p><b>patient</b>: <a href=\"Patient-wang-li.html\">Patient/wang-li</a> &quot; WANG&quot;</p><p><b>encounter</b>: <span>: GP Visit</span></p><p><b>recorder</b>: <a href=\"PractitionerRole-bobrester-bob-gp.html\">PractitionerRole/bobrester-bob-gp</a></p><p><b>asserter</b>: <a href=\"Patient-wang-li.html\">Patient/wang-li</a> &quot; WANG&quot;</p></div>",
"status": "generated"
}
}
44 changes: 22 additions & 22 deletions resources/seeds/Condition/Condition-tc.json
Original file line number Diff line number Diff line change
@@ -1,29 +1,13 @@
{
"asserter": {
"id": "practitioner-tc",
"resourceType": "Practitioner"
},
"abatement": {
"dateTime": "2015-02-14"
},
"severity": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "24484000",
"display": "Severe"
}
]
},
"onset": {
"dateTime": "2017-03-30"
},
"category": [
{
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/condition-category",
"code": "encounter-diagnosis",
"system": "http://terminology.hl7.org/CodeSystem/condition-category",
"display": "Encounter Diagnosis"
}
]
Expand All @@ -32,8 +16,8 @@
"clinicalStatus": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/condition-clinical",
"code": "resolved",
"system": "http://terminology.hl7.org/CodeSystem/condition-clinical",
"display": "Resolved"
}
]
Expand All @@ -47,7 +31,14 @@
"id": "encounter-tc",
"resourceType": "Encounter"
},
"abatement": {
"dateTime": "2015-02-14"
},
"resourceType": "Condition",
"asserter": {
"id": "practitioner-tc",
"resourceType": "Practitioner"
},
"note": [
{
"text": "Puncture wound to sole of left foot from stepping on a rusty nail. Wound red and swollen, no calf muscle tenderness, no coughing nor chest pain which excludes pulmonary embolism."
Expand All @@ -58,20 +49,29 @@
"id": "practitionerrole-tc",
"resourceType": "PractitionerRole"
},
"code": {
"severity": {
"coding": [
{
"code": "24484000",
"system": "http://snomed.info/sct",
"display": "Severe"
}
]
},
"code": {
"coding": [
{
"code": "283680004",
"system": "http://snomed.info/sct",
"display": "Nail wound of sole of foot"
}
]
},
"verificationStatus": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/condition-ver-status",
"code": "confirmed",
"system": "http://terminology.hl7.org/CodeSystem/condition-ver-status",
"display": "Confirmed"
}
]
Expand All @@ -81,7 +81,7 @@
"resourceType": "Patient"
},
"text": {
"status": "generated",
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Condition</b><a name=\"nailwound\"> </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 Condition &quot;nailwound&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-au-core-condition.html\">AU Core Condition</a></p></div><p><b>clinicalStatus</b>: Active <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.3.0/CodeSystem-condition-clinical.html\">Condition Clinical Status Codes</a>#active)</span></p><p><b>verificationStatus</b>: Confirmed <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.3.0/CodeSystem-condition-ver-status.html\">ConditionVerificationStatus</a>#confirmed)</span></p><p><b>category</b>: Encounter Diagnosis <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.3.0/CodeSystem-condition-category.html\">Condition Category Codes</a>#encounter-diagnosis)</span></p><p><b>code</b>: Nail wound of sole of foot <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#283680004)</span></p><p><b>subject</b>: <a href=\"Patient-wang-li.html\">Patient/wang-li</a> &quot; WANG&quot;</p><p><b>encounter</b>: <a href=\"Encounter-nailwound.html\">Encounter/nailwound</a></p><p><b>onset</b>: 2017-03-30</p><p><b>recorder</b>: <a href=\"PractitionerRole-bobrester-bob-gp.html\">PractitionerRole/bobrester-bob-gp</a></p><p><b>note</b>: Puncture wound to sole of left foot from stepping on a rusty nail. Wound red and swollen, no calf muscle tenderness, no coughing nor chest pain which excludes pulmonary embolism.</p></div>"
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Condition</b><a name=\"nailwound\"> </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 Condition &quot;nailwound&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-au-core-condition.html\">AU Core Condition</a></p></div><p><b>clinicalStatus</b>: Active <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.3.0/CodeSystem-condition-clinical.html\">Condition Clinical Status Codes</a>#active)</span></p><p><b>verificationStatus</b>: Confirmed <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.3.0/CodeSystem-condition-ver-status.html\">ConditionVerificationStatus</a>#confirmed)</span></p><p><b>category</b>: Encounter Diagnosis <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.3.0/CodeSystem-condition-category.html\">Condition Category Codes</a>#encounter-diagnosis)</span></p><p><b>code</b>: Nail wound of sole of foot <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#283680004)</span></p><p><b>subject</b>: <a href=\"Patient-wang-li.html\">Patient/wang-li</a> &quot; WANG&quot;</p><p><b>encounter</b>: <a href=\"Encounter-nailwound.html\">Encounter/nailwound</a></p><p><b>onset</b>: 2017-03-30</p><p><b>recorder</b>: <a href=\"PractitionerRole-bobrester-bob-gp.html\">PractitionerRole/bobrester-bob-gp</a></p><p><b>note</b>: Puncture wound to sole of left foot from stepping on a rusty nail. Wound red and swollen, no calf muscle tenderness, no coughing nor chest pain which excludes pulmonary embolism.</p></div>",
"status": "generated"
}
}
Loading

0 comments on commit 09873d4

Please sign in to comment.