{
  "resourceType": "StructureDefinition",
  "id": "pr-healthcare-organization",
  "url": "https://fhir.icanbwell.com/4_0_0/StructureDefinition/pr-healthcare-organization",
  "version": "1.2",
  "name": "HealthcareOrganization",
  "title": "Profile: Healthcare Organization",
  "status": "active",
  "date": "2024-03-18T21:31:25.3890503+00:00",
  "publisher": "b.Well Connected Health",
  "description": "Healthcare organizations including practices, claims billing organizations, and pharmacies.",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Organization",
  "baseDefinition": "https://fhir.icanbwell.com/4_0_0/StructureDefinition/pr-organization",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Organization.identifier",
        "path": "Organization.identifier",
        "slicing": {
          "description": "slice by type",
          "rules": "open"
        },
        "min": 1
      },
      {
        "id": "Organization.identifier:NPI",
        "path": "Organization.identifier",
        "sliceName": "NPI",
        "short": "National Provider Identifier (type 2)",
        "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": "Organization.identifier:TIN",
        "path": "Organization.identifier",
        "sliceName": "TIN",
        "short": "Tax ID",
        "alias": [
          "tax-id"
        ],
        "patternIdentifier": {
          "use": "official",
          "type": {
            "coding": [
              {
                "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
                "code": "TAX"
              }
            ]
          },
          "system": "http://hl7.org/fhir/sid/us-tin"
        }
      },
      {
        "id": "Organization.identifier:facility-id",
        "path": "Organization.identifier",
        "sliceName": "facility-id",
        "short": "An id from another source system"
      },
      {
        "id": "Organization.active",
        "path": "Organization.active",
        "definition": "Whether the organization's record is still in active use. When the Organization.id is an NPI, this is only determined by NPPES.",
        "comment": "This active flag is not intended to be used to mark an organization as temporarily closed or under construction. Instead the Location(s) within the Organization should have the suspended status. If further details of the reason for the suspension are required, then an extension on this element should be used.\n\nThis element is labeled as a modifier because it may be used to mark that the resource was created in error.\r\n\r\nDefault to true."
      },
      {
        "id": "Organization.type",
        "path": "Organization.type",
        "short": "prov | pharmacy",
        "example": [
          {
            "label": "practice-type",
            "valueCodeableConcept": {
              "coding": [
                {
                  "system": "http://terminology.hl7.org/CodeSystem/organization-type",
                  "code": "prov",
                  "display": "Healthcare Provider"
                }
              ]
            }
          },
          {
            "label": "pharmacy-type",
            "valueCodeableConcept": {
              "coding": [
                {
                  "system": "http://terminology.hl7.org/CodeSystem/organization-type",
                  "code": "pharmacy",
                  "display": "Pharmacy"
                }
              ]
            }
          }
        ]
      },
      {
        "id": "Organization.address",
        "path": "Organization.address",
        "short": "The business address for the organization"
      }
    ]
  }
}