{
  "resourceType": "StructureDefinition",
  "id": "spark1930",
  "meta": {
    "versionId": "spark2636",
    "lastUpdated": "2016-02-22T12:04:41.95+00:00"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
      "valueInteger": 3
    }
  ],
  "url": "http://hl7.no/fhir/StructureDefinition/PractitionerNorway",
  "name": "hncPractitionerNorway",
  "status": "draft",
  "date": "2015-09-22T10:02:49+00:00",
  "description": "Base StructureDefinition for Practitioner Resource",
  "requirements": "Need to track doctors, staff, locums etc. for both healthcare practitioners, funders, etc.",
  "fhirVersion": "1.0.1",
  "mapping": [
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM"
    },
    {
      "identity": "servd",
      "uri": "http://www.omg.org/spec/ServD/1.0/",
      "name": "ServD"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/w5",
      "name": "W5 Mapping"
    }
  ],
  "kind": "resource",
  "constrainedType": "Practitioner",
  "abstract": false,
  "base": "http://hl7.org/fhir/StructureDefinition/Practitioner",
  "differential": {
    "element": [
      {
        "path": "Practitioner",
        "short": "A person with a  formal responsibility in the provisioning of healthcare or related services",
        "definition": "A person who is directly or indirectly involved in the provisioning of healthcare.",
        "comments": "Note that a cab driver no longer fits the bill. You probably would be interested in the organization rather than the individual?",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Practitioner"
          }
        ],
        "mapping": [
          {
            "identity": "v2",
            "map": "PRD (as one example)"
          },
          {
            "identity": "rim",
            "map": "Role"
          },
          {
            "identity": "servd",
            "map": "Provider"
          },
          {
            "identity": "w5",
            "map": "administrative.individual"
          }
        ]
      },
      {
        "path": "Practitioner.identifier",
        "slicing": {
          "rules": "openAtEnd"
        },
        "short": "A identifier for the person as this agent",
        "definition": "An identifier that applies to this person in this role.",
        "requirements": "Often, specific identities are assigned for the agent.",
        "min": 0,
        "max": "*",
        "isSummary": true
      },
      {
        "path": "Practitioner.identifier",
        "name": "HPR Number",
        "short": "National healthcare provider register number",
        "definition": "An identifier that applies to this person in this role.",
        "requirements": "Often, specific identities are assigned for the agent.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "PRD-7 (or XCN.1)"
          },
          {
            "identity": "rim",
            "map": "./id"
          },
          {
            "identity": "servd",
            "map": "./Identifiers"
          },
          {
            "identity": "w5",
            "map": "id"
          }
        ]
      },
      {
        "path": "Practitioner.identifier.system",
        "short": "The namespace for the identifier",
        "definition": "Establishes the namespace in which set of possible id values is unique.",
        "requirements": "There are many sequences of identifiers.  To perform matching, we need to know what sequence we're dealing with. The system identifies a particular sequence or set of unique identifiers.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "uri"
          }
        ],
        "fixedUri": "urn:oid:2.16.578.1.12.4.1.4.4",
        "exampleUri": "http://www.acme.com/identifiers/patient or urn:ietf:rfc:3986 if the Identifier.value itself is a full uri",
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "CX.4 / EI-2-4"
          },
          {
            "identity": "rim",
            "map": "II.root or Role.id.root"
          },
          {
            "identity": "servd",
            "map": "./IdentifierType"
          }
        ]
      },
      {
        "path": "Practitioner.identifier.value",
        "short": "The value that is unique",
        "definition": "The portion of the identifier typically displayed to the user and which is unique within the context of the system.",
        "comments": "If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "exampleString": "123456",
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "CX.1 / EI.1"
          },
          {
            "identity": "rim",
            "map": "II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)"
          },
          {
            "identity": "servd",
            "map": "./Value"
          }
        ]
      },
      {
        "path": "Practitioner.identifier",
        "name": "Rekvirent code",
        "short": "Local identification number",
        "definition": "An identifier that applies to this person in this role.",
        "requirements": "Often, specific identities are assigned for the agent.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "PRD-7 (or XCN.1)"
          },
          {
            "identity": "rim",
            "map": "./id"
          },
          {
            "identity": "servd",
            "map": "./Identifiers"
          },
          {
            "identity": "w5",
            "map": "id"
          }
        ]
      },
      {
        "path": "Practitioner.identifier.system",
        "short": "The namespace for the identifier",
        "definition": "Establishes the namespace in which set of possible id values is unique.",
        "requirements": "There are many sequences of identifiers.  To perform matching, we need to know what sequence we're dealing with. The system identifies a particular sequence or set of unique identifiers.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "uri"
          }
        ],
        "exampleUri": "http://www.acme.com/identifiers/patient or urn:ietf:rfc:3986 if the Identifier.value itself is a full uri",
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "CX.4 / EI-2-4"
          },
          {
            "identity": "rim",
            "map": "II.root or Role.id.root"
          },
          {
            "identity": "servd",
            "map": "./IdentifierType"
          }
        ]
      },
      {
        "path": "Practitioner.identifier.value",
        "short": "The value that is unique",
        "definition": "The portion of the identifier typically displayed to the user and which is unique within the context of the system.",
        "comments": "If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "exampleString": "123456",
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "CX.1 / EI.1"
          },
          {
            "identity": "rim",
            "map": "II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)"
          },
          {
            "identity": "servd",
            "map": "./Value"
          }
        ]
      },
      {
        "path": "Practitioner.identifier",
        "name": "User ID",
        "short": "A identifier for the person used for userid in systems. Might be same ID as rekvirentkode, but the use is different.",
        "definition": "An identifier that applies to this person in this role.",
        "requirements": "Often, specific identities are assigned for the agent.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "PRD-7 (or XCN.1)"
          },
          {
            "identity": "rim",
            "map": "./id"
          },
          {
            "identity": "servd",
            "map": "./Identifiers"
          },
          {
            "identity": "w5",
            "map": "id"
          }
        ]
      },
      {
        "path": "Practitioner.identifier.system",
        "short": "The namespace for the identifier, the system or group of systems the userid is valid for",
        "definition": "Establishes the namespace in which set of possible id values is unique.",
        "requirements": "There are many sequences of identifiers.  To perform matching, we need to know what sequence we're dealing with. The system identifies a particular sequence or set of unique identifiers.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "uri"
          }
        ],
        "exampleUri": "http://www.acme.com/identifiers/patient or urn:ietf:rfc:3986 if the Identifier.value itself is a full uri",
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "CX.4 / EI-2-4"
          },
          {
            "identity": "rim",
            "map": "II.root or Role.id.root"
          },
          {
            "identity": "servd",
            "map": "./IdentifierType"
          }
        ]
      },
      {
        "path": "Practitioner.active",
        "short": "Whether this practitioner's record is in active use. False means no active practitioner roles.",
        "definition": "Whether this practitioner's record is in active use.",
        "comments": "Default is true.   If 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.",
        "requirements": "Need to be able to mark a practitioner record as not to be used because it was created in error.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "boolean"
          }
        ],
        "defaultValueBoolean": true,
        "meaningWhenMissing": "When missing the practitioner is active",
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "./StatusCode"
          },
          {
            "identity": "w5",
            "map": "status"
          }
        ]
      },
      {
        "path": "Practitioner.telecom",
        "short": "A contact detail for the practitioner",
        "definition": "A contact detail for the practitioner, e.g. a telephone number or an email address.",
        "comments": "Person may have multiple ways to be contacted with different uses or applicable periods.  May need to have options for contacting the person urgently, and also to help with identification.",
        "requirements": "Need to know how to reach a practitioner.",
        "min": 0,
        "max": "0",
        "type": [
          {
            "code": "ContactPoint"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "PRT-15, STF-10, ROL-12"
          },
          {
            "identity": "rim",
            "map": "./telecom"
          },
          {
            "identity": "servd",
            "map": "./ContactPoints"
          }
        ]
      },
      {
        "path": "Practitioner.address",
        "short": "Where practitioner can be found/visited",
        "definition": "The postal address where the practitioner can be found or visited or to which mail can be delivered.",
        "requirements": "Need to keep track where the practitioner can found during work or for directing mail.",
        "min": 0,
        "max": "0",
        "type": [
          {
            "code": "Address"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "ORC-24, STF-11, ROL-11, PRT-14"
          },
          {
            "identity": "rim",
            "map": "./addr"
          },
          {
            "identity": "servd",
            "map": "./Addresses"
          }
        ]
      },
      {
        "path": "Practitioner.gender",
        "short": "male | female | other | unknown",
        "definition": "Administrative Gender - the gender that the person is considered to have for administration and record keeping purposes.",
        "requirements": "Needed to address the person correctly.",
        "min": 0,
        "max": "0",
        "type": [
          {
            "code": "code"
          }
        ],
        "isSummary": true,
        "binding": {
          "strength": "required",
          "description": "The gender of a person used for administrative purposes.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/administrative-gender"
          }
        },
        "mapping": [
          {
            "identity": "v2",
            "map": "STF-5"
          },
          {
            "identity": "rim",
            "map": "./administrativeGender"
          },
          {
            "identity": "servd",
            "map": "./GenderCode"
          }
        ]
      },
      {
        "path": "Practitioner.birthDate",
        "short": "The date  on which the practitioner was born",
        "definition": "The date of birth for the practitioner.",
        "requirements": "Needed for identification.",
        "min": 0,
        "max": "0",
        "type": [
          {
            "code": "date"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "STF-6"
          },
          {
            "identity": "rim",
            "map": "./birthTime"
          },
          {
            "identity": "servd",
            "map": "(not represented in ServD)"
          }
        ]
      },
      {
        "path": "Practitioner.photo",
        "short": "Image of the person",
        "definition": "Image of the person.",
        "requirements": "Many EHR systems have the capability to capture an image of patients and personnel. Fits with newer social media usage too.",
        "min": 0,
        "max": "0",
        "type": [
          {
            "code": "Attachment"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "./subjectOf/ObservationEvent[code=\"photo\"]/value"
          },
          {
            "identity": "servd",
            "map": "./ImageURI (only supports the URI reference)"
          }
        ]
      },
      {
        "path": "Practitioner.practitionerRole",
        "short": "Roles/organizations the practitioner is associated with",
        "definition": "The list of roles/organizations that the practitioner is associated with.",
        "min": 1,
        "max": "*",
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": ".(Role)"
          }
        ]
      },
      {
        "path": "Practitioner.practitionerRole.extension",
        "slicing": {
          "discriminator": [
            "url"
          ],
          "rules": "openAtEnd"
        }
      },
      {
        "path": "Practitioner.practitionerRole.extension",
        "name": "PractitionerRoleIdentifier",
        "short": "HER ID for externaly exposed practitioner roles,  REKVIRENT Code attached to teh Role for the internal",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension"
          }
        ]
      },
      {
        "path": "Practitioner.practitionerRole.extension",
        "name": "practitionerRoleDisplayName",
        "short": "A concatination of practitioner name, role, and managingOrganization and userid (brukerrollebetegnelse)",
        "type": [
          {
            "code": "Extension"
          }
        ]
      },
      {
        "path": "Practitioner.practitionerRole.extension",
        "name": "accessToOrganization",
        "short": "Organizatitional unit patient lists the user have access  to. Might be same as managingOrganisation, but in many cases it might b more than one, and also different.   (Example personell pools and operation unit).",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "Reference(Organization)"
            ]
          }
        ]
      },
      {
        "path": "Practitioner.practitionerRole.managingOrganization",
        "short": "Organization where the roles are formaly linked.  The organization unit where the practitioner is employed for thes role.",
        "definition": "The organization where the Practitioner performs the roles associated.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "profile": [
              "http://hl7.no/fhir/StructureDefinition/noOrganization"
            ],
            "aggregation": [
              "referenced",
              "bundled"
            ]
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "scopingOrganization"
          }
        ]
      },
      {
        "path": "Practitioner.practitionerRole.role",
        "short": "Role in the organization.  MEksample Lege, Sykepleier, rekvirent.",
        "definition": "Roles which this practitioner is authorized to perform for the organization.",
        "comments": "A person may have more than one role. At least one role is required.",
        "requirements": "Need to know what authority the practitioner has - what can they do?",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "isSummary": true,
        "binding": {
          "strength": "example",
          "description": "The role a person plays representing an organization",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/practitioner-role"
          }
        },
        "mapping": [
          {
            "identity": "v2",
            "map": "PRD-1 / STF-18  / PRA-3  / PRT-4  / ROL-3 / ORC-12 / OBR-16 / PV1-7 / PV1-8 / PV1-9 / PV1-17"
          },
          {
            "identity": "rim",
            "map": "./code"
          },
          {
            "identity": "servd",
            "map": "(ServD maps Practitioners and Organizations via another entity, so this concept is not available)"
          }
        ]
      },
      {
        "path": "Practitioner.practitionerRole.role.coding",
        "short": "Code defined by a terminology system",
        "definition": "A reference to a code defined by a terminology system.",
        "comments": "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 labelled as UserSelected = true.",
        "requirements": "Allows for translations and alternate encodings within a code system.  Also supports communication of the same instance to systems requiring different encodings.",
        "min": 0,
        "max": "0",
        "type": [
          {
            "code": "Coding"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "C*E.1-8, C*E.10-22"
          },
          {
            "identity": "rim",
            "map": "union(., ./translation)"
          },
          {
            "identity": "orim",
            "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"
          }
        ]
      },
      {
        "path": "Practitioner.practitionerRole.role.text",
        "short": "Plain text representation of the role.  The goal is to code this element, but as of now the PAS system does not have thes coded.",
        "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.",
        "comments": "Very often the text is the same as a displayName of one of the codings.",
        "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,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "C*E.9. But note many systems use C*E.2 for this"
          },
          {
            "identity": "rim",
            "map": "./originalText[mediaType/code=\"text/plain\"]/data"
          },
          {
            "identity": "orim",
            "map": "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"
          }
        ]
      },
      {
        "path": "Practitioner.practitionerRole.specialty",
        "short": "zero or more subspesialities of the role, might be prescriber type for the prescriber role, medical spesialities for doctors and so on.",
        "definition": "Specific specialty of the practitioner.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "isSummary": true,
        "binding": {
          "strength": "example",
          "description": "Specific specialty associated with the agency",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/practitioner-specialty"
          }
        },
        "mapping": [
          {
            "identity": "v2",
            "map": "PRA-5"
          },
          {
            "identity": "rim",
            "map": "indirectAuthority/QualifiedEntity[code < Speciality]/code"
          },
          {
            "identity": "servd",
            "map": "./Specialty"
          }
        ]
      },
      {
        "path": "Practitioner.practitionerRole.specialty.text",
        "short": "Plain text representation of the speciality",
        "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.",
        "comments": "Very often the text is the same as a displayName of one of the codings.",
        "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": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "C*E.9. But note many systems use C*E.2 for this"
          },
          {
            "identity": "rim",
            "map": "./originalText[mediaType/code=\"text/plain\"]/data"
          },
          {
            "identity": "orim",
            "map": "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"
          }
        ]
      },
      {
        "path": "Practitioner.practitionerRole.location",
        "short": "The location(s) or rg at which this practitioner provides care",
        "definition": "The location(s) at which this practitioner provides care.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/Location"
            ]
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "./target[classCode=\"indirectAuthority].source[classCode=SDLOC]"
          },
          {
            "identity": "servd",
            "map": "(ServD maps Practitioners and Organizations via another entity, so this concept is not available)<br/> However these are accessed via the Site.ServiceSite.ServiceSiteProvider record. (The Site has the location)"
          },
          {
            "identity": "w5",
            "map": "where"
          }
        ]
      },
      {
        "path": "Practitioner.practitionerRole.healthcareService",
        "short": "The list of healthcare services that this worker provides for this role's Organization/Location(s).  Often it is the same as the managing organization.",
        "definition": "The list of healthcare services that this worker provides for this role's Organization/Location(s).",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Reference",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/HealthcareService"
            ]
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "./target[classCode=\"indirectAuthority].id?"
          }
        ]
      },
      {
        "path": "Practitioner.qualification",
        "short": "Qualifications obtained by training and certification",
        "definition": "Qualifications obtained by training and certification.",
        "min": 0,
        "max": "0",
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "v2",
            "map": "CER?"
          },
          {
            "identity": "rim",
            "map": "./indirectAuthority/QualifiedEntity[code < qualifiedEntity]"
          },
          {
            "identity": "servd",
            "map": "./Qualifications"
          }
        ]
      },
      {
        "path": "Practitioner.communication",
        "short": "A language the practitioner is able to use in patient communication",
        "definition": "A language the practitioner is able to use in patient communication.",
        "comments": "The structure aa-BB with this exact casing is one the most widely used notations for locale. However not all systems actually code this but instead have it as free text. Hence CodeableConcept instead of code as the data type.",
        "requirements": "Knowing which language a practitioner speaks can help in facilitating communication with patients.",
        "min": 0,
        "max": "0",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "required",
          "description": "A human language.",
          "valueSetUri": "http://tools.ietf.org/html/bcp47"
        },
        "mapping": [
          {
            "identity": "v2",
            "map": "PID-15, NK1-20, LAN-2"
          },
          {
            "identity": "rim",
            "map": "./languageCode"
          },
          {
            "identity": "servd",
            "map": "./Languages.LanguageSpokenCode"
          }
        ]
      }
    ]
  }
}