This commit is contained in:
2025-09-30 10:14:25 +06:00
11 changed files with 502 additions and 56 deletions

View File

@@ -0,0 +1,84 @@
Profile: BDObservationProfile
Id: bd-observation
Parent: Observation
Title: "Bangladesh Observation Profile"
Description: "Bangladesh Observation Profile"
* ^url = "https://fhir.dghs.gov.bd/core/StructureDefinition/bd-observation"
* ^version = "1.0.0"
* ^status = #active
* identifier 1..* MS
* identifier.value 1..1
* status 1..1
* partOf 0..*
* category 1..* MS
* category from http://hl7.org/fhir/ValueSet/observation-category (required)
* category ^definition = "Type of category"
* category ^comment = "E.g. vital, physical examination"
* code 1..1 MS
* code from http://hl7.org/fhir/ValueSet/observation-codes (required)
* code ^definition = "Type of test/measurement"
* code ^comment = "E.g., Hb, RBS, CBC"
// Subject: Reference to Patient Profile (Required)
* subject 1..1 MS
* subject.reference 1..1 MS
* subject.display 1..1 MS
* subject.identifier 0..1
* subject ^definition = "Reference to Patient Profile"
* subject ^comment = "EX: http://mci.mcishr.dghs.gov.bd/api/v1/patients/98002412586"
* encounter 1..1 MS
* encounter.reference 1..1 MS
* encounter ^definition = "Reference to Patient Profile"
* encounter ^comment = "EX: uuid:34c38499-58ab-41e0-8e94-c3931491ad0e - bundle encounter uuid from local"
* performer 1..*
* performer.reference 1..1
// Value[x]: Result value (Optional, but constrained)
* value[x] 0..1
* value[x] ^definition = "Result value (Quantity, string, code, boolean, etc.)"
* valueQuantity 0..1
* valueQuantity ^comment = "If numeric, must include UCUM unit"
* valueQuantity.system 0..1
* valueQuantity.code 0..1
* valueString 0..1
* valueCodeableConcept 0..1
* valueBoolean 0..1
* valueInteger 0..1
* valueRange 0..1
* valueRatio 0..1
* valueSampledData 0..1
* valueTime 0..1
* valueDateTime 0..1
* valuePeriod 0..1
* interpretation 0..*
* interpretation from http://hl7.org/fhir/ValueSet/observation-interpretation (required)
* interpretation ^definition = "Type of test/measurement"
* interpretation ^comment = "E.g.: High, low, normal, etc"
* method 0..1
* method from http://hl7.org/fhir/ValueSet/observation-methods (required)
* method ^definition = "Type of observation method"
* method ^comment = "E.g.: Technique, Total measurement"
// Issued: Date/time result was issued (Optional)
* issued 0..1
* issued ^definition = "Date/time result was issued"
// Reference Range: Normal reference range (Optional)
* referenceRange 0..*
* referenceRange ^definition = "Normal reference range"
* referenceRange ^comment = "Optional"
// Specimen: Specimen used for the observation (Optional)
* specimen 0..1
* specimen ^definition = "Specimen used for the observation"
* specimen ^comment = "Optional"

View File

@@ -0,0 +1,8 @@
Profile: BDLocation
Id: bd-location
Parent: Location
Title: "Location of Immunization for Bangladesh"
Description: "Address for Bangladesh Standard"
* address 1..1
* address only BDAddress

View File

@@ -7,8 +7,6 @@ Parent: MedicationRequest
Title: "Medication Request Profile for Bangladesh-V2"
Description: "Profile of MedicationRequest Bangladesh Standard V2"
* identifier 1..*
* medication[x] 1..1 MS
* medication[x] only Reference(BDMedication) or CodeableConcept
@@ -16,8 +14,10 @@ Description: "Profile of MedicationRequest Bangladesh Standard V2"
// TODO: BDEncounter referencing
* authoredOn 1..1
* requester 1..1
* reported[x] 1..1
* requester 1..1
* requester only Reference(BDPractitioner)
* reported[x] only Reference(BDOrganization)
* reported[x] only Reference(BDOrganization) or boolean
* requester only Reference(BDPractitioner or BDOrganization)
* priorPrescription only Reference(BDMedicationRequest)
* basedOn only Reference(BDMedicationRequest or ServiceRequest or CarePlan or ImmunizationRecommendation)

View File

@@ -1,7 +1,7 @@
// @Name: Profile
// @Description: Immunization Profile of the Bangladeshi Patient.
// @Description: Immunization Profile of the Bangladeshi Patient.
Profile: BDImmunizationProfile
Id: bd-immunization
Parent: Immunization
@@ -28,7 +28,7 @@ Description: "Bangladesh Immunization Profile"
* manufacturer ^definition = "Vaccine manufacturer"
* ^url = "https://fhir.dghs.gov.bd/core/StructureDefinition/bd-organization"
* lotNumber 0..1
* lotNumber 0..1
* lotNumber ^short = "Vaccine Lot Number"
* lotNumber ^definition = "Vaccine lot or batch number"
@@ -36,19 +36,19 @@ Description: "Bangladesh Immunization Profile"
* expirationDate ^short = "Expiration Date"
* expirationDate ^definition = "Expiration date of vaccine lot"
// * patient 1..1
// * patient ^definition = "The patient receiving the vaccine"
// * patient from BDPatientProfile
* patient 1..1
* patient ^definition = "The patient receiving the vaccine"
* patient only Reference(BDPatientProfile)
* encounter 1..1
* encounter ^definition = "Encounter during which vaccine was administered"
//* encounter from BD Encounter Profile
* encounter only Reference(BDEncounterProfile)
* occurrence[x] 1..1
* occurrence[x] 1..1
// * location 0..1
// * location ^definition = "Location where vaccine was administered"
// * location only BDAddress
* location 0..1
* location ^definition = "Location where vaccine was administered"
* location only Reference(BDLocation)
* site 0..1
* site ^definition = "Body site of administration"
@@ -60,14 +60,15 @@ Description: "Bangladesh Immunization Profile"
* doseQuantity 0..1
* doseQuantity ^definition = "Amount of vaccine administered"
//* doseQuantity from UCUM Units
* ^url = "http://unitsofmeasure.org"
* doseQuantity.system = "http://unitsofmeasure.org"
* performer 0..*
* performer 0..*
* performer ^definition = "Individual who performed the immunization"
//* performer from BD Practitioner Profile
* ^url = "https://fhir.dghs.gov.bd/core/StructureDefinition/bd-practitioner"
* performer.actor only Reference(BDPractitioner)
* reaction 0..*
* reaction ^definition = "Adverse reaction following immunization"
* reaction.detail only Reference(Observation)
//TODO: change to BDObservation after creating the profile
* reaction.detail only Reference(Observation)
//TODO change to BDObservation after creating the profile
* reasonReference only Reference(Condition or Observation or DiagnosticReport)