PackagesCanonicalsLogsProblems
    Packages
    basisprofil.de@0.2.30
    http://fhir.de/StructureDefinition/practitionerrole-de-asv-teamnummer/0.2
{
  "description": "ASV-Team-Mitgliedschaft eines Arztes",
  "_filename": "Profile-practitionerrole-de-asv-team-0.2.json",
  "package_name": "basisprofil.de",
  "date": "2018-06-06",
  "derivation": "constraint",
  "publisher": "HL7 Deutschland e.V. (Technisches Komitee FHIR)",
  "fhirVersion": "3.0.1",
  "purpose": "ASV-Teams werden im Rahmen der ambulanten spezialärztlichen Versorgung (ASV) gebildet.\r\nZu Details vgl. http://www.kbv.de/html/asv.php und https://www.asv-servicestelle.de/",
  "name": "practitionerrole-de-asv-teamnummer-0.2",
  "abstract": false,
  "copyright": "HL7 Deutschland e.V.",
  "type": "PractitionerRole",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": "ASV-Team-Mitgliedschaft eines Arztes (Version 0.2)",
  "package_version": "0.2.30",
  "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)",
        "severity": "error",
        "expression": "contained.contained.empty()"
      }, {
        "key": "dom-1",
        "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative",
        "xpath": "not(parent::f:contained and f:text)",
        "severity": "error",
        "expression": "contained.text.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))",
        "severity": "error",
        "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()"
      }, {
        "key": "dom-3",
        "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource",
        "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))",
        "severity": "error",
        "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()"
      } ],
      "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.",
      "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"
      }, {
        "map": "administrative.individual",
        "identity": "w5"
      } ],
      "max": "*",
      "id": "PractitionerRole",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Resource"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() | (children().count() > id.count())"
      } ],
      "path": "PractitionerRole.id",
      "min": 0,
      "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
      "short": "Logical id of this artifact",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "id"
      } ],
      "max": "1",
      "id": "PractitionerRole.id",
      "condition": [ "ele-1" ],
      "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.",
      "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",
        "severity": "error",
        "expression": "hasValue() | (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 may not always be associated with version changes to the resource.",
      "short": "Metadata about the resource",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Meta"
      } ],
      "max": "1",
      "id": "PractitionerRole.meta",
      "condition": [ "ele-1" ],
      "base": {
        "max": "1",
        "min": 0,
        "path": "Resource.meta"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() | (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.",
      "isModifier": true,
      "short": "A set of rules under which this content was created",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "max": "1",
      "id": "PractitionerRole.implicitRules",
      "condition": [ "ele-1" ],
      "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. \n\nThis element is labelled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Resource.implicitRules"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() | (children().count() > id.count())"
      } ],
      "path": "PractitionerRole.language",
      "min": 0,
      "definition": "The base language in which the resource is written.",
      "short": "Language of the resource content",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "extensible",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
          "valueReference": {
            "reference": "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.",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/languages"
        }
      },
      "max": "1",
      "id": "PractitionerRole.language",
      "condition": [ "ele-1" ],
      "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"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() | (children().count() > id.count())"
      } ],
      "path": "PractitionerRole.text",
      "min": 0,
      "definition": "A human-readable narrative that contains a summary of the resource, and may 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.",
      "short": "Text summary of the resource, for human interpretation",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "N/A",
        "identity": "rim"
      }, {
        "map": "Act.text?",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Narrative"
      } ],
      "alias": [ "narrative", "html", "xhtml", "display" ],
      "max": "1",
      "id": "PractitionerRole.text",
      "condition": [ "ele-1", "dom-1" ],
      "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied).  This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded in formation is added later.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "DomainResource.text"
      }
    }, {
      "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.",
      "short": "Contained, inline Resources",
      "mapping": [ {
        "map": "Entity. Role, or Act",
        "identity": "rim"
      }, {
        "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "DomainResource.contained"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() | (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')])",
        "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. In order 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.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "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.extension",
      "condition": [ "ele-1" ],
      "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"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() | (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')])",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "PractitionerRole.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. Usually modifier elements provide negation or qualification. In order 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.",
      "isModifier": true,
      "short": "Extensions that cannot be ignored",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "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.modifierExtension",
      "condition": [ "ele-1" ],
      "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"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() | (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.",
      "short": "Business Identifiers that are specific to a role/location",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "CX / EI (occasionally, more often EI maps to a resource id or a URL)",
        "identity": "v2"
      }, {
        "map": "II - see see identifier pattern at http://wiki.hl7.org/index.php?title=Common_Design_Patterns#Identifier_Pattern for relevant discussion. The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs.  Also maps to Role[classCode=IDENT]",
        "identity": "rim"
      }, {
        "map": "Identifier",
        "identity": "servd"
      }, {
        "map": "PRD-7 (or XCN.1)",
        "identity": "v2"
      }, {
        "map": ".id",
        "identity": "rim"
      }, {
        "map": "./Identifiers",
        "identity": "servd"
      }, {
        "map": "id",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "Identifier"
      } ],
      "max": "*",
      "id": "PractitionerRole.identifier",
      "condition": [ "ele-1" ],
      "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",
        "severity": "error",
        "expression": "hasValue() | (children().count() > id.count())"
      } ],
      "path": "PractitionerRole.active",
      "requirements": "Need to be able to mark a practitioner record as not to be used because it was created in error.",
      "min": 0,
      "definition": "Whether this practitioner's record is in active use.",
      "short": "Whether this practitioner's record is in active use",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "STF-7",
        "identity": "v2"
      }, {
        "map": ".statusCode",
        "identity": "rim"
      }, {
        "map": "status",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "boolean"
      } ],
      "defaultValueBoolean": true,
      "max": "1",
      "id": "PractitionerRole.active",
      "condition": [ "ele-1" ],
      "comment": "Default is true. \r\rIf the practitioner is not in use by one organization, then it should mark the period on the PractitonerRole with an end date (even if they are active) as they may be active in another role.",
      "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",
        "severity": "error",
        "expression": "hasValue() | (children().count() > id.count())"
      }, {
        "key": "per-1",
        "human": "If present, start SHALL have a lower value than end",
        "xpath": "not(exists(f:start)) or not(exists(f:end)) or (f:start/@value <= f:end/@value)",
        "severity": "error",
        "expression": "start.empty() or end.empty() or (start <= end)"
      } ],
      "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.",
      "short": "The period during which the practitioner is authorized to perform in these role(s)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "DR",
        "identity": "v2"
      }, {
        "map": "IVL[lowClosed=\"true\" and highClosed=\"true\"] or URG[lowClosed=\"true\" and highClosed=\"true\"]",
        "identity": "rim"
      }, {
        "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"
      }, {
        "map": "when.done",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "Period"
      } ],
      "max": "1",
      "id": "PractitionerRole.period",
      "condition": [ "ele-1" ],
      "comment": "This is not a duration - that's a measure of time (a separate type), but a duration that occurs at a fixed value of time. A Period specifies a range of time; the context of use will specify whether the entire range applies (e.g. \"the patient was an inpatient of the hospital for this time range\") or one value from the range applies (e.g. \"give to the patient between these two times\"). If duration is required, specify the type as Interval|Duration.",
      "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",
        "severity": "error",
        "expression": "hasValue() | (children().count() > id.count())"
      }, {
        "key": "ref-1",
        "human": "SHALL have a contained resource if a local reference is provided",
        "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
        "severity": "error",
        "expression": "reference.startsWith('#').not() or (reference.substring(1).trace('url') in %resource.contained.id.trace('ids'))"
      } ],
      "path": "PractitionerRole.practitioner",
      "min": 1,
      "definition": "Der Arzt, der Mitglied im ASV-Team ist",
      "short": "Arzt",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)",
        "identity": "rim"
      }, {
        "map": ".player",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner"
      }, {
        "code": "Reference",
        "targetProfile": "http://fhir.de/StructureDefinition/practitioner-de-basis/0.2"
      } ],
      "max": "1",
      "id": "PractitionerRole.practitioner",
      "condition": [ "ele-1" ],
      "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
      "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",
        "severity": "error",
        "expression": "hasValue() | (children().count() > id.count())"
      }, {
        "key": "ref-1",
        "human": "SHALL have a contained resource if a local reference is provided",
        "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
        "severity": "error",
        "expression": "reference.startsWith('#').not() or (reference.substring(1).trace('url') in %resource.contained.id.trace('ids'))"
      } ],
      "path": "PractitionerRole.organization",
      "min": 1,
      "definition": "ASV-Teamnummer, wie von der ASV-Servicestelle vergeben",
      "short": "ASV-Team",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)",
        "identity": "rim"
      }, {
        "map": ".scoper",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization"
      }, {
        "code": "Reference",
        "targetProfile": "http://fhir.de/StructureDefinition/organization-de-basis/0.2"
      } ],
      "max": "1",
      "id": "PractitionerRole.organization",
      "condition": [ "ele-1" ],
      "comment": "In der Regel werden zum ASV-Team keine weiteren Daten außer der ASV-Teamnummer erfasst.\r\nDaher ist diese als organization.identifier definiert.\r\nUnabhängig davon kann bei Bedarf das ASV-Team zusätzlich auch in einer Organization-Ressource erfasst und hier referenziert werden.",
      "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",
        "severity": "error",
        "expression": "hasValue() | (children().count() > id.count())"
      } ],
      "path": "PractitionerRole.organization.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.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "PractitionerRole.organization.id",
      "condition": [ "ele-1" ],
      "comment": "Note that FHIR strings may not exceed 1MB in size",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() | (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')])",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "PractitionerRole.organization.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order 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.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "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.organization.extension",
      "condition": [ "ele-1" ],
      "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"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() | (children().count() > id.count())"
      } ],
      "path": "PractitionerRole.organization.reference",
      "min": 0,
      "definition": "A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.",
      "short": "Literal reference, Relative, internal or absolute URL",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "PractitionerRole.organization.reference",
      "condition": [ "ele-1", "ref-1" ],
      "comment": "Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries.   Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure \"/[type]/[id]\" then it should be assumed that the reference is to a FHIR RESTful server.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Reference.reference"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() | (children().count() > id.count())"
      } ],
      "path": "PractitionerRole.organization.identifier",
      "min": 1,
      "definition": "An identifier for the other resource. This is used when there is no way to reference the other resource directly, either because the entity is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.",
      "short": "Logical reference, when literal reference is not known",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "CX / EI (occasionally, more often EI maps to a resource id or a URL)",
        "identity": "v2"
      }, {
        "map": "II - see see identifier pattern at http://wiki.hl7.org/index.php?title=Common_Design_Patterns#Identifier_Pattern for relevant discussion. The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs.  Also maps to Role[classCode=IDENT]",
        "identity": "rim"
      }, {
        "map": "Identifier",
        "identity": "servd"
      }, {
        "map": ".identifier",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Identifier"
      } ],
      "max": "1",
      "id": "PractitionerRole.organization.identifier",
      "condition": [ "ele-1" ],
      "comment": "When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. \n\nWhen both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference\n\nApplications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Reference.identifier"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() | (children().count() > id.count())"
      } ],
      "path": "PractitionerRole.organization.identifier.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.",
      "short": "xml:id (or equivalent in JSON)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "PractitionerRole.organization.identifier.id",
      "condition": [ "ele-1" ],
      "comment": "Note that FHIR strings may not exceed 1MB in size",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() | (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')])",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "PractitionerRole.organization.identifier.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order 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.",
      "short": "Additional Content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "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.organization.identifier.extension",
      "condition": [ "ele-1" ],
      "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"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() | (children().count() > id.count())"
      } ],
      "path": "PractitionerRole.organization.identifier.use",
      "requirements": "Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers.",
      "min": 0,
      "definition": "The purpose of this identifier.",
      "isModifier": true,
      "short": "usual | official | temp | secondary (If known)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "N/A",
        "identity": "v2"
      }, {
        "map": "Role.code or implied by context",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "IdentifierUse"
        } ],
        "description": "Identifies the purpose for this identifier, if known .",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/identifier-use"
        }
      },
      "max": "1",
      "id": "PractitionerRole.organization.identifier.use",
      "condition": [ "ele-1" ],
      "comment": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary id for a permanent one. Applications can assume that an identifier is permanent unless it explicitly says that it is temporary.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Identifier.use"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() | (children().count() > id.count())"
      } ],
      "path": "PractitionerRole.organization.identifier.type",
      "requirements": "Allows users to make use of identifiers when the identifier system is not known.",
      "min": 0,
      "definition": "A coded type for the identifier that can be used to determine which identifier to use for a specific purpose.",
      "short": "Description of identifier",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "CE/CNE/CWE",
        "identity": "v2"
      }, {
        "map": "CD",
        "identity": "rim"
      }, {
        "map": "fhir:CodeableConcept rdfs:subClassOf dt:CD",
        "identity": "orim"
      }, {
        "map": "CX.5",
        "identity": "v2"
      }, {
        "map": "Role.code or implied by context",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "extensible",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "IdentifierType"
        }, {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
          "valueBoolean": true
        } ],
        "description": "A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/identifier-type"
        }
      },
      "max": "1",
      "id": "PractitionerRole.organization.identifier.type",
      "condition": [ "ele-1" ],
      "comment": "This element deals only with general categories of identifiers.  It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage. \n\nWhere the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Identifier.type"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() | (children().count() > id.count())"
      } ],
      "path": "PractitionerRole.organization.identifier.system",
      "requirements": "There are many sets  of identifiers.  To perform matching of two identifiers, we need to know what set we're dealing with. The system identifies a particular set of unique identifiers.",
      "min": 1,
      "definition": "Establishes the namespace for the value - that is, a URL that describes a set values that are unique.",
      "short": "The namespace for the identifier value",
      "fixedUri": "http://fhir.de/NamingSystem/asv/teamnummer",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "CX.4 / EI-2-4",
        "identity": "v2"
      }, {
        "map": "II.root or Role.id.root",
        "identity": "rim"
      }, {
        "map": "./IdentifierType",
        "identity": "servd"
      } ],
      "type": [ {
        "code": "uri"
      } ],
      "max": "1",
      "id": "PractitionerRole.organization.identifier.system",
      "condition": [ "ele-1" ],
      "comment": "see http://en.wikipedia.org/wiki/Uniform_resource_identifier",
      "example": [ {
        "label": "General",
        "valueUri": "http://www.acme.com/identifiers/patient or urn:ietf:rfc:3986 if the Identifier.value itself is a full uri"
      } ],
      "base": {
        "max": "1",
        "min": 0,
        "path": "Identifier.system"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() | (children().count() > id.count())"
      } ],
      "path": "PractitionerRole.organization.identifier.value",
      "min": 1,
      "definition": "The portion of the identifier typically relevant to the user and which is unique within the context of the system.",
      "short": "The value that is unique",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "CX.1 / EI.1",
        "identity": "v2"
      }, {
        "map": "II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)",
        "identity": "rim"
      }, {
        "map": "./Value",
        "identity": "servd"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "PractitionerRole.organization.identifier.value",
      "condition": [ "ele-1" ],
      "comment": "If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986.  The value's primary purpose is computational mapping.  As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.)  A value formatted for human display can be conveyed using the [Rendered Value extension](extension-rendered-value.html).",
      "example": [ {
        "label": "General",
        "valueString": "123456"
      } ],
      "base": {
        "max": "1",
        "min": 0,
        "path": "Identifier.value"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() | (children().count() > id.count())"
      }, {
        "key": "per-1",
        "human": "If present, start SHALL have a lower value than end",
        "xpath": "not(exists(f:start)) or not(exists(f:end)) or (f:start/@value <= f:end/@value)",
        "severity": "error",
        "expression": "start.empty() or end.empty() or (start <= end)"
      } ],
      "path": "PractitionerRole.organization.identifier.period",
      "min": 0,
      "definition": "Time period during which identifier is/was valid for use.",
      "short": "Time period when id is/was valid for use",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "DR",
        "identity": "v2"
      }, {
        "map": "IVL[lowClosed=\"true\" and highClosed=\"true\"] or URG[lowClosed=\"true\" and highClosed=\"true\"]",
        "identity": "rim"
      }, {
        "map": "CX.7 + CX.8",
        "identity": "v2"
      }, {
        "map": "Role.effectiveTime or implied by context",
        "identity": "rim"
      }, {
        "map": "./StartDate and ./EndDate",
        "identity": "servd"
      } ],
      "type": [ {
        "code": "Period"
      } ],
      "max": "1",
      "id": "PractitionerRole.organization.identifier.period",
      "condition": [ "ele-1" ],
      "comment": "This is not a duration - that's a measure of time (a separate type), but a duration that occurs at a fixed value of time. A Period specifies a range of time; the context of use will specify whether the entire range applies (e.g. \"the patient was an inpatient of the hospital for this time range\") or one value from the range applies (e.g. \"give to the patient between these two times\"). If duration is required, specify the type as Interval|Duration.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Identifier.period"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() | (children().count() > id.count())"
      }, {
        "key": "ref-1",
        "human": "SHALL have a contained resource if a local reference is provided",
        "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
        "severity": "error",
        "expression": "reference.startsWith('#').not() or (reference.substring(1).trace('url') in %resource.contained.id.trace('ids'))"
      } ],
      "path": "PractitionerRole.organization.identifier.assigner",
      "min": 0,
      "definition": "Organization that issued/manages the identifier.",
      "short": "Organization that issued id (may be just text)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)",
        "identity": "rim"
      }, {
        "map": "CX.4 / (CX.4,CX.9,CX.10)",
        "identity": "v2"
      }, {
        "map": "II.assigningAuthorityName but note that this is an improper use by the definition of the field.  Also Role.scoper",
        "identity": "rim"
      }, {
        "map": "./IdentifierIssuingAuthority",
        "identity": "servd"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization"
      } ],
      "max": "1",
      "id": "PractitionerRole.organization.identifier.assigner",
      "condition": [ "ele-1" ],
      "comment": "The Identifier.assigner may omit the .reference element and only contain a .display element reflecting the name or other textual information about the assigning organization.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Identifier.assigner"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() | (children().count() > id.count())"
      } ],
      "path": "PractitionerRole.organization.display",
      "min": 0,
      "definition": "Plain text narrative that identifies the resource in addition to the resource reference.",
      "short": "Text alternative for the resource",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
        "valueBoolean": true
      } ],
      "max": "1",
      "id": "PractitionerRole.organization.display",
      "condition": [ "ele-1" ],
      "comment": "This is generally not the same as the Resource.text of the referenced resource.  The purpose is to identify what's being referenced, not to fully describe it.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Reference.display"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() | (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.",
      "short": "Roles which this practitioner may perform",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "CE/CNE/CWE",
        "identity": "v2"
      }, {
        "map": "CD",
        "identity": "rim"
      }, {
        "map": "fhir:CodeableConcept rdfs:subClassOf dt:CD",
        "identity": "orim"
      }, {
        "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"
      } ],
      "binding": {
        "strength": "example",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "PractitionerRole"
        } ],
        "description": "The role a person plays representing an organization",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/practitioner-role"
        }
      },
      "max": "*",
      "id": "PractitionerRole.code",
      "condition": [ "ele-1" ],
      "comment": "A person may have more than one role. At least one role is required.",
      "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",
        "severity": "error",
        "expression": "hasValue() | (children().count() > id.count())"
      } ],
      "path": "PractitionerRole.specialty",
      "min": 0,
      "definition": "Specific specialty of the practitioner.",
      "short": "Specific specialty of the practitioner",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "CE/CNE/CWE",
        "identity": "v2"
      }, {
        "map": "CD",
        "identity": "rim"
      }, {
        "map": "fhir:CodeableConcept rdfs:subClassOf dt:CD",
        "identity": "orim"
      }, {
        "map": "PRA-5",
        "identity": "v2"
      }, {
        "map": ".player.HealthCareProvider[@classCode = 'PROV'].code",
        "identity": "rim"
      }, {
        "map": "./Specialty",
        "identity": "servd"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "preferred",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "PractitionerSpecialty"
        } ],
        "description": "Specific specialty associated with the agency",
        "valueSetUri": "http://fhir.de/ValueSet/kbv/s-bar2-arztnrfachgruppe"
      },
      "max": "*",
      "id": "PractitionerRole.specialty",
      "condition": [ "ele-1" ],
      "comment": "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "PractitionerRole.specialty"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "severity": "error",
        "expression": "hasValue() | (children().count() > id.count())"
      }, {
        "key": "ref-1",
        "human": "SHALL have a contained resource if a local reference is provided",
        "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])",
        "severity": "error",
        "expression": "reference.startsWith('#').not() or (reference.substring(1).trace('url') in %resource.contained.id.trace('ids'))"
      } ],
      "path": "PractitionerRole.location",
      "min": 0,
      "definition": "The location(s) at which this practitioner provides care.",
      "short": "The location(s) at which this practitioner provides care",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)",
        "identity": "rim"
      }, {
        "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" }, { "map": "where", "identity": "w5" } ], "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" } ], "max": "*", "id": "PractitionerRole.location", "condition": [ "ele-1" ], "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.", "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", "severity": "error", "expression": "hasValue() | (children().count() > id.count())" }, { "key": "ref-1", "human": "SHALL have a contained resource if a local reference is provided", "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])", "severity": "error", "expression": "reference.startsWith('#').not() or (reference.substring(1).trace('url') in %resource.contained.id.trace('ids'))" } ], "path": "PractitionerRole.healthcareService", "min": 0, "definition": "The list of healthcare services that this worker provides for this role's Organization/Location(s).", "short": "The list of healthcare services that this worker provides for this role's Organization/Location(s)", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)", "identity": "rim" }, { "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" } ], "max": "*", "id": "PractitionerRole.healthcareService", "condition": [ "ele-1" ], "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.", "base": { "max": "*", "min": 0, "path": "PractitionerRole.healthcareService" } }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "severity": "error", "expression": "hasValue() | (children().count() > id.count())" }, { "key": "cpt-2", "human": "A system is required if a value is provided.", "xpath": "not(exists(f:value)) or exists(f:system)", "severity": "error", "expression": "value.empty() or system.exists()" } ], "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.", "short": "Contact details that are specific to the role/location/service", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "XTN", "identity": "v2" }, { "map": "TEL", "identity": "rim" }, { "map": "ContactPoint", "identity": "servd" }, { "map": ".telecom", "identity": "rim" } ], "type": [ { "code": "ContactPoint" } ], "max": "*", "id": "PractitionerRole.telecom", "condition": [ "ele-1" ], "base": { "max": "*", "min": 0, "path": "PractitionerRole.telecom" }, "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "severity": "error", "expression": "hasValue() | (children().count() > id.count())" } ], "path": "PractitionerRole.availableTime", "min": 0, "definition": "A collection of times that the Service Site is available.", "short": "Times the Service Site is available", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": ".effectiveTime", "identity": "rim" } ], "type": [ { "code": "BackboneElement" } ], "max": "*", "id": "PractitionerRole.availableTime", "condition": [ "ele-1" ], "comment": "More detailed availability information may be provided in associated Schedule/Slot resources.", "base": { "max": "*", "min": 0, "path": "PractitionerRole.availableTime" } }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "severity": "error", "expression": "hasValue() | (children().count() > id.count())" } ], "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.", "short": "xml:id (or equivalent in JSON)", "mapping": [ { "map": "n/a", "identity": "rim" } ], "type": [ { "code": "string" } ], "representation": [ "xmlAttr" ], "max": "1", "id": "PractitionerRole.availableTime.id", "condition": [ "ele-1" ], "comment": "Note that FHIR strings may not exceed 1MB in size", "base": { "max": "1", "min": 0, "path": "Element.id" } }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "severity": "error", "expression": "hasValue() | (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')])", "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. In order 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.", "short": "Additional Content defined by implementations", "mapping": [ { "map": "n/a", "identity": "rim" }, { "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.availableTime.extension", "condition": [ "ele-1" ], "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" } }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "severity": "error", "expression": "hasValue() | (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')])", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "PractitionerRole.availableTime.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 that contains it. Usually modifier elements provide negation or qualification. In order 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.", "isModifier": true, "short": "Extensions that cannot be ignored", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "N/A", "identity": "rim" } ], "type": [ { "code": "Extension" } ], "alias": [ "extensions", "user content", "modifiers" ], "max": "*", "id": "PractitionerRole.availableTime.modifierExtension", "condition": [ "ele-1" ], "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" }, "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "severity": "error", "expression": "hasValue() | (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.", "short": "mon | tue | wed | thu | fri | sat | sun", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": ".effectiveTime", "identity": "rim" } ], "type": [ { "code": "code" } ], "binding": { "strength": "required", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "DaysOfWeek" } ], "description": "The days of the week.", "valueSetReference": { "reference": "http://hl7.org/fhir/ValueSet/days-of-week" } }, "max": "*", "id": "PractitionerRole.availableTime.daysOfWeek", "condition": [ "ele-1" ], "comment": "Note that FHIR strings may not exceed 1MB in size", "base": { "max": "*", "min": 0, "path": "PractitionerRole.availableTime.daysOfWeek" } }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "severity": "error", "expression": "hasValue() | (children().count() > id.count())" } ], "path": "PractitionerRole.availableTime.allDay", "min": 0, "definition": "Is this always available? (hence times are irrelevant) e.g. 24 hour service.", "short": "Always available? e.g. 24 hour service", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": ".effectiveTime", "identity": "rim" } ], "type": [ { "code": "boolean" } ], "max": "1", "id": "PractitionerRole.availableTime.allDay", "condition": [ "ele-1" ], "base": { "max": "1", "min": 0, "path": "PractitionerRole.availableTime.allDay" } }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "severity": "error", "expression": "hasValue() | (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.", "short": "Opening time of day (ignored if allDay = true)", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": ".effectiveTime", "identity": "rim" } ], "type": [ { "code": "time" } ], "max": "1", "id": "PractitionerRole.availableTime.availableStartTime", "condition": [ "ele-1" ], "comment": "The timezone is expected to be for where this HealthcareService is provided at.", "base": { "max": "1", "min": 0, "path": "PractitionerRole.availableTime.availableStartTime" } }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "severity": "error", "expression": "hasValue() | (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.", "short": "Closing time of day (ignored if allDay = true)", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": ".effectiveTime", "identity": "rim" } ], "type": [ { "code": "time" } ], "max": "1", "id": "PractitionerRole.availableTime.availableEndTime", "condition": [ "ele-1" ], "comment": "The timezone is expected to be for where this HealthcareService is provided at.", "base": { "max": "1", "min": 0, "path": "PractitionerRole.availableTime.availableEndTime" } }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "severity": "error", "expression": "hasValue() | (children().count() > id.count())" } ], "path": "PractitionerRole.notAvailable", "min": 0, "definition": "The HealthcareService is not available during this period of time due to the provided reason.", "short": "Not available during this time due to provided reason", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": ".effectiveTime", "identity": "rim" } ], "type": [ { "code": "BackboneElement" } ], "max": "*", "id": "PractitionerRole.notAvailable", "condition": [ "ele-1" ], "base": { "max": "*", "min": 0, "path": "PractitionerRole.notAvailable" } }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "severity": "error", "expression": "hasValue() | (children().count() > id.count())" } ], "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.", "short": "xml:id (or equivalent in JSON)", "mapping": [ { "map": "n/a", "identity": "rim" } ], "type": [ { "code": "string" } ], "representation": [ "xmlAttr" ], "max": "1", "id": "PractitionerRole.notAvailable.id", "condition": [ "ele-1" ], "comment": "Note that FHIR strings may not exceed 1MB in size", "base": { "max": "1", "min": 0, "path": "Element.id" } }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "severity": "error", "expression": "hasValue() | (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')])", "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. In order 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.", "short": "Additional Content defined by implementations", "mapping": [ { "map": "n/a", "identity": "rim" }, { "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.notAvailable.extension", "condition": [ "ele-1" ], "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" } }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "severity": "error", "expression": "hasValue() | (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')])", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "PractitionerRole.notAvailable.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 that contains it. Usually modifier elements provide negation or qualification. In order 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.", "isModifier": true, "short": "Extensions that cannot be ignored", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "N/A", "identity": "rim" } ], "type": [ { "code": "Extension" } ], "alias": [ "extensions", "user content", "modifiers" ], "max": "*", "id": "PractitionerRole.notAvailable.modifierExtension", "condition": [ "ele-1" ], "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" }, "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "severity": "error", "expression": "hasValue() | (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.", "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", "condition": [ "ele-1" ], "comment": "Note that FHIR strings may not exceed 1MB in size", "base": { "max": "1", "min": 1, "path": "PractitionerRole.notAvailable.description" } }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "severity": "error", "expression": "hasValue() | (children().count() > id.count())" }, { "key": "per-1", "human": "If present, start SHALL have a lower value than end", "xpath": "not(exists(f:start)) or not(exists(f:end)) or (f:start/@value <= f:end/@value)", "severity": "error", "expression": "start.empty() or end.empty() or (start <= end)" } ], "path": "PractitionerRole.notAvailable.during", "min": 0, "definition": "Service is not available (seasonally or for a public holiday) from this date.", "short": "Service not availablefrom this date", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "DR", "identity": "v2" }, { "map": "IVL[lowClosed=\"true\" and highClosed=\"true\"] or URG[lowClosed=\"true\" and highClosed=\"true\"]", "identity": "rim" }, { "map": ".effectiveTime", "identity": "rim" } ], "type": [ { "code": "Period" } ], "max": "1", "id": "PractitionerRole.notAvailable.during", "condition": [ "ele-1" ], "comment": "This is not a duration - that's a measure of time (a separate type), but a duration that occurs at a fixed value of time. A Period specifies a range of time; the context of use will specify whether the entire range applies (e.g. \"the patient was an inpatient of the hospital for this time range\") or one value from the range applies (e.g. \"give to the patient between these two times\"). If duration is required, specify the type as Interval|Duration.", "base": { "max": "1", "min": 0, "path": "PractitionerRole.notAvailable.during" } }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "severity": "error", "expression": "hasValue() | (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.", "short": "Description of availability exceptions", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": ".effectiveTime", "identity": "rim" } ], "type": [ { "code": "string" } ], "max": "1", "id": "PractitionerRole.availabilityExceptions", "condition": [ "ele-1" ], "comment": "Note that FHIR strings may not exceed 1MB in size", "base": { "max": "1", "min": 0, "path": "PractitionerRole.availabilityExceptions" } }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "severity": "error", "expression": "hasValue() | (children().count() > id.count())" }, { "key": "ref-1", "human": "SHALL have a contained resource if a local reference is provided", "xpath": "not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])", "severity": "error", "expression": "reference.startsWith('#').not() or (reference.substring(1).trace('url') in %resource.contained.id.trace('ids'))" } ], "path": "PractitionerRole.endpoint", "requirements": "Organizations have multiple systems that provide various services and ,ay 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.", "short": "Technical endpoints providing access to services operated for the practitioner with this role", "mapping": [ { "map": "n/a", "identity": "rim" }, { "map": "The target of a resource reference is a RIM entry point (Act, Role, or Entity)", "identity": "rim" } ], "type": [ { "code": "Reference", "targetProfile": "http://hl7.org/fhir/StructureDefinition/Endpoint" } ], "max": "*", "id": "PractitionerRole.endpoint", "condition": [ "ele-1" ], "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.", "base": { "max": "*", "min": 0, "path": "PractitionerRole.endpoint" } } ] }, "status": "draft", "id": "119c82d9-c696-4c29-ac5f-c4f0e07b71a3", "kind": "resource", "url": "http://fhir.de/StructureDefinition/practitionerrole-de-asv-teamnummer/0.2", "version": "0.2", "differential": { "element": [ { "id": "PractitionerRole.practitioner", "min": 1, "path": "PractitionerRole.practitioner", "short": "Arzt", "definition": "Der Arzt, der Mitglied im ASV-Team ist" }, { "id": "PractitionerRole.organization", "min": 1, "path": "PractitionerRole.organization", "short": "ASV-Team", "comment": "In der Regel werden zum ASV-Team keine weiteren Daten außer der ASV-Teamnummer erfasst.\r\nDaher ist diese als organization.identifier definiert.\r\nUnabhängig davon kann bei Bedarf das ASV-Team zusätzlich auch in einer Organization-Ressource erfasst und hier referenziert werden.", "definition": "ASV-Teamnummer, wie von der ASV-Servicestelle vergeben" }, { "id": "PractitionerRole.organization.identifier", "min": 1, "path": "PractitionerRole.organization.identifier" }, { "id": "PractitionerRole.organization.identifier.system", "min": 1, "path": "PractitionerRole.organization.identifier.system", "fixedUri": "http://fhir.de/NamingSystem/asv/teamnummer" }, { "id": "PractitionerRole.organization.identifier.value", "min": 1, "path": "PractitionerRole.organization.identifier.value" } ] }, "contact": [ { "telecom": [ { "value": "http://hl7.de/technische-komitees/fhir/", "system": "url" } ] } ], "baseDefinition": "http://fhir.de/StructureDefinition/practitionerrole-de-basis/0.2" }