//Aliases for extensions Alias: $practitionerRole-status-reason = http://hl7.org.nz/fhir/StructureDefinition/practitionerRole-status-reason Alias: $practitionerRole-creator = http://hl7.org.nz/fhir/StructureDefinition/practitionerRole-creator Alias : $messaging-address = http://hl7.org.nz/fhir/StructureDefinition/messaging-address Profile: HpiPractitionerRole Parent: NzPractitionerRole Id: HPIPractitionerRole Title: "HPI Practitioner role" Description: "The practitioner role exposed by the HPI. Used to connect Practitioners with Organizations and Locations, indicating the role they have. A single Practitioner can have roles with multiple organizations." //* ^jurisdiction.coding = urn:iso:std:iso:3166#NZ * ^url = "http://hl7.org.nz/fhir/StructureDefinition/HPIPractitionerRole" * practitioner only Reference(HPIPractitioner) * organization only Reference(HpiOrganization) * location only Reference(HpiLocation) //slice identifier - added wed * identifier ^slicing.discriminator.type = #value * identifier ^slicing.discriminator.path = "use" * identifier ^slicing.discriminator[1].type = #value * identifier ^slicing.discriminator[1].path = "system" * identifier ^slicing.description = "The identifiers" * identifier ^slicing.rules = #openAtEnd * identifier contains RI 0..1 MS * identifier[RI].system = "https://standards.digital.health.nz/ns/hpi-practitionerrole-id" (exactly) * identifier[RI].use = #official (exactly) * identifier[RI].use ^short = "PractitionerRole Id" * identifier[RI].type 0..0 * identifier[RI].period 0..0 * ^text.div = "
HPI PractitionerRole profile
" * ^text.status = #additional * ^purpose = "Describe the PractitionerRole that will be returned by the HPI" //top level extensions * extension contains $messaging-address named messaging-address 0..1 * extension[practitionerRole-status-reason] ^short = "The reason for the status of this role. Generally when it is inactive." * extension[practitionerRole-creator] ^short = "The person and/or organization that created the PR" //elements that have been removed * specialty 0..0 * healthcareService 0..0 * availableTime 0..0 * availableTime.daysOfWeek 0..0 //to remove the terminology binding * notAvailable 0..0 * availabilityExceptions 0..0 //causing an error from the RI slice - not sure why* identifier.type 0..0 //location and rolecode (code) multiplicity reduced * location 0..1 * code 0..1 * endpoint 0..0 * telecom.use from https://nzhts.digital.health.nz/fhir/ValueSet/hpi-contact-point-use-code * code from https://nzhts.digital.health.nz/fhir/ValueSet/practitioner-role-code