{
  "resourceType": "StructureDefinition",
  "id": "srx-fhir-profile-organization",
  "meta": {
    "versionId": "3",
    "lastUpdated": "2018-04-18T21:53:24.133+00:00"
  },
  "url": "http://fhir-es.transcendinsights.com/stu3/StructureDefinition/srx-fhir-profile-organization",
  "name": "srx-fhir-profile-organization",
  "status": "draft",
  "date": "2017-11-27T20:47:23.013+00:00",
  "fhirVersion": "3.0.1",
  "mapping": [
    {
      "identity": "PHARMACY-CLAIMS",
      "name": "Pharmacy Claims"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Organization",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Organization",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Organization.id",
        "path": "Organization.id",
        "max": "0",
        "mustSupport": true
      },
      {
        "id": "Organization.meta.id",
        "path": "Organization.meta.id",
        "max": "0"
      },
      {
        "id": "Organization.meta.extension",
        "path": "Organization.meta.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Organization.meta.extension:source-filename",
        "path": "Organization.meta.extension",
        "sliceName": "source-filename",
        "short": "File name",
        "definition": "The name of the files containing the source data",
        "type": [
          {
            "code": "Extension",
            "profile": "http://fhir-es.transcendinsights.com/stu3/StructureDefinition/source-filename"
          }
        ]
      },
      {
        "id": "Organization.meta.extension:data-source-entity",
        "path": "Organization.meta.extension",
        "sliceName": "data-source-entity",
        "short": "Name entity",
        "definition": "The name of the entity that generated the data",
        "type": [
          {
            "code": "Extension",
            "profile": "http://fhir-es.transcendinsights.com/stu3/StructureDefinition/data-source-entity"
          }
        ]
      },
      {
        "id": "Organization.meta.extension:resource-date-created",
        "path": "Organization.meta.extension",
        "sliceName": "resource-date-created",
        "short": "Creation date",
        "definition": "The date this resource was created",
        "min": 1,
        "type": [
          {
            "code": "Extension",
            "profile": "http://fhir-es.transcendinsights.com/stu3/StructureDefinition/resource-date-created"
          }
        ]
      },
      {
        "id": "Organization.implicitRules",
        "path": "Organization.implicitRules",
        "max": "0"
      },
      {
        "id": "Organization.language",
        "path": "Organization.language",
        "max": "0"
      },
      {
        "id": "Organization.text",
        "path": "Organization.text",
        "max": "0"
      },
      {
        "id": "Organization.contained",
        "path": "Organization.contained",
        "max": "0"
      },
      {
        "id": "Organization.identifier",
        "path": "Organization.identifier",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "open"
        },
        "definition": "Identifier for the organization that is used to identify the organization across multiple disparate systems e.g. http://hl7.org/fhir/sid/us-npi",
        "min": 1,
        "max": "2",
        "mustSupport": true
      },
      {
        "id": "Organization.identifier.id",
        "path": "Organization.identifier.id",
        "max": "0"
      },
      {
        "id": "Organization.identifier.type.id",
        "path": "Organization.identifier.type.id",
        "max": "0"
      },
      {
        "id": "Organization.identifier.type.coding",
        "path": "Organization.identifier.type.coding",
        "mustSupport": true
      },
      {
        "id": "Organization.identifier.type.coding.id",
        "path": "Organization.identifier.type.coding.id",
        "max": "0"
      },
      {
        "id": "Organization.identifier.type.coding.system",
        "path": "Organization.identifier.type.coding.system",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Organization.identifier.type.coding.code",
        "path": "Organization.identifier.type.coding.code",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Organization.identifier.type.coding.userSelected",
        "path": "Organization.identifier.type.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Organization.identifier.type.text",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Organization.identifier.type.text",
        "max": "0"
      },
      {
        "id": "Organization.identifier.system",
        "path": "Organization.identifier.system",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Organization.identifier.value",
        "path": "Organization.identifier.value",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Organization.identifier.period",
        "path": "Organization.identifier.period",
        "max": "0"
      },
      {
        "id": "Organization.identifier.assigner",
        "path": "Organization.identifier.assigner",
        "max": "0"
      },
      {
        "id": "Organization.identifier:NAPB-Identifier",
        "path": "Organization.identifier",
        "sliceName": "NAPB-Identifier",
        "max": "1",
        "example": [
          {
            "label": "Pharmacy Identifier",
            "valueIdentifier": {
              "system": "http://http://nabp.pharmacy",
              "value": "000011500S"
            }
          }
        ]
      },
      {
        "id": "Organization.identifier:NAPB-Identifier.id",
        "path": "Organization.identifier.id",
        "max": "0"
      },
      {
        "id": "Organization.identifier:NAPB-Identifier.use",
        "path": "Organization.identifier.use",
        "max": "0"
      },
      {
        "id": "Organization.identifier:NAPB-Identifier.type",
        "path": "Organization.identifier.type",
        "max": "0"
      },
      {
        "id": "Organization.identifier:NAPB-Identifier.system",
        "path": "Organization.identifier.system",
        "fixedUri": "https://nabp.pharmacy"
      },
      {
        "id": "Organization.identifier:NAPB-Identifier.value",
        "path": "Organization.identifier.value",
        "short": "Assigned NABP",
        "definition": "The NABP number",
        "mapping": [
          {
            "identity": "PHARMACY-CLAIMS",
            "map": "PHARMACY_NABP"
          }
        ]
      },
      {
        "id": "Organization.identifier:NAPB-Identifier.period",
        "path": "Organization.identifier.period",
        "max": "0"
      },
      {
        "id": "Organization.identifier:NAPB-Identifier.assigner",
        "path": "Organization.identifier.assigner",
        "max": "0"
      },
      {
        "id": "Organization.identifier:NPI-Identifier",
        "path": "Organization.identifier",
        "sliceName": "NPI-Identifier",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Organization.identifier:NPI-Identifier.id",
        "path": "Organization.identifier.id",
        "max": "0"
      },
      {
        "id": "Organization.identifier:NPI-Identifier.use",
        "path": "Organization.identifier.use",
        "max": "0"
      },
      {
        "id": "Organization.identifier:NPI-Identifier.type",
        "path": "Organization.identifier.type",
        "max": "0"
      },
      {
        "id": "Organization.identifier:NPI-Identifier.system",
        "path": "Organization.identifier.system",
        "min": 1,
        "fixedUri": "http://hl7.org/fhir/sid/us-npi"
      },
      {
        "id": "Organization.identifier:NPI-Identifier.value",
        "path": "Organization.identifier.value",
        "definition": "The NPI number",
        "min": 1,
        "mapping": [
          {
            "identity": "PHARMACY-CLAIMS",
            "map": "PHARMACY_NPI"
          }
        ]
      },
      {
        "id": "Organization.identifier:NPI-Identifier.period",
        "path": "Organization.identifier.period",
        "max": "0"
      },
      {
        "id": "Organization.identifier:NPI-Identifier.assigner",
        "path": "Organization.identifier.assigner",
        "max": "0"
      },
      {
        "id": "Organization.active",
        "path": "Organization.active",
        "max": "0"
      },
      {
        "id": "Organization.type",
        "path": "Organization.type",
        "max": "1"
      },
      {
        "id": "Organization.name",
        "path": "Organization.name",
        "max": "0"
      },
      {
        "id": "Organization.alias",
        "path": "Organization.alias",
        "max": "0"
      },
      {
        "id": "Organization.telecom",
        "path": "Organization.telecom",
        "max": "1"
      },
      {
        "id": "Organization.address",
        "path": "Organization.address",
        "max": "1"
      },
      {
        "id": "Organization.partOf",
        "path": "Organization.partOf",
        "max": "0"
      },
      {
        "id": "Organization.contact",
        "path": "Organization.contact",
        "max": "1"
      },
      {
        "id": "Organization.endpoint",
        "path": "Organization.endpoint",
        "max": "0"
      }
    ]
  }
}