getdiagnosis
type: StructureDefinition
node role: treeRoot
id:
  v: getdiagnosis
text:
  status:
    v: extensions
  div:
    v: Generated Narrative: StructureDefinition getdiagnosis Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> getdiagnosis 0..* Base GetDiagnosis Logical Model #xD; diagnosis 1..1 BackboneElement Information om diagnos #xD; diagnosisHeader 1..1 BackboneElement Header-information #xD; documentId 1..1 string Unikt dokument-ID #xD; sourceSystemHSAId 1..1 Identifier Systemets HSA-id #xD; patientId 1..1 Identifier Patientens ID #xD; accountableHealthcareProfessional 1..1 BackboneElement Ansvarig vårdpersonal #xD; authorTime 1..1 dateTime Registreringstid #xD; healthcareProfessionalHSAId 0..1 Identifier Författarens HSA-id #xD; healthcareProfessionalName 0..1 string Författarens namn #xD; <a href="StructureDefinition-getdiagnosis-definitions.html#getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional.healthcareProfessionalRoleCode" title="Information om personens befattning. Om möjligt ska kodverket Befattning (OID 1.2.752.129.2.2.1.4) användas. I de fall kodverket Befattning ej kan användas, men information om befattning finns tillgänglig, måste vårdgivaren ange en OID på det organisationsinterna kodverk som används istället.">healthcareProfessionalRoleCode 0..1 CodeableConcept Författarens befattning #xD; healthcareProfessionalOrgUnit 0..1 BackboneElement Organisationstillhörighet #xD; orgUnitHSAId 1..1 Identifier Organisationsenhetens HSA-id #xD; orgUnitName 1..1 string Organisationsenhetens namn #xD; orgUnitTelecom 0..1 string Telefonnummer till enheten #xD; orgUnitEmail 0..1 string E-post till enheten #xD; orgUnitAddress 0..1 string Postadress för enheten #xD; orgUnitLocation 0..1 string Fysisk plats för enheten #xD; healthcareProfessionalCareUnitHSAId 0..1 Identifier HSA-id för vårdenhet #xD; healthcareProfessionalCareGiverHSAId 0..1 Identifier HSA-id för vårdgivare #xD; legalAuthenticator 0..1 BackboneElement signering #xD; legalAuthenticatorTime 1..1 dateTime Tidpunkt för signatur #xD; leg…
url:
  v: http://example.org/fhir/klinisk-process---halsotillstand-och-funktionsnedsattning/StructureDefinition/getdiagnosis
  l: getdiagnosis
version:
  v: 0.1.0
name:
  v: GetDiagnosisLM
title:
  v: GetDiagnosis Logical Model
status:
  v: draft
date:
  v: 2025-12-16T10:13:06+00:00
publisher:
  v: Test Generator
contact:
  name:
    v: Test Generator
  telecom:
    system:
      v: url
    value:
      v: http://example.org
description:
  v: Logical model from GetDiagnosis service contract (from normalized Excel)
jurisdiction:
  coding:
    system:
      v: urn:iso:std:iso:3166
      l: 3166
    code:
      v: SE
    display:
      v: Sweden
fhir version:
  v: 4.0.1
kind:
  v: logical
abstract:
  v: false
type:
  v: http://example.org/fhir/klinisk-process---halsotillstand-och-funktionsnedsattning/StructureDefinition/getdiagnosis
  l: getdiagnosis
base definition:
  v: http://hl7.org/fhir/StructureDefinition/Base
  l: Base
derivation:
  v: specialization
snapshot:
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version
      l: snapshot-base-version
    value: String
      v: 4.0.1
  element:
    id:
      v: getdiagnosis
    path:
      v: getdiagnosis
    short:
      v: GetDiagnosis Logical Model
    definition:
      v: Logical model from GetDiagnosis service contract (from normalized Excel)
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: Base
      min:
        v: 0
      max:
        v: *
    is modifier:
      v: false
  element:
    id:
      v: getdiagnosis.diagnosis
    path:
      v: getdiagnosis.diagnosis
    short:
      v: Information om diagnos
    definition:
      v: Information om diagnos
    min:
      v: 1
    max:
      v: 1
    base:
      path:
        v: getdiagnosis.diagnosis
      min:
        v: 1
      max:
        v: 1
    type:
      code:
        v: BackboneElement
        l: BackboneElement
    constraint:
      key:
        v: ele-1
      severity:
        v: error
      human:
        v: All FHIR elements must have a @value or children
      expression:
        v: hasValue() or (children().count() > id.count())
      xpath:
        v: @value|f:*|h:div
      source:
        v: http://hl7.org/fhir/StructureDefinition/Element
        l: Element
  element:
    id:
      v: getdiagnosis.diagnosis.id
    path:
      v: getdiagnosis.diagnosis.id
    representation:
      v: xmlAttr
    short:
      v: Unique id for inter-element referencing
    definition:
      v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
    min:
      v: 0
    max:
      v: 1
    base:
      path:
        v: Element.id
      min:
        v: 0
      max:
        v: 1
    type:
      extension:
        value: Url
      code:
        v: http://hl7.org/fhirpath/System.String
        l: System.String
    is modifier:
      v: false
    is summary:
      v: false
    mapping:
      identity:
        v: rim
      map:
        v: n/a
  element:
    id:
      v: getdiagnosis.diagnosis.extension
    path:
      v: getdiagnosis.diagnosis.extension
    slicing:
      description:
        v: Extensions are always sliced by (at least) url
      rules:
        v: open
    short:
      v: Additional content defined by implementations
    definition:
      v: May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
    comment:
      v: 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.
    alias:
      v: extensions
    alias:
      v: user content
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: Element.extension
      min:
        v: 0
      max:
        v: *
    type:
      code:
        v: Extension
        l: Extension
    constraint:
      key:
        v: ele-1
      severity:
        v: error
      human:
        v: All FHIR elements must have a @value or children

Url
v: string
l: string

v: value

v: url

v: hasValue() or (children().count() > id.count())

v: @value|f:*|h:div

key:
  v: ext-1
severity:
  v: error
human:
  v: Must have either extensions or value[x], not both
expression:
  v: extension.exists() != value.exists()
xpath:
  v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
source:
  v: http://hl7.org/fhir/StructureDefinition/Extension
  l: Extension

v: false

v: false

identity:
  v: rim
map:
  v: n/a

id:
  v: getdiagnosis.diagnosis.modifierExtension
path:
  v: getdiagnosis.diagnosis.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: 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.
requirements:
  v: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: getdiagnosis.diagnosis.diagnosisHeader
path:
  v: getdiagnosis.diagnosis.diagnosisHeader
short:
  v: Header-information
min:
  v: 1
max:
  v: 1
base:
  path:
    v: getdiagnosis.diagnosis.diagnosisHeader
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element

id:
  v: getdiagnosis.diagnosis.diagnosisHeader.id
path:
  v: getdiagnosis.diagnosis.diagnosisHeader.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
      l: structuredefinition-fhir-type
    value: Url
      v: string
      l: string
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: getdiagnosis.diagnosis.diagnosisHeader.extension
path:
  v: getdiagnosis.diagnosis.diagnosisHeader.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: 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.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: getdiagnosis.diagnosis.diagnosisHeader.modifierExtension
path:
  v: getdiagnosis.diagnosis.diagnosisHeader.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: 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.
requirements:
  v: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: getdiagnosis.diagnosis.diagnosisHeader.documentId
path:
  v: getdiagnosis.diagnosis.diagnosisHeader.documentId
short:
  v: Unikt dokument-ID
definition:
  v: Diagnosens identitet som är unik inom källsystemet.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: getdiagnosis.diagnosis.diagnosisHeader.documentId
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: getdiagnosis.diagnosis.diagnosisHeader.sourceSystemHSAId
path:
  v: getdiagnosis.diagnosis.diagnosisHeader.sourceSystemHSAId
short:
  v: Systemets HSA-id
definition:
  v: HSA-id för det system tillgängliggör informationen.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: getdiagnosis.diagnosis.diagnosisHeader.sourceSystemHSAId
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Identifier
    l: Identifier

id:
  v: getdiagnosis.diagnosis.diagnosisHeader.patientId
path:
  v: getdiagnosis.diagnosis.diagnosisHeader.patientId
short:
  v: Patientens ID
definition:
  v: Identifierare för patient.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: getdiagnosis.diagnosis.diagnosisHeader.patientId
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Identifier
    l: Identifier

id:
  v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional
path:
  v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional
short:
  v: Ansvarig vårdpersonal
definition:
  v: Ansvarig vårdpersonal
min:
  v: 1
max:
  v: 1
base:
  path:
    v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element

id:
  v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional.id
path:
  v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
      l: structuredefinition-fhir-type
    value: Url
      v: string
      l: string
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional.extension
path:
  v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: 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.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional.modifierExtension
path:
  v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: 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.
requirements:
  v: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional.authorTime
path:
  v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional.authorTime
short:
  v: Registreringstid
definition:
  v: Tidpunkt då informationen registrerades.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional.authorTime
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: dateTime
    l: dateTime

id:
  v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional.healthcareProfessionalHSAId
path:
  v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional.healthcareProfessionalHSAId
short:
  v: Författarens HSA-id
definition:
  v: Författarens HSA-id.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional.healthcareProfessionalHSAId
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Identifier
    l: Identifier

id:
  v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional.healthcareProfessionalName
path:
  v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional.healthcareProfessionalName
short:
  v: Författarens namn
definition:
  v: Namn på författaren. Om tillgängligt ska detta anges.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional.healthcareProfessionalName
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional.healthcareProfessionalRoleCode
path:
  v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional.healthcareProfessionalRoleCode
short:
  v: Författarens befattning
definition:
  v: Information om personens befattning. Om möjligt ska kodverket Befattning (OID 1.2.752.129.2.2.1.4) användas. I de fall kodverket Befattning ej kan användas, men information om befattning finns tillgänglig, måste vårdgivaren ange en OID på det organisationsinterna kodverk som används istället.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional.healthcareProfessionalRoleCode
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional.healthcareProfessionalOrgUnit
path:
  v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional.healthcareProfessionalOrgUnit
short:
  v: Organisationstillhörighet
definition:
  v: Organisationstillhörighet
min:
  v: 0
max:
  v: 1
base:
  path:
    v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional.healthcareProfessionalOrgUnit
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element

id:
  v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional.healthcareProfessionalOrgUnit.id
path:
  v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional.healthcareProfessionalOrgUnit.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
      l: structuredefinition-fhir-type
    value: Url
      v: string
      l: string
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional.healthcareProfessionalOrgUnit.extension
path:
  v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional.healthcareProfessionalOrgUnit.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: 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.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional.healthcareProfessionalOrgUnit.modifierExtension
path:
  v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional.healthcareProfessionalOrgUnit.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: 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.
requirements:
  v: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional.healthcareProfessionalOrgUnit.orgUnitHSAId
path:
  v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional.healthcareProfessionalOrgUnit.orgUnitHSAId
short:
  v: Organisationsenhetens HSA-id
definition:
  v: HSA-id för organisationsenhet.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional.healthcareProfessionalOrgUnit.orgUnitHSAId
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Identifier
    l: Identifier

id:
  v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional.healthcareProfessionalOrgUnit.orgUnitName
path:
  v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional.healthcareProfessionalOrgUnit.orgUnitName
short:
  v: Organisationsenhetens namn
definition:
  v: Namnet på den organisation som författaren är uppdragstagare på.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional.healthcareProfessionalOrgUnit.orgUnitName
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional.healthcareProfessionalOrgUnit.orgUnitTelecom
path:
  v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional.healthcareProfessionalOrgUnit.orgUnitTelecom
short:
  v: Telefonnummer till enheten
definition:
  v: Telefon till organisationsenhet.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional.healthcareProfessionalOrgUnit.orgUnitTelecom
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional.healthcareProfessionalOrgUnit.orgUnitEmail
path:
  v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional.healthcareProfessionalOrgUnit.orgUnitEmail
short:
  v: E-post till enheten
definition:
  v: Epost till organisationsenhet.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional.healthcareProfessionalOrgUnit.orgUnitEmail
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional.healthcareProfessionalOrgUnit.orgUnitAddress
path:
  v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional.healthcareProfessionalOrgUnit.orgUnitAddress
short:
  v: Postadress för enheten
definition:
  v: Postadress för den organisation som författaren är uppdragstagare på.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional.healthcareProfessionalOrgUnit.orgUnitAddress
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional.healthcareProfessionalOrgUnit.orgUnitLocation
path:
  v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional.healthcareProfessionalOrgUnit.orgUnitLocation
short:
  v: Fysisk plats för enheten
definition:
  v: Text som anger namnet på plats eller ort för organisationens fysiska placering.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional.healthcareProfessionalOrgUnit.orgUnitLocation
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional.healthcareProfessionalCareUnitHSAId
path:
  v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional.healthcareProfessionalCareUnitHSAId
short:
  v: HSA-id för vårdenhet
definition:
  v: HSA-id för vårdenhet
min:
  v: 0
max:
  v: 1
base:
  path:
    v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional.healthcareProfessionalCareUnitHSAId
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Identifier
    l: Identifier

id:
  v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional.healthcareProfessionalCareGiverHSAId
path:
  v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional.healthcareProfessionalCareGiverHSAId
short:
  v: HSA-id för vårdgivare
definition:
  v: HSA-id för vårdgivare
min:
  v: 0
max:
  v: 1
base:
  path:
    v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional.healthcareProfessionalCareGiverHSAId
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Identifier
    l: Identifier

id:
  v: getdiagnosis.diagnosis.diagnosisHeader.legalAuthenticator
path:
  v: getdiagnosis.diagnosis.diagnosisHeader.legalAuthenticator
short:
  v: signering
definition:
  v: signering
min:
  v: 0
max:
  v: 1
base:
  path:
    v: getdiagnosis.diagnosis.diagnosisHeader.legalAuthenticator
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element

id:
  v: getdiagnosis.diagnosis.diagnosisHeader.legalAuthenticator.id
path:
  v: getdiagnosis.diagnosis.diagnosisHeader.legalAuthenticator.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
      l: structuredefinition-fhir-type
    value: Url
      v: string
      l: string
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: getdiagnosis.diagnosis.diagnosisHeader.legalAuthenticator.extension
path:
  v: getdiagnosis.diagnosis.diagnosisHeader.legalAuthenticator.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: 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.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: getdiagnosis.diagnosis.diagnosisHeader.legalAuthenticator.modifierExtension
path:
  v: getdiagnosis.diagnosis.diagnosisHeader.legalAuthenticator.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: 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.
requirements:
  v: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: getdiagnosis.diagnosis.diagnosisHeader.legalAuthenticator.legalAuthenticatorTime
path:
  v: getdiagnosis.diagnosis.diagnosisHeader.legalAuthenticator.legalAuthenticatorTime
short:
  v: Tidpunkt för signatur
definition:
  v: Tidpunkt för signatur
min:
  v: 1
max:
  v: 1
base:
  path:
    v: getdiagnosis.diagnosis.diagnosisHeader.legalAuthenticator.legalAuthenticatorTime
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: dateTime
    l: dateTime

id:
  v: getdiagnosis.diagnosis.diagnosisHeader.legalAuthenticator.legalAuthenticatorHSAId
path:
  v: getdiagnosis.diagnosis.diagnosisHeader.legalAuthenticator.legalAuthenticatorHSAId
short:
  v: Signerande persons HSA-id
definition:
  v: Signerande persons HSA-id
min:
  v: 0
max:
  v: 1
base:
  path:
    v: getdiagnosis.diagnosis.diagnosisHeader.legalAuthenticator.legalAuthenticatorHSAId
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Identifier
    l: Identifier

id:
  v: getdiagnosis.diagnosis.diagnosisHeader.legalAuthenticator.legalAuthenticatorName
path:
  v: getdiagnosis.diagnosis.diagnosisHeader.legalAuthenticator.legalAuthenticatorName
short:
  v: Signerande persons namn
definition:
  v: Signerande persons namn
min:
  v: 0
max:
  v: 1
base:
  path:
    v: getdiagnosis.diagnosis.diagnosisHeader.legalAuthenticator.legalAuthenticatorName
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Identifier
    l: Identifier

id:
  v: getdiagnosis.diagnosis.diagnosisHeader.approvedForPatient
path:
  v: getdiagnosis.diagnosis.diagnosisHeader.approvedForPatient
short:
  v: Godkänd för patientvisning
definition:
  v: Anger om information får delas till patient. Värdet sätts i sådant fall till true, i annat fall till false.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: getdiagnosis.diagnosis.diagnosisHeader.approvedForPatient
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: boolean
    l: boolean

id:
  v: getdiagnosis.diagnosis.diagnosisHeader.careContactId
path:
  v: getdiagnosis.diagnosis.diagnosisHeader.careContactId
short:
  v: Vårdkontakts-ID
definition:
  v: Vårdkontakts-id. Id för den vårdkontakt vid vilken funktionsstatusbedömningen gjorts.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: getdiagnosis.diagnosis.diagnosisHeader.careContactId
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: getdiagnosis.diagnosis.diagnosisBody
path:
  v: getdiagnosis.diagnosis.diagnosisBody
short:
  v: Diagnos
definition:
  v: Diagnos
min:
  v: 1
max:
  v: 1
base:
  path:
    v: getdiagnosis.diagnosis.diagnosisBody
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element

id:
  v: getdiagnosis.diagnosis.diagnosisBody.id
path:
  v: getdiagnosis.diagnosis.diagnosisBody.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
      l: structuredefinition-fhir-type
    value: Url
      v: string
      l: string
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: getdiagnosis.diagnosis.diagnosisBody.extension
path:
  v: getdiagnosis.diagnosis.diagnosisBody.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: 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.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: getdiagnosis.diagnosis.diagnosisBody.modifierExtension
path:
  v: getdiagnosis.diagnosis.diagnosisBody.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: 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.
requirements:
  v: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: getdiagnosis.diagnosis.diagnosisBody.typeOfDiagnosis
path:
  v: getdiagnosis.diagnosis.diagnosisBody.typeOfDiagnosis
short:
  v: Typ av diagnos
definition:
  v: Bedömningskategori. Beskriver vilken kategori av bedömning som är gjord. Tillåtna värden är pad-pad (för PADL-bedömning) och fun-fun (för funktionsnedsättningsbedömningar).
min:
  v: 1
max:
  v: 1
base:
  path:
    v: getdiagnosis.diagnosis.diagnosisBody.typeOfDiagnosis
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: getdiagnosis.diagnosis.diagnosisBody.chronicDiagnosis
path:
  v: getdiagnosis.diagnosis.diagnosisBody.chronicDiagnosis
short:
  v: Kronisk diagnos
definition:
  v: Kronisk diagnos
min:
  v: 0
max:
  v: 1
base:
  path:
    v: getdiagnosis.diagnosis.diagnosisBody.chronicDiagnosis
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: boolean
    l: boolean

id:
  v: getdiagnosis.diagnosis.diagnosisBody.diagnosisTime
path:
  v: getdiagnosis.diagnosis.diagnosisBody.diagnosisTime
short:
  v: Tidpunkt för diagnos
definition:
  v: Bedömningstidpunkt.händelsetidpunkt.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: getdiagnosis.diagnosis.diagnosisBody.diagnosisTime
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: dateTime
    l: dateTime

id:
  v: getdiagnosis.diagnosis.diagnosisBody.diagnosisCode
path:
  v: getdiagnosis.diagnosis.diagnosisBody.diagnosisCode
short:
  v: Diagnoskod
definition:
  v: Kod för PADL-bedömning. Om code anges ska också codeSystem samt displayName anges.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: getdiagnosis.diagnosis.diagnosisBody.diagnosisCode
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: getdiagnosis.diagnosis.diagnosisBody.relatedDiagnosis
path:
  v: getdiagnosis.diagnosis.diagnosisBody.relatedDiagnosis
short:
  v: Relaterad diagnos
definition:
  v: Referens till bidiagnos eller …
min:
  v: 0
max:
  v: *
base:
  path:
    v: getdiagnosis.diagnosis.diagnosisBody.relatedDiagnosis
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element

id:
  v: getdiagnosis.diagnosis.diagnosisBody.relatedDiagnosis.id
path:
  v: getdiagnosis.diagnosis.diagnosisBody.relatedDiagnosis.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
      l: structuredefinition-fhir-type
    value: Url
      v: string
      l: string
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: getdiagnosis.diagnosis.diagnosisBody.relatedDiagnosis.extension
path:
  v: getdiagnosis.diagnosis.diagnosisBody.relatedDiagnosis.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: 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.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: getdiagnosis.diagnosis.diagnosisBody.relatedDiagnosis.modifierExtension
path:
  v: getdiagnosis.diagnosis.diagnosisBody.relatedDiagnosis.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: 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.
requirements:
  v: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: getdiagnosis.diagnosis.diagnosisBody.relatedDiagnosis.documentId
path:
  v: getdiagnosis.diagnosis.diagnosisBody.relatedDiagnosis.documentId
short:
  v: Relaterat dokument-ID
definition:
  v: Relaterat dokument-ID
min:
  v: 1
max:
  v: 1
base:
  path:
    v: getdiagnosis.diagnosis.diagnosisBody.relatedDiagnosis.documentId
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string
    l: string

element:
  id:
    v: getdiagnosis
  path:
    v: getdiagnosis
  short:
    v: GetDiagnosis Logical Model
  definition:
    v: Logical model from GetDiagnosis service contract (from normalized Excel)
element:
  id:
    v: getdiagnosis.diagnosis
  path:
    v: getdiagnosis.diagnosis
  short:
    v: Information om diagnos
  definition:
    v: Information om diagnos
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: BackboneElement
      l: BackboneElement
element:
  id:
    v: getdiagnosis.diagnosis.diagnosisHeader
  path:
    v: getdiagnosis.diagnosis.diagnosisHeader
  short:
    v: Header-information
  definition:
    v: .
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: BackboneElement
      l: BackboneElement
element:
  id:
    v: getdiagnosis.diagnosis.diagnosisHeader.documentId
  path:
    v: getdiagnosis.diagnosis.diagnosisHeader.documentId
  short:
    v: Unikt dokument-ID
  definition:
    v: Diagnosens identitet som är unik inom källsystemet.
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: string
      l: string
element:
  id:
    v: getdiagnosis.diagnosis.diagnosisHeader.sourceSystemHSAId
  path:
    v: getdiagnosis.diagnosis.diagnosisHeader.sourceSystemHSAId
  short:
    v: Systemets HSA-id
  definition:
    v: HSA-id för det system tillgängliggör informationen.
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: Identifier
      l: Identifier
element:
  id:
    v: getdiagnosis.diagnosis.diagnosisHeader.patientId
  path:
    v: getdiagnosis.diagnosis.diagnosisHeader.patientId
  short:
    v: Patientens ID
  definition:
    v: Identifierare för patient.
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: Identifier
      l: Identifier
element:
  id:
    v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional
  path:
    v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional
  short:
    v: Ansvarig vårdpersonal
  definition:
    v: Ansvarig vårdpersonal
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: BackboneElement
      l: BackboneElement
element:
  id:
    v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional.authorTime
  path:
    v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional.authorTime
  short:
    v: Registreringstid
  definition:
    v: Tidpunkt då informationen registrerades.
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: dateTime
      l: dateTime
element:
  id:
    v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional.healthcareProfessionalHSAId
  path:
    v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional.healthcareProfessionalHSAId
  short:
    v: Författarens HSA-id
  definition:
    v: Författarens HSA-id.
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: Identifier
      l: Identifier
element:
  id:
    v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional.healthcareProfessionalName
  path:
    v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional.healthcareProfessionalName
  short:
    v: Författarens namn
  definition:
    v: Namn på författaren. Om tillgängligt ska detta anges.
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: string
      l: string
element:
  id:
    v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional.healthcareProfessionalRoleCode
  path:
    v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional.healthcareProfessionalRoleCode
  short:
    v: Författarens befattning
  definition:
    v: Information om personens befattning. Om möjligt ska kodverket Befattning (OID 1.2.752.129.2.2.1.4) användas. I de fall kodverket Befattning ej kan användas, men information om befattning finns tillgänglig, måste vårdgivaren ange en OID på det organisationsinterna kodverk som används istället.
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: CodeableConcept
      l: CodeableConcept
element:
  id:
    v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional.healthcareProfessionalOrgUnit
  path:
    v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional.healthcareProfessionalOrgUnit
  short:
    v: Organisationstillhörighet
  definition:
    v: Organisationstillhörighet
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: BackboneElement
      l: BackboneElement
element:
  id:
    v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional.healthcareProfessionalOrgUnit.orgUnitHSAId
  path:
    v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional.healthcareProfessionalOrgUnit.orgUnitHSAId

v: Organisationsenhetens HSA-id

v: HSA-id för organisationsenhet.

v: 1

v: 1

code:
  v: Identifier
  l: Identifier

id:
  v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional.healthcareProfessionalOrgUnit.orgUnitName
path:
  v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional.healthcareProfessionalOrgUnit.orgUnitName
short:
  v: Organisationsenhetens namn
definition:
  v: Namnet på den organisation som författaren är uppdragstagare på.
min:
  v: 1
max:
  v: 1
type:
  code:
    v: string
    l: string

id:
  v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional.healthcareProfessionalOrgUnit.orgUnitTelecom
path:
  v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional.healthcareProfessionalOrgUnit.orgUnitTelecom
short:
  v: Telefonnummer till enheten
definition:
  v: Telefon till organisationsenhet.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string

id:
  v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional.healthcareProfessionalOrgUnit.orgUnitEmail
path:
  v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional.healthcareProfessionalOrgUnit.orgUnitEmail
short:
  v: E-post till enheten
definition:
  v: Epost till organisationsenhet.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string

id:
  v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional.healthcareProfessionalOrgUnit.orgUnitAddress
path:
  v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional.healthcareProfessionalOrgUnit.orgUnitAddress
short:
  v: Postadress för enheten
definition:
  v: Postadress för den organisation som författaren är uppdragstagare på.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string

id:
  v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional.healthcareProfessionalOrgUnit.orgUnitLocation
path:
  v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional.healthcareProfessionalOrgUnit.orgUnitLocation
short:
  v: Fysisk plats för enheten
definition:
  v: Text som anger namnet på plats eller ort för organisationens fysiska placering.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string

id:
  v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional.healthcareProfessionalCareUnitHSAId
path:
  v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional.healthcareProfessionalCareUnitHSAId
short:
  v: HSA-id för vårdenhet
definition:
  v: HSA-id för vårdenhet
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Identifier
    l: Identifier

id:
  v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional.healthcareProfessionalCareGiverHSAId
path:
  v: getdiagnosis.diagnosis.diagnosisHeader.accountableHealthcareProfessional.healthcareProfessionalCareGiverHSAId
short:
  v: HSA-id för vårdgivare
definition:
  v: HSA-id för vårdgivare
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Identifier
    l: Identifier

id:
  v: getdiagnosis.diagnosis.diagnosisHeader.legalAuthenticator
path:
  v: getdiagnosis.diagnosis.diagnosisHeader.legalAuthenticator
short:
  v: signering
definition:
  v: signering
min:
  v: 0
max:
  v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement

id:
  v: getdiagnosis.diagnosis.diagnosisHeader.legalAuthenticator.legalAuthenticatorTime
path:
  v: getdiagnosis.diagnosis.diagnosisHeader.legalAuthenticator.legalAuthenticatorTime
short:
  v: Tidpunkt för signatur
definition:
  v: Tidpunkt för signatur
min:
  v: 1
max:
  v: 1
type:
  code:
    v: dateTime
    l: dateTime

id:
  v: getdiagnosis.diagnosis.diagnosisHeader.legalAuthenticator.legalAuthenticatorHSAId
path:
  v: getdiagnosis.diagnosis.diagnosisHeader.legalAuthenticator.legalAuthenticatorHSAId
short:
  v: Signerande persons HSA-id
definition:
  v: Signerande persons HSA-id
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Identifier
    l: Identifier

id:
  v: getdiagnosis.diagnosis.diagnosisHeader.legalAuthenticator.legalAuthenticatorName
path:
  v: getdiagnosis.diagnosis.diagnosisHeader.legalAuthenticator.legalAuthenticatorName
short:
  v: Signerande persons namn
definition:
  v: Signerande persons namn
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Identifier
    l: Identifier

id:
  v: getdiagnosis.diagnosis.diagnosisHeader.approvedForPatient
path:
  v: getdiagnosis.diagnosis.diagnosisHeader.approvedForPatient
short:
  v: Godkänd för patientvisning
definition:
  v: Anger om information får delas till patient. Värdet sätts i sådant fall till true, i annat fall till false.
min:
  v: 1
max:
  v: 1
type:
  code:
    v: boolean
    l: boolean

id:
  v: getdiagnosis.diagnosis.diagnosisHeader.careContactId
path:
  v: getdiagnosis.diagnosis.diagnosisHeader.careContactId
short:
  v: Vårdkontakts-ID
definition:
  v: Vårdkontakts-id. Id för den vårdkontakt vid vilken funktionsstatusbedömningen gjorts.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string

id:
  v: getdiagnosis.diagnosis.diagnosisBody
path:
  v: getdiagnosis.diagnosis.diagnosisBody
short:
  v: Diagnos
definition:
  v: Diagnos
min:
  v: 1
max:
  v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement

id:
  v: getdiagnosis.diagnosis.diagnosisBody.typeOfDiagnosis
path:
  v: getdiagnosis.diagnosis.diagnosisBody.typeOfDiagnosis
short:
  v: Typ av diagnos
definition:
  v: Bedömningskategori. Beskriver vilken kategori av bedömning som är gjord. Tillåtna värden är pad-pad (för PADL-bedömning) och fun-fun (för funktionsnedsättningsbedömningar).
min:
  v: 1
max:
  v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: getdiagnosis.diagnosis.diagnosisBody.chronicDiagnosis
path:
  v: getdiagnosis.diagnosis.diagnosisBody.chronicDiagnosis
short:
  v: Kronisk diagnos
definition:
  v: Kronisk diagnos
min:
  v: 0
max:
  v: 1
type:
  code:
    v: boolean
    l: boolean

id:
  v: getdiagnosis.diagnosis.diagnosisBody.diagnosisTime
path:
  v: getdiagnosis.diagnosis.diagnosisBody.diagnosisTime
short:
  v: Tidpunkt för diagnos
definition:
  v: Bedömningstidpunkt.händelsetidpunkt.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: dateTime
    l: dateTime

id:
  v: getdiagnosis.diagnosis.diagnosisBody.diagnosisCode
path:
  v: getdiagnosis.diagnosis.diagnosisBody.diagnosisCode
short:
  v: Diagnoskod
definition:
  v: Kod för PADL-bedömning. Om code anges ska också codeSystem samt displayName anges.
min:
  v: 1
max:
  v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: getdiagnosis.diagnosis.diagnosisBody.relatedDiagnosis
path:
  v: getdiagnosis.diagnosis.diagnosisBody.relatedDiagnosis
short:
  v: Relaterad diagnos
definition:
  v: Referens till bidiagnos eller …
min:
  v: 0
max:
  v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement

id:
  v: getdiagnosis.diagnosis.diagnosisBody.relatedDiagnosis.documentId
path:
  v: getdiagnosis.diagnosis.diagnosisBody.relatedDiagnosis.documentId
short:
  v: Relaterat dokument-ID
definition:
  v: Relaterat dokument-ID
min:
  v: 1
max:
  v: 1
type:
  code:
    v: string
    l: string