Merge branch 'main' of https://git.dghs.gov.bd/gitadmin/BD-Core-FHIR-IG
Some checks failed
Deploy on production / deploy (push) Failing after 7s
Some checks failed
Deploy on production / deploy (push) Failing after 7s
This commit is contained in:
201
input/fsh/codeSystems/bd-country-list.fsh
Normal file
201
input/fsh/codeSystems/bd-country-list.fsh
Normal file
@@ -0,0 +1,201 @@
|
||||
CodeSystem: BDCountryListCS
|
||||
Id: bd-country-list-cs
|
||||
Title: "Nationality List"
|
||||
* ^url = "https://fhir.dghs.gov.bd/core/CodeSystem/bd-country-list"
|
||||
|
||||
* #4 "Afghan"
|
||||
* #8 "Albanian"
|
||||
* #12 "Algerian"
|
||||
* #840 "American"
|
||||
* #20 "Andorran"
|
||||
* #24 "Angolan"
|
||||
* #28 "Antiguans"
|
||||
* #32 "Argentine"
|
||||
* #51 "Armenian"
|
||||
* #36 "Australian"
|
||||
* #40 "Austrian"
|
||||
* #31 "Azerbaijani"
|
||||
* #44 "Bahamian"
|
||||
* #48 "Bahraini"
|
||||
* #50 "Bangladeshi"
|
||||
* #52 "Barbadian"
|
||||
* #112 "Belarusian"
|
||||
* #56 "Belgian"
|
||||
* #84 "Belizean"
|
||||
* #204 "Beninese"
|
||||
* #64 "Bhutanese"
|
||||
* #68 "Bolivian"
|
||||
* #70 "Bosnian"
|
||||
* #76 "Brazilian"
|
||||
* #826 "British (collective)"
|
||||
* #96 "Bruneian"
|
||||
* #100 "Bulgarian"
|
||||
* #854 "Burkinabe"
|
||||
* #108 "Burundian"
|
||||
* #116 "Cambodian"
|
||||
* #120 "Cameroonian"
|
||||
* #124 "Canadian"
|
||||
* #140 "Central African"
|
||||
* #152 "Chilean"
|
||||
* #156 "Chinese"
|
||||
* #170 "Colombian"
|
||||
* #174 "Comoran"
|
||||
* #180 "Congolese"
|
||||
* #178 "Congolese"
|
||||
* #188 "Costa Rican"
|
||||
* #191 "Croatian"
|
||||
* #192 "Cuban"
|
||||
* #196 "Cypriot"
|
||||
* #203 "Czech"
|
||||
* #208 "Danish"
|
||||
* #262 "Djibouti"
|
||||
* #212 "Dominican"
|
||||
* #214 "Dominican"
|
||||
* #528 "Dutch"
|
||||
* #218 "Ecuadorean"
|
||||
* #818 "Egyptian"
|
||||
* #784 "Emirian"
|
||||
* #226 "Equatorial Guinean"
|
||||
* #232 "Eritrean"
|
||||
* #233 "Estonian"
|
||||
* #231 "Ethiopian"
|
||||
* #242 "Fijian"
|
||||
* #608 "Filipino"
|
||||
* #246 "Finnish"
|
||||
* #250 "French"
|
||||
* #266 "Gabonese"
|
||||
* #270 "Gambian"
|
||||
* #268 "Georgian"
|
||||
* #276 "German"
|
||||
* #288 "Ghanaian"
|
||||
* #300 "Greek"
|
||||
* #308 "Grenadian"
|
||||
* #320 "Guatemalan"
|
||||
* #624 "Guinea-Bissauan"
|
||||
* #324 "Guinean"
|
||||
* #328 "Guyanese"
|
||||
* #332 "Haitian"
|
||||
* #340 "Honduran"
|
||||
* #348 "Hungarian"
|
||||
* #296 "I-Kiribati"
|
||||
* #352 "Icelander"
|
||||
* #356 "Indian"
|
||||
* #360 "Indonesian"
|
||||
* #364 "Iranian"
|
||||
* #368 "Iraqi"
|
||||
* #372 "Irish"
|
||||
* #380 "Italian"
|
||||
* #384 "Ivorian"
|
||||
* #388 "Jamaican"
|
||||
* #392 "Japanese"
|
||||
* #400 "Jordanian"
|
||||
* #398 "Kazakhstani"
|
||||
* #404 "Kenyan"
|
||||
* #659 "Kittian and Nevisian"
|
||||
* #414 "Kuwaiti"
|
||||
* #417 "Kyrgyz"
|
||||
* #418 "Lao"
|
||||
* #428 "Latvian"
|
||||
* #422 "Lebanese"
|
||||
* #430 "Liberian"
|
||||
* #434 "Libyan"
|
||||
* #438 "Liechtensteiner"
|
||||
* #440 "Lithuanian"
|
||||
* #442 "Luxembourger"
|
||||
* #807 "Macedonian"
|
||||
* #450 "Malagasy"
|
||||
* #454 "Malawian"
|
||||
* #458 "Malaysian"
|
||||
* #462 "Maldivan"
|
||||
* #466 "Malian"
|
||||
* #470 "Maltese"
|
||||
* #584 "Marshallese"
|
||||
* #478 "Mauritanian"
|
||||
* #480 "Mauritian"
|
||||
* #484 "Mexican"
|
||||
* #583 "Micronesian"
|
||||
* #498 "Moldovan"
|
||||
* #492 "Monegasque"
|
||||
* #496 "Mongolian"
|
||||
* #504 "Moroccan"
|
||||
* #426 "Mosotho"
|
||||
* #72 "Motswana"
|
||||
* #508 "Mozambican"
|
||||
* #104 "Myanmarese"
|
||||
* #516 "Namibian"
|
||||
* #520 "Nauruan"
|
||||
* #524 "Nepalese"
|
||||
* #554 "New Zealander"
|
||||
* #548 "Ni-Vanuatu"
|
||||
* #558 "Nicaraguan"
|
||||
* #566 "Nigerian"
|
||||
* #562 "Nigerien"
|
||||
* #408 "North Korean"
|
||||
* #578 "Norwegian"
|
||||
* #512 "Omani"
|
||||
* #586 "Pakistani"
|
||||
* #585 "Palauan"
|
||||
* #591 "Panamanian"
|
||||
* #598 "Papua New Guinean"
|
||||
* #600 "Paraguayan"
|
||||
* #604 "Peruvian"
|
||||
* #616 "Polish"
|
||||
* #620 "Portuguese"
|
||||
* #634 "Qatari"
|
||||
* #642 "Romanian"
|
||||
* #643 "Russian"
|
||||
* #646 "Rwandan"
|
||||
* #662 "Saint Lucian"
|
||||
* #222 "Salvadoran"
|
||||
* #674 "Sammarinese"
|
||||
* #882 "Samoan"
|
||||
* #678 "Sao Tomean"
|
||||
* #682 "Saudi"
|
||||
* #686 "Senegalese"
|
||||
* #891 "Serbian"
|
||||
* #690 "Seychellois"
|
||||
* #694 "Sierra Leonean"
|
||||
* #702 "Singaporean"
|
||||
* #703 "Slovak"
|
||||
* #705 "Slovene"
|
||||
* #90 "Solomon Islander"
|
||||
* #706 "Somali"
|
||||
* #710 "South African"
|
||||
* #410 "South Korean"
|
||||
* #724 "Spanish"
|
||||
* #144 "Sri Lankan"
|
||||
* #736 "Sudanese"
|
||||
* #740 "Surinamer"
|
||||
* #748 "Swazi"
|
||||
* #752 "Swedish"
|
||||
* #756 "Swiss"
|
||||
* #760 "Syrian"
|
||||
* #158 "Taiwanese"
|
||||
* #762 "Tajik"
|
||||
* #834 "Tanzanian"
|
||||
* #764 "Thai"
|
||||
* #768 "Togolese"
|
||||
* #776 "Tongan"
|
||||
* #780 "Trinidadian"
|
||||
* #788 "Tunisian"
|
||||
* #792 "Turkish"
|
||||
* #795 "Turkmen(s)"
|
||||
* #798 "Tuvaluan"
|
||||
* #800 "Ugandan"
|
||||
* #804 "Ukrainian"
|
||||
* #858 "Uruguayan"
|
||||
* #860 "Uzbek"
|
||||
* #862 "Venezuelan"
|
||||
* #132 "Verdian"
|
||||
* #704 "Vietnamese"
|
||||
* #887 "Yemeni"
|
||||
* #894 "Zambian"
|
||||
* #716 "Zimbabwean"
|
||||
|
||||
|
||||
ValueSet: BDCountryListVS
|
||||
Id: bd-country-list-vs
|
||||
Title: "Nationality ValueSet"
|
||||
Description: "Nationality value set"
|
||||
* ^url = "https://fhir.dghs.gov.bd/core/ValueSet/bd-country-list"
|
||||
* include codes from system https://fhir.dghs.gov.bd/core/CodeSystem/bd-country-list
|
||||
83
input/fsh/codeSystems/bd-occupations.fsh
Normal file
83
input/fsh/codeSystems/bd-occupations.fsh
Normal file
@@ -0,0 +1,83 @@
|
||||
CodeSystem: BDOccupationsCS
|
||||
Id: bangladesh-occupations-cs
|
||||
Title: "Bangladesh Occupations"
|
||||
* ^url = "https://fhir.dghs.gov.bd/core/CodeSystem/bd-occupations"
|
||||
|
||||
* #1 "Physical Scientists & Related Technicians" "ভৌত বিজ্ঞানী ও এতদসংক্রান্ত টেকনিশিয়ান"
|
||||
* #2 "Engineering and Architects" "ইঞ্জিয়ারিং ও স্থপতি "
|
||||
* #3 "Engineering and Architect-related Technicians" "ইঞ্জিয়ারিং ও স্থপতি সম্পর্কিত টেকনিশিয়ান "
|
||||
* #4 "Officers of Aircraft and Ship" "বিমান ও জাহাজের কর্মকর্তা "
|
||||
* #5 "Biologists and Related Technicians" "জীববিজ্ঞানী ও এতদসংক্রান্ত টেকনিশিয়ান "
|
||||
* #6 "Physicians, Dentists, and Veterinarians" "চিকিৎসক, দন্ত চিকিৎসক ও পশু চিকিৎসক "
|
||||
* #7 "Nurses and Other Medical Staffs" "নার্স ও চিকিৎসক সংক্রান্ত অন্যান্য কর্মী "
|
||||
* #8 "Statisticians, Mathematicians, System Analysts, and Related Staff" "পরিসংখ্যানবিদ, গণিতবিদ, সিস্টেম এনালিস্ট ও এতদসংক্রান্ত কর্মী "
|
||||
* #9 "Economists" "অর্থনীতিবিদ"
|
||||
* #10 "Accountants" "হিসাবরক্ষক"
|
||||
* #12 "Judges" "বিচারক"
|
||||
* #13 "Teachers" "শিক্ষক"
|
||||
* #14 "Religious Workers" "ধর্মীয় কর্মী"
|
||||
* #15 "Writers, Journalists, and Related Staffs" "লেখক, সাংবাদিক ও এতদসম্পর্কিত কর্মী "
|
||||
* #16 "Painters, Photographers, and Other Creative Artists" "চিত্রশিল্পী, ফটোগ্রাফার ও এতদসংক্রান্ত সৃজনশীল শিল্পী "
|
||||
* #17 "Actors, Singers, and Dancers" "অভিনয়, কণ্ঠশিল্পী ও নৃত্যশিল্পী "
|
||||
* #18 "Sportspersons and Related Staffs" "খেলোয়াড় এবং এতদসম্পর্কিত কর্মী "
|
||||
* #19 "Professional, Technical, and Other Related Workers (not elsewhere classified)" "পেশাগত, কারিগরি ও অন্যান্য অশ্রেণীভুক্ত এতদসম্পর্কিত কর্মী "
|
||||
* #20 "Lawyers" "আইনজীবী"
|
||||
* #21 "Managers" "ম্যানেজার"
|
||||
* #30 "Government Executive Officers" "সরকারি নির্বাহী কর্মকর্তা "
|
||||
* #31 "Clerks" "করণিক (কেরানী)"
|
||||
* #32 "Typists, Stenographers and Computer Operators" "টাইপিস্ট/স্টেনোগ্রাফার/কম্পিউটার অপারেটর"
|
||||
* #33 "Record Keepers, Cahiers and Related Staffs" "রেকর্ড কিপার, ক্যাশিয়ার ও এতদসম্পর্কিত কর্মী"
|
||||
* #34 "Computer Professionals and Associate Staffs" "কম্পিউটার সম্পর্কিত কর্মী "
|
||||
* #35 "Transport and Communication Supervisors" "যানবাহন ও যোগাযোগ তত্ত্বাবধায়ক "
|
||||
* #36 "Drivers and Conductors (Mechanical and Manual)" "গাড়িচালক ও কন্টাক্টর (যান্ত্রিক ও কায়িক) "
|
||||
* #37 "Mail Carriers / Postmen" "চিঠিপত্র বিলি (ডাক পিয়ন) "
|
||||
* #38 "Telephone and Telegraph Operators" "টেলিফোন ও টেলিগ্রাফ অপারেটর"
|
||||
* #39 "Clerical Work, Not Elsewhere Classified" "অশ্রেণীভুক্ত দাপ্তরিক কাজ "
|
||||
* #40 "Managers in Wholesale and Retail Trade" "ম্যানেজার (পাইকারি ও খুচরা ব্যাবসা) "
|
||||
* #42 "Sales Supervisors" "বিক্রয় তত্ত্বাবধায়ক"
|
||||
* #43 "Travel Attendants and Related Workers" "ভ্রমণ সংক্রান্ত কাজে নিয়োজিত কর্মী "
|
||||
* #44 "Salespersons in Insurance, Real Estate, Business, and Related Services" "বীমা, রিয়েল এস্টেট, ব্যাবসা এবং এতদসংক্রান্ত সেবা বিক্রেতা "
|
||||
* #45 "Street and Market Salespersons" "ফেরিওয়ালা "
|
||||
* #46 "Sales Workers, Not Elsewhere Classified" "অশ্রেণীভুক্ত বিক্রয়কর্মী "
|
||||
* #50 "Hotel and Lodging Managers" "আবাসিক হোটেল ম্যানেজার "
|
||||
* #51 "Hotel Proprietors" "হোটেল মালিক "
|
||||
* #52 "Residential Hotel Supervisors" "আবাসিক হোটেল তত্ত্বাবধায়ক"
|
||||
* #53 "Cooks, Waiters, and Related Hotel Workers" "বাবুর্চি, হোটেল বয় ও এতদসম্পর্কিত কর্মী "
|
||||
* #54 "Unclassified Housemaids" "অশ্রেণীভুক্ত গৃহ পরিচারিকা "
|
||||
* #55 "Caretakers, Janitors, and Related Domestic Workers" "বাড়ির কেয়ারটেকার, ঝাড়ুদার ও এতদসম্পর্কিত কর্মী "
|
||||
* #56 "Laundry Workers" "ধোপা "
|
||||
* #58 "Security Guards" "নিরাপত্তা কর্মী "
|
||||
* #59 "Unclassified Service Workers" "অশ্রেণীভুক্ত সেবা কর্মী "
|
||||
* #60 "Agricultural Farm Managers and Supervisors" "কৃষিখামার ব্যবস্থাপক ও তত্ত্বাবধায়ক "
|
||||
* #61 "Crop and Livestock Farmers" "কৃষিকাজ "
|
||||
* #63 "Forestry Workers" "বন কর্মী "
|
||||
* #64 "Fishers, Hunters, and Related Workers" "জেলে, শিকারি ও এতদসম্পর্কিত কর্মী "
|
||||
* #70 "Production Supervisors and Foremen" "উৎপাদন তত্ত্বাবধায়ক ও ফোরম্যান "
|
||||
* #71 "Miners and Quarry Workers" "খননকর্মী ও খননকারী "
|
||||
* #72 "Metal Processing and Finishing Workers" "ধাতু প্রক্রিয়াকারী "
|
||||
* #74 "Chemical Products Processing Workers" "রাসায়নিক দ্রব্য প্রক্রিয়াকারী "
|
||||
* #75 "Weavers, Knitters, Dyers, and Related Textile Workers" "তাঁতী, কাপড় বোনা ও রং করা "
|
||||
* #76 "Tanners and Leather Processing Workers" "চামড়া প্রক্রিয়াকারী "
|
||||
* #77 "Food and Beverage Processing Plant Operators" "খাদ্য ও পানীয় প্রক্রিয়াকারী "
|
||||
* #78 "Tobacco Preparers and Tobacco Processing Workers" "তামাক প্রক্রিয়াকারী "
|
||||
* #79 "Tailors, Dressmakers, and Sewing Workers" "দর্জি ও অন্যান্য সেলাই কর্মী "
|
||||
* #80 "Footwear and Leather Goods Makers" "জুতা ও চামড়াজাত দ্রব্য প্রস্তুতকারী "
|
||||
* #81 "Carpenters" "কাঠমিস্ত্রি "
|
||||
* #82 "Stone Cutters and Processing Workers" "পাথর কাটা ও প্রক্রিয়াকারী "
|
||||
* #83 "Blacksmiths, Toolmakers, and Related Trades Workers" "কর্মকার, ঢালাইকর্মী ও যন্ত্রাংশ প্রস্তুতকারী "
|
||||
* #84 "Non-Electrical Machine Operators" "বৈদ্যুতিক ব্যতীত অন্যান্য মেশিনকর্মী "
|
||||
* #85 "Electricians" "বৈদ্যুতিক কর্মী"
|
||||
* #86 "Broadcasting and Audio-Visual Technicians" "শব্দ প্রচার কর্মী ও চলচ্চিত্র প্রদর্শনকারী "
|
||||
* #87 "Water and Sewerage Construction Workers and Welders" "পানি ও পয়োঃ নিষ্কাশন কাঠামো নির্মাণকারী ও ধাতু ঝালাইকারী "
|
||||
* #88 "Jewellery and Precious Metal Workers" "স্বর্ণকার "
|
||||
* #89 "Glass, Pottery, and Related Trades Workers" "গ্লাস ও মাটির জিনিস প্রস্তুতকারী "
|
||||
* #90 "Rubber and Plastic Products Makers" "রাবার ও প্লাস্টিক দ্রব্য প্রস্তুতকারী"
|
||||
* #91 "Paper and Paperboard Products Workers" "কাগজ ও কাগজের বোর্ড প্রস্তুতকারী "
|
||||
* #92 "Printers and Related Workers" "মুদ্রণকাজ"
|
||||
|
||||
ValueSet: BDOccupationsVS
|
||||
Id: bd-occupations-vs
|
||||
Title: "Bangladesh Occupations ValueSet"
|
||||
Description: "Occupations value set according to CCDS guideline"
|
||||
* ^url = "https://fhir.dghs.gov.bd/core/ValueSet/bd-occupations"
|
||||
* include codes from system https://fhir.dghs.gov.bd/core/CodeSystem/bd-occupations
|
||||
20
input/fsh/codeSystems/bd-religions.fsh
Normal file
20
input/fsh/codeSystems/bd-religions.fsh
Normal file
@@ -0,0 +1,20 @@
|
||||
//codeSystems/bd-regions.fsh
|
||||
CodeSystem: BDReligionsCS
|
||||
Id: bangladesh-religions-cs
|
||||
Title: "Bangladesh Religions"
|
||||
* ^url = "https://fhir.dghs.gov.bd/core/CodeSystem/bd-religions"
|
||||
|
||||
* #1 "Islam" "Muslim"
|
||||
* #2 "Hinduism" "Hindu"
|
||||
* #3 "Buddhism" "Buddhist"
|
||||
* #4 "Christianity" "Christian"
|
||||
* #8 "Refuse to disclose" "Patient declined to state religion"
|
||||
* #9 "Not a believer" "Identifies as not having a religion"
|
||||
* #0 "Other (specify)" "Other religion (to be specified in free text)"
|
||||
|
||||
ValueSet: BDReligionsVS
|
||||
Id: bd-religions-vs
|
||||
Title: "Bangladesh Religions ValueSet"
|
||||
Description: "Religions value set according to CCDS guideline"
|
||||
* ^url = "https://fhir.dghs.gov.bd/core/ValueSet/bd-religions"
|
||||
* include codes from system https://fhir.dghs.gov.bd/core/CodeSystem/bd-religions
|
||||
@@ -3,7 +3,7 @@
|
||||
CodeSystem: BangladeshIdentifierType
|
||||
Id: bangladesh-identifier-type-cs
|
||||
Title: "Bangladesh Identifier Types"
|
||||
* ^url = "https://fhir.dghs.gov.bd/core/ValueSet/bd-identifier-type"
|
||||
* ^url = "https://fhir.dghs.gov.bd/core/CodeSystem/bd-identifier-type"
|
||||
|
||||
* #NID "National ID"
|
||||
* #BRN "Birth Registration Number"
|
||||
@@ -14,7 +14,8 @@ ValueSet: BangladeshIdentifierTypeVS
|
||||
Id: bangladesh-identifier-type-vs
|
||||
Title: "Bangladesh Identifier Type"
|
||||
Description: "Bangladesh Standard Identifier type"
|
||||
* ^url = "https://fhir.dghs.gov.bd/core/ValueSet/bd-identifier-type"
|
||||
// * include codes from valueset http://hl7.org/fhir/ValueSet/identifier-type /// use name or uri
|
||||
* include codes from system https://fhir.dghs.gov.bd/core/ValueSet/bd-identifier-type
|
||||
* include codes from system https://fhir.dghs.gov.bd/core/CodeSystem/bd-identifier-type
|
||||
|
||||
////////////// end identifier types
|
||||
@@ -1,9 +1,9 @@
|
||||
// ---------------------------
|
||||
// Extension Definition
|
||||
// ---------------------------
|
||||
Extension: bdbloodgroup
|
||||
Extension: BDBloodGroup
|
||||
Id: bd-blood-group
|
||||
Title: "Patient Blood Group"
|
||||
Description: "Blood group of the patient according to CCDS guideline"
|
||||
* valueCodeableConcept 1..1
|
||||
* valueCodeableConcept from BDBloodGroupVS (required)
|
||||
* valueCodeableConcept from BDBloodGroupVS (required)
|
||||
|
||||
4
input/fsh/extensions/nationality.fsh
Normal file
4
input/fsh/extensions/nationality.fsh
Normal file
@@ -0,0 +1,4 @@
|
||||
Extension: Nationality
|
||||
Id: nationality
|
||||
Title: "patient Nationality"
|
||||
Description: "Nationality"
|
||||
11
input/fsh/extensions/occupation.fsh
Normal file
11
input/fsh/extensions/occupation.fsh
Normal file
@@ -0,0 +1,11 @@
|
||||
Extension: Occupation
|
||||
Description: "Occupation"
|
||||
Id: occupation-bd
|
||||
Title: "Bangladesh Occupations"
|
||||
Context: Patient
|
||||
|
||||
|
||||
// occupation using standard HL7 extension
|
||||
* value[x] only string
|
||||
* value[x] from https://fhir.dghs.gov.bd/core/ValueSet/bd-occupations (required)
|
||||
|
||||
@@ -1,12 +1,14 @@
|
||||
Extension: ReligionBD
|
||||
Description: "Example Religion"
|
||||
Id: religion-bd
|
||||
Title: "Religion Extension"
|
||||
Context: Patient
|
||||
// Extension: religion
|
||||
// Description: "Bangladesh Religions"
|
||||
// Id: religion-bd
|
||||
|
||||
// Title: "Religion Extension"
|
||||
// Context: Patient
|
||||
|
||||
|
||||
// Religion using standard HL7 extension
|
||||
* extension contains http://hl7.org/fhir/StructureDefinition/patient-religion named religion 0..1
|
||||
* extension[religion] ^short = "ধর্ম (Religion)"
|
||||
* extension[religion] ^definition = "The patient's religious affiliation."
|
||||
* extension[religion].valueCodeableConcept from http://hl7.org/fhir/ValueSet/religious-affiliation
|
||||
// // Religion using standard HL7 extension
|
||||
// * extension contains http://hl7.org/fhir/StructureDefinition/patient-religion named religion 0..1
|
||||
// * extension[religion] ^short = "ধর্ম (Religion)"
|
||||
// * extension[religion] ^definition = "The patient's religious affiliation."
|
||||
// * extension[religion].valueCodeableConcept from https://fhir.dghs.gov.bd/core/ValueSet/bd-religions (required)
|
||||
// * ^url = "https://fhir.dghs.gov.bd/core/StructureDefinition/occupation"
|
||||
|
||||
@@ -1,38 +1,37 @@
|
||||
// @Name: Profile
|
||||
// @Description: Example of a profile of the Patient resource. This example includes a few of the most commonly used constraints and documentation features of FHIR profiles.
|
||||
|
||||
Profile: PatientProfileV2
|
||||
Id: patient-profile-v2
|
||||
Profile: BDPatientProfile
|
||||
Id: bd-patient
|
||||
Parent: Patient
|
||||
Title: "Patient Profile for Bangladesh-V2"
|
||||
Description: "Profile of Patient Bangladesh Standard V2"
|
||||
|
||||
// ----- Begin rules:
|
||||
|
||||
// Require at least one value inside the name element
|
||||
// Require two names total
|
||||
* name 2..*
|
||||
// === 1. Declare slicing on name by 'use' ===
|
||||
|
||||
// Declare slicing on name by use
|
||||
* name ^slicing.discriminator.type = #value
|
||||
* name ^slicing.discriminator.path = "use"
|
||||
* name ^slicing.rules = #open
|
||||
* name ^slicing.ordered = false
|
||||
* name ^slicing.description = "Slice name by use (official for English, usual for Bangla)"
|
||||
|
||||
// === 2. Define slices ===
|
||||
// Define slices
|
||||
* name contains
|
||||
nameEnglish 1..1 MS and // slice alias for English name
|
||||
nameBangla 1..1 MS // slice alias for Bangla name
|
||||
nameEnglish 1..1 MS and
|
||||
nameBangla 1..1 MS
|
||||
|
||||
// === 3. Constrain English (official) name ===
|
||||
* name[nameEnglish].use = #en (exactly)
|
||||
// English (official)
|
||||
* name[nameEnglish].use = #official
|
||||
* name[nameEnglish].given 0..*
|
||||
* name[nameEnglish].family 0..1
|
||||
* name[nameEnglish] ^short = "Legal name (English/Romanized)"
|
||||
* name[nameEnglish] ^definition = "Official name as registered in government documents."
|
||||
|
||||
|
||||
// === 4. Constrain Bangla name ===
|
||||
* name[nameBangla].use = #bn (exactly)
|
||||
// Bangla (usual)
|
||||
* name[nameBangla].use = #usual
|
||||
* name[nameBangla].given 0..*
|
||||
* name[nameBangla].family 0..1
|
||||
* name[nameBangla] ^short = "নাম (বাংলা)"
|
||||
@@ -58,7 +57,7 @@ Description: "Profile of Patient Bangladesh Standard V2"
|
||||
* identifier[NID].type.coding.system = "https://fhir.dghs.gov.bd/core/ValueSet/bd-identifier-type"
|
||||
* identifier[NID].type from BangladeshIdentifierTypeVS (extensible)
|
||||
* identifier[NID].type.text = "Organization identifier"
|
||||
* identifier[NID].value = "Personal identifier National ID"
|
||||
// * identifier[NID].value = "Personal identifier National ID"
|
||||
|
||||
// Then in your profile:
|
||||
// * identifier.type from BangladeshIdentifierTypeVS (extensible)
|
||||
@@ -68,7 +67,7 @@ Description: "Profile of Patient Bangladesh Standard V2"
|
||||
* identifier[BRN].type.coding.system = "https://fhir.dghs.gov.bd/core/ValueSet/bd-identifier-type"
|
||||
* identifier[BRN].type from BangladeshIdentifierTypeVS (extensible)
|
||||
* identifier[BRN].type.text = "Organization identifier"
|
||||
* identifier[BRN].value = "Personal identifier Birth Registration"
|
||||
// * identifier[BRN].value = "Personal identifier Birth Registration"
|
||||
|
||||
|
||||
* identifier[UID].system = "http://dghs.gov.bd/identifier/uid"
|
||||
@@ -76,7 +75,7 @@ Description: "Profile of Patient Bangladesh Standard V2"
|
||||
* identifier[UID].type.coding.system = "https://fhir.dghs.gov.bd/core/ValueSet/bd-identifier-type"
|
||||
* identifier[UID].type from BangladeshIdentifierTypeVS (extensible)
|
||||
* identifier[UID].type.text = "Organization identifier"
|
||||
* identifier[UID].value = "Personal identifier"
|
||||
// * identifier[UID].value = "Personal identifier"
|
||||
|
||||
|
||||
// Mark elements as MustSupport
|
||||
@@ -101,9 +100,7 @@ Description: "Profile of Patient Bangladesh Standard V2"
|
||||
|
||||
// Religion using standard HL7 extension
|
||||
* extension contains http://hl7.org/fhir/StructureDefinition/patient-religion named religion 0..1
|
||||
* extension[religion] ^short = "ধর্ম (Religion)"
|
||||
* extension[religion] ^definition = "The patient's religious affiliation."
|
||||
* extension[religion].valueCodeableConcept from http://hl7.org/fhir/ValueSet/religious-affiliation
|
||||
* extension[religion].valueCodeableConcept from https://fhir.dghs.gov.bd/core/ValueSet/bd-religions
|
||||
|
||||
* address 1..* MS
|
||||
* address only BDAddress
|
||||
@@ -119,3 +116,6 @@ Description: "Profile to represent human names in Bangladesh"
|
||||
* extension contains http://hl7.org/fhir/StructureDefinition/language named language
|
||||
0..1
|
||||
* extension[language].valueCode from http://hl7.org/fhir/ValueSet/languages (preferred)
|
||||
|
||||
* extension contains Occupation named occupation 0..1
|
||||
* extension contains nationality named nationality 1..1
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
// @Name: Profile
|
||||
// @Description: Example of a profile of the Address resource for Bangladesh.
|
||||
|
||||
Profile: BDAddress
|
||||
Id: bd-address
|
||||
Parent: Address
|
||||
Title: "Address for Bangladesh"
|
||||
Profile: BDAddress
|
||||
Id: bd-address
|
||||
Parent: Address
|
||||
Title: "Address for Bangladesh"
|
||||
Description: "Address for Bangladesh Standard"
|
||||
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
Profile: BDPatientProfile
|
||||
|
||||
Id: BDPatientProfile-01
|
||||
Id: bd-patient
|
||||
Parent: Patient
|
||||
Title: "Bangladesh Patient Profile"
|
||||
Description: "All patient information of BD"
|
||||
@@ -104,7 +104,7 @@ Parent: RelatedPerson
|
||||
Title: "RelatedPerson Father Profile"
|
||||
Description: "Profile for RelatedPerson representing the father"
|
||||
* relationship.coding.code = #FTH
|
||||
* identifier 1..1
|
||||
* identifier 1..1
|
||||
|
||||
// TODO
|
||||
// * includes codes from system BdIdentifierTypeVs# (required)
|
||||
@@ -112,4 +112,4 @@ Description: "Profile for RelatedPerson representing the father"
|
||||
|
||||
//Address
|
||||
* address 1..* MS
|
||||
* address only BDAddress
|
||||
* address only BDAddress
|
||||
20
input/includes/StructureDefinition-bd-patient.xml
Normal file
20
input/includes/StructureDefinition-bd-patient.xml
Normal file
@@ -0,0 +1,20 @@
|
||||
<StructureDefinition xmlns="http://hl7.org/fhir">
|
||||
<id value="bd-patient"/>
|
||||
<url value="https://fhir.dghs.gov.bd/core/StructureDefinition/bd-patient"/>
|
||||
<name value="BDPatient"/>
|
||||
<title value="Bangladesh Patient Profile"/>
|
||||
<status value="draft"/>
|
||||
<fhirVersion value="4.0.1"/>
|
||||
<kind value="resource"/>
|
||||
<abstract value="false"/>
|
||||
<type value="Patient"/>
|
||||
<baseDefinition value="http://hl7.org/fhir/StructureDefinition/Patient"/>
|
||||
<derivation value="constraint"/>
|
||||
<differential>
|
||||
<!-- Example: constrain identifier system -->
|
||||
<element id="Patient.identifier.system">
|
||||
<path value="Patient.identifier.system"/>
|
||||
<fixedUri value="https://fhir.dghs.gov.bd/core/identifier"/>
|
||||
</element>
|
||||
</differential>
|
||||
</StructureDefinition>
|
||||
@@ -1,8 +1,8 @@
|
||||
<ul xmlns="http://www.w3.org/1999/xhtml" class="nav navbar-nav">
|
||||
<li><a href="index.html">IG Home</a></li>
|
||||
<li><a href="index.html">Home</a></li>
|
||||
<li><a href="toc.html">Table of Contents</a></li>
|
||||
<li class="dropdown">
|
||||
<a data-toggle="dropdown" href="#" class="dropdown-toggle">MyIg Background<b class="caret">
|
||||
<a data-toggle="dropdown" href="#" class="dropdown-toggle">Background<b class="caret">
|
||||
</b>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Start by finding all references to "myig" and updating to appropriate text for your IG, including changing realm -->
|
||||
<ImplementationGuide xmlns="http://hl7.org/fhir" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hl7.org/fhir ../input-cache/schemas/R4/fhir-single.xsd">
|
||||
<id value="example.fhir.uv.myig"/>
|
||||
<id value="bd.fhir.core"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
|
||||
<valueCode value="informative"/>
|
||||
</extension>
|
||||
@@ -11,31 +11,31 @@
|
||||
<!-- <extension url="http://hl7.org/fhir/tools/StructureDefinition/igpublisher-spreadsheet">
|
||||
<valueString value="resources-spreadsheet.xml"/>
|
||||
</extension>-->
|
||||
<url value="http://somewhere.org/fhir/uv/myig/ImplementationGuide/example.fhir.uv.myig"/>
|
||||
<url value="https://fhir.dghs.gov.bd/core/ImplementationGuide/bd.fhir.core"/>
|
||||
<!-- This version will propagate to all artifacts unless the "propagate-version" extension is overridden -->
|
||||
<version value="0.2.0"/>
|
||||
<name value="YourComputableMyIGNameHere"/>
|
||||
<title value="Your User Friendly Name for MyIG Here"/>
|
||||
<status value="draft"/>
|
||||
<name value="BangladeshCoreFHIRIG"/>
|
||||
<title value="Bangladesh Core FHIR Implementation Guide"/>
|
||||
<status value="active"/>
|
||||
<experimental value="false"/>
|
||||
<publisher value="HL7 International - [Some] Work Group"/>
|
||||
<publisher value="Directorate General of Health Services (DGHS), Bangladesh"/>
|
||||
<contact>
|
||||
<telecom>
|
||||
<!-- Or whatever URL and/or email address(es) are appropriate -->
|
||||
<system value="url"/>
|
||||
<value value="http://hl7.org/Special/committees/[something]"/>
|
||||
<value value="http://dghs.gov.bd"/>
|
||||
</telecom>
|
||||
</contact>
|
||||
<description value="A brief description of what MyIG is about (probably the same text as in your readme)"/>
|
||||
<description value="This Implementation Guide defines the Bangladesh Core FHIR profiles, value sets, code systems, and implementation rules for national digital health systems."/>
|
||||
<jurisdiction>
|
||||
<!-- This first repetition will drive SNOMED release used -->
|
||||
<coding>
|
||||
<system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>
|
||||
<!-- This is the code for universal -->
|
||||
<code value="001"/>
|
||||
<system value="urn:iso:std:iso:3166"/>
|
||||
<!-- This is the code for Bangladesh -->
|
||||
<code value="050"/>
|
||||
</coding>
|
||||
<!-- This first repetition will drive SNOMED release used -->
|
||||
</jurisdiction>
|
||||
<packageId value="example.fhir.uv.myig"/>
|
||||
<packageId value="bd.fhir.core"/>
|
||||
<!-- This should be changed to 'not-open-source' or another license if appropriate for non-HL7-published content -->
|
||||
<license value="CC0-1.0"/>
|
||||
<!-- This is whatever FHIR version(s) the IG artifacts are targeting (not the version of this file, which should always be 'current release') -->
|
||||
@@ -55,13 +55,13 @@
|
||||
inappropriate to use the defaults. Feel free to provide feedback about the defaults... -->
|
||||
<resource>
|
||||
<reference>
|
||||
<reference value="StructureDefinition/mypatient"/>
|
||||
<reference value="StructureDefinition/bd-patient"/>
|
||||
</reference>
|
||||
<description value="Overriding description because we can"/>
|
||||
</resource>
|
||||
<resource>
|
||||
<reference>
|
||||
<reference value="StructureDefinition/MyLogical"/>
|
||||
<reference value="StructureDefinition/bd-logical"/>
|
||||
</reference>
|
||||
<description value="Logical Model"/>
|
||||
</resource>
|
||||
@@ -79,19 +79,19 @@
|
||||
</resource>
|
||||
<!--<resource>
|
||||
<reference>
|
||||
<reference value="MyLogicalModel/AS"/>
|
||||
<reference value="bd-logicalModel/AS"/>
|
||||
</reference>
|
||||
</resource> -->
|
||||
<resource>
|
||||
<extension url="http://hl7.org/fhir/tools/StructureDefinition/ig-example-actor">
|
||||
<valueCanonical value="http://somewhere.org/fhir/uv/myig/ActorDefinition/example"/>
|
||||
<valueCanonical value="https://fhir.dghs.gov.bd/core/ActorDefinition/example"/>
|
||||
</extension>
|
||||
<reference>
|
||||
<reference value="Patient/example"/>
|
||||
</reference>
|
||||
<name value="Simple patient example"/>
|
||||
<description value="A simple example showing how examples are defined and referenced"/>
|
||||
<exampleCanonical value="http://somewhere.org/fhir/uv/myig/StructureDefinition/mypatient"/>
|
||||
<exampleCanonical value="https://fhir.dghs.gov.bd/core/StructureDefinition/bd-patient"/>
|
||||
</resource>
|
||||
<resource>
|
||||
<reference>
|
||||
@@ -99,7 +99,7 @@
|
||||
</reference>
|
||||
<name value="Observation patient example"/>
|
||||
<description value="Example showing slicing"/>
|
||||
<exampleCanonical value="http://somewhere.org/fhir/uv/myig/StructureDefinition/myObservation"/>
|
||||
<exampleCanonical value="https://fhir.dghs.gov.bd/core/StructureDefinition/bd-observation"/>
|
||||
</resource>
|
||||
<resource>
|
||||
<reference>
|
||||
@@ -117,7 +117,7 @@
|
||||
</reference>
|
||||
<name value="Example of Logical Model"/>
|
||||
<description value="Example showing example content for a logical model"/>
|
||||
<exampleCanonical value="http://somewhere.org/fhir/uv/myig/StructureDefinition/MyLogical"/>
|
||||
<exampleCanonical value="https://fhir.dghs.gov.bd/core/StructureDefinition/bd-logical"/>
|
||||
</resource>
|
||||
<resource>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/implementationguide-resource-format">
|
||||
@@ -149,12 +149,12 @@
|
||||
<generation value="html"/>
|
||||
<page>
|
||||
<nameUrl value="index.html"/>
|
||||
<title value="MyIG Home Page"/>
|
||||
<title value="BD-Core-FHIR-IG Home Page"/>
|
||||
<generation value="html"/>
|
||||
</page>
|
||||
<page>
|
||||
<nameUrl value="background.html"/>
|
||||
<title value="Background"/>
|
||||
<title value="Background and Context"/>
|
||||
<generation value="html"/>
|
||||
</page>
|
||||
<page>
|
||||
@@ -165,7 +165,7 @@
|
||||
<valueInteger value="3"/>
|
||||
</extension>
|
||||
<nameUrl value="spec.html"/>
|
||||
<title value="Detailed Specification"/>
|
||||
<title value="Detailed BD-Core-FHIR Specification"/>
|
||||
<generation value="markdown"/>
|
||||
<page>
|
||||
<nameUrl value="fragments.html"/>
|
||||
@@ -192,12 +192,12 @@
|
||||
<!-- copyright year is a mandatory parameter -->
|
||||
<parameter>
|
||||
<code value="copyrightyear"/>
|
||||
<value value="2019+"/>
|
||||
<value value="2025+"/>
|
||||
</parameter>
|
||||
<!-- releaselabel should be the ballot status for HL7-published IGs. -->
|
||||
<parameter>
|
||||
<code value="releaselabel"/>
|
||||
<value value="CI Build"/>
|
||||
<value value="Published by MoHFW"/>
|
||||
</parameter>
|
||||
<parameter>
|
||||
<code value="find-other-resources"/>
|
||||
|
||||
@@ -1,34 +1,34 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<StructureDefinition xmlns="http://hl7.org/fhir">
|
||||
<id value="MyLogical"/>
|
||||
<id value="bd-logical"/>
|
||||
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace">
|
||||
<valueUri value="http://example.org/logical"/>
|
||||
</extension>
|
||||
<url value="http://somewhere.org/fhir/uv/myig/StructureDefinition/MyLogical"/>
|
||||
<name value="MyLogical"/>
|
||||
<title value="My Logical Model"/>
|
||||
<url value="https://fhir.dghs.gov.bd/core/StructureDefinition/bd-logical"/>
|
||||
<name value="BDLogical"/>
|
||||
<title value="Bangladesh Logical Model"/>
|
||||
<status value="draft"/>
|
||||
<description value="A profile showing the use of Logical Models to author profiles"/>
|
||||
<fhirVersion value="4.0.0"/>
|
||||
<kind value="logical"/>
|
||||
<abstract value="false"/>
|
||||
<type value="http://somewhere.org/fhir/uv/myig/StructureDefinition/MyLogical"/>
|
||||
<type value="bd-logical"/>
|
||||
<baseDefinition value="http://hl7.org/fhir/StructureDefinition/Element"/>
|
||||
<derivation value="specialization"/>
|
||||
<differential>
|
||||
<element id="MyLogical">
|
||||
<path value="MyLogical"/>
|
||||
<element id="bd-logical">
|
||||
<path value="bd-logical"/>
|
||||
</element>
|
||||
<element id="MyLogical.element1">
|
||||
<path value="MyLogical.element1"/>
|
||||
<element id="bd-logical.element1">
|
||||
<path value="bd-logical.element1"/>
|
||||
<min value="0"/>
|
||||
<max value="1"/>
|
||||
<type>
|
||||
<code value="integer"/>
|
||||
</type>
|
||||
</element>
|
||||
<element id="MyLogical.element2">
|
||||
<path value="MyLogical.element2"/>
|
||||
<element id="bd-logical.element2">
|
||||
<path value="bd-logical.element2"/>
|
||||
<min value="0"/>
|
||||
<max value="1"/>
|
||||
<type>
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Library xmlns="http://hl7.org/fhir" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hl7.org/fhir ../../input-cache/schemas/R4/fhir-single.xsd">
|
||||
<url value="http://somewhere.org/fhir/uv/myig/Library/example-image"/>
|
||||
<url value="https://fhir.dghs.gov.bd/core/Library/example-image"/>
|
||||
<version value="1.0.0"/>
|
||||
<name value="ExampleLibraryImage"/>
|
||||
<title value="Example Library Image"/>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Library xmlns="http://hl7.org/fhir" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://hl7.org/fhir ../../input-cache/schemas/R4/fhir-single.xsd">
|
||||
<url value="http://somewhere.org/fhir/uv/myig/Library/example-sql"/>
|
||||
<url value="https://fhir.dghs.gov.bd/core/Library/example-sql"/>
|
||||
<version value="1.0.0"/>
|
||||
<name value="ExampleLibrary"/>
|
||||
<title value="Example Library"/>
|
||||
|
||||
Reference in New Issue
Block a user