{
"description": "**CHR — Internal Practitioners:** Practitioner roles are configured in **Settings → Account Info → User Management** via the member dialog Roles tab. The linked organization is the practitioner's home clinic.\\n\\n**CHR — External Contact Providers:** External contact practitioners also produce PractitionerRole resources. Their organization links to the associated **external facility** — not the main clinic. `code[HL7Role]` and `code[InfowayRole]` are mapped from the contact's occupation; `code[TelusRole]` is N/A. `specialty` is mapped from the medical specialty when occupation is Medical Doctor; otherwise text-only.\\n\\n**MA:** Practitioner roles are managed through **Admin → User Management** (user role dropdown) and **Admin → Provider Setup** (specialty).",
"_filename": "StructureDefinition-profile-DwPractitionerRole.json",
"package_name": "telus.dw.emr.extract-1-1-21",
"date": "2026-05-29",
"derivation": "constraint",
"meta": {
"lastUpdated": "2024-05-03T21:26:04.5901449+00:00"
},
"publisher": "TELUS Health",
"fhirVersion": "4.0.1",
"jurisdiction": [ {
"coding": [ {
"code": "CA",
"system": "urn:iso:std:iso:3166",
"display": "Canada"
} ]
} ],
"name": "DwPractitionerRole",
"mapping": [ {
"uri": "urn:telus:emr:chr:ruby:read",
"name": "CHR Ruby (chr-backend) PractitionerRole Read Path (CHR -> FHIR)",
"comment": "Read path only. Maps the CHR Ruby ProviderUser model to FHIR DwPractitionerRole (one per provider_user). Role/specialty are emitted as free text (no coding); period/availableTime/endpoint are not mapped.",
"identity": "chr-ruby-practitioner-role-read"
}, {
"uri": "urn:telus:emr:chr:db",
"name": "CHR EMR PractitionerRole Mapping (Ibis)",
"comment": "Mapping of FHIR DwPractitionerRole elements to CHR database fields as implemented by the Ibis pipeline. Primary tables: provider_users, accounts, chr_specialty_mapping, ibis_chr_practitioner, chr_organization, groups, group_groupables. Output cardinality: one PractitionerRole per provider per location (post-RBAC, HDT-595).",
"identity": "chr-practitioner-role"
}, {
"uri": "urn:telus:emr:ma:db",
"name": "MA EMR PractitionerRole Mapping (Ibis)",
"comment": "Mapping of FHIR DwPractitionerRole elements to MA database fields as implemented by the Ibis pipeline. Primary tables: user_history, revision_history, user_groups, providers, provider_type, raw_type, specialty_mapping, provider_address_list, organization, ma_practitioner. One PractitionerRole per user (latest revision). Excludes Agent/Role/ApiAgent/ApiAgentRole/User Group roles.",
"identity": "ma-practitioner-role"
}, {
"uri": "urn:telus:emr:pss:db",
"name": "PSS EMR PractitionerRole Mapping (PySpark)",
"comment": "Mapping of FHIR DwPractitionerRole elements to PSS database fields as implemented by the PySpark transform. Primary tables: user_info, user_role, organization, doctor_info (+ province specialty tables for ON/AB/NB). One PractitionerRole per user-role combination (distinct role names per practitioner).",
"identity": "pss-practitioner-role"
}, {
"uri": "http://hl7.org/v2",
"name": "HL7 v2 Mapping",
"identity": "v2"
}, {
"uri": "http://hl7.org/v3",
"name": "RIM Mapping",
"identity": "rim"
}, {
"uri": "http://www.omg.org/spec/ServD/1.0/",
"name": "ServD",
"identity": "servd"
}, {
"uri": "http://hl7.org/fhir/fivews",
"name": "FiveWs Pattern Mapping",
"identity": "w5"
} ],
"abstract": false,
"copyright": "Copyright © 2026 TELUS Health. All rights reserved.",
"type": "PractitionerRole",
"experimental": null,
"resourceType": "StructureDefinition",
"title": null,
"package_version": "1.1.21",
"snapshot": {
"element": [ {
"constraint": [ {
"key": "dom-2",
"human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources",
"xpath": "not(parent::f:contained and f:contained)",
"source": "http://hl7.org/fhir/StructureDefinition/DomainResource",
"severity": "error",
"expression": "contained.contained.empty()"
}, {
"key": "dom-3",
"human": "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",
"xpath": "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='#'])]))",
"source": "http://hl7.org/fhir/StructureDefinition/DomainResource",
"severity": "error",
"expression": "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()"
}, {
"key": "dom-4",
"human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated",
"xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))",
"source": "http://hl7.org/fhir/StructureDefinition/DomainResource",
"severity": "error",
"expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()"
}, {
"key": "dom-5",
"human": "If a resource is contained in another resource, it SHALL NOT have a security label",
"xpath": "not(exists(f:contained/*/f:meta/f:security))",
"source": "http://hl7.org/fhir/StructureDefinition/DomainResource",
"severity": "error",
"expression": "contained.meta.security.empty()"
}, {
"key": "dom-6",
"human": "A resource should have narrative for robust management",
"xpath": "exists(f:text/h:div)",
"source": "http://hl7.org/fhir/StructureDefinition/DomainResource",
"severity": "warning",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice",
"valueBoolean": true
}, {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation",
"valueMarkdown": "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."
} ],
"expression": "text.`div`.exists()"
} ],
"path": "PractitionerRole",
"min": 0,
"definition": "A specific set of Roles/Locations/specialties/services that a practitioner may perform at an organization for a period of time.",
"isModifier": false,
"short": "Roles/organizations the practitioner is associated with",
"mapping": [ {
"map": "Entity. Role, or Act",
"identity": "rim"
}, {
"map": "PRD (as one example)",
"identity": "v2"
}, {
"map": "Role",
"identity": "rim"
}, {
"map": "ServiceSiteProvider",
"identity": "servd"
} ],
"max": "*",
"id": "PractitionerRole",
"base": {
"max": "*",
"min": 0,
"path": "PractitionerRole"
},
"isSummary": false
}, {
"path": "PractitionerRole.id",
"min": 1,
"definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
"isModifier": false,
"short": "Logical id of this artifact",
"mapping": [ {
"map": "ProviderUser.id (to_s)",
"comment": "🟢 populate-if-known",
"identity": "chr-ruby-practitioner-role-read"
}, {
"map": "provider_users.id (UUID)",
"comment": "🟢 populate-if-known",
"identity": "chr-practitioner-role"
}, {
"map": "'0.' + user_history.id",
"comment": "🟢 populate-if-known",
"identity": "ma-practitioner-role"
}, {
"map": "{user_info.user_id}-{user_info.role_id}",
"comment": "🟢 populate-if-known",
"identity": "pss-practitioner-role"
} ],
"type": [ {
"code": "http://hl7.org/fhirpath/System.String",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "id"
} ]
} ],
"mustSupport": true,
"max": "1",
"id": "PractitionerRole.id",
"comment": "urn:telus:emr:{sourceSystem}:{sourceSystemID}:practitionerRole:{userid}\r\n\r\nThe only time that a resource does not have an id is when it is being submitted to the server using a create operation.\r\n **EMR Support:**\n- CHR: 🟢 populate-if-known\n- MA: 🟢 populate-if-known\n- PSS: 🟢 populate-if-known",
"base": {
"max": "1",
"min": 0,
"path": "Resource.id"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "PractitionerRole.meta",
"min": 0,
"definition": "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.",
"isModifier": false,
"short": "Metadata about the resource",
"type": [ {
"code": "Meta"
} ],
"max": "1",
"id": "PractitionerRole.meta",
"base": {
"max": "1",
"min": 0,
"path": "Resource.meta"
},
"isSummary": true
}, {
"path": "PractitionerRole.meta.id",
"min": 0,
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"isModifier": false,
"short": "Unique id for inter-element referencing",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "http://hl7.org/fhirpath/System.String",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "PractitionerRole.meta.id",
"base": {
"max": "1",
"min": 0,
"path": "Element.id"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "PractitionerRole.meta.extension",
"min": 0,
"definition": "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.",
"isModifier": false,
"short": "Additional content defined by implementations",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"slicing": {
"rules": "open",
"description": "Extensions are always sliced by (at least) url",
"discriminator": [ {
"path": "url",
"type": "value"
} ]
},
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content" ],
"max": "*",
"id": "PractitionerRole.meta.extension",
"comment": "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.",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "PractitionerRole.meta.versionId",
"min": 0,
"definition": "The version specific identifier, as it appears in the version portion of the URL. This value changes when the resource is created, updated, or deleted.",
"isModifier": false,
"short": "Version specific identifier",
"type": [ {
"code": "id"
} ],
"max": "1",
"id": "PractitionerRole.meta.versionId",
"comment": "The server assigns this value, and ignores what the client specifies, except in the case that the server is imposing version integrity on updates/deletes.",
"base": {
"max": "1",
"min": 0,
"path": "Meta.versionId"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "PractitionerRole.meta.lastUpdated",
"min": 0,
"definition": "When the resource last changed - e.g. when the version changed.",
"isModifier": false,
"short": "When the resource version last changed",
"mapping": [ {
"map": "ProviderUser.updated_at | created_at",
"comment": "🟢 populate-if-known",
"identity": "chr-ruby-practitioner-role-read"
}, {
"map": "greatest(provider_users.updated_at, groups.updated_at, group_groupables.updated_at)",
"comment": "🟢 populate-if-known",
"identity": "chr-practitioner-role"
}, {
"map": "greatest(revision_history.timestamp, provider_history.revision_timestamp)",
"comment": "🟢 populate-if-known",
"identity": "ma-practitioner-role"
}, {
"map": "bundle processing timestamp (user_info.time_stamp tracked for delta)",
"comment": "🟢 populate-if-known",
"identity": "pss-practitioner-role"
} ],
"type": [ {
"code": "instant"
} ],
"mustSupport": true,
"max": "1",
"id": "PractitionerRole.meta.lastUpdated",
"comment": "**EMR Support:**\n- CHR: 🟢 populate-if-known\n- MA: 🟢 populate-if-known\n- PSS: 🟢 populate-if-known",
"base": {
"max": "1",
"min": 0,
"path": "Meta.lastUpdated"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "PractitionerRole.meta.source",
"min": 0,
"definition": "A uri that identifies the source system of the resource. This provides a minimal amount of [Provenance](http://hl7.org/fhir/R4/provenance.html#) information that can be used to track or differentiate the source of information in the resource. The source may identify another FHIR server, document, message, database, etc.",
"isModifier": false,
"short": "Identifies where the resource comes from",
"mapping": [ {
"map": "urn:telus:emr:{server_region}:{account_id}",
"comment": "🟢 populate-if-known",
"identity": "chr-ruby-practitioner-role-read"
}, {
"map": "{accounts.region}:{accounts.account_id}",
"comment": "🟢 populate-if-known",
"identity": "chr-practitioner-role"
}, {
"map": "urn:telus:emr:ma:{schema}",
"comment": "🟢 populate-if-known",
"identity": "ma-practitioner-role"
}, {
"map": "urn:telus:emr:pss:{setting_value.siteNumber}",
"comment": "🟢 populate-if-known",
"identity": "pss-practitioner-role"
} ],
"type": [ {
"code": "uri"
} ],
"mustSupport": true,
"max": "1",
"id": "PractitionerRole.meta.source",
"comment": "**EMR Support:**\n- CHR: 🟢 populate-if-known\n- MA: 🟢 populate-if-known\n- PSS: 🟢 populate-if-known",
"base": {
"max": "1",
"min": 0,
"path": "Meta.source"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "PractitionerRole.meta.profile",
"min": 0,
"definition": "A list of profiles (references to [StructureDefinition](http://hl7.org/fhir/R4/structuredefinition.html#) resources) that this resource claims to conform to. The URL is a reference to [StructureDefinition.url](http://hl7.org/fhir/R4/structuredefinition-definitions.html#StructureDefinition.url).",
"isModifier": false,
"short": "Profiles this resource claims to conform to",
"type": [ {
"code": "canonical",
"targetProfile": [ "http://hl7.org/fhir/StructureDefinition/StructureDefinition|4.0.1" ]
} ],
"max": "*",
"id": "PractitionerRole.meta.profile",
"comment": "It is up to the server and/or other infrastructure of policy to determine whether/how these claims are verified and/or updated over time. The list of profile URLs is a set.",
"base": {
"max": "*",
"min": 0,
"path": "Meta.profile"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "PractitionerRole.meta.security",
"min": 0,
"definition": "Security labels applied to this resource. These tags connect specific resources to the overall security policy and infrastructure.",
"isModifier": false,
"short": "Security Labels applied to this resource",
"mapping": [ {
"map": "Normal (N) / Restricted (R)",
"comment": "🟢 populate-if-known",
"identity": "chr-ruby-practitioner-role-read"
}, {
"map": "N (Normal)",
"comment": "🟢 populate-if-known",
"identity": "chr-practitioner-role"
}, {
"map": "N (Normal)",
"comment": "🟢 populate-if-known",
"identity": "pss-practitioner-role"
} ],
"type": [ {
"code": "Coding"
} ],
"mustSupport": true,
"binding": {
"strength": "extensible",
"valueSet": "http://hl7.org/fhir/ValueSet/security-labels|4.0.1",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "SecurityLabels"
} ],
"description": "Security Labels from the Healthcare Privacy and Security Classification System."
},
"max": "*",
"id": "PractitionerRole.meta.security",
"comment": "**EMR Support:**\n- CHR: 🟢 populate-if-known\n- MA: 🔴 Not Supported\n- PSS: 🔴 Not Supported",
"base": {
"max": "*",
"min": 0,
"path": "Meta.security"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "PractitionerRole.meta.tag",
"min": 0,
"definition": "Tags applied to this resource. Tags are intended to be used to identify and relate resources to process and workflow, and applications are not required to consider the tags when interpreting the meaning of a resource.",
"isModifier": false,
"short": "Tags applied to this resource",
"type": [ {
"code": "Coding"
} ],
"binding": {
"strength": "example",
"valueSet": "http://hl7.org/fhir/ValueSet/common-tags|4.0.1",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "Tags"
} ],
"description": "Codes that represent various types of tags, commonly workflow-related; e.g. \"Needs review by Dr. Jones\"."
},
"max": "*",
"id": "PractitionerRole.meta.tag",
"comment": "The tags can be updated without changing the stated version of the resource. The list of tags is a set. Uniqueness is based the system/code, and version and display are ignored.",
"base": {
"max": "*",
"min": 0,
"path": "Meta.tag"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "PractitionerRole.implicitRules",
"min": 0,
"definition": "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.",
"isModifier": true,
"short": "A set of rules under which this content was created",
"type": [ {
"code": "uri"
} ],
"max": "1",
"id": "PractitionerRole.implicitRules",
"comment": "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.",
"base": {
"max": "1",
"min": 0,
"path": "Resource.implicitRules"
},
"isModifierReason": "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",
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "PractitionerRole.language",
"min": 0,
"definition": "The base language in which the resource is written.",
"isModifier": false,
"short": "Language of the resource content",
"type": [ {
"code": "code"
} ],
"binding": {
"strength": "preferred",
"valueSet": "http://hl7.org/fhir/ValueSet/languages|4.0.1",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
"valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages"
}, {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "Language"
} ],
"description": "A human language."
},
"max": "1",
"id": "PractitionerRole.language",
"comment": "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).",
"base": {
"max": "1",
"min": 0,
"path": "Resource.language"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "PractitionerRole.text",
"min": 0,
"definition": "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.",
"isModifier": false,
"short": "Text summary of the resource, for human interpretation",
"mapping": [ {
"map": "Act.text?",
"identity": "rim"
} ],
"type": [ {
"code": "Narrative"
} ],
"mustSupport": true,
"alias": [ "narrative", "html", "xhtml", "display" ],
"max": "1",
"id": "PractitionerRole.text",
"comment": "**EMR Support:**\n- CHR: 🟢 populate-if-known\n- MA: 🟢 populate-if-known\n- PSS: 🔴 Not Supported",
"base": {
"max": "1",
"min": 0,
"path": "DomainResource.text"
},
"isSummary": false
}, {
"path": "PractitionerRole.contained",
"min": 0,
"definition": "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.",
"isModifier": false,
"short": "Contained, inline Resources",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "Resource"
} ],
"alias": [ "inline resources", "anonymous resources", "contained resources" ],
"max": "*",
"id": "PractitionerRole.contained",
"comment": "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.",
"base": {
"max": "*",
"min": 0,
"path": "DomainResource.contained"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "PractitionerRole.extension",
"min": 0,
"definition": "May be used to represent additional information that is not part of the basic definition of the resource. 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.",
"isModifier": false,
"short": "Additional content defined by implementations",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content" ],
"max": "*",
"id": "PractitionerRole.extension",
"comment": "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.",
"base": {
"max": "*",
"min": 0,
"path": "DomainResource.extension"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "PractitionerRole.modifierExtension",
"requirements": "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).",
"min": 0,
"definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it 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 is allowed to 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.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
"isModifier": true,
"short": "Extensions that cannot be ignored",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content" ],
"max": "*",
"id": "PractitionerRole.modifierExtension",
"comment": "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.",
"base": {
"max": "*",
"min": 0,
"path": "DomainResource.modifierExtension"
},
"isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them",
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "PractitionerRole.identifier",
"requirements": "Often, specific identities are assigned for the agent.",
"min": 0,
"definition": "Business Identifiers that are specific to a role/location.",
"isModifier": false,
"short": "Business Identifiers that are specific to a role/location",
"mapping": [ {
"map": "ProviderUser.id",
"comment": "🟢 populate-if-known — system http://chr.telushealth.com/{region}/{account_id}/provider-user-id",
"identity": "chr-ruby-practitioner-role-read"
}, {
"map": "provider_users.id",
"comment": "🟢 populate-if-known — system urn:telus:emr:chr:{region}:{account_id}:practitionerrole:userid",
"identity": "chr-practitioner-role"
}, {
"map": "'0.' + user_history.id",
"comment": "🟢 populate-if-known — '0' prefix preserves NSHA production ids (one role per user, DWI-9193/9125)",
"identity": "ma-practitioner-role"
}, {
"map": "{user_id}-{role_id}",
"comment": "🟢 populate-if-known — system urn:telus:emr:pss:{schema}:PractitionerRole",
"identity": "pss-practitioner-role"
}, {
"map": "FiveWs.identifier",
"identity": "w5"
}, {
"map": "PRD-7 (or XCN.1)",
"identity": "v2"
}, {
"map": ".id",
"identity": "rim"
}, {
"map": "./Identifiers",
"identity": "servd"
} ],
"type": [ {
"code": "Identifier"
} ],
"mustSupport": true,
"max": "*",
"id": "PractitionerRole.identifier",
"comment": "**EMR Support:**\n- CHR: 🟢 populate-if-known\n- MA: 🟢 populate-if-known\n- PSS: 🟢 populate-if-known",
"base": {
"max": "*",
"min": 0,
"path": "PractitionerRole.identifier"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "PractitionerRole.active",
"requirements": "Need to be able to mark a practitioner role record as not to be used because it was created in error, or otherwise no longer in active use.",
"min": 0,
"definition": "Whether this practitioner role record is in active use.",
"isModifier": false,
"short": "Whether this practitioner role record is in active use",
"mapping": [ {
"map": "NOT ProviderUser.deactivated (falls back to deactivated_date.nil?)",
"comment": "🟢 populate-if-known",
"identity": "chr-ruby-practitioner-role-read"
}, {
"map": "NOT provider_users.deactivated",
"comment": "🟢 populate-if-known",
"identity": "chr-practitioner-role"
}, {
"map": "user_history.status == 'ok'",
"comment": "🟢 populate-if-known",
"identity": "ma-practitioner-role"
}, {
"map": "user_info.deactivated == 'N' -> true",
"comment": "🟢 populate-if-known",
"identity": "pss-practitioner-role"
}, {
"map": "FiveWs.status",
"identity": "w5"
}, {
"map": "STF-7",
"identity": "v2"
}, {
"map": ".statusCode",
"identity": "rim"
} ],
"type": [ {
"code": "boolean"
} ],
"mustSupport": true,
"meaningWhenMissing": "This resource is generally assumed to be active if no value is provided for the active element",
"max": "1",
"id": "PractitionerRole.active",
"comment": "**EMR Support:**\n- CHR: 🟢 populate-if-known\n- MA: 🟢 populate-if-known\n- PSS: 🟢 populate-if-known",
"base": {
"max": "1",
"min": 0,
"path": "PractitionerRole.active"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "PractitionerRole.period",
"requirements": "Even after the agencies is revoked, the fact that it existed must still be recorded.",
"min": 0,
"definition": "The period during which the person is authorized to act as a practitioner in these role(s) for the organization.",
"isModifier": false,
"short": "The period during which the practitioner is authorized to perform in these role(s)",
"mapping": [ {
"map": "N/A — not implemented",
"comment": "🔴 Not Supported",
"identity": "chr-ruby-practitioner-role-read"
}, {
"map": "N/A — CHR does not track role period in the Ibis pipeline",
"comment": "🔴 Not Supported",
"identity": "chr-practitioner-role"
}, {
"map": "start: user_history.creation_timestamp; end: revision_history.timestamp when status -> suspended/deleted (else omit)",
"comment": "🟢 populate-if-known",
"identity": "ma-practitioner-role"
}, {
"map": "N/A — PSS has no role start/end dates",
"comment": "🔴 Not Supported",
"identity": "pss-practitioner-role"
}, {
"map": "FiveWs.done[x]",
"identity": "w5"
}, {
"map": "PRD-8/9 / PRA-5.4",
"identity": "v2"
}, {
"map": ".performance[@typeCode <= 'PPRF'].ActDefinitionOrEvent.effectiveTime",
"identity": "rim"
}, {
"map": "(ServD maps Practitioners and Organizations via another entity, so this concept is not available)",
"identity": "servd"
} ],
"type": [ {
"code": "Period"
} ],
"max": "1",
"id": "PractitionerRole.period",
"base": {
"max": "1",
"min": 0,
"path": "PractitionerRole.period"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "PractitionerRole.practitioner",
"min": 1,
"definition": "Refers to the practitioner that is able to provide the defined services for the organization.",
"isModifier": false,
"short": "Practitioner that is able to provide the defined services for the organization",
"mapping": [ {
"map": "ProviderUser (wrapped) -> Practitioner/{id}",
"comment": "🟢 populate-if-known",
"identity": "chr-ruby-practitioner-role-read"
}, {
"map": "ibis_chr_practitioner.practitioner_id -> Practitioner/{id}",
"comment": "🟢 populate-if-known",
"identity": "chr-practitioner-role"
}, {
"map": "user_history.id -> ma_practitioner -> Practitioner/{id}",
"comment": "🟢 populate-if-known",
"identity": "ma-practitioner-role"
}, {
"map": "user_info.user_id -> Practitioner/{id} (display: surname, first middle)",
"comment": "🟢 populate-if-known",
"identity": "pss-practitioner-role"
}, {
"map": ".player",
"identity": "rim"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "https://www.telus.com/health/fhir/dwemrextract/StructureDefinition/DwPractitioner" ]
} ],
"mustSupport": true,
"max": "1",
"id": "PractitionerRole.practitioner",
"comment": "**EMR Support:**\n- CHR: 🟢 populate-if-known\n- MA: 🟢 populate-if-known\n- PSS: 🟢 populate-if-known",
"base": {
"max": "1",
"min": 0,
"path": "PractitionerRole.practitioner"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "PractitionerRole.organization",
"min": 1,
"definition": "Refers to the parent organization where the Practitioner performs the roles associated.",
"isModifier": false,
"short": "Organization where the roles are available",
"mapping": [ {
"map": "ProviderUser.account -> Organization/{id}",
"comment": "🟢 populate-if-known",
"identity": "chr-ruby-practitioner-role-read"
}, {
"map": "RBAC: groups.location_id -> chr_organization; non-RBAC: parent org (part_of IS NULL) -> Organization/{id}",
"comment": "🟢 populate-if-known",
"identity": "chr-practitioner-role"
}, {
"map": "coalesce(user_groups.facility_id via default_location_id, default_group_id) -> Organization/{id}; else parent org (organization_id=0)",
"comment": "🟢 populate-if-known",
"identity": "ma-practitioner-role"
}, {
"map": "organization where organization_id=0 (top-level) -> Organization/{id}",
"comment": "🟢 populate-if-known",
"identity": "pss-practitioner-role"
}, {
"map": ".scoper",
"identity": "rim"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "https://www.telus.com/health/fhir/dwemrextract/StructureDefinition/DwOrganization" ]
} ],
"mustSupport": true,
"max": "1",
"id": "PractitionerRole.organization",
"comment": "**EMR Support:**\n- CHR: 🟢 populate-if-known\n- MA: 🟢 populate-if-known\n- PSS: 🟢 populate-if-known",
"base": {
"max": "1",
"min": 0,
"path": "PractitionerRole.organization"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "PractitionerRole.code",
"requirements": "Need to know what authority the practitioner has - what can they do?",
"min": 0,
"definition": "Roles which this practitioner is authorized to perform for the organization. \r\nFor role within an EMR use urn:telus:emr:{EMR Type}:{EMR instance}:clinical-role",
"isModifier": false,
"short": "Roles which this practitioner may perform",
"mapping": [ {
"map": "PRD-1 / STF-18 / PRA-3 / PRT-4 / ROL-3 / ORC-12 / OBR-16 / PV1-7 / PV1-8 / PV1-9 / PV1-17",
"identity": "v2"
}, {
"map": ".code",
"identity": "rim"
}, {
"map": "(ServD maps Practitioners and Organizations via another entity, so this concept is not available)",
"identity": "servd"
} ],
"slicing": {
"rules": "open",
"discriminator": [ {
"path": "coding.userSelected",
"type": "value"
}, {
"path": "coding.system",
"type": "pattern"
} ]
},
"type": [ {
"code": "CodeableConcept"
} ],
"binding": {
"strength": "example",
"valueSet": "http://hl7.org/fhir/ValueSet/practitioner-role|4.0.1",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "PractitionerRole"
} ],
"description": "The role a person plays representing an organization."
},
"max": "*",
"id": "PractitionerRole.code",
"comment": "A person may have more than one role.",
"base": {
"max": "*",
"min": 0,
"path": "PractitionerRole.code"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "PractitionerRole.code",
"requirements": "Need to know what authority the practitioner has - what can they do?",
"min": 0,
"definition": "Roles which this practitioner is authorized to perform for the organization.",
"isModifier": false,
"short": "Roles which this practitioner may perform",
"mapping": [ {
"map": "N/A — chr-backend does not emit SNOMED role coding",
"comment": "🔴 Not Supported",
"identity": "chr-ruby-practitioner-role-read"
}, {
"map": "provider_users.occupation (apply ConceptMap/practitioner-role-chr-to-snomed)",
"comment": "🟢 populate-if-known — system snomed (Physician->Doctor->309343006)",
"identity": "chr-practitioner-role"
}, {
"map": "user_history.user_role (apply ConceptMap/practitioner-role-ma-to-snomed)",
"comment": "🟢 populate-if-known — system snomed",
"identity": "ma-practitioner-role"
}, {
"map": "user_role.name (apply ConceptMap/practitioner-role-pss-to-snomed)",
"comment": "🟢 populate-if-known — system snomed",
"identity": "pss-practitioner-role"
}, {
"map": "PRD-1 / STF-18 / PRA-3 / PRT-4 / ROL-3 / ORC-12 / OBR-16 / PV1-7 / PV1-8 / PV1-9 / PV1-17",
"identity": "v2"
}, {
"map": ".code",
"identity": "rim"
}, {
"map": "(ServD maps Practitioners and Organizations via another entity, so this concept is not available)",
"identity": "servd"
} ],
"type": [ {
"code": "CodeableConcept"
} ],
"mustSupport": true,
"sliceName": "HL7Role",
"binding": {
"strength": "preferred",
"valueSet": "http://hl7.org/fhir/ValueSet/practitioner-role"
},
"max": "*",
"id": "PractitionerRole.code:HL7Role",
"comment": "**EMR Support:**\n- CHR: 🟢 populate-if-known\n- MA: 🟢 populate-if-known\n- PSS: 🟢 populate-if-known",
"base": {
"max": "*",
"min": 0,
"path": "PractitionerRole.code"
},
"isSummary": true
}, {
"path": "PractitionerRole.code.id",
"min": 0,
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"isModifier": false,
"short": "Unique id for inter-element referencing",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "http://hl7.org/fhirpath/System.String",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "PractitionerRole.code:HL7Role.id",
"base": {
"max": "1",
"min": 0,
"path": "Element.id"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "PractitionerRole.code.extension",
"min": 0,
"definition": "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.",
"isModifier": false,
"short": "Additional content defined by implementations",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"slicing": {
"rules": "open",
"description": "Extensions are always sliced by (at least) url",
"discriminator": [ {
"path": "url",
"type": "value"
} ]
},
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content" ],
"max": "*",
"id": "PractitionerRole.code:HL7Role.extension",
"comment": "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.",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "PractitionerRole.code.coding",
"requirements": "Allows for alternative encodings within a code system, and translations to other code systems.",
"min": 0,
"definition": "A reference to a code defined by a terminology system.",
"isModifier": false,
"short": "Code defined by a terminology system",
"mapping": [ {
"map": "C*E.1-8, C*E.10-22",
"identity": "v2"
}, {
"map": "union(., ./translation)",
"identity": "rim"
}, {
"map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding",
"identity": "orim"
} ],
"type": [ {
"code": "Coding"
} ],
"max": "*",
"id": "PractitionerRole.code:HL7Role.coding",
"comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.",
"base": {
"max": "*",
"min": 0,
"path": "CodeableConcept.coding"
},
"isSummary": true
}, {
"path": "PractitionerRole.code.coding.id",
"min": 0,
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"isModifier": false,
"short": "Unique id for inter-element referencing",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "http://hl7.org/fhirpath/System.String",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "PractitionerRole.code:HL7Role.coding.id",
"base": {
"max": "1",
"min": 0,
"path": "Element.id"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "PractitionerRole.code.coding.extension",
"min": 0,
"definition": "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.",
"isModifier": false,
"short": "Additional content defined by implementations",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"slicing": {
"rules": "open",
"description": "Extensions are always sliced by (at least) url",
"discriminator": [ {
"path": "url",
"type": "value"
} ]
},
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content" ],
"max": "*",
"id": "PractitionerRole.code:HL7Role.coding.extension",
"comment": "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.",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "PractitionerRole.code.coding.system",
"requirements": "Need to be unambiguous about the source of the definition of the symbol.",
"min": 1,
"definition": "The identification of the code system that defines the meaning of the symbol in the code.",
"isModifier": false,
"short": "Identity of the terminology system",
"fixedUri": "http://snomed.info/sct",
"mapping": [ {
"map": "C*E.3",
"identity": "v2"
}, {
"map": "./codeSystem",
"identity": "rim"
}, {
"map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem",
"identity": "orim"
} ],
"type": [ {
"code": "uri"
} ],
"mustSupport": true,
"max": "1",
"id": "PractitionerRole.code:HL7Role.coding.system",
"comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.",
"base": {
"max": "1",
"min": 0,
"path": "Coding.system"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "PractitionerRole.code.coding.version",
"min": 0,
"definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
"isModifier": false,
"short": "Version of the system - if relevant",
"mapping": [ {
"map": "C*E.7",
"identity": "v2"
}, {
"map": "./codeSystemVersion",
"identity": "rim"
}, {
"map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion",
"identity": "orim"
} ],
"type": [ {
"code": "string"
} ],
"mustSupport": true,
"max": "1",
"id": "PractitionerRole.code:HL7Role.coding.version",
"comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
"base": {
"max": "1",
"min": 0,
"path": "Coding.version"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "PractitionerRole.code.coding.code",
"requirements": "Need to refer to a particular code in the system.",
"min": 0,
"definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
"isModifier": false,
"short": "Symbol in syntax defined by the system",
"mapping": [ {
"map": "C*E.1",
"identity": "v2"
}, {
"map": "./code",
"identity": "rim"
}, {
"map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code",
"identity": "orim"
} ],
"type": [ {
"code": "code"
} ],
"mustSupport": true,
"max": "1",
"id": "PractitionerRole.code:HL7Role.coding.code",
"base": {
"max": "1",
"min": 0,
"path": "Coding.code"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "PractitionerRole.code.coding.display",
"requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know the system.",
"min": 0,
"definition": "A representation of the meaning of the code in the system, following the rules of the system.",
"isModifier": false,
"short": "Representation defined by the system",
"mapping": [ {
"map": "C*E.2 - but note this is not well followed",
"identity": "v2"
}, {
"map": "CV.displayName",
"identity": "rim"
}, {
"map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName",
"identity": "orim"
} ],
"type": [ {
"code": "string"
} ],
"mustSupport": true,
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean": true
} ],
"max": "1",
"id": "PractitionerRole.code:HL7Role.coding.display",
"base": {
"max": "1",
"min": 0,
"path": "Coding.display"
},
"isSummary": true
}, {
"path": "PractitionerRole.code.coding.display.id",
"min": 0,
"definition": "unique id for the element within a resource (for internal references)",
"isModifier": false,
"short": "xml:id (or equivalent in JSON)",
"type": [ {
"code": "http://hl7.org/fhirpath/System.String",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "PractitionerRole.code:HL7Role.coding.display.id",
"base": {
"max": "1",
"min": 0,
"path": "Element.id"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "PractitionerRole.code.coding.display.extension",
"min": 0,
"definition": "An Extension",
"isModifier": false,
"short": "Extension",
"slicing": {
"rules": "open",
"ordered": false,
"discriminator": [ {
"path": "url",
"type": "value"
} ]
},
"type": [ {
"code": "Extension"
} ],
"max": "*",
"id": "PractitionerRole.code:HL7Role.coding.display.extension",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "PractitionerRole.code.coding.display.extension",
"min": 0,
"definition": "Language translation from base language of resource to another language.",
"isModifier": false,
"short": "Language Translation (Localization)",
"mapping": [ {
"map": "ST.translation",
"identity": "rim"
} ],
"type": [ {
"code": "Extension",
"profile": [ "http://hl7.org/fhir/StructureDefinition/translation" ]
} ],
"sliceName": "translation",
"max": "1",
"id": "PractitionerRole.code:HL7Role.coding.display.extension:translation",
"condition": [ "ele-1" ],
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"path": "PractitionerRole.code.coding.display.extension.id",
"min": 0,
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"isModifier": false,
"short": "Unique id for inter-element referencing",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "http://hl7.org/fhirpath/System.String",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "PractitionerRole.code:HL7Role.coding.display.extension:translation.id",
"base": {
"max": "1",
"min": 0,
"path": "Element.id"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "PractitionerRole.code.coding.display.extension.extension",
"min": 2,
"definition": "An Extension",
"isModifier": false,
"short": "Extension",
"slicing": {
"rules": "open",
"description": "Extensions are always sliced by (at least) url",
"discriminator": [ {
"path": "url",
"type": "value"
} ]
},
"type": [ {
"code": "Extension"
} ],
"max": "*",
"id": "PractitionerRole.code:HL7Role.coding.display.extension:translation.extension",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "PractitionerRole.code.coding.display.extension.extension",
"min": 1,
"definition": "Code for Language.",
"isModifier": false,
"short": "Code for Language",
"type": [ {
"code": "Extension"
} ],
"sliceName": "lang",
"max": "1",
"id": "PractitionerRole.code:HL7Role.coding.display.extension:translation.extension:lang",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"path": "PractitionerRole.code.coding.display.extension.extension.id",
"min": 0,
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"isModifier": false,
"short": "Unique id for inter-element referencing",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "http://hl7.org/fhirpath/System.String",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "PractitionerRole.code:HL7Role.coding.display.extension:translation.extension:lang.id",
"base": {
"max": "1",
"min": 0,
"path": "Element.id"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "PractitionerRole.code.coding.display.extension.extension.extension",
"min": 0,
"definition": "An Extension",
"isModifier": false,
"short": "Extension",
"slicing": {
"rules": "open",
"description": "Extensions are always sliced by (at least) url",
"discriminator": [ {
"path": "url",
"type": "value"
} ]
},
"type": [ {
"code": "Extension"
} ],
"max": "0",
"id": "PractitionerRole.code:HL7Role.coding.display.extension:translation.extension:lang.extension",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"path": "PractitionerRole.code.coding.display.extension.extension.url",
"min": 1,
"definition": "Source of the definition for the extension code - a logical name or a URL.",
"isModifier": false,
"short": "identifies the meaning of the extension",
"fixedUri": "lang",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "uri"
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "PractitionerRole.code:HL7Role.coding.display.extension:translation.extension:lang.url",
"comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
"base": {
"max": "1",
"min": 1,
"path": "Extension.url"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "PractitionerRole.code.coding.display.extension.extension.value[x]",
"min": 1,
"definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
"isModifier": false,
"short": "Value of extension",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "code"
} ],
"binding": {
"strength": "preferred",
"valueSet": "http://hl7.org/fhir/ValueSet/languages|4.0.1",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
"valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages"
}, {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "Language"
}, {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
"valueBoolean": true
} ],
"description": "A human language."
},
"max": "1",
"id": "PractitionerRole.code:HL7Role.coding.display.extension:translation.extension:lang.value[x]",
"base": {
"max": "1",
"min": 0,
"path": "Extension.value[x]"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "PractitionerRole.code.coding.display.extension.extension",
"min": 1,
"definition": "Content in other Language.",
"isModifier": false,
"short": "Content in other Language",
"type": [ {
"code": "Extension"
} ],
"sliceName": "content",
"max": "1",
"id": "PractitionerRole.code:HL7Role.coding.display.extension:translation.extension:content",
"comment": "The type (string or markdown) must match the context in which it is used.",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"path": "PractitionerRole.code.coding.display.extension.extension.id",
"min": 0,
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"isModifier": false,
"short": "Unique id for inter-element referencing",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "http://hl7.org/fhirpath/System.String",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "PractitionerRole.code:HL7Role.coding.display.extension:translation.extension:content.id",
"base": {
"max": "1",
"min": 0,
"path": "Element.id"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "PractitionerRole.code.coding.display.extension.extension.extension",
"min": 0,
"definition": "An Extension",
"isModifier": false,
"short": "Extension",
"slicing": {
"rules": "open",
"description": "Extensions are always sliced by (at least) url",
"discriminator": [ {
"path": "url",
"type": "value"
} ]
},
"type": [ {
"code": "Extension"
} ],
"max": "0",
"id": "PractitionerRole.code:HL7Role.coding.display.extension:translation.extension:content.extension",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"path": "PractitionerRole.code.coding.display.extension.extension.url",
"min": 1,
"definition": "Source of the definition for the extension code - a logical name or a URL.",
"isModifier": false,
"short": "identifies the meaning of the extension",
"fixedUri": "content",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "uri"
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "PractitionerRole.code:HL7Role.coding.display.extension:translation.extension:content.url",
"comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
"base": {
"max": "1",
"min": 1,
"path": "Extension.url"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "PractitionerRole.code.coding.display.extension.extension.value[x]",
"min": 1,
"definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
"isModifier": false,
"short": "Value of extension",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "string"
}, {
"code": "markdown"
} ],
"max": "1",
"id": "PractitionerRole.code:HL7Role.coding.display.extension:translation.extension:content.value[x]",
"base": {
"max": "1",
"min": 0,
"path": "Extension.value[x]"
},
"isSummary": false
}, {
"path": "PractitionerRole.code.coding.display.extension.url",
"min": 1,
"definition": "Source of the definition for the extension code - a logical name or a URL.",
"isModifier": false,
"short": "identifies the meaning of the extension",
"fixedUri": "http://hl7.org/fhir/StructureDefinition/translation",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "http://hl7.org/fhirpath/System.String",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "uri"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "PractitionerRole.code:HL7Role.coding.display.extension:translation.url",
"comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
"base": {
"max": "1",
"min": 1,
"path": "Extension.url"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "PractitionerRole.code.coding.display.extension.value[x]",
"min": 0,
"definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
"isModifier": false,
"short": "Value of extension",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "base64Binary"
}, {
"code": "boolean"
}, {
"code": "canonical"
}, {
"code": "code"
}, {
"code": "date"
}, {
"code": "dateTime"
}, {
"code": "decimal"
}, {
"code": "id"
}, {
"code": "instant"
}, {
"code": "integer"
}, {
"code": "markdown"
}, {
"code": "oid"
}, {
"code": "positiveInt"
}, {
"code": "string"
}, {
"code": "time"
}, {
"code": "unsignedInt"
}, {
"code": "uri"
}, {
"code": "url"
}, {
"code": "uuid"
}, {
"code": "Address"
}, {
"code": "Age"
}, {
"code": "Annotation"
}, {
"code": "Attachment"
}, {
"code": "CodeableConcept"
}, {
"code": "Coding"
}, {
"code": "ContactPoint"
}, {
"code": "Count"
}, {
"code": "Distance"
}, {
"code": "Duration"
}, {
"code": "HumanName"
}, {
"code": "Identifier"
}, {
"code": "Money"
}, {
"code": "Period"
}, {
"code": "Quantity"
}, {
"code": "Range"
}, {
"code": "Ratio"
}, {
"code": "Reference"
}, {
"code": "SampledData"
}, {
"code": "Signature"
}, {
"code": "Timing"
}, {
"code": "ContactDetail"
}, {
"code": "Contributor"
}, {
"code": "DataRequirement"
}, {
"code": "Expression"
}, {
"code": "ParameterDefinition"
}, {
"code": "RelatedArtifact"
}, {
"code": "TriggerDefinition"
}, {
"code": "UsageContext"
}, {
"code": "Dosage"
}, {
"code": "Meta"
} ],
"max": "0",
"id": "PractitionerRole.code:HL7Role.coding.display.extension:translation.value[x]",
"base": {
"max": "1",
"min": 0,
"path": "Extension.value[x]"
},
"isSummary": false
}, {
"path": "PractitionerRole.code.coding.display.value",
"min": 0,
"definition": "The actual value",
"isModifier": false,
"short": "Primitive value for string",
"type": [ {
"code": "http://hl7.org/fhirpath/System.String",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
}, {
"url": "http://hl7.org/fhir/StructureDefinition/regex",
"valueString": "[ \\r\\n\\t\\S]+"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "PractitionerRole.code:HL7Role.coding.display.value",
"maxLength": 1048576,
"base": {
"max": "1",
"min": 0,
"path": "string.value"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "PractitionerRole.code.coding.userSelected",
"requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
"min": 1,
"definition": "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).",
"isModifier": false,
"short": "If this coding was chosen directly by the user",
"mapping": [ {
"map": "Sometimes implied by being first",
"identity": "v2"
}, {
"map": "CD.codingRationale",
"identity": "rim"
}, {
"map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [ fhir:source \"true\"; fhir:target dt:CDCoding.codingRationale\\#O ]",
"identity": "orim"
} ],
"type": [ {
"code": "boolean"
} ],
"patternBoolean": false,
"mustSupport": true,
"max": "1",
"id": "PractitionerRole.code:HL7Role.coding.userSelected",
"comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
"base": {
"max": "1",
"min": 0,
"path": "Coding.userSelected"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "PractitionerRole.code.text",
"requirements": "The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.",
"min": 0,
"definition": "A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.",
"isModifier": false,
"short": "Plain text representation of the concept",
"mapping": [ {
"map": "C*E.9. But note many systems use C*E.2 for this",
"identity": "v2"
}, {
"map": "./originalText[mediaType/code=\"text/plain\"]/data",
"identity": "rim"
}, {
"map": "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText",
"identity": "orim"
} ],
"type": [ {
"code": "string"
} ],
"mustSupport": true,
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean": true
} ],
"max": "1",
"id": "PractitionerRole.code:HL7Role.text",
"comment": "Very often the text is the same as a displayName of one of the codings.",
"base": {
"max": "1",
"min": 0,
"path": "CodeableConcept.text"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "PractitionerRole.code",
"requirements": "Need to know what authority the practitioner has - what can they do?",
"min": 0,
"definition": "Roles which this practitioner is authorized to perform for the organization.",
"isModifier": false,
"short": "Roles which this practitioner may perform",
"mapping": [ {
"map": "ProviderUser.occupation (text only)",
"comment": "🟢 populate-if-known — emitted as code.text; no coding.system/code (coding CSVs exist but are not integrated)",
"identity": "chr-ruby-practitioner-role-read"
}, {
"map": "provider_users.occupation | position | inbox->Provider/Staff",
"comment": "🟢 populate-if-known — system urn:telus:emr:chr:{region}:{account_id}:clinical-role; userSelected=true",
"identity": "chr-practitioner-role"
}, {
"map": "user_history.user_role + secondary_role (clinical role only); security_admin_level uses codetable:security-role",
"comment": "🟢 populate-if-known — system urn:telus:emr:ma:{instance}:clinical-role; userSelected=true",
"identity": "ma-practitioner-role"
}, {
"map": "user_role.name (via user_info.role_id)",
"comment": "🟢 populate-if-known — system urn:telus:emr:pss:{schema}:clinical-role; userSelected=true",
"identity": "pss-practitioner-role"
}, {
"map": "PRD-1 / STF-18 / PRA-3 / PRT-4 / ROL-3 / ORC-12 / OBR-16 / PV1-7 / PV1-8 / PV1-9 / PV1-17",
"identity": "v2"
}, {
"map": ".code",
"identity": "rim"
}, {
"map": "(ServD maps Practitioners and Organizations via another entity, so this concept is not available)",
"identity": "servd"
} ],
"type": [ {
"code": "CodeableConcept"
} ],
"mustSupport": true,
"sliceName": "TelusRole",
"binding": {
"strength": "example",
"valueSet": "http://hl7.org/fhir/ValueSet/practitioner-role|4.0.1",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "PractitionerRole"
} ],
"description": "The role a person plays representing an organization."
},
"max": "*",
"id": "PractitionerRole.code:TelusRole",
"comment": "**EMR Support:**\n- CHR: 🟢 populate-if-known\n- MA: 🟢 populate-if-known\n- PSS: 🟢 populate-if-known",
"base": {
"max": "*",
"min": 0,
"path": "PractitionerRole.code"
},
"isSummary": true
}, {
"path": "PractitionerRole.code.id",
"min": 0,
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"isModifier": false,
"short": "Unique id for inter-element referencing",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "http://hl7.org/fhirpath/System.String",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "PractitionerRole.code:TelusRole.id",
"base": {
"max": "1",
"min": 0,
"path": "Element.id"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "PractitionerRole.code.extension",
"min": 0,
"definition": "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.",
"isModifier": false,
"short": "Additional content defined by implementations",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"slicing": {
"rules": "open",
"description": "Extensions are always sliced by (at least) url",
"discriminator": [ {
"path": "url",
"type": "value"
} ]
},
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content" ],
"max": "*",
"id": "PractitionerRole.code:TelusRole.extension",
"comment": "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.",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "PractitionerRole.code.coding",
"requirements": "Allows for alternative encodings within a code system, and translations to other code systems.",
"min": 0,
"definition": "A reference to a code defined by a terminology system.",
"isModifier": false,
"short": "Code defined by a terminology system",
"mapping": [ {
"map": "C*E.1-8, C*E.10-22",
"identity": "v2"
}, {
"map": "union(., ./translation)",
"identity": "rim"
}, {
"map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding",
"identity": "orim"
} ],
"type": [ {
"code": "Coding"
} ],
"max": "*",
"id": "PractitionerRole.code:TelusRole.coding",
"comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.",
"base": {
"max": "*",
"min": 0,
"path": "CodeableConcept.coding"
},
"isSummary": true
}, {
"path": "PractitionerRole.code.coding.id",
"min": 0,
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"isModifier": false,
"short": "Unique id for inter-element referencing",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "http://hl7.org/fhirpath/System.String",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "PractitionerRole.code:TelusRole.coding.id",
"base": {
"max": "1",
"min": 0,
"path": "Element.id"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "PractitionerRole.code.coding.extension",
"min": 0,
"definition": "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.",
"isModifier": false,
"short": "Additional content defined by implementations",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"slicing": {
"rules": "open",
"description": "Extensions are always sliced by (at least) url",
"discriminator": [ {
"path": "url",
"type": "value"
} ]
},
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content" ],
"max": "*",
"id": "PractitionerRole.code:TelusRole.coding.extension",
"comment": "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.",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "dw-practitionerrole-telusrole-system",
"human": "TelusRole coding.system must follow pattern urn:telus:emr:{emrType}:{instanceId}:codetable:clinical-role or urn:telus:emr:{emrType}:{region}:{instanceId}:codetable:clinical-role",
"source": "https://www.telus.com/health/fhir/dwemrextract/StructureDefinition/DwPractitionerRole",
"severity": "warning",
"expression": "matches('urn:telus:emr:([^:]+:){2,3}codetable:clinical-role')"
} ],
"path": "PractitionerRole.code.coding.system",
"requirements": "Need to be unambiguous about the source of the definition of the symbol.",
"min": 1,
"definition": "The identification of the code system that defines the meaning of the symbol in the code.",
"isModifier": false,
"short": "Identity of the terminology system",
"mapping": [ {
"map": "C*E.3",
"identity": "v2"
}, {
"map": "./codeSystem",
"identity": "rim"
}, {
"map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem",
"identity": "orim"
} ],
"type": [ {
"code": "uri"
} ],
"mustSupport": true,
"max": "1",
"id": "PractitionerRole.code:TelusRole.coding.system",
"comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.",
"base": {
"max": "1",
"min": 0,
"path": "Coding.system"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "PractitionerRole.code.coding.version",
"min": 0,
"definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
"isModifier": false,
"short": "Version of the system - if relevant",
"mapping": [ {
"map": "C*E.7",
"identity": "v2"
}, {
"map": "./codeSystemVersion",
"identity": "rim"
}, {
"map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion",
"identity": "orim"
} ],
"type": [ {
"code": "string"
} ],
"max": "1",
"id": "PractitionerRole.code:TelusRole.coding.version",
"comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
"base": {
"max": "1",
"min": 0,
"path": "Coding.version"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "PractitionerRole.code.coding.code",
"requirements": "Need to refer to a particular code in the system.",
"min": 0,
"definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
"isModifier": false,
"short": "Symbol in syntax defined by the system",
"mapping": [ {
"map": "C*E.1",
"identity": "v2"
}, {
"map": "./code",
"identity": "rim"
}, {
"map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code",
"identity": "orim"
} ],
"type": [ {
"code": "code"
} ],
"mustSupport": true,
"max": "1",
"id": "PractitionerRole.code:TelusRole.coding.code",
"base": {
"max": "1",
"min": 0,
"path": "Coding.code"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "PractitionerRole.code.coding.display",
"requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know the system.",
"min": 0,
"definition": "A representation of the meaning of the code in the system, following the rules of the system.",
"isModifier": false,
"short": "Representation defined by the system",
"mapping": [ {
"map": "C*E.2 - but note this is not well followed",
"identity": "v2"
}, {
"map": "CV.displayName",
"identity": "rim"
}, {
"map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName",
"identity": "orim"
} ],
"type": [ {
"code": "string"
} ],
"mustSupport": true,
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean": true
} ],
"max": "1",
"id": "PractitionerRole.code:TelusRole.coding.display",
"base": {
"max": "1",
"min": 0,
"path": "Coding.display"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "PractitionerRole.code.coding.userSelected",
"requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
"min": 1,
"definition": "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).",
"isModifier": false,
"short": "If this coding was chosen directly by the user",
"mapping": [ {
"map": "Sometimes implied by being first",
"identity": "v2"
}, {
"map": "CD.codingRationale",
"identity": "rim"
}, {
"map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [ fhir:source \"true\"; fhir:target dt:CDCoding.codingRationale\\#O ]",
"identity": "orim"
} ],
"type": [ {
"code": "boolean"
} ],
"patternBoolean": true,
"mustSupport": true,
"max": "1",
"id": "PractitionerRole.code:TelusRole.coding.userSelected",
"comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
"base": {
"max": "1",
"min": 0,
"path": "Coding.userSelected"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "PractitionerRole.code.text",
"requirements": "The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.",
"min": 0,
"definition": "A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.",
"isModifier": false,
"short": "Plain text representation of the concept",
"mapping": [ {
"map": "C*E.9. But note many systems use C*E.2 for this",
"identity": "v2"
}, {
"map": "./originalText[mediaType/code=\"text/plain\"]/data",
"identity": "rim"
}, {
"map": "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText",
"identity": "orim"
} ],
"type": [ {
"code": "string"
} ],
"mustSupport": true,
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean": true
} ],
"max": "1",
"id": "PractitionerRole.code:TelusRole.text",
"comment": "Very often the text is the same as a displayName of one of the codings.",
"base": {
"max": "1",
"min": 0,
"path": "CodeableConcept.text"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "PractitionerRole.code",
"requirements": "Need to know what authority the practitioner has - what can they do?",
"min": 0,
"definition": "Roles which this practitioner is authorized to perform for the organization.",
"isModifier": false,
"short": "Roles which this practitioner may perform",
"mapping": [ {
"map": "N/A — chr-backend does not emit Infoway role coding",
"comment": "🔴 Not Supported",
"identity": "chr-ruby-practitioner-role-read"
}, {
"map": "provider_users.occupation (apply ConceptMap/practitioner-role-chr-to-infoway)",
"comment": "🟢 populate-if-known — system scptype (Physician->Medical Doctor)",
"identity": "chr-practitioner-role"
}, {
"map": "user_history.user_role (apply ConceptMap/practitioner-role-ma-to-infoway)",
"comment": "🟢 populate-if-known — system scptype",
"identity": "ma-practitioner-role"
}, {
"map": "user_role.name (apply ConceptMap/practitioner-role-pss-to-infoway)",
"comment": "🟢 populate-if-known — system scptype v20230111; unmapped -> text only",
"identity": "pss-practitioner-role"
}, {
"map": "PRD-1 / STF-18 / PRA-3 / PRT-4 / ROL-3 / ORC-12 / OBR-16 / PV1-7 / PV1-8 / PV1-9 / PV1-17",
"identity": "v2"
}, {
"map": ".code",
"identity": "rim"
}, {
"map": "(ServD maps Practitioners and Organizations via another entity, so this concept is not available)",
"identity": "servd"
} ],
"type": [ {
"code": "CodeableConcept"
} ],
"mustSupport": true,
"sliceName": "InfowayRole",
"binding": {
"strength": "preferred",
"valueSet": "https://fhir.infoway-inforoute.ca/ValueSet/healthcareproviderroletype"
},
"max": "*",
"id": "PractitionerRole.code:InfowayRole",
"comment": "**EMR Support:**\n- CHR: 🟢 populate-if-known\n- MA: 🟢 populate-if-known\n- PSS: 🟢 populate-if-known",
"base": {
"max": "*",
"min": 0,
"path": "PractitionerRole.code"
},
"isSummary": true
}, {
"path": "PractitionerRole.code.id",
"min": 0,
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"isModifier": false,
"short": "Unique id for inter-element referencing",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "http://hl7.org/fhirpath/System.String",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "PractitionerRole.code:InfowayRole.id",
"base": {
"max": "1",
"min": 0,
"path": "Element.id"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "PractitionerRole.code.extension",
"min": 0,
"definition": "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.",
"isModifier": false,
"short": "Additional content defined by implementations",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"slicing": {
"rules": "open",
"description": "Extensions are always sliced by (at least) url",
"discriminator": [ {
"path": "url",
"type": "value"
} ]
},
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content" ],
"max": "*",
"id": "PractitionerRole.code:InfowayRole.extension",
"comment": "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.",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "PractitionerRole.code.coding",
"requirements": "Allows for alternative encodings within a code system, and translations to other code systems.",
"min": 0,
"definition": "A reference to a code defined by a terminology system.",
"isModifier": false,
"short": "Code defined by a terminology system",
"mapping": [ {
"map": "C*E.1-8, C*E.10-22",
"identity": "v2"
}, {
"map": "union(., ./translation)",
"identity": "rim"
}, {
"map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding",
"identity": "orim"
} ],
"type": [ {
"code": "Coding"
} ],
"max": "*",
"id": "PractitionerRole.code:InfowayRole.coding",
"comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.",
"base": {
"max": "*",
"min": 0,
"path": "CodeableConcept.coding"
},
"isSummary": true
}, {
"path": "PractitionerRole.code.coding.id",
"min": 0,
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"isModifier": false,
"short": "Unique id for inter-element referencing",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "http://hl7.org/fhirpath/System.String",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "PractitionerRole.code:InfowayRole.coding.id",
"base": {
"max": "1",
"min": 0,
"path": "Element.id"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "PractitionerRole.code.coding.extension",
"min": 0,
"definition": "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.",
"isModifier": false,
"short": "Additional content defined by implementations",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"slicing": {
"rules": "open",
"description": "Extensions are always sliced by (at least) url",
"discriminator": [ {
"path": "url",
"type": "value"
} ]
},
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content" ],
"max": "*",
"id": "PractitionerRole.code:InfowayRole.coding.extension",
"comment": "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.",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "PractitionerRole.code.coding.system",
"requirements": "Need to be unambiguous about the source of the definition of the symbol.",
"min": 1,
"definition": "The identification of the code system that defines the meaning of the symbol in the code.",
"isModifier": false,
"short": "Identity of the terminology system",
"fixedUri": "https://fhir.infoway-inforoute.ca/CodeSystem/scptype",
"mapping": [ {
"map": "C*E.3",
"identity": "v2"
}, {
"map": "./codeSystem",
"identity": "rim"
}, {
"map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem",
"identity": "orim"
} ],
"type": [ {
"code": "uri"
} ],
"mustSupport": true,
"max": "1",
"id": "PractitionerRole.code:InfowayRole.coding.system",
"comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.",
"base": {
"max": "1",
"min": 0,
"path": "Coding.system"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "PractitionerRole.code.coding.version",
"min": 0,
"definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
"isModifier": false,
"short": "Version of the system - if relevant",
"mapping": [ {
"map": "C*E.7",
"identity": "v2"
}, {
"map": "./codeSystemVersion",
"identity": "rim"
}, {
"map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion",
"identity": "orim"
} ],
"type": [ {
"code": "string"
} ],
"mustSupport": false,
"max": "1",
"id": "PractitionerRole.code:InfowayRole.coding.version",
"comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
"base": {
"max": "1",
"min": 0,
"path": "Coding.version"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "PractitionerRole.code.coding.code",
"requirements": "Need to refer to a particular code in the system.",
"min": 0,
"definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
"isModifier": false,
"short": "Symbol in syntax defined by the system",
"mapping": [ {
"map": "C*E.1",
"identity": "v2"
}, {
"map": "./code",
"identity": "rim"
}, {
"map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code",
"identity": "orim"
} ],
"type": [ {
"code": "code"
} ],
"mustSupport": true,
"max": "1",
"id": "PractitionerRole.code:InfowayRole.coding.code",
"base": {
"max": "1",
"min": 0,
"path": "Coding.code"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "PractitionerRole.code.coding.display",
"requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know the system.",
"min": 0,
"definition": "A representation of the meaning of the code in the system, following the rules of the system.",
"isModifier": false,
"short": "Representation defined by the system",
"mapping": [ {
"map": "C*E.2 - but note this is not well followed",
"identity": "v2"
}, {
"map": "CV.displayName",
"identity": "rim"
}, {
"map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName",
"identity": "orim"
} ],
"type": [ {
"code": "string"
} ],
"mustSupport": true,
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean": true
} ],
"max": "1",
"id": "PractitionerRole.code:InfowayRole.coding.display",
"base": {
"max": "1",
"min": 0,
"path": "Coding.display"
},
"isSummary": true
}, {
"path": "PractitionerRole.code.coding.display.id",
"min": 0,
"definition": "unique id for the element within a resource (for internal references)",
"isModifier": false,
"short": "xml:id (or equivalent in JSON)",
"type": [ {
"code": "http://hl7.org/fhirpath/System.String",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "PractitionerRole.code:InfowayRole.coding.display.id",
"base": {
"max": "1",
"min": 0,
"path": "Element.id"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "PractitionerRole.code.coding.display.extension",
"min": 0,
"definition": "An Extension",
"isModifier": false,
"short": "Extension",
"slicing": {
"rules": "open",
"ordered": false,
"discriminator": [ {
"path": "url",
"type": "value"
} ]
},
"type": [ {
"code": "Extension"
} ],
"max": "*",
"id": "PractitionerRole.code:InfowayRole.coding.display.extension",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "PractitionerRole.code.coding.display.extension",
"min": 0,
"definition": "Language translation from base language of resource to another language.",
"isModifier": false,
"short": "Language Translation (Localization)",
"mapping": [ {
"map": "ST.translation",
"identity": "rim"
} ],
"type": [ {
"code": "Extension",
"profile": [ "http://hl7.org/fhir/StructureDefinition/translation" ]
} ],
"sliceName": "translation",
"max": "1",
"id": "PractitionerRole.code:InfowayRole.coding.display.extension:translation",
"condition": [ "ele-1" ],
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"path": "PractitionerRole.code.coding.display.extension.id",
"min": 0,
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"isModifier": false,
"short": "Unique id for inter-element referencing",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "http://hl7.org/fhirpath/System.String",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "PractitionerRole.code:InfowayRole.coding.display.extension:translation.id",
"base": {
"max": "1",
"min": 0,
"path": "Element.id"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "PractitionerRole.code.coding.display.extension.extension",
"min": 2,
"definition": "An Extension",
"isModifier": false,
"short": "Extension",
"slicing": {
"rules": "open",
"description": "Extensions are always sliced by (at least) url",
"discriminator": [ {
"path": "url",
"type": "value"
} ]
},
"type": [ {
"code": "Extension"
} ],
"max": "*",
"id": "PractitionerRole.code:InfowayRole.coding.display.extension:translation.extension",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "PractitionerRole.code.coding.display.extension.extension",
"min": 1,
"definition": "Code for Language.",
"isModifier": false,
"short": "Code for Language",
"type": [ {
"code": "Extension"
} ],
"sliceName": "lang",
"max": "1",
"id": "PractitionerRole.code:InfowayRole.coding.display.extension:translation.extension:lang",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"path": "PractitionerRole.code.coding.display.extension.extension.id",
"min": 0,
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"isModifier": false,
"short": "Unique id for inter-element referencing",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "http://hl7.org/fhirpath/System.String",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "PractitionerRole.code:InfowayRole.coding.display.extension:translation.extension:lang.id",
"base": {
"max": "1",
"min": 0,
"path": "Element.id"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "PractitionerRole.code.coding.display.extension.extension.extension",
"min": 0,
"definition": "An Extension",
"isModifier": false,
"short": "Extension",
"slicing": {
"rules": "open",
"description": "Extensions are always sliced by (at least) url",
"discriminator": [ {
"path": "url",
"type": "value"
} ]
},
"type": [ {
"code": "Extension"
} ],
"max": "0",
"id": "PractitionerRole.code:InfowayRole.coding.display.extension:translation.extension:lang.extension",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"path": "PractitionerRole.code.coding.display.extension.extension.url",
"min": 1,
"definition": "Source of the definition for the extension code - a logical name or a URL.",
"isModifier": false,
"short": "identifies the meaning of the extension",
"fixedUri": "lang",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "uri"
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "PractitionerRole.code:InfowayRole.coding.display.extension:translation.extension:lang.url",
"comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
"base": {
"max": "1",
"min": 1,
"path": "Extension.url"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "PractitionerRole.code.coding.display.extension.extension.value[x]",
"min": 1,
"definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
"isModifier": false,
"short": "Value of extension",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "code"
} ],
"binding": {
"strength": "preferred",
"valueSet": "http://hl7.org/fhir/ValueSet/languages|4.0.1",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
"valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages"
}, {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "Language"
}, {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
"valueBoolean": true
} ],
"description": "A human language."
},
"max": "1",
"id": "PractitionerRole.code:InfowayRole.coding.display.extension:translation.extension:lang.value[x]",
"base": {
"max": "1",
"min": 0,
"path": "Extension.value[x]"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "PractitionerRole.code.coding.display.extension.extension",
"min": 1,
"definition": "Content in other Language.",
"isModifier": false,
"short": "Content in other Language",
"type": [ {
"code": "Extension"
} ],
"sliceName": "content",
"max": "1",
"id": "PractitionerRole.code:InfowayRole.coding.display.extension:translation.extension:content",
"comment": "The type (string or markdown) must match the context in which it is used.",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"path": "PractitionerRole.code.coding.display.extension.extension.id",
"min": 0,
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"isModifier": false,
"short": "Unique id for inter-element referencing",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "http://hl7.org/fhirpath/System.String",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "PractitionerRole.code:InfowayRole.coding.display.extension:translation.extension:content.id",
"base": {
"max": "1",
"min": 0,
"path": "Element.id"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "PractitionerRole.code.coding.display.extension.extension.extension",
"min": 0,
"definition": "An Extension",
"isModifier": false,
"short": "Extension",
"slicing": {
"rules": "open",
"description": "Extensions are always sliced by (at least) url",
"discriminator": [ {
"path": "url",
"type": "value"
} ]
},
"type": [ {
"code": "Extension"
} ],
"max": "0",
"id": "PractitionerRole.code:InfowayRole.coding.display.extension:translation.extension:content.extension",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"path": "PractitionerRole.code.coding.display.extension.extension.url",
"min": 1,
"definition": "Source of the definition for the extension code - a logical name or a URL.",
"isModifier": false,
"short": "identifies the meaning of the extension",
"fixedUri": "content",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "uri"
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "PractitionerRole.code:InfowayRole.coding.display.extension:translation.extension:content.url",
"comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
"base": {
"max": "1",
"min": 1,
"path": "Extension.url"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "PractitionerRole.code.coding.display.extension.extension.value[x]",
"min": 1,
"definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
"isModifier": false,
"short": "Value of extension",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "string"
}, {
"code": "markdown"
} ],
"max": "1",
"id": "PractitionerRole.code:InfowayRole.coding.display.extension:translation.extension:content.value[x]",
"base": {
"max": "1",
"min": 0,
"path": "Extension.value[x]"
},
"isSummary": false
}, {
"path": "PractitionerRole.code.coding.display.extension.url",
"min": 1,
"definition": "Source of the definition for the extension code - a logical name or a URL.",
"isModifier": false,
"short": "identifies the meaning of the extension",
"fixedUri": "http://hl7.org/fhir/StructureDefinition/translation",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "http://hl7.org/fhirpath/System.String",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "uri"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "PractitionerRole.code:InfowayRole.coding.display.extension:translation.url",
"comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
"base": {
"max": "1",
"min": 1,
"path": "Extension.url"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "PractitionerRole.code.coding.display.extension.value[x]",
"min": 0,
"definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
"isModifier": false,
"short": "Value of extension",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "base64Binary"
}, {
"code": "boolean"
}, {
"code": "canonical"
}, {
"code": "code"
}, {
"code": "date"
}, {
"code": "dateTime"
}, {
"code": "decimal"
}, {
"code": "id"
}, {
"code": "instant"
}, {
"code": "integer"
}, {
"code": "markdown"
}, {
"code": "oid"
}, {
"code": "positiveInt"
}, {
"code": "string"
}, {
"code": "time"
}, {
"code": "unsignedInt"
}, {
"code": "uri"
}, {
"code": "url"
}, {
"code": "uuid"
}, {
"code": "Address"
}, {
"code": "Age"
}, {
"code": "Annotation"
}, {
"code": "Attachment"
}, {
"code": "CodeableConcept"
}, {
"code": "Coding"
}, {
"code": "ContactPoint"
}, {
"code": "Count"
}, {
"code": "Distance"
}, {
"code": "Duration"
}, {
"code": "HumanName"
}, {
"code": "Identifier"
}, {
"code": "Money"
}, {
"code": "Period"
}, {
"code": "Quantity"
}, {
"code": "Range"
}, {
"code": "Ratio"
}, {
"code": "Reference"
}, {
"code": "SampledData"
}, {
"code": "Signature"
}, {
"code": "Timing"
}, {
"code": "ContactDetail"
}, {
"code": "Contributor"
}, {
"code": "DataRequirement"
}, {
"code": "Expression"
}, {
"code": "ParameterDefinition"
}, {
"code": "RelatedArtifact"
}, {
"code": "TriggerDefinition"
}, {
"code": "UsageContext"
}, {
"code": "Dosage"
}, {
"code": "Meta"
} ],
"max": "0",
"id": "PractitionerRole.code:InfowayRole.coding.display.extension:translation.value[x]",
"base": {
"max": "1",
"min": 0,
"path": "Extension.value[x]"
},
"isSummary": false
}, {
"path": "PractitionerRole.code.coding.display.value",
"min": 0,
"definition": "The actual value",
"isModifier": false,
"short": "Primitive value for string",
"type": [ {
"code": "http://hl7.org/fhirpath/System.String",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
}, {
"url": "http://hl7.org/fhir/StructureDefinition/regex",
"valueString": "[ \\r\\n\\t\\S]+"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "PractitionerRole.code:InfowayRole.coding.display.value",
"maxLength": 1048576,
"base": {
"max": "1",
"min": 0,
"path": "string.value"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "PractitionerRole.code.coding.userSelected",
"requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
"min": 1,
"definition": "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).",
"isModifier": false,
"short": "If this coding was chosen directly by the user",
"mapping": [ {
"map": "Sometimes implied by being first",
"identity": "v2"
}, {
"map": "CD.codingRationale",
"identity": "rim"
}, {
"map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [ fhir:source \"true\"; fhir:target dt:CDCoding.codingRationale\\#O ]",
"identity": "orim"
} ],
"type": [ {
"code": "boolean"
} ],
"patternBoolean": false,
"mustSupport": true,
"max": "1",
"id": "PractitionerRole.code:InfowayRole.coding.userSelected",
"comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
"base": {
"max": "1",
"min": 0,
"path": "Coding.userSelected"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "PractitionerRole.code.text",
"requirements": "The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.",
"min": 0,
"definition": "A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.",
"isModifier": false,
"short": "Plain text representation of the concept",
"mapping": [ {
"map": "C*E.9. But note many systems use C*E.2 for this",
"identity": "v2"
}, {
"map": "./originalText[mediaType/code=\"text/plain\"]/data",
"identity": "rim"
}, {
"map": "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText",
"identity": "orim"
} ],
"type": [ {
"code": "string"
} ],
"mustSupport": true,
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean": true
} ],
"max": "1",
"id": "PractitionerRole.code:InfowayRole.text",
"comment": "Very often the text is the same as a displayName of one of the codings.",
"base": {
"max": "1",
"min": 0,
"path": "CodeableConcept.text"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "PractitionerRole.specialty",
"min": 0,
"definition": "Specific specialty of the practitioner.",
"isModifier": false,
"short": "Specific specialty of the practitioner",
"mapping": [ {
"map": "ProviderUser.medical_specialty (text only; no SNOMED coding)",
"comment": "🟢 populate-if-known",
"identity": "chr-ruby-practitioner-role-read"
}, {
"map": "provider_users.medical_specialty -> chr_specialty_mapping (Infoway practitionerspecialty + FR)",
"comment": "🟢 populate-if-known — only when occupation is Medical Doctor; multiple specialties -> multiple codings",
"identity": "chr-practitioner-role"
}, {
"map": "providers.id -> provider_type -> raw_type.code -> specialty_mapping (active specialties only; Infoway practitionerspecialty + FR; else Telus codetable:specialty text)",
"comment": "🟢 populate-if-known — multiple specialties -> multiple codings",
"identity": "ma-practitioner-role"
}, {
"map": "ON: doctor_info.specialty_num1-4; AB: default_skill_code; NB: specialty -> province specialty_mapping (Infoway practitionerspecialty v20220429 + FR)",
"comment": "🟢 populate-if-known — up to 4 specialties; NULLs removed",
"identity": "pss-practitioner-role"
}, {
"map": "PRA-5",
"identity": "v2"
}, {
"map": ".player.HealthCareProvider[@classCode = 'PROV'].code",
"identity": "rim"
}, {
"map": "./Specialty",
"identity": "servd"
} ],
"type": [ {
"code": "CodeableConcept"
} ],
"mustSupport": true,
"binding": {
"strength": "preferred",
"valueSet": "https://fhir.infoway-inforoute.ca/ValueSet/healthcareproviderspecialtycode",
"description": "Health care provider specialty codes from the Canada Health Infoway [healthcareproviderspecialtycode](https://fhir.infoway-inforoute.ca/ValueSet/healthcareproviderspecialtycode) value set (SNOMED CT Canadian Edition)."
},
"max": "*",
"id": "PractitionerRole.specialty",
"comment": "**EMR Support:**\n- CHR: 🟢 populate-if-known\n- MA: 🟢 populate-if-known\n- PSS: 🟢 populate-if-known\n\nBound (preferred) to the Infoway `healthcareproviderspecialtycode` value set. Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination.\r\n\r\nUsage note - Physicians may have multiple specialty, in which case there will be me more than 1 specialty code provided",
"base": {
"max": "*",
"min": 0,
"path": "PractitionerRole.specialty"
},
"isSummary": true
}, {
"path": "PractitionerRole.specialty.id",
"min": 0,
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"isModifier": false,
"short": "Unique id for inter-element referencing",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "http://hl7.org/fhirpath/System.String",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "PractitionerRole.specialty.id",
"base": {
"max": "1",
"min": 0,
"path": "Element.id"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "PractitionerRole.specialty.extension",
"min": 0,
"definition": "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.",
"isModifier": false,
"short": "Additional content defined by implementations",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"slicing": {
"rules": "open",
"description": "Extensions are always sliced by (at least) url",
"discriminator": [ {
"path": "url",
"type": "value"
} ]
},
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content" ],
"max": "*",
"id": "PractitionerRole.specialty.extension",
"comment": "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.",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "PractitionerRole.specialty.coding",
"requirements": "Allows for alternative encodings within a code system, and translations to other code systems.",
"min": 0,
"definition": "A reference to a code defined by a terminology system.",
"isModifier": false,
"short": "Code defined by a terminology system",
"mapping": [ {
"map": "C*E.1-8, C*E.10-22",
"identity": "v2"
}, {
"map": "union(., ./translation)",
"identity": "rim"
}, {
"map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding",
"identity": "orim"
} ],
"type": [ {
"code": "Coding"
} ],
"max": "*",
"id": "PractitionerRole.specialty.coding",
"comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.",
"base": {
"max": "*",
"min": 0,
"path": "CodeableConcept.coding"
},
"isSummary": true
}, {
"path": "PractitionerRole.specialty.coding.id",
"min": 0,
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"isModifier": false,
"short": "Unique id for inter-element referencing",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "http://hl7.org/fhirpath/System.String",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "PractitionerRole.specialty.coding.id",
"base": {
"max": "1",
"min": 0,
"path": "Element.id"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "PractitionerRole.specialty.coding.extension",
"min": 0,
"definition": "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.",
"isModifier": false,
"short": "Additional content defined by implementations",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"slicing": {
"rules": "open",
"description": "Extensions are always sliced by (at least) url",
"discriminator": [ {
"path": "url",
"type": "value"
} ]
},
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content" ],
"max": "*",
"id": "PractitionerRole.specialty.coding.extension",
"comment": "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.",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "PractitionerRole.specialty.coding.system",
"requirements": "Need to be unambiguous about the source of the definition of the symbol.",
"min": 0,
"definition": "The identification of the code system that defines the meaning of the symbol in the code.",
"isModifier": false,
"short": "Identity of the terminology system",
"fixedUri": "http://snomed.info/sct",
"mapping": [ {
"map": "C*E.3",
"identity": "v2"
}, {
"map": "./codeSystem",
"identity": "rim"
}, {
"map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem",
"identity": "orim"
} ],
"type": [ {
"code": "uri"
} ],
"mustSupport": true,
"max": "1",
"id": "PractitionerRole.specialty.coding.system",
"comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.",
"base": {
"max": "1",
"min": 0,
"path": "Coding.system"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "PractitionerRole.specialty.coding.version",
"min": 0,
"definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
"isModifier": false,
"short": "Version of the system - if relevant",
"mapping": [ {
"map": "C*E.7",
"identity": "v2"
}, {
"map": "./codeSystemVersion",
"identity": "rim"
}, {
"map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion",
"identity": "orim"
} ],
"type": [ {
"code": "string"
} ],
"max": "1",
"id": "PractitionerRole.specialty.coding.version",
"comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
"base": {
"max": "1",
"min": 0,
"path": "Coding.version"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "PractitionerRole.specialty.coding.code",
"requirements": "Need to refer to a particular code in the system.",
"min": 0,
"definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
"isModifier": false,
"short": "Symbol in syntax defined by the system",
"mapping": [ {
"map": "C*E.1",
"identity": "v2"
}, {
"map": "./code",
"identity": "rim"
}, {
"map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code",
"identity": "orim"
} ],
"type": [ {
"code": "code"
} ],
"mustSupport": true,
"max": "1",
"id": "PractitionerRole.specialty.coding.code",
"base": {
"max": "1",
"min": 0,
"path": "Coding.code"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "PractitionerRole.specialty.coding.display",
"requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know the system.",
"min": 0,
"definition": "A representation of the meaning of the code in the system, following the rules of the system.",
"isModifier": false,
"short": "Representation defined by the system",
"mapping": [ {
"map": "C*E.2 - but note this is not well followed",
"identity": "v2"
}, {
"map": "CV.displayName",
"identity": "rim"
}, {
"map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName",
"identity": "orim"
} ],
"type": [ {
"code": "string"
} ],
"mustSupport": true,
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean": true
} ],
"max": "1",
"id": "PractitionerRole.specialty.coding.display",
"base": {
"max": "1",
"min": 0,
"path": "Coding.display"
},
"isSummary": true
}, {
"path": "PractitionerRole.specialty.coding.display.id",
"min": 0,
"definition": "unique id for the element within a resource (for internal references)",
"isModifier": false,
"short": "xml:id (or equivalent in JSON)",
"type": [ {
"code": "http://hl7.org/fhirpath/System.String",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "PractitionerRole.specialty.coding.display.id",
"base": {
"max": "1",
"min": 0,
"path": "Element.id"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "PractitionerRole.specialty.coding.display.extension",
"min": 0,
"definition": "An Extension",
"isModifier": false,
"short": "Extension",
"slicing": {
"rules": "open",
"ordered": false,
"discriminator": [ {
"path": "url",
"type": "value"
} ]
},
"type": [ {
"code": "Extension"
} ],
"max": "*",
"id": "PractitionerRole.specialty.coding.display.extension",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "PractitionerRole.specialty.coding.display.extension",
"min": 0,
"definition": "Language translation from base language of resource to another language.",
"isModifier": false,
"short": "Language Translation (Localization)",
"mapping": [ {
"map": "ST.translation",
"identity": "rim"
} ],
"type": [ {
"code": "Extension",
"profile": [ "http://hl7.org/fhir/StructureDefinition/translation" ]
} ],
"sliceName": "myExtension",
"max": "1",
"id": "PractitionerRole.specialty.coding.display.extension:myExtension",
"condition": [ "ele-1" ],
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"path": "PractitionerRole.specialty.coding.display.extension.id",
"min": 0,
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"isModifier": false,
"short": "Unique id for inter-element referencing",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "http://hl7.org/fhirpath/System.String",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "PractitionerRole.specialty.coding.display.extension:myExtension.id",
"base": {
"max": "1",
"min": 0,
"path": "Element.id"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "PractitionerRole.specialty.coding.display.extension.extension",
"min": 2,
"definition": "An Extension",
"isModifier": false,
"short": "Extension",
"slicing": {
"rules": "open",
"description": "Extensions are always sliced by (at least) url",
"discriminator": [ {
"path": "url",
"type": "value"
} ]
},
"type": [ {
"code": "Extension"
} ],
"mustSupport": true,
"max": "*",
"id": "PractitionerRole.specialty.coding.display.extension:myExtension.extension",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "PractitionerRole.specialty.coding.display.extension.extension",
"min": 1,
"definition": "Code for Language.",
"isModifier": false,
"short": "Code for Language",
"type": [ {
"code": "Extension"
} ],
"sliceName": "lang",
"max": "1",
"id": "PractitionerRole.specialty.coding.display.extension:myExtension.extension:lang",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"path": "PractitionerRole.specialty.coding.display.extension.extension.id",
"min": 0,
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"isModifier": false,
"short": "Unique id for inter-element referencing",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "http://hl7.org/fhirpath/System.String",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "PractitionerRole.specialty.coding.display.extension:myExtension.extension:lang.id",
"base": {
"max": "1",
"min": 0,
"path": "Element.id"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "PractitionerRole.specialty.coding.display.extension.extension.extension",
"min": 0,
"definition": "An Extension",
"isModifier": false,
"short": "Extension",
"slicing": {
"rules": "open",
"description": "Extensions are always sliced by (at least) url",
"discriminator": [ {
"path": "url",
"type": "value"
} ]
},
"type": [ {
"code": "Extension"
} ],
"max": "0",
"id": "PractitionerRole.specialty.coding.display.extension:myExtension.extension:lang.extension",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"path": "PractitionerRole.specialty.coding.display.extension.extension.url",
"min": 1,
"definition": "Source of the definition for the extension code - a logical name or a URL.",
"isModifier": false,
"short": "identifies the meaning of the extension",
"fixedUri": "lang",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "uri"
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "PractitionerRole.specialty.coding.display.extension:myExtension.extension:lang.url",
"comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
"base": {
"max": "1",
"min": 1,
"path": "Extension.url"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "PractitionerRole.specialty.coding.display.extension.extension.value[x]",
"min": 1,
"definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
"isModifier": false,
"short": "Value of extension",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "code"
} ],
"binding": {
"strength": "preferred",
"valueSet": "http://hl7.org/fhir/ValueSet/languages|4.0.1",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
"valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages"
}, {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "Language"
}, {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
"valueBoolean": true
} ],
"description": "A human language."
},
"max": "1",
"id": "PractitionerRole.specialty.coding.display.extension:myExtension.extension:lang.value[x]",
"base": {
"max": "1",
"min": 0,
"path": "Extension.value[x]"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "PractitionerRole.specialty.coding.display.extension.extension",
"min": 1,
"definition": "Content in other Language.",
"isModifier": false,
"short": "Content in other Language",
"type": [ {
"code": "Extension"
} ],
"sliceName": "content",
"max": "1",
"id": "PractitionerRole.specialty.coding.display.extension:myExtension.extension:content",
"comment": "The type (string or markdown) must match the context in which it is used.",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"path": "PractitionerRole.specialty.coding.display.extension.extension.id",
"min": 0,
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"isModifier": false,
"short": "Unique id for inter-element referencing",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "http://hl7.org/fhirpath/System.String",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "PractitionerRole.specialty.coding.display.extension:myExtension.extension:content.id",
"base": {
"max": "1",
"min": 0,
"path": "Element.id"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "PractitionerRole.specialty.coding.display.extension.extension.extension",
"min": 0,
"definition": "An Extension",
"isModifier": false,
"short": "Extension",
"slicing": {
"rules": "open",
"description": "Extensions are always sliced by (at least) url",
"discriminator": [ {
"path": "url",
"type": "value"
} ]
},
"type": [ {
"code": "Extension"
} ],
"max": "0",
"id": "PractitionerRole.specialty.coding.display.extension:myExtension.extension:content.extension",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"path": "PractitionerRole.specialty.coding.display.extension.extension.url",
"min": 1,
"definition": "Source of the definition for the extension code - a logical name or a URL.",
"isModifier": false,
"short": "identifies the meaning of the extension",
"fixedUri": "content",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "uri"
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "PractitionerRole.specialty.coding.display.extension:myExtension.extension:content.url",
"comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
"base": {
"max": "1",
"min": 1,
"path": "Extension.url"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "PractitionerRole.specialty.coding.display.extension.extension.value[x]",
"min": 1,
"definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
"isModifier": false,
"short": "Value of extension",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "string"
}, {
"code": "markdown"
} ],
"max": "1",
"id": "PractitionerRole.specialty.coding.display.extension:myExtension.extension:content.value[x]",
"base": {
"max": "1",
"min": 0,
"path": "Extension.value[x]"
},
"isSummary": false
}, {
"path": "PractitionerRole.specialty.coding.display.extension.url",
"min": 1,
"definition": "Source of the definition for the extension code - a logical name or a URL.",
"isModifier": false,
"short": "identifies the meaning of the extension",
"fixedUri": "http://hl7.org/fhir/StructureDefinition/translation",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "http://hl7.org/fhirpath/System.String",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "uri"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "PractitionerRole.specialty.coding.display.extension:myExtension.url",
"comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
"base": {
"max": "1",
"min": 1,
"path": "Extension.url"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "PractitionerRole.specialty.coding.display.extension.value[x]",
"min": 0,
"definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).",
"isModifier": false,
"short": "Value of extension",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "base64Binary"
}, {
"code": "boolean"
}, {
"code": "canonical"
}, {
"code": "code"
}, {
"code": "date"
}, {
"code": "dateTime"
}, {
"code": "decimal"
}, {
"code": "id"
}, {
"code": "instant"
}, {
"code": "integer"
}, {
"code": "markdown"
}, {
"code": "oid"
}, {
"code": "positiveInt"
}, {
"code": "string"
}, {
"code": "time"
}, {
"code": "unsignedInt"
}, {
"code": "uri"
}, {
"code": "url"
}, {
"code": "uuid"
}, {
"code": "Address"
}, {
"code": "Age"
}, {
"code": "Annotation"
}, {
"code": "Attachment"
}, {
"code": "CodeableConcept"
}, {
"code": "Coding"
}, {
"code": "ContactPoint"
}, {
"code": "Count"
}, {
"code": "Distance"
}, {
"code": "Duration"
}, {
"code": "HumanName"
}, {
"code": "Identifier"
}, {
"code": "Money"
}, {
"code": "Period"
}, {
"code": "Quantity"
}, {
"code": "Range"
}, {
"code": "Ratio"
}, {
"code": "Reference"
}, {
"code": "SampledData"
}, {
"code": "Signature"
}, {
"code": "Timing"
}, {
"code": "ContactDetail"
}, {
"code": "Contributor"
}, {
"code": "DataRequirement"
}, {
"code": "Expression"
}, {
"code": "ParameterDefinition"
}, {
"code": "RelatedArtifact"
}, {
"code": "TriggerDefinition"
}, {
"code": "UsageContext"
}, {
"code": "Dosage"
}, {
"code": "Meta"
} ],
"max": "0",
"id": "PractitionerRole.specialty.coding.display.extension:myExtension.value[x]",
"base": {
"max": "1",
"min": 0,
"path": "Extension.value[x]"
},
"isSummary": false
}, {
"path": "PractitionerRole.specialty.coding.display.value",
"min": 0,
"definition": "The actual value",
"isModifier": false,
"short": "Primitive value for string",
"type": [ {
"code": "http://hl7.org/fhirpath/System.String",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
}, {
"url": "http://hl7.org/fhir/StructureDefinition/regex",
"valueString": "[ \\r\\n\\t\\S]+"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "PractitionerRole.specialty.coding.display.value",
"maxLength": 1048576,
"base": {
"max": "1",
"min": 0,
"path": "string.value"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "PractitionerRole.specialty.coding.userSelected",
"requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
"min": 0,
"definition": "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).",
"isModifier": false,
"short": "If this coding was chosen directly by the user",
"mapping": [ {
"map": "Sometimes implied by being first",
"identity": "v2"
}, {
"map": "CD.codingRationale",
"identity": "rim"
}, {
"map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [ fhir:source \"true\"; fhir:target dt:CDCoding.codingRationale\\#O ]",
"identity": "orim"
} ],
"type": [ {
"code": "boolean"
} ],
"max": "1",
"id": "PractitionerRole.specialty.coding.userSelected",
"comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
"base": {
"max": "1",
"min": 0,
"path": "Coding.userSelected"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "PractitionerRole.specialty.text",
"requirements": "The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.",
"min": 0,
"definition": "A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.",
"isModifier": false,
"short": "Plain text representation of the concept",
"mapping": [ {
"map": "C*E.9. But note many systems use C*E.2 for this",
"identity": "v2"
}, {
"map": "./originalText[mediaType/code=\"text/plain\"]/data",
"identity": "rim"
}, {
"map": "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText",
"identity": "orim"
} ],
"type": [ {
"code": "string"
} ],
"mustSupport": true,
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean": true
} ],
"max": "1",
"id": "PractitionerRole.specialty.text",
"comment": "Usage Note: Speciality as identified in the EMR\r\n\r\nVery often the text is the same as a displayName of one of the codings.",
"base": {
"max": "1",
"min": 0,
"path": "CodeableConcept.text"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "PractitionerRole.location",
"min": 0,
"definition": "The location(s) at which this practitioner provides care.",
"isModifier": false,
"short": "The location(s) at which this practitioner provides care",
"mapping": [ {
"map": "ProviderUser.locations (owner: all account locations; non-owner: group locations) -> Location/{id}",
"comment": "🟢 populate-if-known",
"identity": "chr-ruby-practitioner-role-read"
}, {
"map": "groups.location_id via group_groupables -> Location/{id} (RBAC only; one ref per location)",
"comment": "🟢 populate-if-known",
"identity": "chr-practitioner-role"
}, {
"map": "N/A — MA does not emit a Location reference array",
"comment": "🔴 Not Supported",
"identity": "ma-practitioner-role"
}, {
"map": "N/A — not provided by PSS",
"comment": "🔴 Not Supported",
"identity": "pss-practitioner-role"
}, {
"map": "FiveWs.where[x]",
"identity": "w5"
}, {
"map": ".performance.ActDefinitionOrEvent.ServiceDeliveryLocation[@classCode = 'SDLOC']",
"identity": "rim"
}, {
"map": "(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)",
"identity": "servd"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Location|4.0.1" ]
} ],
"mustSupport": true,
"max": "*",
"id": "PractitionerRole.location",
"comment": "**EMR Support:**\n- CHR: 🟢 populate-if-known\n- MA: 🔴 Not Supported\n- PSS: 🔴 Not Supported",
"base": {
"max": "*",
"min": 0,
"path": "PractitionerRole.location"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "PractitionerRole.healthcareService",
"min": 0,
"definition": "The list of healthcare services that this worker provides for this role's Organization/Location(s).",
"isModifier": false,
"short": "The list of healthcare services that this worker provides for this role's Organization/Location(s)",
"mapping": [ {
"map": "EDU-2 / AFF-3",
"identity": "v2"
}, {
"map": ".player.QualifiedEntity[@classCode = 'QUAL'].code",
"identity": "rim"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/StructureDefinition/HealthcareService|4.0.1" ]
} ],
"max": "*",
"id": "PractitionerRole.healthcareService",
"base": {
"max": "*",
"min": 0,
"path": "PractitionerRole.healthcareService"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "PractitionerRole.telecom",
"requirements": "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.",
"min": 0,
"definition": "Contact details that are specific to the role/location/service.",
"isModifier": false,
"short": "Contact details that are specific to the role/location/service",
"mapping": [ {
"map": ".telecom",
"identity": "rim"
} ],
"type": [ {
"code": "ContactPoint"
} ],
"mustSupport": true,
"max": "*",
"id": "PractitionerRole.telecom",
"comment": "**EMR Support:**\n- CHR: 🟢 populate-if-known\n- MA: 🟢 populate-if-known\n- PSS: 🟢 populate-if-known",
"base": {
"max": "*",
"min": 0,
"path": "PractitionerRole.telecom"
},
"isSummary": true
}, {
"path": "PractitionerRole.telecom.id",
"min": 0,
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"isModifier": false,
"short": "Unique id for inter-element referencing",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "http://hl7.org/fhirpath/System.String",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "PractitionerRole.telecom.id",
"base": {
"max": "1",
"min": 0,
"path": "Element.id"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "PractitionerRole.telecom.extension",
"min": 0,
"definition": "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.",
"isModifier": false,
"short": "Additional content defined by implementations",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"slicing": {
"rules": "open",
"description": "Extensions are always sliced by (at least) url",
"discriminator": [ {
"path": "url",
"type": "value"
} ]
},
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content" ],
"max": "*",
"id": "PractitionerRole.telecom.extension",
"comment": "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.",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "PractitionerRole.telecom.system",
"min": 0,
"definition": "Telecommunications form for contact point - what communications system is required to make use of the contact.",
"isModifier": false,
"short": "phone | fax | email | pager | url | sms | other",
"mapping": [ {
"map": "email | phone | fax",
"comment": "🟢 populate-if-known",
"identity": "chr-ruby-practitioner-role-read"
}, {
"map": "phone | fax | email",
"comment": "🟢 populate-if-known",
"identity": "chr-practitioner-role"
}, {
"map": "phone | fax | email",
"comment": "🟢 populate-if-known",
"identity": "ma-practitioner-role"
}, {
"map": "phone | fax | email",
"comment": "🟢 populate-if-known",
"identity": "pss-practitioner-role"
}, {
"map": "XTN.3",
"identity": "v2"
}, {
"map": "./scheme",
"identity": "rim"
}, {
"map": "./ContactPointType",
"identity": "servd"
} ],
"type": [ {
"code": "code"
} ],
"mustSupport": true,
"binding": {
"strength": "required",
"valueSet": "http://hl7.org/fhir/ValueSet/contact-point-system|4.0.1",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "ContactPointSystem"
} ],
"description": "Telecommunications form for contact point."
},
"max": "1",
"id": "PractitionerRole.telecom.system",
"condition": [ "cpt-2" ],
"base": {
"max": "1",
"min": 0,
"path": "ContactPoint.system"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "PractitionerRole.telecom.value",
"requirements": "Need to support legacy numbers that are not in a tightly controlled format.",
"min": 0,
"definition": "The actual contact point details, in a form that is meaningful to the designated communication system (i.e. phone number or email address).",
"isModifier": false,
"short": "The actual contact point details",
"mapping": [ {
"map": "ProviderUser.email | phone_number | fax_number",
"comment": "🟢 populate-if-known — use=work",
"identity": "chr-ruby-practitioner-role-read"
}, {
"map": "provider_users.phone_number | fax_number | email",
"comment": "🟢 populate-if-known — use=work; NULLs excluded",
"identity": "chr-practitioner-role"
}, {
"map": "provider_address_list (address_type_ho='Office'): phone1 | phone2 | email",
"comment": "🟢 populate-if-known",
"identity": "ma-practitioner-role"
}, {
"map": "user_info.phone(+phone_ext) | fax(+fax_ext) | email",
"comment": "🟢 populate-if-known",
"identity": "pss-practitioner-role"
}, {
"map": "XTN.1 (or XTN.12)",
"identity": "v2"
}, {
"map": "./url",
"identity": "rim"
}, {
"map": "./Value",
"identity": "servd"
} ],
"type": [ {
"code": "string"
} ],
"mustSupport": true,
"max": "1",
"id": "PractitionerRole.telecom.value",
"comment": "Additional text data such as phone extension numbers, or notes about use of the contact are sometimes included in the value.",
"base": {
"max": "1",
"min": 0,
"path": "ContactPoint.value"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "PractitionerRole.telecom.use",
"requirements": "Need to track the way a person uses this contact, so a user can choose which is appropriate for their purpose.",
"min": 0,
"definition": "Identifies the purpose for the contact point.",
"isModifier": true,
"short": "home | work | temp | old | mobile - purpose of this contact point",
"mapping": [ {
"map": "work (hardcoded)",
"comment": "🟢 populate-if-known",
"identity": "chr-ruby-practitioner-role-read"
}, {
"map": "work (hardcoded)",
"comment": "🟢 populate-if-known",
"identity": "chr-practitioner-role"
}, {
"map": "work when address_type_ho='Office' (home when 'Home')",
"comment": "🟢 populate-if-known",
"identity": "ma-practitioner-role"
}, {
"map": "work (hardcoded)",
"comment": "🟢 populate-if-known",
"identity": "pss-practitioner-role"
}, {
"map": "XTN.2 - but often indicated by field",
"identity": "v2"
}, {
"map": "unique(./use)",
"identity": "rim"
}, {
"map": "./ContactPointPurpose",
"identity": "servd"
} ],
"type": [ {
"code": "code"
} ],
"mustSupport": true,
"binding": {
"strength": "required",
"valueSet": "http://hl7.org/fhir/ValueSet/contact-point-use|4.0.1",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "ContactPointUse"
} ],
"description": "Use of contact point."
},
"max": "1",
"id": "PractitionerRole.telecom.use",
"comment": "**EMR Support:**\n- CHR: 🟢 populate-if-known\n- MA: 🟢 populate-if-known\n- PSS: 🟢 populate-if-known",
"base": {
"max": "1",
"min": 0,
"path": "ContactPoint.use"
},
"isModifierReason": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary or old contact etc.for a current/permanent one",
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "PractitionerRole.telecom.rank",
"min": 0,
"definition": "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.",
"isModifier": false,
"short": "Specify preferred order of use (1 = highest)",
"mapping": [ {
"map": "n/a",
"identity": "v2"
}, {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "positiveInt"
} ],
"max": "1",
"id": "PractitionerRole.telecom.rank",
"comment": "Note that rank does not necessarily follow the order in which the contacts are represented in the instance.",
"base": {
"max": "1",
"min": 0,
"path": "ContactPoint.rank"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "PractitionerRole.telecom.period",
"min": 0,
"definition": "Time period when the contact point was/is in use.",
"isModifier": false,
"short": "Time period when the contact point was/is in use",
"mapping": [ {
"map": "N/A",
"identity": "v2"
}, {
"map": "./usablePeriod[type=\"IVL\"]",
"identity": "rim"
}, {
"map": "./StartDate and ./EndDate",
"identity": "servd"
} ],
"type": [ {
"code": "Period"
} ],
"max": "1",
"id": "PractitionerRole.telecom.period",
"base": {
"max": "1",
"min": 0,
"path": "ContactPoint.period"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "PractitionerRole.availableTime",
"min": 0,
"definition": "A collection of times the practitioner is available or performing this role at the location and/or healthcareservice.",
"isModifier": false,
"short": "Times the Service Site is available",
"mapping": [ {
"map": ".effectiveTime",
"identity": "rim"
} ],
"type": [ {
"code": "BackboneElement"
} ],
"max": "*",
"id": "PractitionerRole.availableTime",
"comment": "More detailed availability information may be provided in associated Schedule/Slot resources.",
"base": {
"max": "*",
"min": 0,
"path": "PractitionerRole.availableTime"
},
"isSummary": false
}, {
"path": "PractitionerRole.availableTime.id",
"min": 0,
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"isModifier": false,
"short": "Unique id for inter-element referencing",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "http://hl7.org/fhirpath/System.String",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "PractitionerRole.availableTime.id",
"base": {
"max": "1",
"min": 0,
"path": "Element.id"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "PractitionerRole.availableTime.extension",
"min": 0,
"definition": "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.",
"isModifier": false,
"short": "Additional content defined by implementations",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content" ],
"max": "*",
"id": "PractitionerRole.availableTime.extension",
"comment": "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.",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "PractitionerRole.availableTime.modifierExtension",
"requirements": "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).",
"min": 0,
"definition": "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.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
"isModifier": true,
"short": "Extensions that cannot be ignored even if unrecognized",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content", "modifiers" ],
"max": "*",
"id": "PractitionerRole.availableTime.modifierExtension",
"comment": "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.",
"base": {
"max": "*",
"min": 0,
"path": "BackboneElement.modifierExtension"
},
"isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "PractitionerRole.availableTime.daysOfWeek",
"min": 0,
"definition": "Indicates which days of the week are available between the start and end Times.",
"isModifier": false,
"short": "mon | tue | wed | thu | fri | sat | sun",
"mapping": [ {
"map": ".effectiveTime",
"identity": "rim"
} ],
"type": [ {
"code": "code"
} ],
"binding": {
"strength": "required",
"valueSet": "http://hl7.org/fhir/ValueSet/days-of-week|4.0.1",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "DaysOfWeek"
} ],
"description": "The days of the week."
},
"max": "*",
"id": "PractitionerRole.availableTime.daysOfWeek",
"base": {
"max": "*",
"min": 0,
"path": "PractitionerRole.availableTime.daysOfWeek"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "PractitionerRole.availableTime.allDay",
"min": 0,
"definition": "Is this always available? (hence times are irrelevant) e.g. 24 hour service.",
"isModifier": false,
"short": "Always available? e.g. 24 hour service",
"mapping": [ {
"map": ".effectiveTime",
"identity": "rim"
} ],
"type": [ {
"code": "boolean"
} ],
"max": "1",
"id": "PractitionerRole.availableTime.allDay",
"base": {
"max": "1",
"min": 0,
"path": "PractitionerRole.availableTime.allDay"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "PractitionerRole.availableTime.availableStartTime",
"min": 0,
"definition": "The opening time of day. Note: If the AllDay flag is set, then this time is ignored.",
"isModifier": false,
"short": "Opening time of day (ignored if allDay = true)",
"mapping": [ {
"map": ".effectiveTime",
"identity": "rim"
} ],
"type": [ {
"code": "time"
} ],
"max": "1",
"id": "PractitionerRole.availableTime.availableStartTime",
"comment": "The timezone is expected to be for where this HealthcareService is provided at.",
"base": {
"max": "1",
"min": 0,
"path": "PractitionerRole.availableTime.availableStartTime"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "PractitionerRole.availableTime.availableEndTime",
"min": 0,
"definition": "The closing time of day. Note: If the AllDay flag is set, then this time is ignored.",
"isModifier": false,
"short": "Closing time of day (ignored if allDay = true)",
"mapping": [ {
"map": ".effectiveTime",
"identity": "rim"
} ],
"type": [ {
"code": "time"
} ],
"max": "1",
"id": "PractitionerRole.availableTime.availableEndTime",
"comment": "The timezone is expected to be for where this HealthcareService is provided at.",
"base": {
"max": "1",
"min": 0,
"path": "PractitionerRole.availableTime.availableEndTime"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "PractitionerRole.notAvailable",
"min": 0,
"definition": "The practitioner is not available or performing this role during this period of time due to the provided reason.",
"isModifier": false,
"short": "Not available during this time due to provided reason",
"mapping": [ {
"map": ".effectiveTime",
"identity": "rim"
} ],
"type": [ {
"code": "BackboneElement"
} ],
"max": "*",
"id": "PractitionerRole.notAvailable",
"base": {
"max": "*",
"min": 0,
"path": "PractitionerRole.notAvailable"
},
"isSummary": false
}, {
"path": "PractitionerRole.notAvailable.id",
"min": 0,
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"isModifier": false,
"short": "Unique id for inter-element referencing",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "http://hl7.org/fhirpath/System.String",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "PractitionerRole.notAvailable.id",
"base": {
"max": "1",
"min": 0,
"path": "Element.id"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "PractitionerRole.notAvailable.extension",
"min": 0,
"definition": "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.",
"isModifier": false,
"short": "Additional content defined by implementations",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content" ],
"max": "*",
"id": "PractitionerRole.notAvailable.extension",
"comment": "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.",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "PractitionerRole.notAvailable.modifierExtension",
"requirements": "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).",
"min": 0,
"definition": "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.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
"isModifier": true,
"short": "Extensions that cannot be ignored even if unrecognized",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content", "modifiers" ],
"max": "*",
"id": "PractitionerRole.notAvailable.modifierExtension",
"comment": "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.",
"base": {
"max": "*",
"min": 0,
"path": "BackboneElement.modifierExtension"
},
"isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "PractitionerRole.notAvailable.description",
"min": 1,
"definition": "The reason that can be presented to the user as to why this time is not available.",
"isModifier": false,
"short": "Reason presented to the user explaining why time not available",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "string"
} ],
"max": "1",
"id": "PractitionerRole.notAvailable.description",
"base": {
"max": "1",
"min": 1,
"path": "PractitionerRole.notAvailable.description"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "PractitionerRole.notAvailable.during",
"min": 0,
"definition": "Service is not available (seasonally or for a public holiday) from this date.",
"isModifier": false,
"short": "Service not available from this date",
"mapping": [ {
"map": ".effectiveTime",
"identity": "rim"
} ],
"type": [ {
"code": "Period"
} ],
"max": "1",
"id": "PractitionerRole.notAvailable.during",
"base": {
"max": "1",
"min": 0,
"path": "PractitionerRole.notAvailable.during"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "PractitionerRole.availabilityExceptions",
"min": 0,
"definition": "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.",
"isModifier": false,
"short": "Description of availability exceptions",
"mapping": [ {
"map": ".effectiveTime",
"identity": "rim"
} ],
"type": [ {
"code": "string"
} ],
"max": "1",
"id": "PractitionerRole.availabilityExceptions",
"base": {
"max": "1",
"min": 0,
"path": "PractitionerRole.availabilityExceptions"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "PractitionerRole.endpoint",
"requirements": "Organizations have multiple systems that provide various services and may also be different for practitioners too.\r\rSo the endpoint satisfies the need to be able to define the technical connection details for how to connect to them, and for what purpose.",
"min": 0,
"definition": "Technical endpoints providing access to services operated for the practitioner with this role.",
"isModifier": false,
"short": "Technical endpoints providing access to services operated for the practitioner with this role",
"mapping": [ {
"map": "N/A",
"comment": "🔴 Not Supported",
"identity": "chr-ruby-practitioner-role-read"
}, {
"map": "N/A",
"comment": "🔴 Not Supported",
"identity": "chr-practitioner-role"
}, {
"map": "N/A",
"comment": "🔴 Not Supported",
"identity": "ma-practitioner-role"
}, {
"map": "N/A",
"comment": "🔴 Not Supported",
"identity": "pss-practitioner-role"
}, {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "Reference",
"targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Endpoint|4.0.1" ]
} ],
"max": "*",
"id": "PractitionerRole.endpoint",
"base": {
"max": "*",
"min": 0,
"path": "PractitionerRole.endpoint"
},
"isSummary": false
} ],
"extension": [ {
"url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
"valueString": "4.0.1"
} ]
},
"status": "active",
"id": "a43d5884-f2f9-4171-9736-b53f2d5e254b",
"kind": "resource",
"url": "https://www.telus.com/health/fhir/dwemrextract/StructureDefinition/DwPractitionerRole",
"version": "2.0.0",
"differential": {
"element": [ {
"id": "PractitionerRole",
"path": "PractitionerRole"
}, {
"id": "PractitionerRole.id",
"min": 1,
"path": "PractitionerRole.id",
"comment": "urn:telus:emr:{sourceSystem}:{sourceSystemID}:practitionerRole:{userid}\r\n\r\nThe only time that a resource does not have an id is when it is being submitted to the server using a create operation.\r\n **EMR Support:**\n- CHR: 🟢 populate-if-known\n- MA: 🟢 populate-if-known\n- PSS: 🟢 populate-if-known",
"mapping": [ {
"map": "ProviderUser.id (to_s)",
"comment": "🟢 populate-if-known",
"identity": "chr-ruby-practitioner-role-read"
}, {
"map": "provider_users.id (UUID)",
"comment": "🟢 populate-if-known",
"identity": "chr-practitioner-role"
}, {
"map": "'0.' + user_history.id",
"comment": "🟢 populate-if-known",
"identity": "ma-practitioner-role"
}, {
"map": "{user_info.user_id}-{user_info.role_id}",
"comment": "🟢 populate-if-known",
"identity": "pss-practitioner-role"
} ],
"mustSupport": true
}, {
"id": "PractitionerRole.meta.lastUpdated",
"path": "PractitionerRole.meta.lastUpdated",
"comment": "**EMR Support:**\n- CHR: 🟢 populate-if-known\n- MA: 🟢 populate-if-known\n- PSS: 🟢 populate-if-known",
"mapping": [ {
"map": "ProviderUser.updated_at | created_at",
"comment": "🟢 populate-if-known",
"identity": "chr-ruby-practitioner-role-read"
}, {
"map": "greatest(provider_users.updated_at, groups.updated_at, group_groupables.updated_at)",
"comment": "🟢 populate-if-known",
"identity": "chr-practitioner-role"
}, {
"map": "greatest(revision_history.timestamp, provider_history.revision_timestamp)",
"comment": "🟢 populate-if-known",
"identity": "ma-practitioner-role"
}, {
"map": "bundle processing timestamp (user_info.time_stamp tracked for delta)",
"comment": "🟢 populate-if-known",
"identity": "pss-practitioner-role"
} ],
"mustSupport": true
}, {
"id": "PractitionerRole.meta.source",
"path": "PractitionerRole.meta.source",
"comment": "**EMR Support:**\n- CHR: 🟢 populate-if-known\n- MA: 🟢 populate-if-known\n- PSS: 🟢 populate-if-known",
"mapping": [ {
"map": "urn:telus:emr:{server_region}:{account_id}",
"comment": "🟢 populate-if-known",
"identity": "chr-ruby-practitioner-role-read"
}, {
"map": "{accounts.region}:{accounts.account_id}",
"comment": "🟢 populate-if-known",
"identity": "chr-practitioner-role"
}, {
"map": "urn:telus:emr:ma:{schema}",
"comment": "🟢 populate-if-known",
"identity": "ma-practitioner-role"
}, {
"map": "urn:telus:emr:pss:{setting_value.siteNumber}",
"comment": "🟢 populate-if-known",
"identity": "pss-practitioner-role"
} ],
"mustSupport": true
}, {
"id": "PractitionerRole.meta.security",
"path": "PractitionerRole.meta.security",
"comment": "**EMR Support:**\n- CHR: 🟢 populate-if-known\n- MA: 🔴 Not Supported\n- PSS: 🔴 Not Supported",
"mapping": [ {
"map": "Normal (N) / Restricted (R)",
"comment": "🟢 populate-if-known",
"identity": "chr-ruby-practitioner-role-read"
}, {
"map": "N (Normal)",
"comment": "🟢 populate-if-known",
"identity": "chr-practitioner-role"
}, {
"map": "N (Normal)",
"comment": "🟢 populate-if-known",
"identity": "pss-practitioner-role"
} ],
"mustSupport": true
}, {
"id": "PractitionerRole.text",
"path": "PractitionerRole.text",
"comment": "**EMR Support:**\n- CHR: 🟢 populate-if-known\n- MA: 🟢 populate-if-known\n- PSS: 🔴 Not Supported",
"mustSupport": true
}, {
"id": "PractitionerRole.identifier",
"path": "PractitionerRole.identifier",
"comment": "**EMR Support:**\n- CHR: 🟢 populate-if-known\n- MA: 🟢 populate-if-known\n- PSS: 🟢 populate-if-known",
"mapping": [ {
"map": "ProviderUser.id",
"comment": "🟢 populate-if-known — system http://chr.telushealth.com/{region}/{account_id}/provider-user-id",
"identity": "chr-ruby-practitioner-role-read"
}, {
"map": "provider_users.id",
"comment": "🟢 populate-if-known — system urn:telus:emr:chr:{region}:{account_id}:practitionerrole:userid",
"identity": "chr-practitioner-role"
}, {
"map": "'0.' + user_history.id",
"comment": "🟢 populate-if-known — '0' prefix preserves NSHA production ids (one role per user, DWI-9193/9125)",
"identity": "ma-practitioner-role"
}, {
"map": "{user_id}-{role_id}",
"comment": "🟢 populate-if-known — system urn:telus:emr:pss:{schema}:PractitionerRole",
"identity": "pss-practitioner-role"
} ],
"mustSupport": true
}, {
"id": "PractitionerRole.active",
"path": "PractitionerRole.active",
"comment": "**EMR Support:**\n- CHR: 🟢 populate-if-known\n- MA: 🟢 populate-if-known\n- PSS: 🟢 populate-if-known",
"mapping": [ {
"map": "NOT ProviderUser.deactivated (falls back to deactivated_date.nil?)",
"comment": "🟢 populate-if-known",
"identity": "chr-ruby-practitioner-role-read"
}, {
"map": "NOT provider_users.deactivated",
"comment": "🟢 populate-if-known",
"identity": "chr-practitioner-role"
}, {
"map": "user_history.status == 'ok'",
"comment": "🟢 populate-if-known",
"identity": "ma-practitioner-role"
}, {
"map": "user_info.deactivated == 'N' -> true",
"comment": "🟢 populate-if-known",
"identity": "pss-practitioner-role"
} ],
"mustSupport": true
}, {
"id": "PractitionerRole.period",
"path": "PractitionerRole.period",
"mapping": [ {
"map": "N/A — not implemented",
"comment": "🔴 Not Supported",
"identity": "chr-ruby-practitioner-role-read"
}, {
"map": "N/A — CHR does not track role period in the Ibis pipeline",
"comment": "🔴 Not Supported",
"identity": "chr-practitioner-role"
}, {
"map": "start: user_history.creation_timestamp; end: revision_history.timestamp when status -> suspended/deleted (else omit)",
"comment": "🟢 populate-if-known",
"identity": "ma-practitioner-role"
}, {
"map": "N/A — PSS has no role start/end dates",
"comment": "🔴 Not Supported",
"identity": "pss-practitioner-role"
} ]
}, {
"id": "PractitionerRole.practitioner",
"min": 1,
"path": "PractitionerRole.practitioner",
"type": [ {
"code": "Reference",
"targetProfile": [ "https://www.telus.com/health/fhir/dwemrextract/StructureDefinition/DwPractitioner" ]
} ],
"comment": "**EMR Support:**\n- CHR: 🟢 populate-if-known\n- MA: 🟢 populate-if-known\n- PSS: 🟢 populate-if-known",
"mapping": [ {
"map": "ProviderUser (wrapped) -> Practitioner/{id}",
"comment": "🟢 populate-if-known",
"identity": "chr-ruby-practitioner-role-read"
}, {
"map": "ibis_chr_practitioner.practitioner_id -> Practitioner/{id}",
"comment": "🟢 populate-if-known",
"identity": "chr-practitioner-role"
}, {
"map": "user_history.id -> ma_practitioner -> Practitioner/{id}",
"comment": "🟢 populate-if-known",
"identity": "ma-practitioner-role"
}, {
"map": "user_info.user_id -> Practitioner/{id} (display: surname, first middle)",
"comment": "🟢 populate-if-known",
"identity": "pss-practitioner-role"
} ],
"definition": "Refers to the practitioner that is able to provide the defined services for the organization.",
"mustSupport": true
}, {
"id": "PractitionerRole.organization",
"min": 1,
"path": "PractitionerRole.organization",
"type": [ {
"code": "Reference",
"targetProfile": [ "https://www.telus.com/health/fhir/dwemrextract/StructureDefinition/DwOrganization" ]
} ],
"comment": "**EMR Support:**\n- CHR: 🟢 populate-if-known\n- MA: 🟢 populate-if-known\n- PSS: 🟢 populate-if-known",
"mapping": [ {
"map": "ProviderUser.account -> Organization/{id}",
"comment": "🟢 populate-if-known",
"identity": "chr-ruby-practitioner-role-read"
}, {
"map": "RBAC: groups.location_id -> chr_organization; non-RBAC: parent org (part_of IS NULL) -> Organization/{id}",
"comment": "🟢 populate-if-known",
"identity": "chr-practitioner-role"
}, {
"map": "coalesce(user_groups.facility_id via default_location_id, default_group_id) -> Organization/{id}; else parent org (organization_id=0)",
"comment": "🟢 populate-if-known",
"identity": "ma-practitioner-role"
}, {
"map": "organization where organization_id=0 (top-level) -> Organization/{id}",
"comment": "🟢 populate-if-known",
"identity": "pss-practitioner-role"
} ],
"definition": "Refers to the parent organization where the Practitioner performs the roles associated.",
"mustSupport": true
}, {
"id": "PractitionerRole.code",
"path": "PractitionerRole.code",
"slicing": {
"rules": "open",
"discriminator": [ {
"path": "coding.userSelected",
"type": "value"
}, {
"path": "coding.system",
"type": "pattern"
} ]
},
"definition": "Roles which this practitioner is authorized to perform for the organization. \r\nFor role within an EMR use urn:telus:emr:{EMR Type}:{EMR instance}:clinical-role"
}, {
"path": "PractitionerRole.code",
"min": 0,
"mapping": [ {
"map": "N/A — chr-backend does not emit SNOMED role coding",
"comment": "🔴 Not Supported",
"identity": "chr-ruby-practitioner-role-read"
}, {
"map": "provider_users.occupation (apply ConceptMap/practitioner-role-chr-to-snomed)",
"comment": "🟢 populate-if-known — system snomed (Physician->Doctor->309343006)",
"identity": "chr-practitioner-role"
}, {
"map": "user_history.user_role (apply ConceptMap/practitioner-role-ma-to-snomed)",
"comment": "🟢 populate-if-known — system snomed",
"identity": "ma-practitioner-role"
}, {
"map": "user_role.name (apply ConceptMap/practitioner-role-pss-to-snomed)",
"comment": "🟢 populate-if-known — system snomed",
"identity": "pss-practitioner-role"
} ],
"mustSupport": true,
"sliceName": "HL7Role",
"binding": {
"strength": "preferred",
"valueSet": "http://hl7.org/fhir/ValueSet/practitioner-role"
},
"max": "*",
"id": "PractitionerRole.code:HL7Role",
"comment": "**EMR Support:**\n- CHR: 🟢 populate-if-known\n- MA: 🟢 populate-if-known\n- PSS: 🟢 populate-if-known"
}, {
"id": "PractitionerRole.code:HL7Role.coding.system",
"min": 1,
"path": "PractitionerRole.code.coding.system",
"fixedUri": "http://snomed.info/sct",
"mustSupport": true
}, {
"id": "PractitionerRole.code:HL7Role.coding.version",
"path": "PractitionerRole.code.coding.version",
"mustSupport": true
}, {
"id": "PractitionerRole.code:HL7Role.coding.code",
"path": "PractitionerRole.code.coding.code",
"mustSupport": true
}, {
"id": "PractitionerRole.code:HL7Role.coding.display",
"path": "PractitionerRole.code.coding.display",
"mustSupport": true
}, {
"id": "PractitionerRole.code:HL7Role.coding.display.extension",
"path": "PractitionerRole.code.coding.display.extension",
"slicing": {
"rules": "open",
"ordered": false,
"discriminator": [ {
"path": "url",
"type": "value"
} ]
}
}, {
"id": "PractitionerRole.code:HL7Role.coding.display.extension:translation",
"max": "1",
"min": 0,
"path": "PractitionerRole.code.coding.display.extension",
"type": [ {
"code": "Extension",
"profile": [ "http://hl7.org/fhir/StructureDefinition/translation" ]
} ],
"sliceName": "translation"
}, {
"id": "PractitionerRole.code:HL7Role.coding.display.extension:translation.extension",
"min": 2,
"path": "PractitionerRole.code.coding.display.extension.extension"
}, {
"id": "PractitionerRole.code:HL7Role.coding.userSelected",
"min": 1,
"path": "PractitionerRole.code.coding.userSelected",
"mustSupport": true,
"patternBoolean": false
}, {
"id": "PractitionerRole.code:HL7Role.text",
"path": "PractitionerRole.code.text",
"mustSupport": true
}, {
"id": "PractitionerRole.code:TelusRole",
"max": "*",
"min": 0,
"path": "PractitionerRole.code",
"comment": "**EMR Support:**\n- CHR: 🟢 populate-if-known\n- MA: 🟢 populate-if-known\n- PSS: 🟢 populate-if-known",
"mapping": [ {
"map": "ProviderUser.occupation (text only)",
"comment": "🟢 populate-if-known — emitted as code.text; no coding.system/code (coding CSVs exist but are not integrated)",
"identity": "chr-ruby-practitioner-role-read"
}, {
"map": "provider_users.occupation | position | inbox->Provider/Staff",
"comment": "🟢 populate-if-known — system urn:telus:emr:chr:{region}:{account_id}:clinical-role; userSelected=true",
"identity": "chr-practitioner-role"
}, {
"map": "user_history.user_role + secondary_role (clinical role only); security_admin_level uses codetable:security-role",
"comment": "🟢 populate-if-known — system urn:telus:emr:ma:{instance}:clinical-role; userSelected=true",
"identity": "ma-practitioner-role"
}, {
"map": "user_role.name (via user_info.role_id)",
"comment": "🟢 populate-if-known — system urn:telus:emr:pss:{schema}:clinical-role; userSelected=true",
"identity": "pss-practitioner-role"
} ],
"sliceName": "TelusRole",
"mustSupport": true
}, {
"id": "PractitionerRole.code:TelusRole.coding.system",
"min": 1,
"path": "PractitionerRole.code.coding.system",
"constraint": [ {
"key": "dw-practitionerrole-telusrole-system",
"human": "TelusRole coding.system must follow pattern urn:telus:emr:{emrType}:{instanceId}:codetable:clinical-role or urn:telus:emr:{emrType}:{region}:{instanceId}:codetable:clinical-role",
"source": "https://www.telus.com/health/fhir/dwemrextract/StructureDefinition/DwPractitionerRole",
"severity": "warning",
"expression": "matches('urn:telus:emr:([^:]+:){2,3}codetable:clinical-role')"
} ],
"mustSupport": true
}, {
"id": "PractitionerRole.code:TelusRole.coding.code",
"path": "PractitionerRole.code.coding.code",
"mustSupport": true
}, {
"id": "PractitionerRole.code:TelusRole.coding.display",
"path": "PractitionerRole.code.coding.display",
"mustSupport": true
}, {
"id": "PractitionerRole.code:TelusRole.coding.userSelected",
"min": 1,
"path": "PractitionerRole.code.coding.userSelected",
"mustSupport": true,
"patternBoolean": true
}, {
"id": "PractitionerRole.code:TelusRole.text",
"path": "PractitionerRole.code.text",
"mustSupport": true
}, {
"path": "PractitionerRole.code",
"min": 0,
"mapping": [ {
"map": "N/A — chr-backend does not emit Infoway role coding",
"comment": "🔴 Not Supported",
"identity": "chr-ruby-practitioner-role-read"
}, {
"map": "provider_users.occupation (apply ConceptMap/practitioner-role-chr-to-infoway)",
"comment": "🟢 populate-if-known — system scptype (Physician->Medical Doctor)",
"identity": "chr-practitioner-role"
}, {
"map": "user_history.user_role (apply ConceptMap/practitioner-role-ma-to-infoway)",
"comment": "🟢 populate-if-known — system scptype",
"identity": "ma-practitioner-role"
}, {
"map": "user_role.name (apply ConceptMap/practitioner-role-pss-to-infoway)",
"comment": "🟢 populate-if-known — system scptype v20230111; unmapped -> text only",
"identity": "pss-practitioner-role"
} ],
"mustSupport": true,
"sliceName": "InfowayRole",
"binding": {
"strength": "preferred",
"valueSet": "https://fhir.infoway-inforoute.ca/ValueSet/healthcareproviderroletype"
},
"max": "*",
"id": "PractitionerRole.code:InfowayRole",
"comment": "**EMR Support:**\n- CHR: 🟢 populate-if-known\n- MA: 🟢 populate-if-known\n- PSS: 🟢 populate-if-known"
}, {
"id": "PractitionerRole.code:InfowayRole.coding.system",
"min": 1,
"path": "PractitionerRole.code.coding.system",
"fixedUri": "https://fhir.infoway-inforoute.ca/CodeSystem/scptype",
"mustSupport": true
}, {
"id": "PractitionerRole.code:InfowayRole.coding.version",
"path": "PractitionerRole.code.coding.version",
"mustSupport": false
}, {
"id": "PractitionerRole.code:InfowayRole.coding.code",
"path": "PractitionerRole.code.coding.code",
"mustSupport": true
}, {
"id": "PractitionerRole.code:InfowayRole.coding.display",
"path": "PractitionerRole.code.coding.display",
"mustSupport": true
}, {
"id": "PractitionerRole.code:InfowayRole.coding.display.extension",
"path": "PractitionerRole.code.coding.display.extension",
"slicing": {
"rules": "open",
"ordered": false,
"discriminator": [ {
"path": "url",
"type": "value"
} ]
}
}, {
"id": "PractitionerRole.code:InfowayRole.coding.display.extension:translation",
"max": "1",
"min": 0,
"path": "PractitionerRole.code.coding.display.extension",
"type": [ {
"code": "Extension",
"profile": [ "http://hl7.org/fhir/StructureDefinition/translation" ]
} ],
"sliceName": "translation"
}, {
"id": "PractitionerRole.code:InfowayRole.coding.display.extension:translation.extension",
"min": 2,
"path": "PractitionerRole.code.coding.display.extension.extension"
}, {
"id": "PractitionerRole.code:InfowayRole.coding.userSelected",
"min": 1,
"path": "PractitionerRole.code.coding.userSelected",
"mustSupport": true,
"patternBoolean": false
}, {
"id": "PractitionerRole.code:InfowayRole.text",
"path": "PractitionerRole.code.text",
"mustSupport": true
}, {
"id": "PractitionerRole.specialty",
"path": "PractitionerRole.specialty",
"binding": {
"strength": "preferred",
"valueSet": "https://fhir.infoway-inforoute.ca/ValueSet/healthcareproviderspecialtycode",
"description": "Health care provider specialty codes from the Canada Health Infoway [healthcareproviderspecialtycode](https://fhir.infoway-inforoute.ca/ValueSet/healthcareproviderspecialtycode) value set (SNOMED CT Canadian Edition)."
},
"comment": "**EMR Support:**\n- CHR: 🟢 populate-if-known\n- MA: 🟢 populate-if-known\n- PSS: 🟢 populate-if-known\n\nBound (preferred) to the Infoway `healthcareproviderspecialtycode` value set. Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination.\r\n\r\nUsage note - Physicians may have multiple specialty, in which case there will be me more than 1 specialty code provided",
"mapping": [ {
"map": "ProviderUser.medical_specialty (text only; no SNOMED coding)",
"comment": "🟢 populate-if-known",
"identity": "chr-ruby-practitioner-role-read"
}, {
"map": "provider_users.medical_specialty -> chr_specialty_mapping (Infoway practitionerspecialty + FR)",
"comment": "🟢 populate-if-known — only when occupation is Medical Doctor; multiple specialties -> multiple codings",
"identity": "chr-practitioner-role"
}, {
"map": "providers.id -> provider_type -> raw_type.code -> specialty_mapping (active specialties only; Infoway practitionerspecialty + FR; else Telus codetable:specialty text)",
"comment": "🟢 populate-if-known — multiple specialties -> multiple codings",
"identity": "ma-practitioner-role"
}, {
"map": "ON: doctor_info.specialty_num1-4; AB: default_skill_code; NB: specialty -> province specialty_mapping (Infoway practitionerspecialty v20220429 + FR)",
"comment": "🟢 populate-if-known — up to 4 specialties; NULLs removed",
"identity": "pss-practitioner-role"
} ],
"mustSupport": true
}, {
"id": "PractitionerRole.specialty.coding.system",
"path": "PractitionerRole.specialty.coding.system",
"fixedUri": "http://snomed.info/sct",
"mustSupport": true
}, {
"id": "PractitionerRole.specialty.coding.code",
"path": "PractitionerRole.specialty.coding.code",
"mustSupport": true
}, {
"id": "PractitionerRole.specialty.coding.display",
"path": "PractitionerRole.specialty.coding.display",
"mustSupport": true
}, {
"id": "PractitionerRole.specialty.coding.display.extension",
"path": "PractitionerRole.specialty.coding.display.extension",
"slicing": {
"rules": "open",
"ordered": false,
"discriminator": [ {
"path": "url",
"type": "value"
} ]
}
}, {
"id": "PractitionerRole.specialty.coding.display.extension:myExtension",
"max": "1",
"min": 0,
"path": "PractitionerRole.specialty.coding.display.extension",
"type": [ {
"code": "Extension",
"profile": [ "http://hl7.org/fhir/StructureDefinition/translation" ]
} ],
"sliceName": "myExtension"
}, {
"id": "PractitionerRole.specialty.coding.display.extension:myExtension.extension",
"min": 2,
"path": "PractitionerRole.specialty.coding.display.extension.extension",
"mustSupport": true
}, {
"id": "PractitionerRole.specialty.text",
"path": "PractitionerRole.specialty.text",
"comment": "Usage Note: Speciality as identified in the EMR\r\n\r\nVery often the text is the same as a displayName of one of the codings.",
"mustSupport": true
}, {
"id": "PractitionerRole.location",
"path": "PractitionerRole.location",
"comment": "**EMR Support:**\n- CHR: 🟢 populate-if-known\n- MA: 🔴 Not Supported\n- PSS: 🔴 Not Supported",
"mapping": [ {
"map": "ProviderUser.locations (owner: all account locations; non-owner: group locations) -> Location/{id}",
"comment": "🟢 populate-if-known",
"identity": "chr-ruby-practitioner-role-read"
}, {
"map": "groups.location_id via group_groupables -> Location/{id} (RBAC only; one ref per location)",
"comment": "🟢 populate-if-known",
"identity": "chr-practitioner-role"
}, {
"map": "N/A — MA does not emit a Location reference array",
"comment": "🔴 Not Supported",
"identity": "ma-practitioner-role"
}, {
"map": "N/A — not provided by PSS",
"comment": "🔴 Not Supported",
"identity": "pss-practitioner-role"
} ],
"mustSupport": true
}, {
"id": "PractitionerRole.telecom",
"path": "PractitionerRole.telecom",
"comment": "**EMR Support:**\n- CHR: 🟢 populate-if-known\n- MA: 🟢 populate-if-known\n- PSS: 🟢 populate-if-known",
"mustSupport": true
}, {
"id": "PractitionerRole.telecom.system",
"path": "PractitionerRole.telecom.system",
"mapping": [ {
"map": "email | phone | fax",
"comment": "🟢 populate-if-known",
"identity": "chr-ruby-practitioner-role-read"
}, {
"map": "phone | fax | email",
"comment": "🟢 populate-if-known",
"identity": "chr-practitioner-role"
}, {
"map": "phone | fax | email",
"comment": "🟢 populate-if-known",
"identity": "ma-practitioner-role"
}, {
"map": "phone | fax | email",
"comment": "🟢 populate-if-known",
"identity": "pss-practitioner-role"
} ],
"mustSupport": true
}, {
"id": "PractitionerRole.telecom.value",
"path": "PractitionerRole.telecom.value",
"mapping": [ {
"map": "ProviderUser.email | phone_number | fax_number",
"comment": "🟢 populate-if-known — use=work",
"identity": "chr-ruby-practitioner-role-read"
}, {
"map": "provider_users.phone_number | fax_number | email",
"comment": "🟢 populate-if-known — use=work; NULLs excluded",
"identity": "chr-practitioner-role"
}, {
"map": "provider_address_list (address_type_ho='Office'): phone1 | phone2 | email",
"comment": "🟢 populate-if-known",
"identity": "ma-practitioner-role"
}, {
"map": "user_info.phone(+phone_ext) | fax(+fax_ext) | email",
"comment": "🟢 populate-if-known",
"identity": "pss-practitioner-role"
} ],
"mustSupport": true
}, {
"id": "PractitionerRole.telecom.use",
"path": "PractitionerRole.telecom.use",
"comment": "**EMR Support:**\n- CHR: 🟢 populate-if-known\n- MA: 🟢 populate-if-known\n- PSS: 🟢 populate-if-known",
"mapping": [ {
"map": "work (hardcoded)",
"comment": "🟢 populate-if-known",
"identity": "chr-ruby-practitioner-role-read"
}, {
"map": "work (hardcoded)",
"comment": "🟢 populate-if-known",
"identity": "chr-practitioner-role"
}, {
"map": "work when address_type_ho='Office' (home when 'Home')",
"comment": "🟢 populate-if-known",
"identity": "ma-practitioner-role"
}, {
"map": "work (hardcoded)",
"comment": "🟢 populate-if-known",
"identity": "pss-practitioner-role"
} ],
"mustSupport": true
}, {
"id": "PractitionerRole.endpoint",
"path": "PractitionerRole.endpoint",
"mapping": [ {
"map": "N/A",
"comment": "🔴 Not Supported",
"identity": "chr-ruby-practitioner-role-read"
}, {
"map": "N/A",
"comment": "🔴 Not Supported",
"identity": "chr-practitioner-role"
}, {
"map": "N/A",
"comment": "🔴 Not Supported",
"identity": "ma-practitioner-role"
}, {
"map": "N/A",
"comment": "🔴 Not Supported",
"identity": "pss-practitioner-role"
} ],
"requirements": "Organizations have multiple systems that provide various services and may also be different for practitioners too.\r\rSo the endpoint satisfies the need to be able to define the technical connection details for how to connect to them, and for what purpose."
} ]
},
"contact": [ {
"name": "TELUS Health",
"telecom": [ {
"value": "https://www.telus.com/health",
"system": "url"
} ]
}, {
"name": "TELUS Health",
"telecom": [ {
"value": "https://www.telus.com/health",
"system": "url"
} ]
} ],
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/PractitionerRole"
}