Page 1 of 1

Sample JSON for practitioner with multiple specialties?

Posted: Sat Aug 10, 2019 6:55 am
by bravegag
Hello,

Do you have a sample JSON for a practitioner provider with multiple specialties e.g.

Code: Select all

"practitionerRole": [
          {
            "role": {
              "coding": [
                {
                  "code": "provider",
                  "display": "Provider",
                  "userSelected": false
                }
              ]
            },
            "specialty": [
              {
                "coding": [
                  {
                    "code": "generalist",
                    "display": "Generalist",
                    "userSelected": false
                  },
                  {
                    "code": "orthodontist",
                    "display": "Orthodontist",
                    "userSelected": false
                  }
                ]
              }
            ]
          }
        ],
Would this be a valid JSON value? can you please include such cases for the 19.2.x FIHR demo keys?

Many TIA,
Best regards,
Giovanni

Re: Sample JSON for practitioner with multiple specialties?

Posted: Mon Aug 12, 2019 11:08 am
by cmcgehee
In the Open Dental program, it is possible to set the provider's specialty to a single specialty only, so the API does not support multiple specialties.

Re: Sample JSON for practitioner with multiple specialties?

Posted: Tue Aug 13, 2019 1:17 am
by bravegag
Hi Chris,

Thank you, great to know.

Wouldn't it then make more sense to make the JSON entry `specialty` an single JSON object as opposed to an array type? When you have an array is because they may be multiple of those ..

Best regards,
Giovanni

Re: Sample JSON for practitioner with multiple specialties?

Posted: Tue Aug 13, 2019 7:50 am
by cmcgehee
The "specialty" is an array because we are following the FHIR standard which dictates this field should be formatted as a list. We, Open Dental, then have a business rule that the practitioner can have only one specialty.

Re: Sample JSON for practitioner with multiple specialties?

Posted: Thu Aug 15, 2019 10:04 am
by bravegag
Hi Chris,

Ok got it. Thanks for the clarification.

Best regards,
Giovanni