fhir-schemas
Version:
Schemas for Fast Healthcare Interoperability Resources.
198 lines • 8.59 kB
JSON
{
"schema": "http://json-schema.org/draft-04/schema#",
"$id": "http://hl7.org/fhir/json-schema/PractitionerRole",
"$ref": "#/definitions/PractitionerRole",
"description": "see http://hl7.org/fhir/json.html#schema for information about the FHIR Json Schemas",
"definitions": {
"PractitionerRole": {
"allOf": [
{
"$ref": "DomainResource#/definitions/DomainResource"
},
{
"description": "A specific set of Roles/Locations/specialties/services that a practitioner may perform at an organization for a period of time.",
"properties": {
"resourceType": {
"description": "This is a PractitionerRole resource",
"type": "string",
"enum": [
"PractitionerRole"
]
},
"identifier": {
"description": "Business Identifiers that are specific to a role/location.",
"type": "array",
"items": {
"$ref": "http://hl7.org/fhir/json-schema/Identifier#/definitions/Identifier"
}
},
"active": {
"description": "Whether this practitioner\u0027s record is in active use.",
"type": "boolean"
},
"_active": {
"description": "Extensions for active",
"$ref": "http://hl7.org/fhir/json-schema/Element#/definitions/Element"
},
"period": {
"description": "The period during which the person is authorized to act as a practitioner in these role(s) for the organization.",
"$ref": "http://hl7.org/fhir/json-schema/Period#/definitions/Period"
},
"practitioner": {
"description": "Practitioner that is able to provide the defined services for the organation.",
"$ref": "http://hl7.org/fhir/json-schema/Reference#/definitions/Reference"
},
"organization": {
"description": "The organization where the Practitioner performs the roles associated.",
"$ref": "http://hl7.org/fhir/json-schema/Reference#/definitions/Reference"
},
"code": {
"description": "Roles which this practitioner is authorized to perform for the organization.",
"type": "array",
"items": {
"$ref": "http://hl7.org/fhir/json-schema/CodeableConcept#/definitions/CodeableConcept"
}
},
"specialty": {
"description": "Specific specialty of the practitioner.",
"type": "array",
"items": {
"$ref": "http://hl7.org/fhir/json-schema/CodeableConcept#/definitions/CodeableConcept"
}
},
"location": {
"description": "The location(s) at which this practitioner provides care.",
"type": "array",
"items": {
"$ref": "http://hl7.org/fhir/json-schema/Reference#/definitions/Reference"
}
},
"healthcareService": {
"description": "The list of healthcare services that this worker provides for this role\u0027s Organization/Location(s).",
"type": "array",
"items": {
"$ref": "http://hl7.org/fhir/json-schema/Reference#/definitions/Reference"
}
},
"telecom": {
"description": "Contact details that are specific to the role/location/service.",
"type": "array",
"items": {
"$ref": "http://hl7.org/fhir/json-schema/ContactPoint#/definitions/ContactPoint"
}
},
"availableTime": {
"description": "A collection of times that the Service Site is available.",
"type": "array",
"items": {
"$ref": "#/definitions/PractitionerRole_AvailableTime"
}
},
"notAvailable": {
"description": "The HealthcareService is not available during this period of time due to the provided reason.",
"type": "array",
"items": {
"$ref": "#/definitions/PractitionerRole_NotAvailable"
}
},
"availabilityExceptions": {
"description": "A description of site availability exceptions, e.g. public holiday availability. Succinctly describing all possible exceptions to normal site availability as details in the available Times and not available Times.",
"type": "string"
},
"_availabilityExceptions": {
"description": "Extensions for availabilityExceptions",
"$ref": "http://hl7.org/fhir/json-schema/Element#/definitions/Element"
},
"endpoint": {
"description": "Technical endpoints providing access to services operated for the practitioner with this role.",
"type": "array",
"items": {
"$ref": "http://hl7.org/fhir/json-schema/Reference#/definitions/Reference"
}
}
},
"required": [
"resourceType"
]
}
]
},
"PractitionerRole_AvailableTime": {
"allOf": [
{
"$ref": "BackboneElement#/definitions/BackboneElement"
},
{
"description": "A specific set of Roles/Locations/specialties/services that a practitioner may perform at an organization for a period of time.",
"properties": {
"daysOfWeek": {
"description": "Indicates which days of the week are available between the start and end Times.",
"type": "array",
"items": {
"type": "string",
"pattern": "[^\\s]+([\\s]?[^\\s]+)*"
}
},
"_daysOfWeek": {
"description": "Extensions for daysOfWeek",
"type": "array",
"items": {
"$ref": "http://hl7.org/fhir/json-schema/Element#/definitions/Element"
}
},
"allDay": {
"description": "Is this always available? (hence times are irrelevant) e.g. 24 hour service.",
"type": "boolean"
},
"_allDay": {
"description": "Extensions for allDay",
"$ref": "http://hl7.org/fhir/json-schema/Element#/definitions/Element"
},
"availableStartTime": {
"description": "The opening time of day. Note: If the AllDay flag is set, then this time is ignored.",
"type": "string",
"pattern": "([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\\.[0-9]+)?"
},
"_availableStartTime": {
"description": "Extensions for availableStartTime",
"$ref": "http://hl7.org/fhir/json-schema/Element#/definitions/Element"
},
"availableEndTime": {
"description": "The closing time of day. Note: If the AllDay flag is set, then this time is ignored.",
"type": "string",
"pattern": "([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\\.[0-9]+)?"
},
"_availableEndTime": {
"description": "Extensions for availableEndTime",
"$ref": "http://hl7.org/fhir/json-schema/Element#/definitions/Element"
}
}
}
]
},
"PractitionerRole_NotAvailable": {
"allOf": [
{
"$ref": "BackboneElement#/definitions/BackboneElement"
},
{
"description": "A specific set of Roles/Locations/specialties/services that a practitioner may perform at an organization for a period of time.",
"properties": {
"description": {
"description": "The reason that can be presented to the user as to why this time is not available.",
"type": "string"
},
"_description": {
"description": "Extensions for description",
"$ref": "http://hl7.org/fhir/json-schema/Element#/definitions/Element"
},
"during": {
"description": "Service is not available (seasonally or for a public holiday) from this date.",
"$ref": "http://hl7.org/fhir/json-schema/Period#/definitions/Period"
}
}
}
]
}
}
}