{
  "resourceType": "StructureDefinition",
  "id": "pr-practitioner-role",
  "meta": {
    "source": "https://www.icanbwell.com/fhir_profile_definitions",
    "security": [
      {
        "system": "https://www.icanbwell.com/owner",
        "code": "bwell"
      },
      {
        "system": "https://www.icanbwell.com/access",
        "code": "bwell"
      }
    ]
  },
  "text": {
    "status": "generated",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">Enter you narrative here</div>"
  },
  "url": "https://fhir.icanbwell.com/4_0_0/StructureDefinition/pr-practitioner-role",
  "version": "1.2",
  "name": "PractitionerRole",
  "title": "Profile: Practitioner Role",
  "status": "active",
  "experimental": false,
  "date": "2024-03-26T20:41:40.2059926+00:00",
  "publisher": "b.Well Connected Health",
  "description": "Included but not limited to: practitioner specialties, practitioner's location, appointment types, healthcare services, accepted insurance.",
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "urn:iso:std:iso:3166",
          "code": "US",
          "display": "United States of America"
        }
      ],
      "text": "United States of America"
    }
  ],
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": true,
  "type": "PractitionerRole",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "PractitionerRole.id",
        "path": "PractitionerRole.id",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.meta",
        "path": "PractitionerRole.meta",
        "min": 1,
        "type": [
          {
            "code": "Meta",
            "profile": [
              "https://fhir.icanbwell.com/4_0_0/StructureDefinition/de-meta"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.extension:accepted-patients",
        "path": "PractitionerRole.extension",
        "sliceName": "accepted-patients",
        "short": "Characteristics of patients accepted by this provider",
        "definition": "Combines a DaVinci extension and custom content",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://fhir.icanbwell.com/4_0_0/StructureDefinition/ex-accepted-patients"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "PractitionerRole.extension:accepted-patients.extension:fromNetwork",
        "path": "PractitionerRole.extension.extension",
        "sliceName": "fromNetwork"
      },
      {
        "id": "PractitionerRole.extension:accepted-patients.extension:fromNetwork.value[x]",
        "path": "PractitionerRole.extension.extension.value[x]",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/plannet-Network",
              "https://fhir.icanbwell.com/4_0_0/StructureDefinition/pr-network-organization"
            ]
          }
        ]
      },
      {
        "id": "PractitionerRole.extension:network-reference",
        "path": "PractitionerRole.extension",
        "sliceName": "network-reference",
        "definition": "If an insurance plan extension is also present, the insurance plan presumably belongs to the network.",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://fhir.icanbwell.com/4_0_0/StructureDefinition/ex-network-reference"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "PractitionerRole.extension:insurance-plan",
        "path": "PractitionerRole.extension",
        "sliceName": "insurance-plan",
        "short": "An insurance plan accepted by the practitioner at the given facility",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://fhir.icanbwell.com/4_0_0/StructureDefinition/ex-insurance-plan"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "PractitionerRole.identifier",
        "path": "PractitionerRole.identifier",
        "slicing": {
          "description": "slice by type",
          "rules": "open"
        },
        "type": [
          {
            "code": "Identifier",
            "profile": [
              "https://fhir.icanbwell.com/4_0_0/StructureDefinition/de-identifier"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.identifier:NPI",
        "path": "PractitionerRole.identifier",
        "sliceName": "NPI",
        "short": "The Practitioner's NPI",
        "min": 1,
        "max": "1",
        "patternIdentifier": {
          "use": "official",
          "type": {
            "coding": [
              {
                "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
                "code": "NPI"
              }
            ]
          },
          "system": "http://hl7.org/fhir/sid/us-npi"
        }
      },
      {
        "id": "PractitionerRole.active",
        "path": "PractitionerRole.active",
        "definition": "Default to active",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.period",
        "path": "PractitionerRole.period",
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.practitioner",
        "path": "PractitionerRole.practitioner",
        "comment": "References to resources with id = NPI must be appended with `|nppes`",
        "alias": [
          "provider",
          "physician"
        ],
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.icanbwell.com/4_0_0/StructureDefinition/pr-practitioner"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.organization",
        "path": "PractitionerRole.organization",
        "short": "A healthcare location's managing organization",
        "comment": "References to resources with id = NPI must be appended with `|nppes`",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.icanbwell.com/4_0_0/StructureDefinition/pr-healthcare-organization"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.code",
        "path": "PractitionerRole.code",
        "slicing": {
          "description": "slice by type",
          "rules": "open"
        },
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "https://fhir.icanbwell.com/4_0_0/StructureDefinition/de-codeable-concept"
            ]
          }
        ],
        "example": [
          {
            "label": "PCP provider",
            "valueCodeableConcept": {
              "id": "characteristic",
              "coding": [
                {
                  "id": "primary-care",
                  "system": "http://nucc.org/provider-characteristics",
                  "version": "5.0",
                  "code": "13",
                  "display": "This is a primary care provider"
                }
              ]
            }
          }
        ],
        "mustSupport": true,
        "binding": {
          "strength": "example",
          "valueSet": "https://fhir.icanbwell.com/4_0_0/ValueSet/vs-practitioner-role-code"
        }
      },
      {
        "id": "PractitionerRole.code:primary-care-indicator",
        "path": "PractitionerRole.code",
        "sliceName": "primary-care-indicator",
        "short": "Indicates the practitioner is considered primary care",
        "definition": "NUCC Characteristic code to indicate Primary Care",
        "alias": [
          "is-pcp",
          "primary-care"
        ],
        "patternCodeableConcept": {
          "coding": [
            {
              "system": "https://nucc.org/provider-characteristics",
              "version": "5.0",
              "code": "13",
              "display": "Primary Care"
            }
          ]
        }
      },
      {
        "id": "PractitionerRole.code:employed",
        "path": "PractitionerRole.code",
        "sliceName": "employed",
        "short": "Indicates practitioner is employed by the facility",
        "requirements": "Influences the \"client_preferred\" element in PSS",
        "max": "1",
        "patternCodeableConcept": {
          "coding": [
            {
              "system": "https://fhir.icanbwell.com/4_0_0/CodeSystem/vs-practitioner-role-code",
              "code": "employed"
            }
          ]
        }
      },
      {
        "id": "PractitionerRole.specialty",
        "path": "PractitionerRole.specialty",
        "label": "specialty",
        "slicing": {
          "description": "slice by type",
          "rules": "open"
        },
        "short": "A practitioner's specialties",
        "definition": "Includes: NUCC taxonomy codes, specialty aliases, etc",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "https://fhir.icanbwell.com/4_0_0/StructureDefinition/de-codeable-concept"
            ]
          }
        ],
        "example": [
          {
            "label": "Example specialty",
            "valueCodeableConcept": {
              "id": "1120",
              "coding": [
                {
                  "id": "1120",
                  "system": "https://www.kyruus.com/specialty",
                  "code": "1120",
                  "display": "Pediatrics"
                }
              ]
            }
          }
        ],
        "mustSupport": true,
        "binding": {
          "strength": "preferred",
          "description": "Provider specialties",
          "valueSet": "https://fhir.icanbwell.com/4_0_0/ValueSet/vs-provider-specialty"
        }
      },
      {
        "id": "PractitionerRole.specialty:roster-specialty",
        "path": "PractitionerRole.specialty",
        "sliceName": "roster-specialty",
        "short": "Specailty values provided from a roster source"
      },
      {
        "id": "PractitionerRole.specialty:taxonomy",
        "path": "PractitionerRole.specialty",
        "sliceName": "taxonomy",
        "short": "NUCC taxonomy code",
        "definition": "Healthcare specialty NUCC taxonomy code",
        "patternCodeableConcept": {
          "coding": [
            {
              "system": "http://nucc.org/provider-taxonomy"
            }
          ]
        }
      },
      {
        "id": "PractitionerRole.location",
        "path": "PractitionerRole.location",
        "label": "location",
        "short": "The location where this role is performed",
        "comment": "References to resources with id = NPI must be appended with `|nppes`",
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.icanbwell.com/4_0_0/StructureDefinition/pr-healthcare-location"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.healthcareService",
        "path": "PractitionerRole.healthcareService",
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.icanbwell.com/4_0_0/StructureDefinition/pr-healthcare-service"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.telecom",
        "path": "PractitionerRole.telecom",
        "type": [
          {
            "code": "ContactPoint",
            "profile": [
              "https://fhir.icanbwell.com/4_0_0/StructureDefinition/de-contact-point"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.endpoint",
        "path": "PractitionerRole.endpoint",
        "requirements": "https://icanbwell.atlassian.net/wiki/spaces/HEL/pages/4111434192/FDR+Practitioner-Health+System#Decision-complete",
        "mustSupport": true
      }
    ]
  }
}