{
  "resourceType": "StructureDefinition",
  "url": "https://example.org/fhir/StructureDefinition/PASConnectPractitioner",
  "name": "PASConnectPractitioner",
  "status": "draft",
  "date": "2022-11-29T01:10:40.6591509+00:00",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Practitioner",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Practitioner",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Practitioner.identifier.use",
        "path": "Practitioner.identifier.use",
        "definition": "The Professional carer’s main identifier is mandatory data in i.PM and so the identifier.use element with the code ‘official’ must be passed from the third-party system for POST and PUT practitioner interface.",
        "fixedCode": "Official"
      },
      {
        "id": "Practitioner.identifier.type",
        "path": "Practitioner.identifier.type",
        "short": "The Professional carer’s main identifier value in PAS",
        "definition": "Professional Carer Identifier Type code received in identifier.type element must be matched to an existing reference value identifier in reference value domain CITYP in i.PM where RITYP_CODE = FHIR or PIMS",
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "IdentifierType"
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
              "valueBoolean": true
            }
          ],
          "strength": "extensible",
          "valueSet": "http://Server/PASConnectR4/api/R4/v1/ValueSet/CITYP"
        }
      },
      {
        "id": "Practitioner.identifier.type.coding",
        "path": "Practitioner.identifier.type.coding",
        "mustSupport": false
      },
      {
        "id": "Practitioner.identifier.system",
        "path": "Practitioner.identifier.system",
        "short": "Not used",
        "max": "0",
        "mustSupport": false
      },
      {
        "id": "Practitioner.identifier.value",
        "path": "Practitioner.identifier.value",
        "short": "The Professional carer’s main identifier value",
        "definition": "Main and other identifiers will be processed and inserted/updated in PROF_CARER_IDS.IDENTIFIER. The main identifier will also be inserted in PROF_CARERS.MAIN_IDENT."
      },
      {
        "id": "Practitioner.identifier.period",
        "path": "Practitioner.identifier.period",
        "short": "Active from date",
        "definition": "This is the date that the identifier was assigned",
        "comment": "Active from and to date can be a future date but to date cannot be before the from date.  \r\n\r\nA Period specifies a range of time; the context of use will specify whether the entire range applies (e.g. \"the patient was an inpatient of the hospital for this time range\") or one value from the range applies (e.g. \"give to the patient between these two times\").\n\nPeriod is not used for a duration (a measure of elapsed time). See [Duration](datatypes.html#Duration).",
        "min": 1
      },
      {
        "id": "Practitioner.identifier.assigner",
        "path": "Practitioner.identifier.assigner",
        "max": "0"
      },
      {
        "id": "Practitioner.active",
        "path": "Practitioner.active",
        "max": "0"
      },
      {
        "id": "Practitioner.name",
        "path": "Practitioner.name",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Practitioner.name.use",
        "path": "Practitioner.name.use",
        "max": "0"
      },
      {
        "id": "Practitioner.name.text",
        "path": "Practitioner.name.text",
        "max": "0"
      },
      {
        "id": "Practitioner.name.family",
        "path": "Practitioner.name.family",
        "comment": "Surname is mandatory data in i.PM and must be passed from the third-party system.\r\nThe practitioner details will not be inserted if the name.family element is not received or received with an empty string.",
        "min": 1
      },
      {
        "id": "Practitioner.name.given",
        "path": "Practitioner.name.given",
        "label": "PROF_CARERS.FORENAME",
        "definition": "Forename",
        "comment": "Forename is optional data in i.PM that will be passed from the third-party system.\r\nIf the name.given element is received with value, then it will be inserted in i.PM. \r\nIf the name.given element is not received or received with an empty string, then the forename in i.PM will be blank."
      },
      {
        "id": "Practitioner.gender",
        "path": "Practitioner.gender",
        "min": 1
      }
    ]
  }
}