Merge branch 'main' of https://git.dghs.gov.bd/gitadmin/BD-Core-FHIR-IG
Some checks failed
Deploy on production / deploy (push) Failing after 32s
Some checks failed
Deploy on production / deploy (push) Failing after 32s
This commit is contained in:
commit
4e40212905
32
input/fsh/encounter-profile.fsh
Normal file
32
input/fsh/encounter-profile.fsh
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
|
||||||
|
Profile: BDEncounterProfile
|
||||||
|
Id: bd-encounter
|
||||||
|
Parent: Encounter
|
||||||
|
Title: "Encounter Profile for Bangladesh"
|
||||||
|
Description: "Profile of Encounter Bangladesh Standard"
|
||||||
|
|
||||||
|
* identifier 1..*
|
||||||
|
|
||||||
|
* status 1..1 MS
|
||||||
|
* status from BDEncounterStatusSubsetVS
|
||||||
|
|
||||||
|
* class 1..1 MS
|
||||||
|
* class from BDEncounterClassSubsetVS
|
||||||
|
|
||||||
|
* subject 1..1 MS
|
||||||
|
//* subject from https://fhir.dghs.gov.bd/core/StructureDefinition/bd-patient
|
||||||
|
|
||||||
|
* basedOn 0..1 MS
|
||||||
|
|
||||||
|
* partOf 0..1 MS
|
||||||
|
|
||||||
|
* serviceProvider 1..1 MS
|
||||||
|
|
||||||
|
* participant 1..* MS
|
||||||
|
* participant.period 1..1 MS
|
||||||
|
|
||||||
|
* diagnosis 0..* MS
|
||||||
|
|
||||||
|
//* admission 0..* MS
|
||||||
|
//* admission.dischargeDisposition 0..1 MS
|
||||||
|
* encounter.admission.dischargeDisposition 0..1
|
||||||
@ -1,11 +1,20 @@
|
|||||||
{
|
{
|
||||||
"resourceType": "StructureDefinition",
|
"resourceType": "StructureDefinition",
|
||||||
|
<<<<<<< HEAD
|
||||||
|
"id": "bd-Immunization",
|
||||||
|
"url": "http://example.org/StructureDefinition/bd-Immunization",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"name": "BDImmunizationProfile",
|
||||||
|
"title": "Immunization Profile for Bangladesh",
|
||||||
|
"description": "Bangladesh Immunization Profile",
|
||||||
|
=======
|
||||||
"id": "bd-immunization",
|
"id": "bd-immunization",
|
||||||
"url": "https://fhir.dghs.gov.bd/core/identifier/bd-immunization",
|
"url": "https://fhir.dghs.gov.bd/core/identifier/bd-immunization",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"name": "BDImmunizationProfile",
|
"name": "BDImmunizationProfile",
|
||||||
"title": "Patient Immunization Profile for Bangladesh",
|
"title": "Patient Immunization Profile for Bangladesh",
|
||||||
"description": "Patients Immunization Bangladesh Standard",
|
"description": "Patients Immunization Bangladesh Standard",
|
||||||
|
>>>>>>> 1c45affa520e64b3b9efc307d9116ff138171fa5
|
||||||
"fhirVersion": "4.0.1",
|
"fhirVersion": "4.0.1",
|
||||||
"kind": "resource",
|
"kind": "resource",
|
||||||
"abstract": false,
|
"abstract": false,
|
||||||
@ -17,7 +26,11 @@
|
|||||||
{
|
{
|
||||||
"id": "Immunization.identifier",
|
"id": "Immunization.identifier",
|
||||||
"path": "Immunization.identifier",
|
"path": "Immunization.identifier",
|
||||||
|
<<<<<<< HEAD
|
||||||
|
"short": "Unique identifier",
|
||||||
|
=======
|
||||||
"short": "Identifier",
|
"short": "Identifier",
|
||||||
|
>>>>>>> 1c45affa520e64b3b9efc307d9116ff138171fa5
|
||||||
"definition": "Unique identifier for the vaccination event",
|
"definition": "Unique identifier for the vaccination event",
|
||||||
"min": 1
|
"min": 1
|
||||||
}
|
}
|
||||||
|
|||||||
73
input/fsh/profile/immunization-profile.fsh
Normal file
73
input/fsh/profile/immunization-profile.fsh
Normal file
@ -0,0 +1,73 @@
|
|||||||
|
|
||||||
|
|
||||||
|
// @Name: Profile
|
||||||
|
// @Description: Immunization Profile of the Bangladeshi Patient.
|
||||||
|
Profile: BDImmunizationProfile
|
||||||
|
Id: bd-immunization
|
||||||
|
Parent: Immunization
|
||||||
|
Title: "Immunization Profile for Bangladesh"
|
||||||
|
Description: "Bangladesh Immunization Profile"
|
||||||
|
* ^url = "https://fhir.dghs.gov.bd/core/StructureDefinition/bd-immunization"
|
||||||
|
|
||||||
|
|
||||||
|
* identifier 1..*
|
||||||
|
* identifier ^short = "Unique identifier"
|
||||||
|
* identifier ^definition = "Unique identifier for the vaccination event"
|
||||||
|
* ^url = "https://fhir.dghs.gov.bd/core/identifier/bd-immunization"
|
||||||
|
|
||||||
|
* reasonReference 0..*
|
||||||
|
* reasonReference only Reference(Condition or Observation or DiagnosticReport)
|
||||||
|
|
||||||
|
* vaccineCode 1..1
|
||||||
|
* vaccineCode from BDVaccineValueSet (required)
|
||||||
|
|
||||||
|
//* ^url = "https://fhir.dghs.gov.bd/core/StructureDefinition/bd-medication"
|
||||||
|
|
||||||
|
* manufacturer 0..1
|
||||||
|
* manufacturer ^short = "Manufacturer"
|
||||||
|
* manufacturer ^definition = "Vaccine manufacturer"
|
||||||
|
* ^url = "https://fhir.dghs.gov.bd/core/StructureDefinition/bd-organization"
|
||||||
|
|
||||||
|
* lotNumber 0..1
|
||||||
|
* lotNumber ^short = "Vaccine Lot Number"
|
||||||
|
* lotNumber ^definition = "Vaccine lot or batch number"
|
||||||
|
|
||||||
|
* expirationDate 0..1
|
||||||
|
* expirationDate ^short = "Expiration Date"
|
||||||
|
* expirationDate ^definition = "Expiration date of vaccine lot"
|
||||||
|
|
||||||
|
// * patient 1..1
|
||||||
|
// * patient ^definition = "The patient receiving the vaccine"
|
||||||
|
// * patient from BDPatientProfile
|
||||||
|
|
||||||
|
* encounter 1..1
|
||||||
|
* encounter ^definition = "Encounter during which vaccine was administered"
|
||||||
|
//* encounter from BD Encounter Profile
|
||||||
|
|
||||||
|
* occurrence[x] 1..1
|
||||||
|
|
||||||
|
// * location 0..1
|
||||||
|
// * location ^definition = "Location where vaccine was administered"
|
||||||
|
// * location only BDAddress
|
||||||
|
|
||||||
|
* site 0..1
|
||||||
|
* site ^definition = "Body site of administration"
|
||||||
|
* site from BDImmunizationSiteValueSet
|
||||||
|
|
||||||
|
* route 0..1
|
||||||
|
* route ^definition = "Route of administration"
|
||||||
|
* route from BDImmunizationRouteValueSet
|
||||||
|
|
||||||
|
* doseQuantity 0..1
|
||||||
|
* doseQuantity ^definition = "Amount of vaccine administered"
|
||||||
|
//* doseQuantity from UCUM Units
|
||||||
|
* ^url = "http://unitsofmeasure.org"
|
||||||
|
|
||||||
|
* performer 0..*
|
||||||
|
* performer ^definition = "Individual who performed the immunization"
|
||||||
|
//* performer from BD Practitioner Profile
|
||||||
|
* ^url = "https://fhir.dghs.gov.bd/core/StructureDefinition/bd-practitioner"
|
||||||
|
|
||||||
|
* reaction 0..*
|
||||||
|
* reaction ^definition = "Adverse reaction following immunization"
|
||||||
|
* reaction.detail only Reference(Observation)
|
||||||
@ -1,17 +0,0 @@
|
|||||||
Profile: BDImmunizationProfile
|
|
||||||
Id: bd-immunization
|
|
||||||
Parent: Immunization
|
|
||||||
Title: "Patient Immunization Profile for Bangladesh"
|
|
||||||
Description: "Patients Immunization Bangladesh Standard"
|
|
||||||
* ^url = "https://fhir.dghs.gov.bd/core/StructureDefinition/bd-immunization"
|
|
||||||
|
|
||||||
* identifier 1..*
|
|
||||||
* identifier ^short = "Identifier"
|
|
||||||
* identifier ^definition = "Unique identifier for the vaccination event"
|
|
||||||
* ^url = "https://fhir.dghs.gov.bd/core/identifier/bd-immunization"
|
|
||||||
|
|
||||||
* vaccineCode 1..1
|
|
||||||
* vaccineCode from BDVaccineValueSet (required)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
13
input/fsh/valueSets/BDEncounterClassSubsetVS.fsh
Normal file
13
input/fsh/valueSets/BDEncounterClassSubsetVS.fsh
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
// ---------- ValueSet ----------
|
||||||
|
ValueSet: BDEncounterClassSubsetVS
|
||||||
|
Id: bd-encounter-class-subset-vs
|
||||||
|
Title: "BD Encounter Class Subset"
|
||||||
|
Description: "Subset of EncounterClass limited to inpatient, ambulatory, and emergency."
|
||||||
|
* ^url = "https://fhir.dghs.gov.bd/core/ValueSet/bd-encounter-class-subset"
|
||||||
|
* ^status = #active
|
||||||
|
* ^experimental = false
|
||||||
|
|
||||||
|
// Explicitly include the three concepts from the core EncounterClass system
|
||||||
|
* include http://terminology.hl7.org/CodeSystem/v3-ActCode#IMP "Inpatient"
|
||||||
|
* include http://terminology.hl7.org/CodeSystem/v3-ActCode#AMB "Ambulatory"
|
||||||
|
* include http://terminology.hl7.org/CodeSystem/v3-ActCode#EMER "Emergency"
|
||||||
15
input/fsh/valueSets/BDEncounterStatusSubsetVS.fsh
Normal file
15
input/fsh/valueSets/BDEncounterStatusSubsetVS.fsh
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
// ---------- ValueSet ----------
|
||||||
|
ValueSet: BDEncounterStatusSubsetVS
|
||||||
|
Id: bd-encounter-status-subset-vs
|
||||||
|
Title: "BD Encounter Status Subset"
|
||||||
|
Description: "Subset of EncounterStatus limited to planned, in-progress, finished, and cancelled."
|
||||||
|
* ^url = "https://fhir.dghs.gov.bd/core/ValueSet/bd-encounter-status-subset"
|
||||||
|
* ^status = #active
|
||||||
|
* ^experimental = false
|
||||||
|
|
||||||
|
// Explicitly include the four concepts from the core code system
|
||||||
|
* include http://hl7.org/fhir/encounter-status#planned "Planned"
|
||||||
|
* include http://hl7.org/fhir/encounter-status#in-progress "In Progress"
|
||||||
|
* include http://hl7.org/fhir/encounter-status#finished "Finished"
|
||||||
|
* include http://hl7.org/fhir/encounter-status#cancelled "Cancelled"
|
||||||
|
|
||||||
Loading…
Reference in New Issue
Block a user