Generated Narrative: StructureDefinition sm-practitioner-role Name Flags Card. Type Description & Constraints PractitionerRole 0..* PractitionerRole 健康医护服务提供者所关联的角色/机构 id 0..1 id 不重复的ID用以识别储存在特定FHIR Server中的PractitionerRole纪录，通常又称为逻辑性ID。 extension 0..* Extension 扩展字段 modifierExtension 0..* Extension 此扩展字段可能会完全修正或改变其他资料项目的涵意，需特别留意。 identifier S 0..* Identifier 与角色（role）/地点（location）相关的特定业务识别码 active S 0..1 boolean 此健康医护服务提供者角色纪录是否有效 period 0..1 Period 健康医护服务提供者在这些角色里被授权执行工作的时间范围 practitioner S 0..1 Reference(SmPractitioner) 能够为机构提供所定义服务的健康医护服务提供者 organization S 0..1 Reference(SmOrganization) 提供这此健康医护服务提供者角色的机构 specialty S 0..* CodeableConcept 健康医护服务提供者的特定专业 location S 0..* Reference(SmLocation) 此健康医护服务提供者提供医护的地点 healthcareService 0..* Reference(HealthcareService) 此工作者为此角色的机构（Organizatoin）/地点（Location）提供的健康医护服务清单 telecom S 0..* ContactPoint 与角色（role）/地点（location）/服务（service）相关的联络细节 system S 1..1 code phone | fax | email | pager | url | sms | other Binding: ContactPointSystem (required) value S 1..1 string 实际的联络方式之细节 use S 0..1 code home | work | temp | old | mobile－此联络方式的用途 Binding: ContactPointUse (required) rank 0..1 positiveInt 具体说明偏好的使用顺序（1=最高优先顺序） period S 0..1 Period 此联络方式的使用效期 availableTime 0..* BackboneElement 服务地点可用的时间 daysOfWeek 0..* code mon | tue | wed | thu | fri | sat | sun Binding: DaysOfWeek (required) allDay 0..1 boolean 随时可用？ 例如：24 小时服务。 availableStartTime 0..1 time 每天的开放时间（如果 allDay = true，则忽略。） availableEndTime 0..1 time 每天的关闭时间（如果 allDay = true，则忽略。） notAvailable 0..* BackboneElement 由于提供的原因，在此期间无法使用。 description 1..1 string 向使用者说明为什么此期间无法使用的原因 during 0..1 Period 从这个日期起，服务将不再提供。 availabilityExceptions 0..1 string 描述在特定情况下服务不可用的特例 endpoint 0..* Reference(Endpoint) 提供用于此健康医护服务提供者角色运营服务的技术端点 Documentation for this format
健康医护服务提供者所关联的角色/机构
健康医护服务提供者可能在一个机构内，一段时间内可能承担的一系列职务角色（Roles）/工作地点（Locations）/专业领域（specialties）/所提供的服务（services）。
If the resource is contained in another resource, it SHALL NOT contain nested Resources
not(parent::f:contained and f:contained)
If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))
If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))
If a resource is contained in another resource, it SHALL NOT have a security label
When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time.
A resource should have narrative for robust management
不重复的ID用以识别储存在特定FHIR Server中的PractitionerRole纪录，通常又称为逻辑性ID。
The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
一个resource使用新增操作（create operation）提交给服务器时，此resource没有id，它的id在resource被创建后由服务器分配/指定。
The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.
All FHIR elements must have a @value or children
hasValue() or (children().count() > id.count())
A set of rules under which this content was created
A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.
Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.
This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation
The base language in which the resource is written.
Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).
Text summary of the resource, for human interpretation
A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.
Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a "text blob" or where text is additionally entered raw or narrated and encoded information is added later.
These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.
This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.
Must have either extensions or value[x], not both
exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
此扩展字段可能会完全修正或改变其他资料项目的涵意，需特别留意。
Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them
通常会为代理人指派特定的身份识别
此健康医护服务提供者角色纪录是否有效
如果此值为 false，则可以参考period资料项目来了解角色的有效时间。如果没有指定eriod，则无法推断角色的有效时间。
需要能够将健康医护服务提供者角色纪录标记为无效，因为该记录是错误创建的，或已不再有效。
This resource is generally assumed to be active if no value is provided for the active element
健康医护服务提供者在这些角色里被授权执行工作的时间范围
健康医护服务提供者被授权在这些角色中为机构执行工作的时间范围
即使授权被撤销，仍需记录该授权曾经存在的事实。
.performance[@typeCode <= 'PPRF'].ActDefinitionOrEvent.effectiveTime
(ServD maps Practitioners and Organizations via another entity, so this concept is not available)
能够为机构提供所定义服务的健康医护服务提供者
提供这此健康医护服务提供者角色的机构
此健康医护服务提供者履行相关角色职责的机构
Roles which this practitioner may perform
Roles which this practitioner is authorized to perform for the organization.
Need to know what authority the practitioner has - what can they do?
The role a person plays representing an organization.
Specific specialty associated with the agency.
.player.HealthCareProvider[@classCode = 'PROV'].code
此健康医护服务提供者提供医护的地点
The location(s) at which this practitioner provides care.
.performance.ActDefinitionOrEvent.ServiceDeliveryLocation[@classCode = 'SDLOC']
(ServD maps Practitioners and Organizations via another entity, so this concept is not available) However these are accessed via the Site.ServiceSite.ServiceSiteProvider record. (The Site has the location)
The list of healthcare services that this worker provides for this role's Organization/Location(s).
.player.QualifiedEntity[@classCode = 'QUAL'].code
Contact details that are specific to the role/location/service.
Often practitioners have a dedicated line for each location (or service) that they work at, and need to be able to define separate contact details for each of these.
Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Extensions are always sliced by (at least) url
Additional content defined by implementations
May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
phone | fax | email | pager | url | sms | other
联络方式的通讯形式－需要什么通讯系统进行联络
The actual contact point details, in a form that is meaningful to the designated communication system (i.e. phone number or email address).
Additional text data such as phone extension numbers, or notes about use of the contact are sometimes included in the value.
Need to support legacy numbers that are not in a tightly controlled format.
home | work | temp | old | mobile－此联络方式的用途
Identifies the purpose for the contact point.
Applications can assume that a contact is current unless it explicitly says that it is temporary or old.
Need to track the way a person uses this contact, so a user can choose which is appropriate for their purpose.
This is labeled as "Is Modifier" because applications should not mistake a temporary or old contact etc.for a current/permanent one
具体说明偏好的使用顺序（1=最高优先顺序）
Specifies a preferred order in which to use a set of contacts. ContactPoints with lower rank values are more preferred than those with higher rank values.
Note that rank does not necessarily follow the order in which the contacts are represented in the instance.
Time period when the contact point was/is in use.
A collection of times the practitioner is available or performing this role at the location and/or healthcareservice.
More detailed availability information may be provided in associated Schedule/Slot resources.
Extensions that cannot be ignored even if unrecognized
May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).
Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
此服务地点，在规定的开始和结束时间内，一周中哪些天是开放的。
此服务地点是否始终开放？（因此时间并不重要），例如 24 小时服务。
The opening time of day. Note: If the AllDay flag is set, then this time is ignored.
The timezone is expected to be for where this HealthcareService is provided at.
The closing time of day. Note: If the AllDay flag is set, then this time is ignored.
由于提供的原因，在此期间无法使用。
The practitioner is not available or performing this role during this period of time due to the provided reason.
向使用者说明为什么此期间无法使用的原因
The reason that can be presented to the user as to why this time is not available.
Service is not available (seasonally or for a public holiday) from this date.
描述在特定情况下服务不可用的特例
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.
提供用于此健康医护服务提供者角色运营服务的技术端点
Technical endpoints providing access to services operated for the practitioner with this role.
Organizations have multiple systems that provide various services and ,ay also be different for practitioners too. So the endpoint satisfies the need to be able to define the technical connection details for how to connect to them, and for what purpose.