Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

To create observation templates we would be using CURL instead of liquibase. This would give us version control but would also keep the content (template and its details) accessible to someone who is not very technical. This would allow many more people to be able to author these templates. CURL would be used to post JSON documents to Bahmni(OpenMRS) REST endpoints. For these JSON documents to be easily editable the data contract should be as simple as possible.

Concept
{
  "Unique Name" : "P/A Presenting Part - Cephalic",
  "Display Name" : "Cephalic", //maps to short name
  "Description" : "I don't know...",  //not mandatory
  "Class" : "Finding",
  "Data Type" : "N/A",
  "ICD Code" : "" //not mandatory
},

{
  "Unique Name" : "P/A Presenting Part - Breech",
  "Display Name" : "Breech", //maps to short name
  "Description" : "I don't know...",
  "Class" : "Finding",
  "Data Type" : "N/A",
  "ICD Code" : "" //not mandatory
},

{
  "Unique Name" : "P/A Presenting Part",
  "Display Name" : "Presenting Part", //maps to short name
  "Description" : "I don't know...",  //not mandatory
  "Class" : "Finding",
  "Data Type" : "Coded",
  "Answers" : ["P/A Presenting Part - Cephalic", "P/A Presenting Part - Breech"],
  "ICD Code" : "" //not mandatory
}

Concept Set
{ 
  "Unique Name" : "P/A (per abdomen)",
  "Display Name" : "P/A",
  "Description" : "I don't know...", //not mandatory
  "Members" : ["P/A Presenting Part", "Fundal Height"] ,
  "ICD Code" : "" //not mandatory
}