{
  "resourceType": "StructureDefinition",
  "id": "109b13a0-1aaf-4121-92af-fda86efe734b",
  "meta": {
    "versionId": "9",
    "lastUpdated": "2017-04-26T06:06:39.151+00:00"
  },
  "url": "http://hl7.org/fhir/StructureDefinition/PractitionerMC",
  "name": "PractitionerMC",
  "status": "draft",
  "date": "2017-04-19T02:45:29.9783781+00:00",
  "description": "StructureDefinition for Doctor/Staff/AddressBook information",
  "fhirVersion": "1.0.2",
  "kind": "resource",
  "constrainedType": "Practitioner",
  "abstract": false,
  "base": "http://hl7.org/fhir/StructureDefinition/Practitioner",
  "differential": {
    "element": [
      {
        "path": "Practitioner"
      },
      {
        "path": "Practitioner.extension",
        "slicing": {
          "discriminator": [
            "url"
          ],
          "rules": "open"
        }
      },
      {
        "path": "Practitioner.extension",
        "name": "Practitioner Group",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/practitioner-group"
            ]
          }
        ]
      },
      {
        "path": "Practitioner.extension",
        "name": "Australian Business Number",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/australian-business-number"
            ]
          }
        ]
      },
      {
        "path": "Practitioner.extension",
        "name": "Australian Company Number",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/australian-company-number"
            ]
          }
        ]
      },
      {
        "path": "Practitioner.extension",
        "name": "Practitioner Type",
        "min": 1,
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/practitioner-type"
            ]
          }
        ]
      },
      {
        "path": "Practitioner.extension",
        "name": "Network Name",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/network-name"
            ]
          }
        ]
      },
      {
        "path": "Practitioner.extension",
        "name": "Messaging ID",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/messaging-id"
            ]
          }
        ]
      },
      {
        "path": "Practitioner.extension",
        "name": "Attention",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Attention"
            ]
          }
        ]
      },
      {
        "path": "Practitioner.identifier",
        "slicing": {
          "description": "1. Optional HPI-I profile defined\r\n2. Optional Prescriber Number profile defined",
          "rules": "open"
        }
      },
      {
        "path": "Practitioner.identifier",
        "name": "National Individual Provider Healthcare Identifier",
        "max": "0",
        "constraint": [
          {
            "key": "inv-hpii-0",
            "severity": "error",
            "human": "HPI-I is exactly 16 characters",
            "xpath": "HPI-I is exactly 16 characters"
          },
          {
            "key": "inv-hpii-1",
            "severity": "error",
            "human": "HPI-I prefix is 800361",
            "xpath": "HPI-I prefix is 800361"
          }
        ]
      },
      {
        "path": "Practitioner.identifier.type",
        "short": "HPI-I Identifier Type",
        "min": 1
      },
      {
        "path": "Practitioner.identifier.type.coding",
        "short": "HPI-I Identifier Type Code",
        "max": "1",
        "fixedCoding": {
          "system": "http://hl7.org/fhir/v2/0203",
          "code": "NPI",
          "display": "National provider identifier"
        }
      },
      {
        "path": "Practitioner.identifier.type.text",
        "short": "HPI-I Identifier Type Descriptive Text",
        "fixedString": "HPI-I"
      },
      {
        "path": "Practitioner.identifier.system",
        "short": "national namespace for hpi-i",
        "fixedUri": "http://ns.electronichealth.net.au/id/hi/hpii/1.0"
      },
      {
        "path": "Practitioner.identifier.value",
        "exampleString": "8003610833334085",
        "maxLength": 16
      },
      {
        "path": "Practitioner.identifier",
        "name": "Prescriber Number",
        "max": "1"
      },
      {
        "path": "Practitioner.identifier.type",
        "short": "Prescriber Number Type",
        "min": 1
      },
      {
        "path": "Practitioner.identifier.type.coding",
        "short": "Prescriber Number Type Code",
        "max": "1",
        "fixedCoding": {
          "system": "http://hl7.org.au/fhir/v2/0203",
          "code": "PRES",
          "display": "Prescriber Number"
        }
      },
      {
        "path": "Practitioner.identifier.type.text",
        "short": "Prescriber Number Identifier Type Descriptive Text",
        "fixedString": "Prescriber Number"
      },
      {
        "path": "Practitioner.identifier.system",
        "short": "namespace for prescriber number",
        "fixedUri": "http://ns.electronichealth.net.au/id/prescriber-number"
      },
      {
        "path": "Practitioner.identifier.value",
        "exampleString": "453221"
      },
      {
        "path": "Practitioner.identifier",
        "name": "External ID",
        "max": "1"
      },
      {
        "path": "Practitioner.identifier.type.text",
        "fixedString": "External ID"
      },
      {
        "path": "Practitioner.identifier.value",
        "short": "External ID value",
        "min": 1,
        "exampleString": "1AE17C37-2EE5-4251-B049-101DC235EF2B"
      },
      {
        "path": "Practitioner.identifier",
        "name": "National organisation identifier",
        "short": "Identifies this organization  across multiple systems",
        "definition": "Identifier for the organization that is used to identify the organization across multiple disparate systems.",
        "max": "0"
      },
      {
        "path": "Practitioner.identifier.type",
        "short": "HPI-O Identifier Type",
        "min": 1
      },
      {
        "path": "Practitioner.identifier.type.coding",
        "short": "HPI-O Identifier Type Code",
        "max": "1",
        "fixedCoding": {
          "system": "http://hl7.org.au/fhir/v2/0203",
          "code": "NOI",
          "display": "National Organisation Identifier"
        }
      },
      {
        "path": "Practitioner.identifier.type.text",
        "short": "HPI-O Identifier Type Descriptive Text",
        "fixedString": "HPI-O"
      },
      {
        "path": "Practitioner.identifier.system",
        "fixedUri": "http://ns.electronichealth.net.au/id/hi/hpio/1.0"
      },
      {
        "path": "Practitioner.identifier.value",
        "exampleString": "8003627500000328",
        "maxLength": 16
      },
      {
        "path": "Practitioner.name",
        "short": "The name associated with the practitioner",
        "min": 1
      },
      {
        "path": "Practitioner.name.use",
        "fixedCode": "official"
      },
      {
        "path": "Practitioner.name.family",
        "name": "Surname",
        "min": 1,
        "max": "1"
      },
      {
        "path": "Practitioner.name.given",
        "name": "Firstname",
        "max": "1"
      },
      {
        "path": "Practitioner.name.prefix",
        "name": "Title",
        "max": "1"
      },
      {
        "path": "Practitioner.name.suffix",
        "max": "0"
      },
      {
        "path": "Practitioner.name.period",
        "max": "0"
      },
      {
        "path": "Practitioner.telecom",
        "slicing": {
          "description": "Mobile/Email",
          "rules": "open"
        }
      },
      {
        "path": "Practitioner.telecom",
        "name": "Mobile",
        "max": "1",
        "fixedContactPoint": {
          "system": "phone",
          "use": "mobile"
        }
      },
      {
        "path": "Practitioner.telecom.value",
        "maxLength": 50
      },
      {
        "path": "Practitioner.telecom",
        "name": "Email",
        "max": "1",
        "fixedContactPoint": {
          "system": "email"
        }
      },
      {
        "path": "Practitioner.telecom.value",
        "maxLength": 255
      },
      {
        "path": "Practitioner.telecom",
        "name": "Work Phone",
        "max": "1",
        "fixedContactPoint": {
          "system": "phone",
          "use": "work"
        }
      },
      {
        "path": "Practitioner.telecom.value",
        "maxLength": 50
      },
      {
        "path": "Practitioner.telecom",
        "name": "Home Phone",
        "max": "1",
        "fixedContactPoint": {
          "system": "phone",
          "use": "home"
        }
      },
      {
        "path": "Practitioner.telecom.value",
        "maxLength": 50
      },
      {
        "path": "Practitioner.address",
        "slicing": {
          "description": "Residential Address/Mailling Address",
          "rules": "open"
        }
      },
      {
        "path": "Practitioner.address",
        "name": "Residential Address",
        "max": "1"
      },
      {
        "path": "Practitioner.address.line",
        "slicing": {
          "description": "Practitioner Resiential Line 1, 2",
          "rules": "open"
        }
      },
      {
        "path": "Practitioner.address.line",
        "name": "Practitioner Residential Line1",
        "max": "1",
        "maxLength": 255
      },
      {
        "path": "Practitioner.address.line",
        "name": "Practitioner Residential Line2",
        "max": "1",
        "maxLength": 255
      },
      {
        "path": "Practitioner.address.city",
        "name": "Residential City"
      },
      {
        "path": "Practitioner.address.district",
        "name": "Residential Suburb",
        "maxLength": 50
      },
      {
        "path": "Practitioner.address.state",
        "name": "Residential State",
        "maxLength": 50,
        "binding": {
          "strength": "required",
          "description": "Australian states and territories coding",
          "valueSetUri": "http://hl7.org.au/fhir/ValueSet/valueset-au-address-states"
        }
      },
      {
        "path": "Practitioner.address.postalCode",
        "name": "Residential PostCode",
        "maxLength": 6
      },
      {
        "path": "Practitioner.address.country",
        "name": "Residential Country",
        "maxLength": 50
      },
      {
        "path": "Practitioner.address",
        "name": "Mailling Address",
        "max": "1"
      },
      {
        "path": "Practitioner.address.line",
        "slicing": {
          "description": "Mailling Line 1, 2",
          "rules": "open"
        }
      },
      {
        "path": "Practitioner.address.line",
        "name": "Practitioner Mailling Line1",
        "max": "1",
        "maxLength": 255
      },
      {
        "path": "Practitioner.address.line",
        "name": "Practitioner Mailling Line2",
        "max": "1",
        "maxLength": 255
      },
      {
        "path": "Practitioner.address.city",
        "name": "Mailling City"
      },
      {
        "path": "Practitioner.address.district",
        "name": "Mailling Suburb",
        "maxLength": 50
      },
      {
        "path": "Practitioner.address.state",
        "name": "Mailling State",
        "maxLength": 50,
        "binding": {
          "strength": "required",
          "description": "Australian states and territories coding",
          "valueSetUri": "http://hl7.org.au/fhir/ValueSet/valueset-au-address-states"
        }
      },
      {
        "path": "Practitioner.address.postalCode",
        "name": "Mailling PostCode",
        "maxLength": 6
      },
      {
        "path": "Practitioner.address.country",
        "name": "Mailling Country",
        "maxLength": 50
      },
      {
        "path": "Practitioner.gender",
        "max": "0"
      },
      {
        "path": "Practitioner.birthDate",
        "max": "0"
      },
      {
        "path": "Practitioner.photo",
        "max": "0"
      },
      {
        "path": "Practitioner.practitionerRole.extension",
        "slicing": {
          "discriminator": [
            "url"
          ],
          "rules": "open"
        }
      },
      {
        "path": "Practitioner.practitionerRole.extension",
        "name": "Provider Number",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/provider-number"
            ]
          }
        ]
      },
      {
        "path": "Practitioner.practitionerRole.managingOrganization",
        "max": "0"
      },
      {
        "path": "Practitioner.practitionerRole.role.coding",
        "max": "1",
        "binding": {
          "strength": "required",
          "description": "This example value set defines a set of codes that can be used to indicate the role of a Practitioner.",
          "valueSetUri": "http://hl7.org/fhir/practitioner-role"
        }
      },
      {
        "path": "Practitioner.practitionerRole.specialty",
        "max": "1"
      },
      {
        "path": "Practitioner.practitionerRole.specialty.coding",
        "max": "0"
      },
      {
        "path": "Practitioner.practitionerRole.period",
        "max": "0"
      },
      {
        "path": "Practitioner.practitionerRole.location",
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/LocationMC"
            ],
            "aggregation": [
              "contained"
            ]
          }
        ]
      },
      {
        "path": "Practitioner.practitionerRole.healthcareService",
        "max": "0"
      },
      {
        "path": "Practitioner.qualification",
        "max": "1"
      },
      {
        "path": "Practitioner.qualification.identifier",
        "max": "0"
      },
      {
        "path": "Practitioner.qualification.code.coding",
        "max": "0"
      },
      {
        "path": "Practitioner.qualification.period",
        "max": "0"
      },
      {
        "path": "Practitioner.qualification.issuer",
        "max": "0"
      },
      {
        "path": "Practitioner.communication",
        "max": "0"
      }
    ]
  }
}