Details

    • Sub-task
    • Status: Closed
    • Must
    • Resolution: Fixed
    • None
    • 0.9
    • None
    • High

    Description

      Complete a fully fleshed out FHIR AllergyIntolerance Resource mapper that is fully validated by the HAPI Validator.
      The structure of this resource can be seen at: http://hl7-fhir.github.io/allergyintolerance.html

      Update:

      I took some time to figure out the mappings between the OpenMRS allergy table and the FHIR allergy resource. This is what I came up with.
      {
      "resourceType" : "AllergyIntolerance",
      "identifier" : allergy.uuid
      "recordedDate" : allergy.date_created
      "recorder" : Leave blank for now
      "patient" :

      {link to patient}

      "reporter" : Leave blank for now
      Source of the information about the allergy
      "substance" :OpenMRS doesn’t record
      "status" : OpenMRS doesn’t record
      "criticality" : allergy.serverity_concept_id
      "type" : "OpenMRS doesn’t record
      "category" : allergy.allergen_type
      "lastOccurence" : "OpenMRS doesn’t record
      "comment" : allergy.comment
      "event" : [

      { // Adverse Reaction Events linked to exposure to substance "substance" : OpenMRS doesn’t record "certainty" : OpenMRS doesn’t record “manifestation" allergy_reaction.reaction_concept_id "description" : OpenMRS doesn’t record "onset" : OpenMRS doesn’t record "duration" : OpenMRS doesn’t record "severity" : allergy.serverity_concept_id “exposureRoute" : OpenMRS doesn’t record "comment" : OpenMRS doesn’t record }

      ]
      }

      Gliffy Diagrams

        Attachments

          Activity

            People

              harsha89 Harsha Kumara
              surangak Suranga Kasthurirathne
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: