Wiki Spaces

Documentation
Projects
Resources

Get Help from Others

Q&A: Ask OpenMRS
Discussion: OpenMRS Talk
Real-Time: IRC Chat | Slack

Documentation

Page tree

Versions Compared

Key

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

...

  • required: Specifies that the diagnoses field must be completed/filled.
    • OPTIONAL
    • Example: <encounterDiagnoses required="true"/>
    • Value: "true", "false"
    • Default: false
  • selectedDiagnosesTarget: Specifies which div container id where the selected diagnoses are displayed. 
    • Example:
      <encounterDiagnoses selectedDiagnosesTarget="encounter-diagnoses-target"/>
      <div id="encounter-diagnoses-target"></div>
    • Value: can be any valid HTML safe id
    • Default: There is no default for this and therefore should be provided as illustrated in the above example.
  • preferredCodingSource: This is used at the front-end/UI. Specifies the source used to filter concept codes for display on the primary and/or secondary diagnoses selected
    • OPTIONAL
    • As of version 1.23.0
    • Example: 
      <encounterDiagnoses preferredCodingSource="ICD-10-WHO"/>
    • Value: A valid concept source e.g "ICD-10-WHO", "CIEL", "ICPC2"
    • Default: "ICD-10-WHO"
  • diagnosisConceptClasses: Specifies one or more concept classes in a form of a comma separated string to search in. Can be used together with diagnosisConceptSources
    • OPTIONAL
    • As of version 1.23.0
    • Example: 
      <encounterDiagnoses diagnosisConceptClasses="Diagnosis"/>
      <encounterDiagnoses diagnosisConceptClasses="Diagnosis,Finding"/>
    • Value: A valid concept class e.g "Diagnosis", list of classes "Diagnosis,Finding"
  • diagnosisConceptSources: Specifies one or more concept sources in a form of a comma separated string to search in. Can be used together and works well with diagnosisConceptClasses
    • OPTIONAL
    • As of version 1.23.0
    • Example: 
      <encounterDiagnoses diagnosisConceptSources="CIEL"/>
      <encounterDiagnoses diagnosisConceptSources="CIEL,ICPC2"/>
      <encounterDiagnoses diagnosisConceptSources="0"/>  which  means that the default globally defined concept sources are not used to search in.
    • Value: A valid concept sources e.g "ICD-10-WHO", list of sources "CIEL,ICPC2" or "0" (zero)
    • Default: "ICD-10-WHO"
  • diagnosisSets: Specifies the concept sets of diagnoses to search from. Can be one or more comma separated string of UUIDs, concept mappings (e.g CIEL:160170) or combination of both representing the sets. This when provided, overrides the default globally configured set of sets with diagnoses to search from.
    • OPTIONAL
    • As of version 1.23.0
    • Example: 
      <encounterDiagnoses diagnosisSets="160170AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA,160169AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"/>
      <encounterDiagnoses diagnosisSets="CIEL:160170,CIEL:160169"/>
      <encounterDiagnoses diagnosisSets="CIEL:160170,160170AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"/>
      <encounterDiagnoses diagnosisSets="0"/>
    • Value: comma separated string of UUID or Concept Mappings or both or "0". When "0" (zero) is used, this means that the default globally defined concept sets are not used to search in.
    • Default: concepts contained in the sets globally defined by a set of sets concept (160167AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA).

...