getcareplansresponselm
type: StructureDefinition
node role: treeRoot
id:
  v: getcareplansresponselm
text:
  status:
    v: extensions
  div:
    v: Generated Narrative: StructureDefinition getcareplansresponselm Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> getcareplansresponselm 0..* Base GetCarePlans - Response #xD; carePlan 0..* BackboneElement Vård och omsorgsplan #xD; carePlanHeader 1..1 BackboneElement Dokumentets basinformation #xD; <a href="StructureDefinition-getcareplansresponselm-definitions.html#getcareplansresponselm.carePlan.carePlanHeader.documentId" title="Vård- och omsorgsplanens identitet som är unik inom källsystemet. Identifieraren ska vara konsistent och beständigt mellan olika majorversioner av ett kontrakt. Ett exempel på detta är att en vårdkontakt ska ha samma identifierare i majorversion 3 och 4 av ett tjänstekontrakt för att läsa vårdkontakter. Identifieraren ska vara konsistent och beständigt mellan olika kontrakt. Ett exempel på detta är att samma remiss-identitet ska användas i ett tjänstekontrakt för att läsa remisser, samt tjänstekontraktet som läser remissvar som refererar till den ursprungliga remissen.">documentId 1..1 string Dokumentets identitet #xD; sourceSystemHSAId 1..1 Identifier(5.2.0) Källsystemets identitet #xD; <a href="StructureDefinition-getcareplansresponselm-definitions.html#getcareplansresponselm.carePlan.carePlanHeader.documentTitle" title="Text som innehåller en rubrik som beskriver innehållet i vård- och omsorgsplanen. För att underlätta för användaren att orientera sig i gränssnittet är det viktigt att ange en deskriptiv text i attributet rubrik. Inga krav finns dock på struktur för detta. Exempel:Samordnad vårdplanering Rehabiliteringsplan.">documentTitle 1..1 string Planens rubrik #xD; documentTime 0..1 dateTime Tid för upprättande #xD; <a href="StructureDefinition-getcareplansresponselm-definitions.html#getcareplansresponselm.carePlan.carePlanHeader.patientId" title="Id för patienten. Patientens identifierare. Är identifieraren ett personnummer eller ett samordningsnummer ska denna anges …
url:
  v: https://ineraservices.bitbucket.io/TKB_clinicalprocess_logistics_logistics/3.0.13/StructureDefinition/getcareplansresponselm
  l: getcareplansresponselm
version:
  v: 3.0.13
name:
  v: GetcareplansResponseLM
title:
  v: GetCarePlans - Response
status:
  v: draft
date:
  v: 2026-03-19T12:37:10+00:00
publisher:
  v: Blomberg Tobias
contact:
  name:
    v: Blomberg Tobias
  telecom:
    system:
      v: url
    value:
      v: http://example.org
description:
  v: Response message for GetCarePlans service contract
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: https://ineraservices.bitbucket.io/TKB_clinicalprocess_logistics_logistics/3.0.13/StructureDefinition/getcareplansresponselm
  l: getcareplansresponselm
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: getcareplansresponselm
    path:
      v: getcareplansresponselm
    short:
      v: GetCarePlans - Response
    definition:
      v: Response message for GetCarePlans service contract
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: Base
      min:
        v: 0
      max:
        v: *
    is modifier:
      v: false
  element:
    id:
      v: getcareplansresponselm.carePlan
    path:
      v: getcareplansresponselm.carePlan
    short:
      v: Vård och omsorgsplan
    definition:
      v: De vård- och omsorgsplaner som matchar begäran.
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: getcareplansresponselm.carePlan
      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
  element:
    id:
      v: getcareplansresponselm.carePlan.id
    path:
      v: getcareplansresponselm.carePlan.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: getcareplansresponselm.carePlan.extension
    path:
      v: getcareplansresponselm.carePlan.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: getcareplansresponselm.carePlan.modifierExtension
path:
  v: getcareplansresponselm.carePlan.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: getcareplansresponselm.carePlan.carePlanHeader
path:
  v: getcareplansresponselm.carePlan.carePlanHeader
short:
  v: Dokumentets basinformation
definition:
  v: Innehåller basinformation om dokumentet.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: getcareplansresponselm.carePlan.carePlanHeader
  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: getcareplansresponselm.carePlan.carePlanHeader.id
path:
  v: getcareplansresponselm.carePlan.carePlanHeader.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: getcareplansresponselm.carePlan.carePlanHeader.extension
path:
  v: getcareplansresponselm.carePlan.carePlanHeader.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: getcareplansresponselm.carePlan.carePlanHeader.modifierExtension
path:
  v: getcareplansresponselm.carePlan.carePlanHeader.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: getcareplansresponselm.carePlan.carePlanHeader.documentId
path:
  v: getcareplansresponselm.carePlan.carePlanHeader.documentId
short:
  v: Dokumentets identitet
definition:
  v: Vård- och omsorgsplanens identitet som är unik inom källsystemet. Identifieraren ska vara konsistent och beständigt mellan olika majorversioner av ett kontrakt. Ett exempel på detta är att en vårdkontakt ska ha samma identifierare i majorversion 3 och 4 av ett tjänstekontrakt för att läsa vårdkontakter. Identifieraren ska vara konsistent och beständigt mellan olika kontrakt. Ett exempel på detta är att samma remiss-identitet ska användas i ett tjänstekontrakt för att läsa remisser, samt tjänstekontraktet som läser remissvar som refererar till den ursprungliga remissen.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: getcareplansresponselm.carePlan.carePlanHeader.documentId
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: getcareplansresponselm.carePlan.carePlanHeader.sourceSystemHSAId
path:
  v: getcareplansresponselm.carePlan.carePlanHeader.sourceSystemHSAId
short:
  v: Källsystemets identitet
definition:
  v: HSA-id för det system som dokumentet är skapat i.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: getcareplansresponselm.carePlan.carePlanHeader.sourceSystemHSAId
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/StructureDefinition/elementdefinition-identifier
    l: elementdefinition-identifier

id:
  v: getcareplansresponselm.carePlan.carePlanHeader.documentTitle
path:
  v: getcareplansresponselm.carePlan.carePlanHeader.documentTitle
short:
  v: Planens rubrik
definition:
  v: Text som innehåller en rubrik som beskriver innehållet i vård- och omsorgsplanen. För att underlätta för användaren att orientera sig i gränssnittet är det viktigt att ange en deskriptiv text i attributet rubrik. Inga krav finns dock på struktur för detta. Exempel:Samordnad vårdplanering Rehabiliteringsplan.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: getcareplansresponselm.carePlan.carePlanHeader.documentTitle
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: getcareplansresponselm.carePlan.carePlanHeader.documentTime
path:
  v: getcareplansresponselm.carePlan.carePlanHeader.documentTime
short:
  v: Tid för upprättande
definition:
  v: Tidpunkt då vård- och omsorgsplanen upprättats.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: getcareplansresponselm.carePlan.carePlanHeader.documentTime
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: dateTime
    l: dateTime

id:
  v: getcareplansresponselm.carePlan.carePlanHeader.patientId
path:
  v: getcareplansresponselm.carePlan.carePlanHeader.patientId
short:
  v: Patientens identitet
definition:
  v: Id för patienten. Patientens identifierare. Är identifieraren ett personnummer eller ett samordningsnummer ska denna anges med 12 tecken utan avskiljare. Sätts till OID för typ av identifierare. För personnummer ska Skatteverkets personnummer (1.2.752.129.2.1.3.1). För samordningsnummer ska Skatteverkets samordningsnummer (1.2.752.129.2.1.3.3). För reservnummer används lokalt definierade reservnumret, exempelvis SLL reservnummer (1.2.752.97.3.1.3). För sökning på reservnummer där ingen OID finns OID för att peka ut reservnumret används följande undantagslösning: type sätts till 1.2.752.129.2.1.2.1 och id sätts till källsystemets HSA-id + det lokala reservnumret.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: getcareplansresponselm.carePlan.carePlanHeader.patientId
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/StructureDefinition/elementdefinition-identifier
    l: elementdefinition-identifier

id:
  v: getcareplansresponselm.carePlan.carePlanHeader.accountableHealthcareProfessional
path:
  v: getcareplansresponselm.carePlan.carePlanHeader.accountableHealthcareProfessional
short:
  v: Ansvarig personal
definition:
  v: Hälso- och sjukvårdspersonal som ansvarar för vård- och omsorgsplanen.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: getcareplansresponselm.carePlan.carePlanHeader.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: getcareplansresponselm.carePlan.carePlanHeader.accountableHealthcareProfessional.id
path:
  v: getcareplansresponselm.carePlan.carePlanHeader.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: getcareplansresponselm.carePlan.carePlanHeader.accountableHealthcareProfessional.extension
path:
  v: getcareplansresponselm.carePlan.carePlanHeader.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: getcareplansresponselm.carePlan.carePlanHeader.accountableHealthcareProfessional.modifierExtension
path:
  v: getcareplansresponselm.carePlan.carePlanHeader.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: getcareplansresponselm.carePlan.carePlanHeader.accountableHealthcareProfessional.authorTime
path:
  v: getcareplansresponselm.carePlan.carePlanHeader.accountableHealthcareProfessional.authorTime
short:
  v: Registreringstid
definition:
  v: Tidpunkt då informationen registrerades. Regel: Används ofta för kontroll av tidsbegränsade spärrar i e-tjänster för sammanhållen journalföring
min:
  v: 1
max:
  v: 1
base:
  path:
    v: getcareplansresponselm.carePlan.carePlanHeader.accountableHealthcareProfessional.authorTime
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: dateTime
    l: dateTime

id:
  v: getcareplansresponselm.carePlan.carePlanHeader.accountableHealthcareProfessional.healthcareProfessionalHSAId
path:
  v: getcareplansresponselm.carePlan.carePlanHeader.accountableHealthcareProfessional.healthcareProfessionalHSAId
short:
  v: Personalens identitet
definition:
  v: HSA-id för hälso- och sjukvårdspersonal som ansvar för vårdplanen.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: getcareplansresponselm.carePlan.carePlanHeader.accountableHealthcareProfessional.healthcareProfessionalHSAId
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/StructureDefinition/elementdefinition-identifier
    l: elementdefinition-identifier

id:
  v: getcareplansresponselm.carePlan.carePlanHeader.accountableHealthcareProfessional.healthcareProfessionalName
path:
  v: getcareplansresponselm.carePlan.carePlanHeader.accountableHealthcareProfessional.healthcareProfessionalName
short:
  v: Personalens namn
definition:
  v: Namn på hälso- och sjukvårdspersonal.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: getcareplansresponselm.carePlan.carePlanHeader.accountableHealthcareProfessional.healthcareProfessionalName
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: getcareplansresponselm.carePlan.carePlanHeader.accountableHealthcareProfessional.healthcareProfessionalRoleCode
path:
  v: getcareplansresponselm.carePlan.carePlanHeader.accountableHealthcareProfessional.healthcareProfessionalRoleCode
short:
  v: Personalens befattning
definition:
  v: Information om hälso- och sjukvårdspersonalens befattning. Om möjligt ska KV Befattning (OID 1.2.752.129.2.2.1.4) användas. Se referens [R6]. Om befattning är beskriven i ett lokalt kodverk utan OID, eller när kod helt saknas, kan en beskrivande text anges i originalText.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: getcareplansresponselm.carePlan.carePlanHeader.accountableHealthcareProfessional.healthcareProfessionalRoleCode
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code

id:
  v: getcareplansresponselm.carePlan.carePlanHeader.accountableHealthcareProfessional.healthcareProfessionalOrgUnit
path:
  v: getcareplansresponselm.carePlan.carePlanHeader.accountableHealthcareProfessional.healthcareProfessionalOrgUnit
short:
  v: Personalens enhet
definition:
  v: Den organisation som hälso- och sjukvårdspersonalen är uppdragstagare på. För kompatibilitet med NPÖ RIV 2.2.0 måste healthcareProfessionalOrgUnit (och i denna orgUnitHSAId och orgUnitName) anges.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: getcareplansresponselm.carePlan.carePlanHeader.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: getcareplansresponselm.carePlan.carePlanHeader.accountableHealthcareProfessional.healthcareProfessionalOrgUnit.id
path:
  v: getcareplansresponselm.carePlan.carePlanHeader.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: getcareplansresponselm.carePlan.carePlanHeader.accountableHealthcareProfessional.healthcareProfessionalOrgUnit.extension
path:
  v: getcareplansresponselm.carePlan.carePlanHeader.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: getcareplansresponselm.carePlan.carePlanHeader.accountableHealthcareProfessional.healthcareProfessionalOrgUnit.modifierExtension
path:
  v: getcareplansresponselm.carePlan.carePlanHeader.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: getcareplansresponselm.carePlan.carePlanHeader.accountableHealthcareProfessional.healthcareProfessionalOrgUnit.orgUnitHSAId
path:
  v: getcareplansresponselm.carePlan.carePlanHeader.accountableHealthcareProfessional.healthcareProfessionalOrgUnit.orgUnitHSAId
short:
  v: Enhetens identitet
definition:
  v: HSA-id för organisationsenhet.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: getcareplansresponselm.carePlan.carePlanHeader.accountableHealthcareProfessional.healthcareProfessionalOrgUnit.orgUnitHSAId
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/StructureDefinition/elementdefinition-identifier
    l: elementdefinition-identifier

id:
  v: getcareplansresponselm.carePlan.carePlanHeader.accountableHealthcareProfessional.healthcareProfessionalOrgUnit.orgUnitName
path:
  v: getcareplansresponselm.carePlan.carePlanHeader.accountableHealthcareProfessional.healthcareProfessionalOrgUnit.orgUnitName
short:
  v: Enhetens namn
definition:
  v: Namnet på den organisation som den ansvariga hälso- och sjukvårdspersonalen är uppdragstagare på. För kompatibilitet med NPÖ RIV 2.2.0 måste healthcareProfessionalOrgUnit (och i denna orgUnitHSAId och orgUnitName) anges.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: getcareplansresponselm.carePlan.carePlanHeader.accountableHealthcareProfessional.healthcareProfessionalOrgUnit.orgUnitName
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: getcareplansresponselm.carePlan.carePlanHeader.accountableHealthcareProfessional.healthcareProfessionalOrgUnit.orgUnitTelecom
path:
  v: getcareplansresponselm.carePlan.carePlanHeader.accountableHealthcareProfessional.healthcareProfessionalOrgUnit.orgUnitTelecom
short:
  v: Enhetens telefon
definition:
  v: Telefon till organisationsenhet.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: getcareplansresponselm.carePlan.carePlanHeader.accountableHealthcareProfessional.healthcareProfessionalOrgUnit.orgUnitTelecom
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: getcareplansresponselm.carePlan.carePlanHeader.accountableHealthcareProfessional.healthcareProfessionalOrgUnit.orgUnitEmail
path:
  v: getcareplansresponselm.carePlan.carePlanHeader.accountableHealthcareProfessional.healthcareProfessionalOrgUnit.orgUnitEmail
short:
  v: Enhetens e post
definition:
  v: Epost till enhet.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: getcareplansresponselm.carePlan.carePlanHeader.accountableHealthcareProfessional.healthcareProfessionalOrgUnit.orgUnitEmail
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: getcareplansresponselm.carePlan.carePlanHeader.accountableHealthcareProfessional.healthcareProfessionalOrgUnit.orgUnitAddress
path:
  v: getcareplansresponselm.carePlan.carePlanHeader.accountableHealthcareProfessional.healthcareProfessionalOrgUnit.orgUnitAddress
short:
  v: Enhetens adress
definition:
  v: Postadress för den organisation som hälso- och sjukvårdspersonal en är uppdragstagare på. Skrivs på ett så naturligt sätt som möjligt
min:
  v: 0
max:
  v: 1
base:
  path:
    v: getcareplansresponselm.carePlan.carePlanHeader.accountableHealthcareProfessional.healthcareProfessionalOrgUnit.orgUnitAddress
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: getcareplansresponselm.carePlan.carePlanHeader.accountableHealthcareProfessional.healthcareProfessionalOrgUnit.orgUnitLocation
path:
  v: getcareplansresponselm.carePlan.carePlanHeader.accountableHealthcareProfessional.healthcareProfessionalOrgUnit.orgUnitLocation
short:
  v: Enhetens ort
definition:
  v: Text som anger namnet på plats eller ort för organisationens fysiska placering.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: getcareplansresponselm.carePlan.carePlanHeader.accountableHealthcareProfessional.healthcareProfessionalOrgUnit.orgUnitLocation
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: getcareplansresponselm.carePlan.carePlanHeader.accountableHealthcareProfessional.healthcareProfessionalcareUnitHSAId
path:
  v: getcareplansresponselm.carePlan.carePlanHeader.accountableHealthcareProfessional.healthcareProfessionalcareUnitHSAId
short:
  v: Vårdenhetens identitet
definition:
  v: HSA-id för vårdenhet. Krävs för spärrhantering, åtkomstkontroll samt loggning enligt PDL. Om HSA-id för vårdenhet och vårdgivare inte kan lämnas kommer elementet inte visas upp av konsumenter inom sammanhållen journalföring
min:
  v: 0
max:
  v: 1
base:
  path:
    v: getcareplansresponselm.carePlan.carePlanHeader.accountableHealthcareProfessional.healthcareProfessionalcareUnitHSAId
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/StructureDefinition/elementdefinition-identifier
    l: elementdefinition-identifier

id:
  v: getcareplansresponselm.carePlan.carePlanHeader.accountableHealthcareProfessional.healthcareProfessionalcareGiverHSAId
path:
  v: getcareplansresponselm.carePlan.carePlanHeader.accountableHealthcareProfessional.healthcareProfessionalcareGiverHSAId
short:
  v: Vårdgivarens identitet
definition:
  v: HSA-id för vårdgivaren, som är vårdgivare för den enhet som hälso- och sjukvårdspersonalalen är uppdragstagare för. Krävs för spärrhantering, åtkomstkontroll samt loggning enligt PDL. Om HSA-id för vårdenhet och vårdgivare inte kan lämnas kommer elementet inte visas upp av konsumenter inom sammanhållen journalföring
min:
  v: 0
max:
  v: 1
base:
  path:
    v: getcareplansresponselm.carePlan.carePlanHeader.accountableHealthcareProfessional.healthcareProfessionalcareGiverHSAId
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/StructureDefinition/elementdefinition-identifier
    l: elementdefinition-identifier

id:
  v: getcareplansresponselm.carePlan.carePlanHeader.legalAuthenticator
path:
  v: getcareplansresponselm.carePlan.carePlanHeader.legalAuthenticator
short:
  v: Signerande person
definition:
  v: Information om vem som signerat informationen i dokumentet.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: getcareplansresponselm.carePlan.carePlanHeader.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: getcareplansresponselm.carePlan.carePlanHeader.legalAuthenticator.id
path:
  v: getcareplansresponselm.carePlan.carePlanHeader.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: getcareplansresponselm.carePlan.carePlanHeader.legalAuthenticator.extension
path:
  v: getcareplansresponselm.carePlan.carePlanHeader.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: getcareplansresponselm.carePlan.carePlanHeader.legalAuthenticator.modifierExtension
path:
  v: getcareplansresponselm.carePlan.carePlanHeader.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: getcareplansresponselm.carePlan.carePlanHeader.legalAuthenticator.signatureTime
path:
  v: getcareplansresponselm.carePlan.carePlanHeader.legalAuthenticator.signatureTime
short:
  v: Signeringstid
definition:
  v: Tidpunkt för signering
min:
  v: 1
max:
  v: 1
base:
  path:
    v: getcareplansresponselm.carePlan.carePlanHeader.legalAuthenticator.signatureTime
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: dateTime
    l: dateTime

id:
  v: getcareplansresponselm.carePlan.carePlanHeader.legalAuthenticator.legalAuthenticatorHSAId
path:
  v: getcareplansresponselm.carePlan.carePlanHeader.legalAuthenticator.legalAuthenticatorHSAId
short:
  v: Signerandes identitet
definition:
  v: HSA-id för person som signerat dokumentet
min:
  v: 0
max:
  v: 1
base:
  path:
    v: getcareplansresponselm.carePlan.carePlanHeader.legalAuthenticator.legalAuthenticatorHSAId
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/StructureDefinition/elementdefinition-identifier
    l: elementdefinition-identifier

id:
  v: getcareplansresponselm.carePlan.carePlanHeader.legalAuthenticator.legalAuthenticatorName
path:
  v: getcareplansresponselm.carePlan.carePlanHeader.legalAuthenticator.legalAuthenticatorName
short:
  v: Signerandes namn
definition:
  v: Namnen i klartext för signerande person.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: getcareplansresponselm.carePlan.carePlanHeader.legalAuthenticator.legalAuthenticatorName
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: getcareplansresponselm.carePlan.carePlanHeader.approvedForPatient
path:
  v: getcareplansresponselm.carePlan.carePlanHeader.approvedForPatient
short:
  v: Visas för patient
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. Ska kunna sättas till false för information som inte ska visas vid enskilds direktåtkomst
min:
  v: 1
max:
  v: 1
base:
  path:
    v: getcareplansresponselm.carePlan.carePlanHeader.approvedForPatient
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: boolean
    l: boolean

id:
  v: getcareplansresponselm.carePlan.carePlanHeader.nullified
path:
  v: getcareplansresponselm.carePlan.carePlanHeader.nullified
short:
  v: Ej använd
definition:
  v: Ska ej anges
min:
  v: 0
max:
  v: 0
base:
  path:
    v: getcareplansresponselm.carePlan.carePlanHeader.nullified
  min:
    v: 0
  max:
    v: 0
type:
  code:
    v: string
    l: string

id:
  v: getcareplansresponselm.carePlan.carePlanHeader.nullifiedReason
path:
  v: getcareplansresponselm.carePlan.carePlanHeader.nullifiedReason
short:
  v: Ej använd
definition:
  v: Ska ej anges
min:
  v: 0
max:
  v: 0
base:
  path:
    v: getcareplansresponselm.carePlan.carePlanHeader.nullifiedReason
  min:
    v: 0
  max:
    v: 0
type:
  code:
    v: string
    l: string

id:
  v: getcareplansresponselm.carePlan.carePlanHeader.careContactId
path:
  v: getcareplansresponselm.carePlan.carePlanHeader.careContactId
short:
  v: Vårdkontaktens identitet
definition:
  v: Identitetet för den vårdkontakt som föranlett den information som omfattas av dokumentet. Identiteten är unik inom källsystemet
min:
  v: 0
max:
  v: 1
base:
  path:
    v: getcareplansresponselm.carePlan.carePlanHeader.careContactId
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: getcareplansresponselm.carePlan.carePlanBody
path:
  v: getcareplansresponselm.carePlan.carePlanBody
short:
  v: Planens innehåll
definition:
  v: Planens innehåll
min:
  v: 1
max:
  v: 1
base:
  path:
    v: getcareplansresponselm.carePlan.carePlanBody
  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: getcareplansresponselm.carePlan.carePlanBody.id
path:
  v: getcareplansresponselm.carePlan.carePlanBody.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: getcareplansresponselm.carePlan.carePlanBody.extension
path:
  v: getcareplansresponselm.carePlan.carePlanBody.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: getcareplansresponselm.carePlan.carePlanBody.modifierExtension
path:
  v: getcareplansresponselm.carePlan.carePlanBody.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: getcareplansresponselm.carePlan.carePlanBody.content
path:
  v: getcareplansresponselm.carePlan.carePlanBody.content
short:
  v: Planens innehållsdel
definition:
  v: Beskrivning av innehållet i vård- och omsorgsplanen, bör innehålla vård- och omsorgsplansstatus och mål. Exempelvis kan detta vara ett pdf- dokument, skannat dokument, eller beskrivet i text.
min:
  v: 0
max:
  v: *
base:
  path:
    v: getcareplansresponselm.carePlan.carePlanBody.content
  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: getcareplansresponselm.carePlan.carePlanBody.content.id
path:
  v: getcareplansresponselm.carePlan.carePlanBody.content.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: getcareplansresponselm.carePlan.carePlanBody.content.extension
path:
  v: getcareplansresponselm.carePlan.carePlanBody.content.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: getcareplansresponselm.carePlan.carePlanBody.content.modifierExtension
path:
  v: getcareplansresponselm.carePlan.carePlanBody.content.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: getcareplansresponselm.carePlan.carePlanBody.content.mediaType
path:
  v: getcareplansresponselm.carePlan.carePlanBody.content.mediaType
short:
  v: Mediatyp
definition:
  v: Typ av multimedia (enligt HL7). Följande format för mediatype kan tillämpas i denna version: Följande format för mediatype kan tillämpas i denna version: text/plain, text/html, image/png, image/jpeg, image/tiff, application/pdf
min:
  v: 1
max:
  v: 1
base:
  path:
    v: getcareplansresponselm.carePlan.carePlanBody.content.mediaType
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: code
    l: code

id:
  v: getcareplansresponselm.carePlan.carePlanBody.content.value
path:
  v: getcareplansresponselm.carePlan.carePlanBody.content.value
short:
  v: Innehållets data
definition:
  v: Value är binärdata som representerar objektet. Ett och endast ett av attributen value och reference ska anges.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: getcareplansresponselm.carePlan.carePlanBody.content.value
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: getcareplansresponselm.carePlan.carePlanBody.content.reference
path:
  v: getcareplansresponselm.carePlan.carePlanBody.content.reference
short:
  v: Innehållets referens
definition:
  v: Referens till extern binär fil i form av en URL. Ett och endast ett av attributen value och reference ska anges.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: getcareplansresponselm.carePlan.carePlanBody.content.reference
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: getcareplansresponselm.carePlan.carePlanBody.participatingCareUnitHSAId
path:
  v: getcareplansresponselm.carePlan.carePlanBody.participatingCareUnitHSAId
short:
  v: Deltagande enhet
definition:
  v: En Vård- och omsorgsplan har noll eller flera deltagande enheter.
min:
  v: 0
max:
  v: *
base:
  path:
    v: getcareplansresponselm.carePlan.carePlanBody.participatingCareUnitHSAId
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/StructureDefinition/elementdefinition-identifier
    l: elementdefinition-identifier

id:
  v: getcareplansresponselm.carePlan.carePlanBody.typeOfCarePlan
path:
  v: getcareplansresponselm.carePlan.carePlanBody.typeOfCarePlan
short:
  v: Planens typ
definition:
  v: Typ av vård- och omsorgsplan, SIP - för Samordnad individuell plan, SPLPTLRV - för Samordnad plan enligt LPT eller LRV, SPU - för Samordnad plan vid utskrivning, VP - för Vårdplan, HP för Habiliteringsplan, RP för Rehabiliteringsplan, GP - för Genomförande plan, SVP - Standardiserad vårdplan. Termerna är tagna ifrån Socialstyrelsens termbank.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: getcareplansresponselm.carePlan.carePlanBody.typeOfCarePlan
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code

id:
  v: getcareplansresponselm.carePlan.Result
path:
  v: getcareplansresponselm.carePlan.Result
short:
  v: Resultat
definition:
  v: Innehåller information om begäran gick bra eller ej.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: getcareplansresponselm.carePlan.Result
  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: getcareplansresponselm.carePlan.Result.id
path:
  v: getcareplansresponselm.carePlan.Result.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: getcareplansresponselm.carePlan.Result.extension
path:
  v: getcareplansresponselm.carePlan.Result.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: getcareplansresponselm.carePlan.Result.modifierExtension
path:
  v: getcareplansresponselm.carePlan.Result.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: getcareplansresponselm.carePlan.Result.resultCode
path:
  v: getcareplansresponselm.carePlan.Result.resultCode
short:
  v: Resultatkod
definition:
  v: Kan endast vara OK, INFO eller ERROR
min:
  v: 1
max:
  v: 1
base:
  path:
    v: getcareplansresponselm.carePlan.Result.resultCode
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: code
    l: code

id:
  v: getcareplansresponselm.carePlan.Result.errorCode
path:
  v: getcareplansresponselm.carePlan.Result.errorCode
short:
  v: Felkod
definition:
  v: Sätts endast om resultCode är ERROR, se kapitel 4.4 för mer information.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: getcareplansresponselm.carePlan.Result.errorCode
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code

id:
  v: getcareplansresponselm.carePlan.Result.subcode
path:
  v: getcareplansresponselm.carePlan.Result.subcode
short:
  v: Underkod
definition:
  v: Inga subkoder är specificerade.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: getcareplansresponselm.carePlan.Result.subcode
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: getcareplansresponselm.carePlan.Result.logId
path:
  v: getcareplansresponselm.carePlan.Result.logId
short:
  v: Loggidentitet
definition:
  v: En UUID som kan användas vid felanmälan för att användas vid felsökning av producent.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: getcareplansresponselm.carePlan.Result.logId
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: getcareplansresponselm.carePlan.Result.message
path:
  v: getcareplansresponselm.carePlan.Result.message
short:
  v: Meddelande
definition:
  v: En beskrivande text som kan visas för användaren.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: getcareplansresponselm.carePlan.Result.message
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

element:
  id:
    v: getcareplansresponselm
  path:
    v: getcareplansresponselm
  short:
    v: GetCarePlans - Response
  definition:
    v: Response message for GetCarePlans service contract
element:
  id:
    v: getcareplansresponselm.carePlan
  path:
    v: getcareplansresponselm.carePlan
  short:
    v: Vård och omsorgsplan
  definition:
    v: De vård- och omsorgsplaner som matchar begäran.
  min:
    v: 0
  max:
    v: *
  type:
    code:
      v: BackboneElement
      l: BackboneElement
element:
  id:
    v: getcareplansresponselm.carePlan.carePlanHeader
  path:
    v: getcareplansresponselm.carePlan.carePlanHeader
  short:
    v: Dokumentets basinformation
  definition:
    v: Innehåller basinformation om dokumentet.
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: BackboneElement
      l: BackboneElement
element:
  id:
    v: getcareplansresponselm.carePlan.carePlanHeader.documentId
  path:
    v: getcareplansresponselm.carePlan.carePlanHeader.documentId
  short:
    v: Dokumentets identitet
  definition:
    v: Vård- och omsorgsplanens identitet som är unik inom källsystemet. Identifieraren ska vara konsistent och beständigt mellan olika majorversioner av ett kontrakt. Ett exempel på detta är att en vårdkontakt ska ha samma identifierare i majorversion 3 och 4 av ett tjänstekontrakt för att läsa vårdkontakter. Identifieraren ska vara konsistent och beständigt mellan olika kontrakt. Ett exempel på detta är att samma remiss-identitet ska användas i ett tjänstekontrakt för att läsa remisser, samt tjänstekontraktet som läser remissvar som refererar till den ursprungliga remissen.
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: string
      l: string
element:
  id:
    v: getcareplansresponselm.carePlan.carePlanHeader.sourceSystemHSAId
  path:
    v: getcareplansresponselm.carePlan.carePlanHeader.sourceSystemHSAId
  short:
    v: Källsystemets identitet
  definition:
    v: HSA-id för det system som dokumentet är skapat i.
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: Extension
      l: Extension
    profile:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-identifier
      l: elementdefinition-identifier
element:
  id:
    v: getcareplansresponselm.carePlan.carePlanHeader.documentTitle
  path:
    v: getcareplansresponselm.carePlan.carePlanHeader.documentTitle
  short:
    v: Planens rubrik
  definition:
    v: Text som innehåller en rubrik som beskriver innehållet i vård- och omsorgsplanen. För att underlätta för användaren att orientera sig i gränssnittet är det viktigt att ange en deskriptiv text i attributet rubrik. Inga krav finns dock på struktur för detta. Exempel:Samordnad vårdplanering Rehabiliteringsplan.
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: string
      l: string
element:
  id:
    v: getcareplansresponselm.carePlan.carePlanHeader.documentTime
  path:
    v: getcareplansresponselm.carePlan.carePlanHeader.documentTime
  short:
    v: Tid för upprättande
  definition:
    v: Tidpunkt då vård- och omsorgsplanen upprättats.
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: dateTime
      l: dateTime
element:
  id:
    v: getcareplansresponselm.carePlan.carePlanHeader.patientId
  path:
    v: getcareplansresponselm.carePlan.carePlanHeader.patientId
  short:
    v: Patientens identitet
  definition:
    v: Id för patienten. Patientens identifierare. Är identifieraren ett personnummer eller ett samordningsnummer ska denna anges med 12 tecken utan avskiljare. Sätts till OID för typ av identifierare. För personnummer ska Skatteverkets personnummer (1.2.752.129.2.1.3.1). För samordningsnummer ska Skatteverkets samordningsnummer (1.2.752.129.2.1.3.3). För reservnummer används lokalt definierade reservnumret, exempelvis SLL reservnummer (1.2.752.97.3.1.3). För sökning på reservnummer där ingen OID finns OID för att peka ut reservnumret används följande undantagslösning: type sätts till 1.2.752.129.2.1.2.1 och id sätts till källsystemets HSA-id + det lokala reservnumret.
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: Extension
      l: Extension
    profile:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-identifier
      l: elementdefinition-identifier
element:
  id:
    v: getcareplansresponselm.carePlan.carePlanHeader.accountableHealthcareProfessional
  path:
    v: getcareplansresponselm.carePlan.carePlanHeader.accountableHealthcareProfessional
  short:
    v: Ansvarig personal
  definition:
    v: Hälso- och sjukvårdspersonal som ansvarar för vård- och omsorgsplanen.
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: BackboneElement
      l: BackboneElement
element:
  id:
    v: getcareplansresponselm.carePlan.carePlanHeader.accountableHealthcareProfessional.authorTime
  path:
    v: getcareplansresponselm.carePlan.carePlanHeader.accountableHealthcareProfessional.authorTime
  short:
    v: Registreringstid
  definition:
    v: Tidpunkt då informationen registrerades. Regel: Används ofta för kontroll av tidsbegränsade spärrar i e-tjänster för sammanhållen journalföring
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: dateTime
      l: dateTime
element:
  id:
    v: getcareplansresponselm.carePlan.carePlanHeader.accountableHealthcareProfessional.healthcareProfessionalHSAId
  path:
    v: getcareplansresponselm.carePlan.carePlanHeader.accountableHealthcareProfessional.healthcareProfessionalHSAId
  short:
    v: Personalens identitet
  definition:
    v: HSA-id för hälso- och sjukvårdspersonal som ansvar för vårdplanen.
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: Extension
      l: Extension
    profile:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-identifier
      l: elementdefinition-identifier
element:
  id:
    v: getcareplansresponselm.carePlan.carePlanHeader.accountableHealthcareProfessional.healthcareProfessionalName
  path:
    v: getcareplansresponselm.carePlan.carePlanHeader.accountableHealthcareProfessional.healthcareProfessionalName
  short:
    v: Personalens namn
  definition:
    v: Namn på hälso- och sjukvårdspersonal.
  min:
    v: 0
  max:
    v: 1

code:
  v: string
  l: string

id:
  v: getcareplansresponselm.carePlan.carePlanHeader.accountableHealthcareProfessional.healthcareProfessionalRoleCode
path:
  v: getcareplansresponselm.carePlan.carePlanHeader.accountableHealthcareProfessional.healthcareProfessionalRoleCode
short:
  v: Personalens befattning
definition:
  v: Information om hälso- och sjukvårdspersonalens befattning. Om möjligt ska KV Befattning (OID 1.2.752.129.2.2.1.4) användas. Se referens [R6]. Om befattning är beskriven i ett lokalt kodverk utan OID, eller när kod helt saknas, kan en beskrivande text anges i originalText.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: code
    l: code

id:
  v: getcareplansresponselm.carePlan.carePlanHeader.accountableHealthcareProfessional.healthcareProfessionalOrgUnit
path:
  v: getcareplansresponselm.carePlan.carePlanHeader.accountableHealthcareProfessional.healthcareProfessionalOrgUnit
short:
  v: Personalens enhet
definition:
  v: Den organisation som hälso- och sjukvårdspersonalen är uppdragstagare på. För kompatibilitet med NPÖ RIV 2.2.0 måste healthcareProfessionalOrgUnit (och i denna orgUnitHSAId och orgUnitName) anges.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement

id:
  v: getcareplansresponselm.carePlan.carePlanHeader.accountableHealthcareProfessional.healthcareProfessionalOrgUnit.orgUnitHSAId
path:
  v: getcareplansresponselm.carePlan.carePlanHeader.accountableHealthcareProfessional.healthcareProfessionalOrgUnit.orgUnitHSAId
short:
  v: Enhetens identitet
definition:
  v: HSA-id för organisationsenhet.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/StructureDefinition/elementdefinition-identifier
    l: elementdefinition-identifier

id:
  v: getcareplansresponselm.carePlan.carePlanHeader.accountableHealthcareProfessional.healthcareProfessionalOrgUnit.orgUnitName
path:
  v: getcareplansresponselm.carePlan.carePlanHeader.accountableHealthcareProfessional.healthcareProfessionalOrgUnit.orgUnitName
short:
  v: Enhetens namn
definition:
  v: Namnet på den organisation som den ansvariga hälso- och sjukvårdspersonalen är uppdragstagare på. För kompatibilitet med NPÖ RIV 2.2.0 måste healthcareProfessionalOrgUnit (och i denna orgUnitHSAId och orgUnitName) anges.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string

id:
  v: getcareplansresponselm.carePlan.carePlanHeader.accountableHealthcareProfessional.healthcareProfessionalOrgUnit.orgUnitTelecom
path:
  v: getcareplansresponselm.carePlan.carePlanHeader.accountableHealthcareProfessional.healthcareProfessionalOrgUnit.orgUnitTelecom
short:
  v: Enhetens telefon
definition:
  v: Telefon till organisationsenhet.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string

id:
  v: getcareplansresponselm.carePlan.carePlanHeader.accountableHealthcareProfessional.healthcareProfessionalOrgUnit.orgUnitEmail
path:
  v: getcareplansresponselm.carePlan.carePlanHeader.accountableHealthcareProfessional.healthcareProfessionalOrgUnit.orgUnitEmail
short:
  v: Enhetens e post
definition:
  v: Epost till enhet.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string

id:
  v: getcareplansresponselm.carePlan.carePlanHeader.accountableHealthcareProfessional.healthcareProfessionalOrgUnit.orgUnitAddress
path:
  v: getcareplansresponselm.carePlan.carePlanHeader.accountableHealthcareProfessional.healthcareProfessionalOrgUnit.orgUnitAddress
short:
  v: Enhetens adress
definition:
  v: Postadress för den organisation som hälso- och sjukvårdspersonal en är uppdragstagare på. Skrivs på ett så naturligt sätt som möjligt
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string

id:
  v: getcareplansresponselm.carePlan.carePlanHeader.accountableHealthcareProfessional.healthcareProfessionalOrgUnit.orgUnitLocation
path:
  v: getcareplansresponselm.carePlan.carePlanHeader.accountableHealthcareProfessional.healthcareProfessionalOrgUnit.orgUnitLocation
short:
  v: Enhetens ort
definition:
  v: Text som anger namnet på plats eller ort för organisationens fysiska placering.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string

id:
  v: getcareplansresponselm.carePlan.carePlanHeader.accountableHealthcareProfessional.healthcareProfessionalcareUnitHSAId
path:
  v: getcareplansresponselm.carePlan.carePlanHeader.accountableHealthcareProfessional.healthcareProfessionalcareUnitHSAId
short:
  v: Vårdenhetens identitet
definition:
  v: HSA-id för vårdenhet. Krävs för spärrhantering, åtkomstkontroll samt loggning enligt PDL. Om HSA-id för vårdenhet och vårdgivare inte kan lämnas kommer elementet inte visas upp av konsumenter inom sammanhållen journalföring
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/StructureDefinition/elementdefinition-identifier
    l: elementdefinition-identifier

id:
  v: getcareplansresponselm.carePlan.carePlanHeader.accountableHealthcareProfessional.healthcareProfessionalcareGiverHSAId
path:
  v: getcareplansresponselm.carePlan.carePlanHeader.accountableHealthcareProfessional.healthcareProfessionalcareGiverHSAId
short:
  v: Vårdgivarens identitet
definition:
  v: HSA-id för vårdgivaren, som är vårdgivare för den enhet som hälso- och sjukvårdspersonalalen är uppdragstagare för. Krävs för spärrhantering, åtkomstkontroll samt loggning enligt PDL. Om HSA-id för vårdenhet och vårdgivare inte kan lämnas kommer elementet inte visas upp av konsumenter inom sammanhållen journalföring
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/StructureDefinition/elementdefinition-identifier
    l: elementdefinition-identifier

id:
  v: getcareplansresponselm.carePlan.carePlanHeader.legalAuthenticator
path:
  v: getcareplansresponselm.carePlan.carePlanHeader.legalAuthenticator
short:
  v: Signerande person
definition:
  v: Information om vem som signerat informationen i dokumentet.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement

id:
  v: getcareplansresponselm.carePlan.carePlanHeader.legalAuthenticator.signatureTime
path:
  v: getcareplansresponselm.carePlan.carePlanHeader.legalAuthenticator.signatureTime
short:
  v: Signeringstid
definition:
  v: Tidpunkt för signering
min:
  v: 1
max:
  v: 1
type:
  code:
    v: dateTime
    l: dateTime

id:
  v: getcareplansresponselm.carePlan.carePlanHeader.legalAuthenticator.legalAuthenticatorHSAId
path:
  v: getcareplansresponselm.carePlan.carePlanHeader.legalAuthenticator.legalAuthenticatorHSAId
short:
  v: Signerandes identitet
definition:
  v: HSA-id för person som signerat dokumentet
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/StructureDefinition/elementdefinition-identifier
    l: elementdefinition-identifier

id:
  v: getcareplansresponselm.carePlan.carePlanHeader.legalAuthenticator.legalAuthenticatorName
path:
  v: getcareplansresponselm.carePlan.carePlanHeader.legalAuthenticator.legalAuthenticatorName
short:
  v: Signerandes namn
definition:
  v: Namnen i klartext för signerande person.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string

id:
  v: getcareplansresponselm.carePlan.carePlanHeader.approvedForPatient
path:
  v: getcareplansresponselm.carePlan.carePlanHeader.approvedForPatient
short:
  v: Visas för patient
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. Ska kunna sättas till false för information som inte ska visas vid enskilds direktåtkomst
min:
  v: 1
max:
  v: 1
type:
  code:
    v: boolean
    l: boolean

id:
  v: getcareplansresponselm.carePlan.carePlanHeader.nullified
path:
  v: getcareplansresponselm.carePlan.carePlanHeader.nullified
short:
  v: Ej använd
definition:
  v: Ska ej anges
min:
  v: 0
max:
  v: 0
type:
  code:
    v: string
    l: string

id:
  v: getcareplansresponselm.carePlan.carePlanHeader.nullifiedReason
path:
  v: getcareplansresponselm.carePlan.carePlanHeader.nullifiedReason
short:
  v: Ej använd
definition:
  v: Ska ej anges
min:
  v: 0
max:
  v: 0
type:
  code:
    v: string
    l: string

id:
  v: getcareplansresponselm.carePlan.carePlanHeader.careContactId
path:
  v: getcareplansresponselm.carePlan.carePlanHeader.careContactId
short:
  v: Vårdkontaktens identitet
definition:
  v: Identitetet för den vårdkontakt som föranlett den information som omfattas av dokumentet. Identiteten är unik inom källsystemet
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string

id:
  v: getcareplansresponselm.carePlan.carePlanBody
path:
  v: getcareplansresponselm.carePlan.carePlanBody
short:
  v: Planens innehåll
definition:
  v: Planens innehåll
min:
  v: 1
max:
  v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement

id:
  v: getcareplansresponselm.carePlan.carePlanBody.content
path:
  v: getcareplansresponselm.carePlan.carePlanBody.content
short:
  v: Planens innehållsdel
definition:
  v: Beskrivning av innehållet i vård- och omsorgsplanen, bör innehålla vård- och omsorgsplansstatus och mål. Exempelvis kan detta vara ett pdf- dokument, skannat dokument, eller beskrivet i text.
min:
  v: 0
max:
  v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement

id:
  v: getcareplansresponselm.carePlan.carePlanBody.content.mediaType
path:
  v: getcareplansresponselm.carePlan.carePlanBody.content.mediaType
short:
  v: Mediatyp
definition:
  v: Typ av multimedia (enligt HL7). Följande format för mediatype kan tillämpas i denna version: Följande format för mediatype kan tillämpas i denna version: text/plain, text/html, image/png, image/jpeg, image/tiff, application/pdf
min:
  v: 1
max:
  v: 1
type:
  code:
    v: code
    l: code

id:
  v: getcareplansresponselm.carePlan.carePlanBody.content.value
path:
  v: getcareplansresponselm.carePlan.carePlanBody.content.value
short:
  v: Innehållets data
definition:
  v: Value är binärdata som representerar objektet. Ett och endast ett av attributen value och reference ska anges.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string

id:
  v: getcareplansresponselm.carePlan.carePlanBody.content.reference
path:
  v: getcareplansresponselm.carePlan.carePlanBody.content.reference
short:
  v: Innehållets referens
definition:
  v: Referens till extern binär fil i form av en URL. Ett och endast ett av attributen value och reference ska anges.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string

id:
  v: getcareplansresponselm.carePlan.carePlanBody.participatingCareUnitHSAId
path:
  v: getcareplansresponselm.carePlan.carePlanBody.participatingCareUnitHSAId
short:
  v: Deltagande enhet
definition:
  v: En Vård- och omsorgsplan har noll eller flera deltagande enheter.
min:
  v: 0
max:
  v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/StructureDefinition/elementdefinition-identifier
    l: elementdefinition-identifier

id:
  v: getcareplansresponselm.carePlan.carePlanBody.typeOfCarePlan
path:
  v: getcareplansresponselm.carePlan.carePlanBody.typeOfCarePlan
short:
  v: Planens typ
definition:
  v: Typ av vård- och omsorgsplan, SIP - för Samordnad individuell plan, SPLPTLRV - för Samordnad plan enligt LPT eller LRV, SPU - för Samordnad plan vid utskrivning, VP - för Vårdplan, HP för Habiliteringsplan, RP för Rehabiliteringsplan, GP - för Genomförande plan, SVP - Standardiserad vårdplan. Termerna är tagna ifrån Socialstyrelsens termbank.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: code
    l: code

id:
  v: getcareplansresponselm.carePlan.Result
path:
  v: getcareplansresponselm.carePlan.Result
short:
  v: Resultat
definition:
  v: Innehåller information om begäran gick bra eller ej.
min:
  v: 1
max:
  v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement

id:
  v: getcareplansresponselm.carePlan.Result.resultCode
path:
  v: getcareplansresponselm.carePlan.Result.resultCode
short:
  v: Resultatkod
definition:
  v: Kan endast vara OK, INFO eller ERROR
min:
  v: 1
max:
  v: 1
type:
  code:
    v: code
    l: code

id:
  v: getcareplansresponselm.carePlan.Result.errorCode
path:
  v: getcareplansresponselm.carePlan.Result.errorCode
short:
  v: Felkod
definition:
  v: Sätts endast om resultCode är ERROR, se kapitel 4.4 för mer information.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: code
    l: code

id:
  v: getcareplansresponselm.carePlan.Result.subcode
path:
  v: getcareplansresponselm.carePlan.Result.subcode
short:
  v: Underkod
definition:
  v: Inga subkoder är specificerade.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string

id:
  v: getcareplansresponselm.carePlan.Result.logId
path:
  v: getcareplansresponselm.carePlan.Result.logId
short:
  v: Loggidentitet
definition:
  v: En UUID som kan användas vid felanmälan för att användas vid felsökning av producent.
min:
  v: 1
max:
  v: 1
type:
  code:
    v: string
    l: string

id:
  v: getcareplansresponselm.carePlan.Result.message
path:
  v: getcareplansresponselm.carePlan.Result.message
short:
  v: Meddelande
definition:
  v: En beskrivande text som kan visas för användaren.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string