getactivity
type: StructureDefinition
node role: treeRoot
id:
  v: getactivity
text:
  status:
    v: extensions
  div:
    v: Generated Narrative: StructureDefinition getactivity Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> getactivity 0..* Base GetActivity Logical Model #xD; activityGroup 0..* BackboneElement Grupp av aktiviteter. #xD; patient 1..1 BackboneElement Aktivitetens patient. #xD; patientIdentifier 1..1 BackboneElement Patientens unika id. #xD; root 1..1 string OID för patientens id-typ. #xD; value 1..1 string Patientens identifieringsnummer. #xD; dateOfBirth 1..1 date Födelsedatum. #xD; gender 0..1 CodeableConcept Patientens kön. #xD; performerRole 1..1 BackboneElement Utförarens roll. #xD; performerIdentifier 0..1 BackboneElement Utförarens id (om hälso‑och sjukvårdspersonal). #xD; root 1..1 string OID för HSA‑id. #xD; value 1..1 string HSA‑id för utföraren. #xD; code 1..1 CodeableConcept Utförarrollens kod. #xD; person 0..1 BackboneElement Övriga personuppgifter. #xD; careUnit 0..1 BackboneElement Vårdenhet. #xD; careUnitIdentifier 1..1 BackboneElement Vårdenhetens id. #xD; name 0..1 string Vårdenhetens namn. #xD; legalAuthenticator 0..1 BackboneElement Signerare. #xD; authenticatorIdentifier 0..1 Identifier Signerandes id. #xD; time 1..1 dateTime Signeringstid. #xD; name 0..1 string Signerandes namn. #xD; additionalParticipant 0..* BackboneElement Ytterligare deltagare. #xD; participantIdentifier 1..1 BackboneElement Id för ytterligare deltagare. #xD; type 1..1 CodeableConcept Deltagares typ. #xD; role 1..1 CodeableConcept Deltagares roll. #xD; time 0..1 Period Deltagandets tid. #xD; organisationType 1..1 BackboneElement Organisationstillhörighet. #xD; device 0..1 string Medicinteknisk produkt. #xD; location 0..1 string Plats. #xD; electronicAddress 1..1 string Elektronisk adress för plats. #xD; organisation 0..1 Identifier Ytterligare organisationsdeltagande. #xD; sourceSystem 1..1 BackboneElement Källsystem. #xD; systemIdentifier 1..1 BackboneElement Systemets id. #xD; root 1..1 string OID för källsystem.…
url:
  v: https://ineraservices.bitbucket.io/TKB_clinicalprocess_healthcond_description/3.0.5/StructureDefinition/getactivity
  l: getactivity
version:
  v: 3.0.5
name:
  v: GetActivityLM
title:
  v: GetActivity Logical Model
status:
  v: draft
date:
  v: 2026-03-19T11:51:27+00:00
publisher:
  v: Test Generator
contact:
  name:
    v: Test Generator
  telecom:
    system:
      v: url
    value:
      v: http://example.org
description:
  v: Logical model from GetActivity service contract (from normalized Excel)
jurisdiction:
  coding:
    system:
      v: urn:iso:std:iso:3166
      l: 3166
    code:
      v: SE
    display:
      v: Sweden
fhir version:
  v: 4.0.1
kind:
  v: logical
abstract:
  v: false
type:
  v: https://ineraservices.bitbucket.io/TKB_clinicalprocess_healthcond_description/3.0.5/StructureDefinition/getactivity
  l: getactivity
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: getactivity
    path:
      v: getactivity
    short:
      v: GetActivity Logical Model
    definition:
      v: Logical model from GetActivity service contract (from normalized Excel)
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: Base
      min:
        v: 0
      max:
        v: *
    is modifier:
      v: false
  element:
    id:
      v: getactivity.activityGroup
    path:
      v: getactivity.activityGroup
    short:
      v: Grupp av aktiviteter.
    definition:
      v: Grupp av aktiviteter som delar samma patient, utförare, signerare, källsystem, vårdprocess‑id, utrustning samt plats. Teknisk optimering för att minska redundans.
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: getactivity.activityGroup
      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: getactivity.activityGroup.id
    path:
      v: getactivity.activityGroup.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: getactivity.activityGroup.extension
    path:
      v: getactivity.activityGroup.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: getactivity.activityGroup.modifierExtension
path:
  v: getactivity.activityGroup.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: getactivity.activityGroup.patient
path:
  v: getactivity.activityGroup.patient
short:
  v: Aktivitetens patient.
definition:
  v: Den patient som aktivitetsgruppen avser, specificerad i en kompakt Patient-representation.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: getactivity.activityGroup.patient
  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: getactivity.activityGroup.patient.id
path:
  v: getactivity.activityGroup.patient.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: getactivity.activityGroup.patient.extension
path:
  v: getactivity.activityGroup.patient.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: getactivity.activityGroup.patient.modifierExtension
path:
  v: getactivity.activityGroup.patient.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: getactivity.activityGroup.patient.patientIdentifier
path:
  v: getactivity.activityGroup.patient.patientIdentifier
short:
  v: Patientens unika id.
definition:
  v: Id för patienten, anges med 12 tecken utan avskiljare.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: getactivity.activityGroup.patient.patientIdentifier
  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: getactivity.activityGroup.patient.patientIdentifier.id
path:
  v: getactivity.activityGroup.patient.patientIdentifier.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: getactivity.activityGroup.patient.patientIdentifier.extension
path:
  v: getactivity.activityGroup.patient.patientIdentifier.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: getactivity.activityGroup.patient.patientIdentifier.modifierExtension
path:
  v: getactivity.activityGroup.patient.patientIdentifier.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: getactivity.activityGroup.patient.patientIdentifier.root
path:
  v: getactivity.activityGroup.patient.patientIdentifier.root
short:
  v: OID för patientens id-typ.
definition:
  v: Sätts till OID för typ av identifierare (t.ex. Skatteverkets personnummer).
min:
  v: 1
max:
  v: 1
base:
  path:
    v: getactivity.activityGroup.patient.patientIdentifier.root
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: getactivity.activityGroup.patient.patientIdentifier.value
path:
  v: getactivity.activityGroup.patient.patientIdentifier.value
short:
  v: Patientens identifieringsnummer.
definition:
  v: Innehåller personnummer, samordningsnummer eller reservnummer.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: getactivity.activityGroup.patient.patientIdentifier.value
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: getactivity.activityGroup.patient.dateOfBirth
path:
  v: getactivity.activityGroup.patient.dateOfBirth
short:
  v: Födelsedatum.
definition:
  v: Anger patientens födelseår, månad och dag (ej personnummerformat).
min:
  v: 1
max:
  v: 1
base:
  path:
    v: getactivity.activityGroup.patient.dateOfBirth
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: date
    l: date

id:
  v: getactivity.activityGroup.patient.gender
path:
  v: getactivity.activityGroup.patient.gender
short:
  v: Patientens kön.
definition:
  v: Anger patientens kön med en kod (ex. 0=okänt, 1=man, 2=kvinna, 9=ej tillämpligt).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: getactivity.activityGroup.patient.gender
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: getactivity.activityGroup.performerRole
path:
  v: getactivity.activityGroup.performerRole
short:
  v: Utförarens roll.
definition:
  v: Den person eller enhet som utfört aktiviteter inom gruppen.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: getactivity.activityGroup.performerRole
  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: getactivity.activityGroup.performerRole.id
path:
  v: getactivity.activityGroup.performerRole.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: getactivity.activityGroup.performerRole.extension
path:
  v: getactivity.activityGroup.performerRole.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: getactivity.activityGroup.performerRole.modifierExtension
path:
  v: getactivity.activityGroup.performerRole.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: getactivity.activityGroup.performerRole.performerIdentifier
path:
  v: getactivity.activityGroup.performerRole.performerIdentifier
short:
  v: Utförarens id (om hälso‑och sjukvårdspersonal).
definition:
  v: Identifierar den person som utfört aktiviteten med HSA‑id.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: getactivity.activityGroup.performerRole.performerIdentifier
  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: getactivity.activityGroup.performerRole.performerIdentifier.id
path:
  v: getactivity.activityGroup.performerRole.performerIdentifier.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: getactivity.activityGroup.performerRole.performerIdentifier.extension
path:
  v: getactivity.activityGroup.performerRole.performerIdentifier.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: getactivity.activityGroup.performerRole.performerIdentifier.modifierExtension
path:
  v: getactivity.activityGroup.performerRole.performerIdentifier.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: getactivity.activityGroup.performerRole.performerIdentifier.root
path:
  v: getactivity.activityGroup.performerRole.performerIdentifier.root
short:
  v: OID för HSA‑id.
definition:
  v: Sätts till OID för HSA‑katalogen (t.ex. 1.2.752.129.2.1.4.1).
min:
  v: 1
max:
  v: 1
base:
  path:
    v: getactivity.activityGroup.performerRole.performerIdentifier.root
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: getactivity.activityGroup.performerRole.performerIdentifier.value
path:
  v: getactivity.activityGroup.performerRole.performerIdentifier.value
short:
  v: HSA‑id för utföraren.
definition:
  v: Utförarens HSA‑id anges här.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: getactivity.activityGroup.performerRole.performerIdentifier.value
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: getactivity.activityGroup.performerRole.code
path:
  v: getactivity.activityGroup.performerRole.code
short:
  v: Utförarrollens kod.
definition:
  v: Beskriver vilken roll utföraren har (t.ex. primär utförare, assistent).
min:
  v: 1
max:
  v: 1
base:
  path:
    v: getactivity.activityGroup.performerRole.code
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: getactivity.activityGroup.performerRole.person
path:
  v: getactivity.activityGroup.performerRole.person
short:
  v: Övriga personuppgifter.
definition:
  v: Beskriver den person som utfört aktiviteten när personen inte klassas som hälso‑och sjukvårdspersonal.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: getactivity.activityGroup.performerRole.person
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement

id:
  v: getactivity.activityGroup.performerRole.careUnit
path:
  v: getactivity.activityGroup.performerRole.careUnit
short:
  v: Vårdenhet.
definition:
  v: Den vårdenhet där aktiviteten utförs; anges om utföraren är hälso‑och sjukvårdspersonal.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: getactivity.activityGroup.performerRole.careUnit
  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: getactivity.activityGroup.performerRole.careUnit.id
path:
  v: getactivity.activityGroup.performerRole.careUnit.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: getactivity.activityGroup.performerRole.careUnit.extension
path:
  v: getactivity.activityGroup.performerRole.careUnit.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: getactivity.activityGroup.performerRole.careUnit.modifierExtension
path:
  v: getactivity.activityGroup.performerRole.careUnit.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: getactivity.activityGroup.performerRole.careUnit.careUnitIdentifier
path:
  v: getactivity.activityGroup.performerRole.careUnit.careUnitIdentifier
short:
  v: Vårdenhetens id.
definition:
  v: HSA‑id för vårdenheten, med OID och extension.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: getactivity.activityGroup.performerRole.careUnit.careUnitIdentifier
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement

id:
  v: getactivity.activityGroup.performerRole.careUnit.name
path:
  v: getactivity.activityGroup.performerRole.careUnit.name
short:
  v: Vårdenhetens namn.
definition:
  v: Namnet på den vårdenhet där aktiviteten är knuten.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: getactivity.activityGroup.performerRole.careUnit.name
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: getactivity.activityGroup.legalAuthenticator
path:
  v: getactivity.activityGroup.legalAuthenticator
short:
  v: Signerare.
definition:
  v: Den person som signerat aktiviteterna i gruppen, i en kompakt representation.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: getactivity.activityGroup.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: getactivity.activityGroup.legalAuthenticator.id
path:
  v: getactivity.activityGroup.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: getactivity.activityGroup.legalAuthenticator.extension
path:
  v: getactivity.activityGroup.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: getactivity.activityGroup.legalAuthenticator.modifierExtension
path:
  v: getactivity.activityGroup.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: getactivity.activityGroup.legalAuthenticator.authenticatorIdentifier
path:
  v: getactivity.activityGroup.legalAuthenticator.authenticatorIdentifier
short:
  v: Signerandes id.
definition:
  v: HSA‑id för den signerande personen, med OID och extension.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: getactivity.activityGroup.legalAuthenticator.authenticatorIdentifier
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Identifier
    l: Identifier

id:
  v: getactivity.activityGroup.legalAuthenticator.time
path:
  v: getactivity.activityGroup.legalAuthenticator.time
short:
  v: Signeringstid.
definition:
  v: Tid för signeringen av aktiviteterna, i format ÅÅÅÅMMDDttmmss med frivillig precision.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: getactivity.activityGroup.legalAuthenticator.time
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: dateTime
    l: dateTime

id:
  v: getactivity.activityGroup.legalAuthenticator.name
path:
  v: getactivity.activityGroup.legalAuthenticator.name
short:
  v: Signerandes namn.
definition:
  v: För- och efternamn på den signerande personen.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: getactivity.activityGroup.legalAuthenticator.name
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: getactivity.activityGroup.additionalParticipant
path:
  v: getactivity.activityGroup.additionalParticipant
short:
  v: Ytterligare deltagare.
definition:
  v: Övriga deltagare relaterade till aktiviteterna (ex. assistenter eller icke-hälso‑och sjukvårdspersonal).
min:
  v: 0
max:
  v: *
base:
  path:
    v: getactivity.activityGroup.additionalParticipant
  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: getactivity.activityGroup.additionalParticipant.id
path:
  v: getactivity.activityGroup.additionalParticipant.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: getactivity.activityGroup.additionalParticipant.extension
path:
  v: getactivity.activityGroup.additionalParticipant.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: getactivity.activityGroup.additionalParticipant.modifierExtension
path:
  v: getactivity.activityGroup.additionalParticipant.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: getactivity.activityGroup.additionalParticipant.participantIdentifier
path:
  v: getactivity.activityGroup.additionalParticipant.participantIdentifier
short:
  v: Id för ytterligare deltagare.
definition:
  v: HSA‑id för ytterligare deltagande, anges med OID och extension.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: getactivity.activityGroup.additionalParticipant.participantIdentifier
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement

id:
  v: getactivity.activityGroup.additionalParticipant.type
path:
  v: getactivity.activityGroup.additionalParticipant.type
short:
  v: Deltagares typ.
definition:
  v: Beskriver på vilket sätt deltagaren varit med (t.ex. assistent, utrustning, plats).
min:
  v: 1
max:
  v: 1
base:
  path:
    v: getactivity.activityGroup.additionalParticipant.type
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: getactivity.activityGroup.additionalParticipant.role
path:
  v: getactivity.activityGroup.additionalParticipant.role
short:
  v: Deltagares roll.
definition:
  v: Anger vilken roll deltagaren har under aktiviteten (t.ex. anhörig, assisterande personal).
min:
  v: 1
max:
  v: 1
base:
  path:
    v: getactivity.activityGroup.additionalParticipant.role
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: getactivity.activityGroup.additionalParticipant.time
path:
  v: getactivity.activityGroup.additionalParticipant.time
short:
  v: Deltagandets tid.
definition:
  v: Tidsperiod då den ytterligare deltagaren var aktiv, om skild från aktivitetens tid.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: getactivity.activityGroup.additionalParticipant.time
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Period
    l: Period

id:
  v: getactivity.activityGroup.additionalParticipant.organisationType
path:
  v: getactivity.activityGroup.additionalParticipant.organisationType
short:
  v: Organisationstillhörighet.
definition:
  v: Anger HSA‑id och namn för den organisation som en ytterligare deltagare är knuten till.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: getactivity.activityGroup.additionalParticipant.organisationType
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement

id:
  v: getactivity.activityGroup.additionalParticipant.device
path:
  v: getactivity.activityGroup.additionalParticipant.device
short:
  v: Medicinteknisk produkt.
definition:
  v: Identifierar en medicinteknisk produkt (t.ex. en MR‑kamera) som deltagare.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: getactivity.activityGroup.additionalParticipant.device
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: getactivity.activityGroup.additionalParticipant.location
path:
  v: getactivity.activityGroup.additionalParticipant.location
short:
  v: Plats.
definition:
  v: Anger platsen där aktiviteten genomförts, om angiven som deltagare.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: getactivity.activityGroup.additionalParticipant.location
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
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: getactivity.activityGroup.additionalParticipant.location.id
path:
  v: getactivity.activityGroup.additionalParticipant.location.id
representation:
  v: xmlAttr
short:
  v: xml:id (or equivalent in JSON)
definition:
  v: unique id for the element within a resource (for internal references)
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

id:
  v: getactivity.activityGroup.additionalParticipant.location.extension
path:
  v: getactivity.activityGroup.additionalParticipant.location.extension
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 resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
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

id:
  v: getactivity.activityGroup.additionalParticipant.location.value
path:
  v: getactivity.activityGroup.additionalParticipant.location.value
representation:
  v: xmlAttr
short:
  v: Primitive value for string
definition:
  v: The actual value
min:
  v: 0
max:
  v: 1
base:
  path:
    v: string.value
  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
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/regex
      l: regex
    value: String
      v: [ \r\n\t\S]+
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
max length:
  v: 1048576
is modifier:
  v: false
is summary:
  v: false

id:
  v: getactivity.activityGroup.additionalParticipant.location.electronicAddress
path:
  v: getactivity.activityGroup.additionalParticipant.location.electronicAddress
short:
  v: Elektronisk adress för plats.
definition:
  v: Anger en elektronisk adress (t.ex. telefon eller e‑post) för platsen.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: getactivity.activityGroup.additionalParticipant.location.electronicAddress
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: getactivity.activityGroup.additionalParticipant.organisation
path:
  v: getactivity.activityGroup.additionalParticipant.organisation
short:
  v: Ytterligare organisationsdeltagande.
definition:
  v: Anger den organisation som är involverad i aktiviteten, om det ej redan framgår.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: getactivity.activityGroup.additionalParticipant.organisation
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Identifier
    l: Identifier

id:
  v: getactivity.activityGroup.sourceSystem
path:
  v: getactivity.activityGroup.sourceSystem
short:
  v: Källsystem.
definition:
  v: Det källsystem som aktivitetsgruppen hämtats från.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: getactivity.activityGroup.sourceSystem
  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: getactivity.activityGroup.sourceSystem.id
path:
  v: getactivity.activityGroup.sourceSystem.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: getactivity.activityGroup.sourceSystem.extension
path:
  v: getactivity.activityGroup.sourceSystem.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: getactivity.activityGroup.sourceSystem.modifierExtension
path:
  v: getactivity.activityGroup.sourceSystem.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: getactivity.activityGroup.sourceSystem.systemIdentifier
path:
  v: getactivity.activityGroup.sourceSystem.systemIdentifier
short:
  v: Systemets id.
definition:
  v: HSA‑id för källsystemet med OID och extension.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: getactivity.activityGroup.sourceSystem.systemIdentifier
  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: getactivity.activityGroup.sourceSystem.systemIdentifier.id
path:
  v: getactivity.activityGroup.sourceSystem.systemIdentifier.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: getactivity.activityGroup.sourceSystem.systemIdentifier.extension
path:
  v: getactivity.activityGroup.sourceSystem.systemIdentifier.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: getactivity.activityGroup.sourceSystem.systemIdentifier.modifierExtension
path:
  v: getactivity.activityGroup.sourceSystem.systemIdentifier.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: getactivity.activityGroup.sourceSystem.systemIdentifier.root
path:
  v: getactivity.activityGroup.sourceSystem.systemIdentifier.root
short:
  v: OID för källsystem.
definition:
  v: Sätts till OID för källsystemets HSA‑id.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: getactivity.activityGroup.sourceSystem.systemIdentifier.root
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: getactivity.activityGroup.sourceSystem.systemIdentifier.value
path:
  v: getactivity.activityGroup.sourceSystem.systemIdentifier.value
short:
  v: Systemets unika id.
definition:
  v: Det unika id:t för källsystemet.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: getactivity.activityGroup.sourceSystem.systemIdentifier.value
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: getactivity.activityGroup.activity
path:
  v: getactivity.activityGroup.activity
short:
  v: Aktiviteter.
definition:
  v: De enskilda aktiviteterna som ingår i gruppen, med unikt id, kod, status, tid, metod med mera.
min:
  v: 1
max:
  v: *
base:
  path:
    v: getactivity.activityGroup.activity
  min:
    v: 1
  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: getactivity.activityGroup.activity.id
path:
  v: getactivity.activityGroup.activity.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: getactivity.activityGroup.activity.extension
path:
  v: getactivity.activityGroup.activity.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: getactivity.activityGroup.activity.modifierExtension
path:
  v: getactivity.activityGroup.activity.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: getactivity.activityGroup.activity.activityIdentifier
path:
  v: getactivity.activityGroup.activity.activityIdentifier
short:
  v: Aktivitetens id.
definition:
  v: En unik identifierare för aktiviteten, konsekvent mellan versioner.kontrakt.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: getactivity.activityGroup.activity.activityIdentifier
  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: getactivity.activityGroup.activity.activityIdentifier.id
path:
  v: getactivity.activityGroup.activity.activityIdentifier.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: getactivity.activityGroup.activity.activityIdentifier.extension
path:
  v: getactivity.activityGroup.activity.activityIdentifier.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: getactivity.activityGroup.activity.activityIdentifier.modifierExtension
path:
  v: getactivity.activityGroup.activity.activityIdentifier.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: getactivity.activityGroup.activity.activityIdentifier.root
path:
  v: getactivity.activityGroup.activity.activityIdentifier.root
short:
  v: Källsystemets id.
definition:
  v: Sätts till källsystemets HSA‑id.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: getactivity.activityGroup.activity.activityIdentifier.root
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: getactivity.activityGroup.activity.activityIdentifier.value
path:
  v: getactivity.activityGroup.activity.activityIdentifier.value
short:
  v: Aktivitetens unika id inom källsystemet.
definition:
  v: Det unika id:t för aktiviteten.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: getactivity.activityGroup.activity.activityIdentifier.value
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: getactivity.activityGroup.activity.code
path:
  v: getactivity.activityGroup.activity.code
short:
  v: Typkod för aktivitet.
definition:
  v: Kod för den typ av aktivitet som avses, exempelvis från en åtgärdsklassifikation.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: getactivity.activityGroup.activity.code
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: getactivity.activityGroup.activity.status
path:
  v: getactivity.activityGroup.activity.status
short:
  v: Aktivitetens status.
definition:
  v: Anger om aktiviteten är planerad eller utförd; utelämnas antas utförd.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: getactivity.activityGroup.activity.status
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: getactivity.activityGroup.activity.time
path:
  v: getactivity.activityGroup.activity.time
short:
  v: Aktivitetens tidsperiod.
definition:
  v: Tidsintervall då aktiviteten utfördes, med minst starttid angiven.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: getactivity.activityGroup.activity.time
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Period
    l: Period

id:
  v: getactivity.activityGroup.activity.method
path:
  v: getactivity.activityGroup.activity.method
short:
  v: Metod för aktivitet.
definition:
  v: Kod för det sätt på vilket aktiviteten genomfördes.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: getactivity.activityGroup.activity.method
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: getactivity.activityGroup.activity.description
path:
  v: getactivity.activityGroup.activity.description
short:
  v: Fritextbeskrivning.
definition:
  v: Ytterligare beskrivning som kompletterar aktivitetens kod.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: getactivity.activityGroup.activity.description
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: getactivity.activityGroup.activity.approvedForPatient
path:
  v: getactivity.activityGroup.activity.approvedForPatient
short:
  v: Delas med patient.
definition:
  v: Anger om information om aktiviteten får delas med patienten (true.false).
min:
  v: 1
max:
  v: 1
base:
  path:
    v: getactivity.activityGroup.activity.approvedForPatient
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: boolean
    l: boolean

id:
  v: getactivity.activityGroup.activity.registrationTime
path:
  v: getactivity.activityGroup.activity.registrationTime
short:
  v: Registreringstid.
definition:
  v: Tidpunkt då aktiviteten dokumenterades i patientens journal.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: getactivity.activityGroup.activity.registrationTime
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: dateTime
    l: dateTime

id:
  v: getactivity.activityGroup.activity.relation
path:
  v: getactivity.activityGroup.activity.relation
short:
  v: Relation till annan information.
definition:
  v: Beskriver relationer mellan aktiviteten och annan klinisk information (ex. orsakssamband).
min:
  v: 0
max:
  v: *
base:
  path:
    v: getactivity.activityGroup.activity.relation
  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: getactivity.activityGroup.activity.relation.id
path:
  v: getactivity.activityGroup.activity.relation.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: getactivity.activityGroup.activity.relation.extension
path:
  v: getactivity.activityGroup.activity.relation.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: getactivity.activityGroup.activity.relation.modifierExtension
path:
  v: getactivity.activityGroup.activity.relation.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: getactivity.activityGroup.activity.relation.referredInformation
path:
  v: getactivity.activityGroup.activity.relation.referredInformation
short:
  v: Refererad information.
definition:
  v: Identifierar den externa information som aktiviteten relaterar till.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: getactivity.activityGroup.activity.relation.referredInformation
  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: getactivity.activityGroup.activity.relation.referredInformation.id
path:
  v: getactivity.activityGroup.activity.relation.referredInformation.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: getactivity.activityGroup.activity.relation.referredInformation.extension
path:
  v: getactivity.activityGroup.activity.relation.referredInformation.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: getactivity.activityGroup.activity.relation.referredInformation.modifierExtension
path:
  v: getactivity.activityGroup.activity.relation.referredInformation.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: getactivity.activityGroup.activity.relation.referredInformation.referredIdentifier
path:
  v: getactivity.activityGroup.activity.relation.referredInformation.referredIdentifier
short:
  v: Id för refererad information.
definition:
  v: Den unika identiteten för den externa informationen (t.ex. remiss).
min:
  v: 1
max:
  v: 1
base:
  path:
    v: getactivity.activityGroup.activity.relation.referredInformation.referredIdentifier
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Identifier
    l: Identifier

id:
  v: getactivity.activityGroup.activity.relation.referredInformation.time
path:
  v: getactivity.activityGroup.activity.relation.referredInformation.time
short:
  v: Starttid för refererad information.
definition:
  v: Anger när den refererade informationen började gälla.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: getactivity.activityGroup.activity.relation.referredInformation.time
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: dateTime
    l: dateTime

id:
  v: getactivity.activityGroup.activity.relation.referredInformation.type
path:
  v: getactivity.activityGroup.activity.relation.referredInformation.type
short:
  v: Typ av refererad information.
definition:
  v: Anger vilken typ av information relationen avser, t.ex. ”chb-o”.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: getactivity.activityGroup.activity.relation.referredInformation.type
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: getactivity.activityGroup.activity.relation.referredInformation.informationOwner
path:
  v: getactivity.activityGroup.activity.relation.referredInformation.informationOwner
short:
  v: Ägare av refererad information.
definition:
  v: Anger vilken vårdgivare som är ägare av den refererade informationen.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: getactivity.activityGroup.activity.relation.referredInformation.informationOwner
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement

element:
  id:
    v: getactivity
  path:
    v: getactivity
  short:
    v: GetActivity Logical Model
  definition:
    v: Logical model from GetActivity service contract (from normalized Excel)
element:
  id:
    v: getactivity.activityGroup
  path:
    v: getactivity.activityGroup
  short:
    v: Grupp av aktiviteter.
  definition:
    v: Grupp av aktiviteter som delar samma patient, utförare, signerare, källsystem, vårdprocess‑id, utrustning samt plats. Teknisk optimering för att minska redundans.
  min:
    v: 0
  max:
    v: *
  type:
    code:
      v: BackboneElement
      l: BackboneElement
element:
  id:
    v: getactivity.activityGroup.patient
  path:
    v: getactivity.activityGroup.patient
  short:
    v: Aktivitetens patient.
  definition:
    v: Den patient som aktivitetsgruppen avser, specificerad i en kompakt Patient-representation.
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: BackboneElement
      l: BackboneElement
element:
  id:
    v: getactivity.activityGroup.patient.patientIdentifier
  path:
    v: getactivity.activityGroup.patient.patientIdentifier
  short:
    v: Patientens unika id.
  definition:
    v: Id för patienten, anges med 12 tecken utan avskiljare.
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: BackboneElement
      l: BackboneElement
element:
  id:
    v: getactivity.activityGroup.patient.patientIdentifier.root
  path:
    v: getactivity.activityGroup.patient.patientIdentifier.root
  short:
    v: OID för patientens id-typ.
  definition:
    v: Sätts till OID för typ av identifierare (t.ex. Skatteverkets personnummer).
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: string
      l: string
element:
  id:
    v: getactivity.activityGroup.patient.patientIdentifier.value
  path:
    v: getactivity.activityGroup.patient.patientIdentifier.value
  short:
    v: Patientens identifieringsnummer.
  definition:
    v: Innehåller personnummer, samordningsnummer eller reservnummer.
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: string
      l: string
element:
  id:
    v: getactivity.activityGroup.patient.dateOfBirth
  path:
    v: getactivity.activityGroup.patient.dateOfBirth
  short:
    v: Födelsedatum.
  definition:
    v: Anger patientens födelseår, månad och dag (ej personnummerformat).
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: date
      l: date
element:
  id:
    v: getactivity.activityGroup.patient.gender
  path:
    v: getactivity.activityGroup.patient.gender
  short:
    v: Patientens kön.
  definition:
    v: Anger patientens kön med en kod (ex. 0=okänt, 1=man, 2=kvinna, 9=ej tillämpligt).
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: CodeableConcept
      l: CodeableConcept
element:
  id:
    v: getactivity.activityGroup.performerRole
  path:
    v: getactivity.activityGroup.performerRole
  short:
    v: Utförarens roll.
  definition:
    v: Den person eller enhet som utfört aktiviteter inom gruppen.
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: BackboneElement
      l: BackboneElement
element:
  id:
    v: getactivity.activityGroup.performerRole.performerIdentifier
  path:
    v: getactivity.activityGroup.performerRole.performerIdentifier
  short:
    v: Utförarens id (om hälso‑och sjukvårdspersonal).
  definition:
    v: Identifierar den person som utfört aktiviteten med HSA‑id.
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: BackboneElement
      l: BackboneElement
element:
  id:
    v: getactivity.activityGroup.performerRole.performerIdentifier.root
  path:
    v: getactivity.activityGroup.performerRole.performerIdentifier.root
  short:
    v: OID för HSA‑id.
  definition:
    v: Sätts till OID för HSA‑katalogen (t.ex. 1.2.752.129.2.1.4.1).
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: string
      l: string
element:
  id:
    v: getactivity.activityGroup.performerRole.performerIdentifier.value
  path:
    v: getactivity.activityGroup.performerRole.performerIdentifier.value
  short:
    v: HSA‑id för utföraren.
  definition:
    v: Utförarens HSA‑id anges här.
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: string
      l: string
element:
  id:
    v: getactivity.activityGroup.performerRole.code
  path:
    v: getactivity.activityGroup.performerRole.code

v: Utförarrollens kod.

v: Beskriver vilken roll utföraren har (t.ex. primär utförare, assistent).

v: 1

v: 1

code:
  v: CodeableConcept
  l: CodeableConcept

id:
  v: getactivity.activityGroup.performerRole.person
path:
  v: getactivity.activityGroup.performerRole.person
short:
  v: Övriga personuppgifter.
definition:
  v: Beskriver den person som utfört aktiviteten när personen inte klassas som hälso‑och sjukvårdspersonal.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement

id:
  v: getactivity.activityGroup.performerRole.careUnit
path:
  v: getactivity.activityGroup.performerRole.careUnit
short:
  v: Vårdenhet.
definition:
  v: Den vårdenhet där aktiviteten utförs; anges om utföraren är hälso‑och sjukvårdspersonal.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement

id:
  v: getactivity.activityGroup.performerRole.careUnit.careUnitIdentifier
path:
  v: getactivity.activityGroup.performerRole.careUnit.careUnitIdentifier
short:
  v: Vårdenhetens id.
definition:
  v: HSA‑id för vårdenheten, med OID och extension.
min:
  v: 1
max:
  v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement

id:
  v: getactivity.activityGroup.performerRole.careUnit.name
path:
  v: getactivity.activityGroup.performerRole.careUnit.name
short:
  v: Vårdenhetens namn.
definition:
  v: Namnet på den vårdenhet där aktiviteten är knuten.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string

id:
  v: getactivity.activityGroup.legalAuthenticator
path:
  v: getactivity.activityGroup.legalAuthenticator
short:
  v: Signerare.
definition:
  v: Den person som signerat aktiviteterna i gruppen, i en kompakt representation.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement

id:
  v: getactivity.activityGroup.legalAuthenticator.authenticatorIdentifier
path:
  v: getactivity.activityGroup.legalAuthenticator.authenticatorIdentifier
short:
  v: Signerandes id.
definition:
  v: HSA‑id för den signerande personen, med OID och extension.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Identifier
    l: Identifier

id:
  v: getactivity.activityGroup.legalAuthenticator.time
path:
  v: getactivity.activityGroup.legalAuthenticator.time
short:
  v: Signeringstid.
definition:
  v: Tid för signeringen av aktiviteterna, i format ÅÅÅÅMMDDttmmss med frivillig precision.
min:
  v: 1
max:
  v: 1
type:
  code:
    v: dateTime
    l: dateTime

id:
  v: getactivity.activityGroup.legalAuthenticator.name
path:
  v: getactivity.activityGroup.legalAuthenticator.name
short:
  v: Signerandes namn.
definition:
  v: För- och efternamn på den signerande personen.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string

id:
  v: getactivity.activityGroup.additionalParticipant
path:
  v: getactivity.activityGroup.additionalParticipant
short:
  v: Ytterligare deltagare.
definition:
  v: Övriga deltagare relaterade till aktiviteterna (ex. assistenter eller icke-hälso‑och sjukvårdspersonal).
min:
  v: 0
max:
  v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement

id:
  v: getactivity.activityGroup.additionalParticipant.participantIdentifier
path:
  v: getactivity.activityGroup.additionalParticipant.participantIdentifier
short:
  v: Id för ytterligare deltagare.
definition:
  v: HSA‑id för ytterligare deltagande, anges med OID och extension.
min:
  v: 1
max:
  v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement

id:
  v: getactivity.activityGroup.additionalParticipant.type
path:
  v: getactivity.activityGroup.additionalParticipant.type
short:
  v: Deltagares typ.
definition:
  v: Beskriver på vilket sätt deltagaren varit med (t.ex. assistent, utrustning, plats).
min:
  v: 1
max:
  v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: getactivity.activityGroup.additionalParticipant.role
path:
  v: getactivity.activityGroup.additionalParticipant.role
short:
  v: Deltagares roll.
definition:
  v: Anger vilken roll deltagaren har under aktiviteten (t.ex. anhörig, assisterande personal).
min:
  v: 1
max:
  v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: getactivity.activityGroup.additionalParticipant.time
path:
  v: getactivity.activityGroup.additionalParticipant.time
short:
  v: Deltagandets tid.
definition:
  v: Tidsperiod då den ytterligare deltagaren var aktiv, om skild från aktivitetens tid.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Period
    l: Period

id:
  v: getactivity.activityGroup.additionalParticipant.organisationType
path:
  v: getactivity.activityGroup.additionalParticipant.organisationType
short:
  v: Organisationstillhörighet.
definition:
  v: Anger HSA‑id och namn för den organisation som en ytterligare deltagare är knuten till.
min:
  v: 1
max:
  v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement

id:
  v: getactivity.activityGroup.additionalParticipant.device
path:
  v: getactivity.activityGroup.additionalParticipant.device
short:
  v: Medicinteknisk produkt.
definition:
  v: Identifierar en medicinteknisk produkt (t.ex. en MR‑kamera) som deltagare.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string

id:
  v: getactivity.activityGroup.additionalParticipant.location
path:
  v: getactivity.activityGroup.additionalParticipant.location
short:
  v: Plats.
definition:
  v: Anger platsen där aktiviteten genomförts, om angiven som deltagare.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string

id:
  v: getactivity.activityGroup.additionalParticipant.location.electronicAddress
path:
  v: getactivity.activityGroup.additionalParticipant.location.electronicAddress
short:
  v: Elektronisk adress för plats.
definition:
  v: Anger en elektronisk adress (t.ex. telefon eller e‑post) för platsen.
min:
  v: 1
max:
  v: 1
type:
  code:
    v: string
    l: string

id:
  v: getactivity.activityGroup.additionalParticipant.organisation
path:
  v: getactivity.activityGroup.additionalParticipant.organisation
short:
  v: Ytterligare organisationsdeltagande.
definition:
  v: Anger den organisation som är involverad i aktiviteten, om det ej redan framgår.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Identifier
    l: Identifier

id:
  v: getactivity.activityGroup.sourceSystem
path:
  v: getactivity.activityGroup.sourceSystem
short:
  v: Källsystem.
definition:
  v: Det källsystem som aktivitetsgruppen hämtats från.
min:
  v: 1
max:
  v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement

id:
  v: getactivity.activityGroup.sourceSystem.systemIdentifier
path:
  v: getactivity.activityGroup.sourceSystem.systemIdentifier
short:
  v: Systemets id.
definition:
  v: HSA‑id för källsystemet med OID och extension.
min:
  v: 1
max:
  v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement

id:
  v: getactivity.activityGroup.sourceSystem.systemIdentifier.root
path:
  v: getactivity.activityGroup.sourceSystem.systemIdentifier.root
short:
  v: OID för källsystem.
definition:
  v: Sätts till OID för källsystemets HSA‑id.
min:
  v: 1
max:
  v: 1
type:
  code:
    v: string
    l: string

id:
  v: getactivity.activityGroup.sourceSystem.systemIdentifier.value
path:
  v: getactivity.activityGroup.sourceSystem.systemIdentifier.value
short:
  v: Systemets unika id.
definition:
  v: Det unika id:t för källsystemet.
min:
  v: 1
max:
  v: 1
type:
  code:
    v: string
    l: string

id:
  v: getactivity.activityGroup.activity
path:
  v: getactivity.activityGroup.activity
short:
  v: Aktiviteter.
definition:
  v: De enskilda aktiviteterna som ingår i gruppen, med unikt id, kod, status, tid, metod med mera.
min:
  v: 1
max:
  v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement

id:
  v: getactivity.activityGroup.activity.activityIdentifier
path:
  v: getactivity.activityGroup.activity.activityIdentifier
short:
  v: Aktivitetens id.
definition:
  v: En unik identifierare för aktiviteten, konsekvent mellan versioner.kontrakt.
min:
  v: 1
max:
  v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement

id:
  v: getactivity.activityGroup.activity.activityIdentifier.root
path:
  v: getactivity.activityGroup.activity.activityIdentifier.root
short:
  v: Källsystemets id.
definition:
  v: Sätts till källsystemets HSA‑id.
min:
  v: 1
max:
  v: 1
type:
  code:
    v: string
    l: string

id:
  v: getactivity.activityGroup.activity.activityIdentifier.value
path:
  v: getactivity.activityGroup.activity.activityIdentifier.value
short:
  v: Aktivitetens unika id inom källsystemet.
definition:
  v: Det unika id:t för aktiviteten.
min:
  v: 1
max:
  v: 1
type:
  code:
    v: string
    l: string

id:
  v: getactivity.activityGroup.activity.code
path:
  v: getactivity.activityGroup.activity.code
short:
  v: Typkod för aktivitet.
definition:
  v: Kod för den typ av aktivitet som avses, exempelvis från en åtgärdsklassifikation.
min:
  v: 1
max:
  v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: getactivity.activityGroup.activity.status
path:
  v: getactivity.activityGroup.activity.status
short:
  v: Aktivitetens status.
definition:
  v: Anger om aktiviteten är planerad eller utförd; utelämnas antas utförd.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: getactivity.activityGroup.activity.time
path:
  v: getactivity.activityGroup.activity.time
short:
  v: Aktivitetens tidsperiod.
definition:
  v: Tidsintervall då aktiviteten utfördes, med minst starttid angiven.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Period
    l: Period

id:
  v: getactivity.activityGroup.activity.method
path:
  v: getactivity.activityGroup.activity.method
short:
  v: Metod för aktivitet.
definition:
  v: Kod för det sätt på vilket aktiviteten genomfördes.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: getactivity.activityGroup.activity.description
path:
  v: getactivity.activityGroup.activity.description
short:
  v: Fritextbeskrivning.
definition:
  v: Ytterligare beskrivning som kompletterar aktivitetens kod.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string

id:
  v: getactivity.activityGroup.activity.approvedForPatient
path:
  v: getactivity.activityGroup.activity.approvedForPatient
short:
  v: Delas med patient.
definition:
  v: Anger om information om aktiviteten får delas med patienten (true.false).
min:
  v: 1
max:
  v: 1
type:
  code:
    v: boolean
    l: boolean

id:
  v: getactivity.activityGroup.activity.registrationTime
path:
  v: getactivity.activityGroup.activity.registrationTime
short:
  v: Registreringstid.
definition:
  v: Tidpunkt då aktiviteten dokumenterades i patientens journal.
min:
  v: 1
max:
  v: 1
type:
  code:
    v: dateTime
    l: dateTime

id:
  v: getactivity.activityGroup.activity.relation
path:
  v: getactivity.activityGroup.activity.relation
short:
  v: Relation till annan information.
definition:
  v: Beskriver relationer mellan aktiviteten och annan klinisk information (ex. orsakssamband).
min:
  v: 0
max:
  v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement

id:
  v: getactivity.activityGroup.activity.relation.referredInformation
path:
  v: getactivity.activityGroup.activity.relation.referredInformation
short:
  v: Refererad information.
definition:
  v: Identifierar den externa information som aktiviteten relaterar till.
min:
  v: 1
max:
  v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement

id:
  v: getactivity.activityGroup.activity.relation.referredInformation.referredIdentifier
path:
  v: getactivity.activityGroup.activity.relation.referredInformation.referredIdentifier
short:
  v: Id för refererad information.
definition:
  v: Den unika identiteten för den externa informationen (t.ex. remiss).
min:
  v: 1
max:
  v: 1
type:
  code:
    v: Identifier
    l: Identifier

id:
  v: getactivity.activityGroup.activity.relation.referredInformation.time
path:
  v: getactivity.activityGroup.activity.relation.referredInformation.time
short:
  v: Starttid för refererad information.
definition:
  v: Anger när den refererade informationen började gälla.
min:
  v: 1
max:
  v: 1
type:
  code:
    v: dateTime
    l: dateTime

id:
  v: getactivity.activityGroup.activity.relation.referredInformation.type
path:
  v: getactivity.activityGroup.activity.relation.referredInformation.type
short:
  v: Typ av refererad information.
definition:
  v: Anger vilken typ av information relationen avser, t.ex. ”chb-o”.
min:
  v: 1
max:
  v: 1
type:
  code:
    v: string
    l: string

id:
  v: getactivity.activityGroup.activity.relation.referredInformation.informationOwner
path:
  v: getactivity.activityGroup.activity.relation.referredInformation.informationOwner
short:
  v: Ägare av refererad information.
definition:
  v: Anger vilken vårdgivare som är ägare av den refererade informationen.
min:
  v: 1
max:
  v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement