masslight / ottehr

Modular, Production-Ready, Open-Source EHR
https://ottehr.com
Other
135 stars 150 forks source link

Ability To Add New State License and Edit State License in UI #208

Closed dmabram closed 2 months ago

dmabram commented 3 months ago

Currently state licensure for providers is either synced from an external source like Medallion or must be entered manually via the dev console. Allow adding/editing via UI.

saewitz commented 3 months ago

Add an input on the practitioner page to add a new state.

Add an input so a user can turn the license off or on. This is already built, need to test it.

If the practitioner doesn't have any licenses, add a qualification field on a practitioner resource -- an example is included.

We should support multiple states.

[
   {
      "code":{
         "text":"Qualification code",
         "coding":[
            {
               "code":"DO",
               "system":"http://terminology.hl7.org/CodeSystem/v2-0360|2.7"
            }
         ]
      },
      "extension":[
         {
            "url":"http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/practitioner-qualification",
            "extension":[
               {
                  "url":"status",
                  "valueCode":"active"
               },
               {
                  "url":"whereValid",
                  "valueCodeableConcept":{
                     "coding":[
                        {
                           "code":"CT",
                           "system":"http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state"
                        }
                     ]
                  }
               }
            ]
         }
      ]
   },
   {
      "code":{
         "text":"Qualification code",
         "coding":[
            {
               "code":"MD",
               "system":"http://terminology.hl7.org/CodeSystem/v2-0360|2.7"
            }
         ]
      },
      "extension":[
         {
            "url":"http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/practitioner-qualification",
            "extension":[
               {
                  "url":"status",
                  "valueCode":"active"
               },
               {
                  "url":"whereValid",
                  "valueCodeableConcept":{
                     "coding":[
                        {
                           "code":"AL",
                           "system":"http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state"
                        }
                     ]
                  }
               }
            ]
         }
      ]
   }
]