Purpose and Benefits
Bahmni supports import of concepts via CSV files. There are two types of data you can create via CSV import:
With Concept Set import, multiple Concepts or Concept Sets can be grouped under a parent concept.
Types of CSV Imports
Bahmni has different CSV formats for import of Concepts and Concept Sets. For each type of import we have attached a sample file with some example rows.
1. Concept
New concepts can be created by uploading a concepts.csv file containing the below mentioned fields:
| | |
---|
uuid | Concept will created with this uuid | Y |
name | Name of the Concept | Y |
description | | N |
class | Class can be Misc/Abnormal depending on the concept type. | Y |
shortname | Bahmni will use shortname while showing the concept. | Y |
datatype | Datatype can be Numeric/Boolean/Coded or N/A | Y |
units | Can mention for Numeric datatype | N |
High Normal | Can mention for Numeric datatype | N |
Low Normal | Can mention for Numeric datatype | N |
locale | | N |
synonym.1 | | N |
answer.1/2/3 | Should be the fully specified name of concept. The datatype should be Coded. | N |
reference-term-source | | N |
reference-term-code | | N |
reference-term-relationship | | N |
2. Concept Set
New concept set can be created by uploading the concept_sets.csv and filling up the below fields:
| | |
---|
uuid | Concept-Set will created with this uuid | Y |
name | Name of the Concept-Set | Y |
description | | N |
class | Class can be Misc/Concept Details depending on the concept-set type. | Y |
shortname | Bahmni will use shortname while showing the concept-set | Y |
| | |
reference-term-source | | N |
reference-term-code | | N |
reference-term-relationship | | N |