{
  "resourceType": "StructureDefinition",
  "id": "90477121-c505-45f3-b906-80533c67addb",
  "meta": {
    "lastUpdated": "2019-04-01T13:55:45.5191489+00:00"
  },
  "url": "http://ehealthontario.ca/fhir/StructureDefinition/ppr-organization-response",
  "name": "Organization Response",
  "status": "draft",
  "date": "2019-04-01T13:55:45.3354107+00:00",
  "fhirVersion": "3.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Organization",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Organization",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Organization.id",
        "path": "Organization.id",
        "short": "Logical id of this artifact- PPR it is EPID",
        "min": 1
      },
      {
        "id": "Organization.meta",
        "path": "Organization.meta",
        "min": 1
      },
      {
        "id": "Organization.meta.id",
        "path": "Organization.meta.id",
        "max": "0"
      },
      {
        "id": "Organization.meta.versionId",
        "path": "Organization.meta.versionId",
        "max": "0"
      },
      {
        "id": "Organization.meta.lastUpdated",
        "path": "Organization.meta.lastUpdated",
        "max": "0"
      },
      {
        "id": "Organization.meta.profile",
        "path": "Organization.meta.profile",
        "min": 1,
        "max": "1",
        "fixedUri": "http://ehealthontario.ca/fhir/StructureDefinition/ppr-organization-response|1.0.0"
      },
      {
        "id": "Organization.meta.security",
        "path": "Organization.meta.security",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Organization.meta.security.system",
        "path": "Organization.meta.security.system",
        "min": 1,
        "fixedUri": "http://hl7.org/fhir/v3/Confidentiality"
      },
      {
        "id": "Organization.meta.security.version",
        "path": "Organization.meta.security.version",
        "max": "0"
      },
      {
        "id": "Organization.meta.security.code",
        "path": "Organization.meta.security.code",
        "min": 1
      },
      {
        "id": "Organization.meta.security.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Organization.meta.security.display",
        "min": 1
      },
      {
        "id": "Organization.meta.security.userSelected",
        "path": "Organization.meta.security.userSelected",
        "max": "0"
      },
      {
        "id": "Organization.meta.tag",
        "path": "Organization.meta.tag",
        "max": "0"
      },
      {
        "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": "type",
              "path": "type.coding.code"
            },
            {
              "type": "type",
              "path": "type.coding"
            }
          ],
          "rules": "open"
        },
        "min": 1
      },
      {
        "id": "Organization.identifier.use",
        "path": "Organization.identifier.use",
        "max": "0",
        "fixedCode": "Official"
      },
      {
        "id": "Organization.identifier.type",
        "path": "Organization.identifier.type",
        "min": 1
      },
      {
        "id": "Organization.identifier.type.coding",
        "path": "Organization.identifier.type.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Organization.identifier.type.coding.system",
        "path": "Organization.identifier.type.coding.system",
        "min": 1,
        "fixedUri": "http://hl7.org/fhir/v2/0203"
      },
      {
        "id": "Organization.identifier.type.coding.version",
        "path": "Organization.identifier.type.coding.version",
        "max": "0"
      },
      {
        "id": "Organization.identifier.type.coding.code",
        "path": "Organization.identifier.type.coding.code",
        "min": 1,
        "fixedCode": "RI"
      },
      {
        "id": "Organization.identifier.type.coding.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Organization.identifier.type.coding.display",
        "min": 1,
        "fixedString": "ResourceID"
      },
      {
        "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.period",
        "path": "Organization.identifier.period",
        "max": "0"
      },
      {
        "id": "Organization.identifier.assigner",
        "path": "Organization.identifier.assigner",
        "max": "0"
      },
      {
        "id": "Organization.identifier.assigner.id",
        "path": "Organization.identifier.assigner.id",
        "max": "0"
      },
      {
        "id": "Organization.identifier.assigner.reference",
        "path": "Organization.identifier.assigner.reference",
        "max": "0"
      },
      {
        "id": "Organization.identifier.assigner.identifier",
        "path": "Organization.identifier.assigner.identifier",
        "max": "0"
      },
      {
        "id": "Organization.identifier.assigner.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Organization.identifier.assigner.display",
        "max": "0"
      },
      {
        "id": "Organization.identifier:UPI",
        "path": "Organization.identifier",
        "sliceName": "UPI",
        "max": "1"
      },
      {
        "id": "Organization.identifier:UPI.id",
        "path": "Organization.identifier.id",
        "max": "0"
      },
      {
        "id": "Organization.identifier:UPI.use",
        "path": "Organization.identifier.use",
        "max": "0"
      },
      {
        "id": "Organization.identifier:UPI.type",
        "path": "Organization.identifier.type",
        "min": 1,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "IdentifierType"
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
              "valueBoolean": true
            }
          ],
          "strength": "extensible",
          "valueSetReference": {
            "reference": "http://ehealthontario.ca/fhir/ValueSet/ppr-OrganizationIdentifierType"
          }
        }
      },
      {
        "id": "Organization.identifier:UPI.type.id",
        "path": "Organization.identifier.type.id",
        "max": "0"
      },
      {
        "id": "Organization.identifier:UPI.type.coding",
        "path": "Organization.identifier.type.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Organization.identifier:UPI.type.coding.id",
        "path": "Organization.identifier.type.coding.id",
        "max": "0"
      },
      {
        "id": "Organization.identifier:UPI.type.coding.system",
        "path": "Organization.identifier.type.coding.system",
        "min": 1,
        "fixedUri": "http://hl7.org/fhir/v2/0203"
      },
      {
        "id": "Organization.identifier:UPI.type.coding.version",
        "path": "Organization.identifier.type.coding.version",
        "max": "0"
      },
      {
        "id": "Organization.identifier:UPI.type.coding.code",
        "path": "Organization.identifier.type.coding.code",
        "min": 1,
        "fixedCode": "RRI"
      },
      {
        "id": "Organization.identifier:UPI.type.coding.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Organization.identifier.type.coding.display",
        "max": "0"
      },
      {
        "id": "Organization.identifier:UPI.type.coding.userSelected",
        "path": "Organization.identifier.type.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Organization.identifier:UPI.type.text",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Organization.identifier.type.text",
        "max": "0"
      },
      {
        "id": "Organization.identifier:UPI.system",
        "path": "Organization.identifier.system",
        "min": 1
      },
      {
        "id": "Organization.identifier:UPI.value",
        "path": "Organization.identifier.value",
        "min": 1
      },
      {
        "id": "Organization.identifier:UPI.period",
        "path": "Organization.identifier.period",
        "max": "0"
      },
      {
        "id": "Organization.identifier:UPI.assigner",
        "path": "Organization.identifier.assigner",
        "max": "0"
      },
      {
        "id": "Organization.identifier:Identifier",
        "path": "Organization.identifier",
        "sliceName": "Identifier",
        "mustSupport": true
      },
      {
        "id": "Organization.identifier:Identifier.use",
        "path": "Organization.identifier.use",
        "max": "0"
      },
      {
        "id": "Organization.identifier:Identifier.type",
        "path": "Organization.identifier.type",
        "min": 1,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "IdentifierType"
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
              "valueBoolean": true
            }
          ],
          "strength": "extensible",
          "valueSetReference": {
            "reference": "http://ehealthontario.ca/fhir/ValueSet/ppr-OrganizationIdentifierType"
          }
        }
      },
      {
        "id": "Organization.identifier:Identifier.type.coding",
        "path": "Organization.identifier.type.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Organization.identifier:Identifier.type.coding.system",
        "path": "Organization.identifier.type.coding.system",
        "min": 1,
        "fixedUri": "http://hl7.org/fhir/v2/0203"
      },
      {
        "id": "Organization.identifier:Identifier.type.coding.version",
        "path": "Organization.identifier.type.coding.version",
        "max": "0"
      },
      {
        "id": "Organization.identifier:Identifier.type.coding.code",
        "path": "Organization.identifier.type.coding.code",
        "min": 1,
        "fixedCode": "RRI"
      },
      {
        "id": "Organization.identifier:Identifier.type.coding.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Organization.identifier.type.coding.display",
        "max": "0"
      },
      {
        "id": "Organization.identifier:Identifier.type.coding.userSelected",
        "path": "Organization.identifier.type.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Organization.identifier:Identifier.type.text",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Organization.identifier.type.text",
        "max": "0"
      },
      {
        "id": "Organization.identifier:Identifier.system",
        "path": "Organization.identifier.system",
        "min": 1,
        "fixedUri": "http://hl7.org/fhir/v2/0203"
      },
      {
        "id": "Organization.identifier:Identifier.value",
        "path": "Organization.identifier.value",
        "min": 1
      },
      {
        "id": "Organization.identifier:Identifier.period",
        "path": "Organization.identifier.period",
        "max": "0"
      },
      {
        "id": "Organization.identifier:Identifier.assigner",
        "path": "Organization.identifier.assigner",
        "max": "0"
      },
      {
        "id": "Organization.identifier:SliceUPI",
        "path": "Organization.identifier",
        "sliceName": "SliceUPI"
      },
      {
        "id": "Organization.identifier:SliceUPI.use",
        "path": "Organization.identifier.use",
        "max": "0"
      },
      {
        "id": "Organization.identifier:SliceUPI.type",
        "path": "Organization.identifier.type",
        "min": 1,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "IdentifierType"
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
              "valueBoolean": true
            }
          ],
          "strength": "extensible",
          "valueSetReference": {
            "reference": "http://ehealthontario.ca/fhir/ValueSet/ppr-OrganizationIdentifierType"
          }
        }
      },
      {
        "id": "Organization.identifier:SliceUPI.type.coding",
        "path": "Organization.identifier.type.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Organization.identifier:SliceUPI.type.coding.system",
        "path": "Organization.identifier.type.coding.system",
        "min": 1,
        "fixedUri": "http://hl7.org/fhir/v2/0203"
      },
      {
        "id": "Organization.identifier:SliceUPI.type.coding.version",
        "path": "Organization.identifier.type.coding.version",
        "max": "0"
      },
      {
        "id": "Organization.identifier:SliceUPI.type.coding.code",
        "path": "Organization.identifier.type.coding.code",
        "min": 1,
        "fixedCode": "RRI"
      },
      {
        "id": "Organization.identifier:SliceUPI.type.coding.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Organization.identifier.type.coding.display",
        "min": 1,
        "fixedString": "Unique Provider Identifier"
      },
      {
        "id": "Organization.identifier:SliceUPI.type.coding.userSelected",
        "path": "Organization.identifier.type.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Organization.identifier:SliceUPI.type.text",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Organization.identifier.type.text",
        "max": "0"
      },
      {
        "id": "Organization.identifier:SliceUPI.system",
        "path": "Organization.identifier.system",
        "min": 1
      },
      {
        "id": "Organization.identifier:SliceUPI.value",
        "path": "Organization.identifier.value",
        "min": 1
      },
      {
        "id": "Organization.identifier:SliceUPI.period",
        "path": "Organization.identifier.period",
        "max": "0"
      },
      {
        "id": "Organization.identifier:SliceUPI.assigner",
        "path": "Organization.identifier.assigner",
        "max": "0"
      },
      {
        "id": "Organization.type.coding",
        "path": "Organization.type.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Organization.type.coding.system",
        "path": "Organization.type.coding.system",
        "min": 1,
        "fixedUri": "http://hl7.org/fhir/CodeSystem/organization-type"
      },
      {
        "id": "Organization.type.coding.version",
        "path": "Organization.type.coding.version",
        "max": "0"
      },
      {
        "id": "Organization.type.coding.code",
        "path": "Organization.type.coding.code",
        "min": 1,
        "fixedCode": "prov"
      },
      {
        "id": "Organization.type.coding.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Organization.type.coding.display",
        "max": "0"
      },
      {
        "id": "Organization.type.coding.userSelected",
        "path": "Organization.type.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Organization.type.text",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Organization.type.text",
        "max": "0"
      },
      {
        "id": "Organization.name",
        "path": "Organization.name",
        "min": 1
      },
      {
        "id": "Organization.alias",
        "path": "Organization.alias",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "string"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Organization.alias:legalName",
        "path": "Organization.alias",
        "sliceName": "legalName",
        "max": "1"
      },
      {
        "id": "Organization.alias:shortName",
        "path": "Organization.alias",
        "sliceName": "shortName",
        "max": "1"
      },
      {
        "id": "Organization.alias:otherName",
        "path": "Organization.alias",
        "sliceName": "otherName",
        "max": "1"
      },
      {
        "id": "Organization.alias:otherName.id",
        "path": "Organization.alias.id",
        "max": "0"
      },
      {
        "id": "Organization.alias:otherName.extension",
        "path": "Organization.alias.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Organization.alias:otherName.extension:LanguageCode",
        "path": "Organization.alias.extension",
        "sliceName": "LanguageCode",
        "type": [
          {
            "code": "Extension",
            "profile": "http://ehealthontario.ca/fhir/StructureDefinition/ppr-ext-organization-otherName-LanguageCode"
          }
        ],
        "binding": {
          "strength": "extensible",
          "valueSetUri": "http://ehealthontario.ca/fhir/ValueSet/ppr-HumanLanguage"
        }
      },
      {
        "id": "Organization.telecom",
        "path": "Organization.telecom",
        "max": "25"
      },
      {
        "id": "Organization.telecom.system",
        "path": "Organization.telecom.system",
        "min": 1,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "ContactPointSystem"
            }
          ],
          "strength": "required",
          "valueSetReference": {
            "reference": "http://ehealthontario.ca/fhir/ValueSet/ppr-ContactPointSystemOrganization"
          }
        }
      },
      {
        "id": "Organization.telecom.value",
        "path": "Organization.telecom.value",
        "min": 1
      },
      {
        "id": "Organization.telecom.rank",
        "path": "Organization.telecom.rank",
        "max": "0"
      },
      {
        "id": "Organization.telecom.period",
        "path": "Organization.telecom.period",
        "max": "0"
      },
      {
        "id": "Organization.address",
        "path": "Organization.address",
        "max": "1"
      },
      {
        "id": "Organization.address.id",
        "path": "Organization.address.id",
        "max": "0"
      },
      {
        "id": "Organization.address.use",
        "path": "Organization.address.use",
        "min": 1,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "AddressUse"
            }
          ],
          "strength": "required",
          "valueSetReference": {
            "reference": "http://ehealthontario.ca/fhir/ValueSet/ppr-AddressUse"
          }
        }
      },
      {
        "id": "Organization.address.type",
        "path": "Organization.address.type",
        "min": 1,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "AddressType"
            }
          ],
          "strength": "required",
          "valueSetReference": {
            "reference": "http://ehealthontario.ca/fhir/ValueSet/ppr-AddressType"
          }
        }
      },
      {
        "id": "Organization.address.text",
        "path": "Organization.address.text",
        "max": "0"
      },
      {
        "id": "Organization.address.line",
        "path": "Organization.address.line",
        "max": "4"
      },
      {
        "id": "Organization.address.district",
        "path": "Organization.address.district",
        "max": "0"
      },
      {
        "id": "Organization.address.state",
        "path": "Organization.address.state",
        "binding": {
          "strength": "extensible",
          "valueSetReference": {
            "reference": "http://ehealthontario.ca/fhir/ValueSet/ppr-StateCode"
          }
        }
      },
      {
        "id": "Organization.address.country",
        "path": "Organization.address.country",
        "binding": {
          "strength": "required",
          "valueSetReference": {
            "reference": "http://ehealthontario.ca/fhir/ValueSet/ppr-CountryCode"
          }
        }
      },
      {
        "id": "Organization.address.period",
        "path": "Organization.address.period",
        "max": "0"
      },
      {
        "id": "Organization.partOf",
        "path": "Organization.partOf",
        "max": "0",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://ehealthontario.ca/fhir/StructureDefinition/ppr-organization-partOf-response"
          }
        ]
      },
      {
        "id": "Organization.contact",
        "path": "Organization.contact",
        "max": "0"
      },
      {
        "id": "Organization.endpoint",
        "path": "Organization.endpoint",
        "max": "0"
      }
    ]
  }
}