GetCareDocumentationRequest
type: StructureDefinition
node role: treeRoot
id:
  v: GetCareDocumentationRequest
text:
  status:
    v: extensions
  div: Generated Narrative: StructureDefinition GetCareDocumentationRequest Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> GetCareDocumentationRequest 0..* Element GetCareDocumentation Request Elements defined in Ancestors:@id, <a href="http://hl7.org/fhir/R4/datatypes.html#Element" title="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.">extension #xD; careUnitHSAId 0..* string Care Unit HSA-ID #xD; patientId 1..1 BackboneElement Patient ID #xD; @id 1..1 string ID #xD; type 1..1 string Type #xD; timePeriod 0..1 BackboneElement Time Period #xD; start 1..1 string Start Date #xD; end 1..1 string End Date #xD; sourceSystemHSAId 0..1 string Source System HSA-ID #xD; careContactId 0..* string Care Contact ID #xD; documentType 0..* BackboneElement Document Type #xD; code 0..1 string Code #xD; codeSystem 0..1 string Code System #xD; displayName 0..1 string Display Name #xD; <img src="[binary]" alt="doco" style="background-color: inherit"/> Documentation for this format
url:
  v: https://inera.se/fhir/ig/clinicalprocess-healthcond-description/StructureDefinition/GetCareDocumentationRequest
version:
  v: 0.1.0
name:
  v: GetCareDocumentationRequest
title:
  v: GetCareDocumentation Request
status:
  v: draft
date:
  v: 2025-10-27T22:45:09+00:00
publisher:
  v: Inera AB
contact:
  name:
    v: Inera AB
  telecom:
    system:
      v: url
    value:
      v: https://www.inera.se
contact:
  name:
    v: Inera AB
  telecom:
    system:
      v: url
    value:
      v: https://www.inera.se
description:
  v: Request structure for retrieving journal entries and care documentation for a patient
jurisdiction:
  coding:
    system:
      v: urn:iso:std:iso:3166
    code:
      v: SE
    display:
      v: Sweden
fhir version:
  v: 4.0.1
mapping:
  identity:
    v: rim
  uri:
    v: http://hl7.org/v3
  name:
    v: RIM Mapping
kind:
  v: logical
abstract:
  v: false
type:
  v: https://inera.se/fhir/ig/clinicalprocess-healthcond-description/StructureDefinition/GetCareDocumentationRequest
base definition:
  v: http://hl7.org/fhir/StructureDefinition/Element
  link: http://hl7.org/fhir/StructureDefinition/Element
derivation:
  v: specialization
snapshot:
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version
    value: string
      v: 4.0.1
  element:
    id:
      v: GetCareDocumentationRequest
    path:
      v: GetCareDocumentationRequest
    short:
      v: GetCareDocumentation Request
    definition:
      v: Request structure for retrieving journal entries and care documentation for a patient
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: Element
      min:
        v: 0
      max:
        v: *
    condition:
      v: ele-1
    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
        link: http://hl7.org/fhir/StructureDefinition/Element
    is modifier:
      v: false
    mapping:
      identity:
        v: rim
      map:
        v: n/a
  element:
    id:
      v: GetCareDocumentationRequest.id
    path:
      v: GetCareDocumentationRequest.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
    is modifier:
      v: false
    is summary:
      v: false
    mapping:
      identity:
        v: rim
      map:
        v: n/a
  element:
    id:
      v: GetCareDocumentationRequest.extension
    path:
      v: GetCareDocumentationRequest.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
    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
        link: http://hl7.org/fhir/StructureDefinition/Element
    constraint:
      key:
        v: ext-1

url
v: string

v: value

v: url

v: error

v: Must have either extensions or value[x], not both

v: extension.exists() != value.exists()

v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])

v: false

v: false

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

id:
  v: GetCareDocumentationRequest.careUnitHSAId
path:
  v: GetCareDocumentationRequest.careUnitHSAId
short:
  v: Care Unit HSA-ID
definition:
  v: Filter on care unit
min:
  v: 0
max:
  v: *
base:
  path:
    v: GetCareDocumentationRequest.careUnitHSAId
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: string

id:
  v: GetCareDocumentationRequest.patientId
path:
  v: GetCareDocumentationRequest.patientId
short:
  v: Patient ID
definition:
  v: Patient ID
min:
  v: 1
max:
  v: 1
base:
  path:
    v: GetCareDocumentationRequest.patientId
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: 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
    link: http://hl7.org/fhir/StructureDefinition/Element

id:
  v: GetCareDocumentationRequest.patientId.id
path:
  v: GetCareDocumentationRequest.patientId.id
representation:
  v: xmlAttr
short:
  v: ID
definition:
  v: Patient identifier (12 characters, no separator)
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: GetCareDocumentationRequest.patientId.extension
path:
  v: GetCareDocumentationRequest.patientId.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
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
    link: http://hl7.org/fhir/StructureDefinition/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
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: GetCareDocumentationRequest.patientId.modifierExtension
path:
  v: GetCareDocumentationRequest.patientId.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
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
    link: http://hl7.org/fhir/StructureDefinition/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
    link: http://hl7.org/fhir/StructureDefinition/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: GetCareDocumentationRequest.patientId.type
path:
  v: GetCareDocumentationRequest.patientId.type
short:
  v: Type
definition:
  v: OID for identifier type
min:
  v: 1
max:
  v: 1
base:
  path:
    v: GetCareDocumentationRequest.patientId.type
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string

id:
  v: GetCareDocumentationRequest.timePeriod
path:
  v: GetCareDocumentationRequest.timePeriod
short:
  v: Time Period
definition:
  v: Limits search to documentation within interval
min:
  v: 0
max:
  v: 1
base:
  path:
    v: GetCareDocumentationRequest.timePeriod
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: 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
    link: http://hl7.org/fhir/StructureDefinition/Element

id:
  v: GetCareDocumentationRequest.timePeriod.id
path:
  v: GetCareDocumentationRequest.timePeriod.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
    value: url
      v: string
  code:
    v: http://hl7.org/fhirpath/System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: GetCareDocumentationRequest.timePeriod.extension
path:
  v: GetCareDocumentationRequest.timePeriod.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
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
    link: http://hl7.org/fhir/StructureDefinition/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
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: GetCareDocumentationRequest.timePeriod.modifierExtension
path:
  v: GetCareDocumentationRequest.timePeriod.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
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
    link: http://hl7.org/fhir/StructureDefinition/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
    link: http://hl7.org/fhir/StructureDefinition/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: GetCareDocumentationRequest.timePeriod.start
path:
  v: GetCareDocumentationRequest.timePeriod.start
short:
  v: Start Date
definition:
  v: Format YYYYMMDD
min:
  v: 1
max:
  v: 1
base:
  path:
    v: GetCareDocumentationRequest.timePeriod.start
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string

id:
  v: GetCareDocumentationRequest.timePeriod.end
path:
  v: GetCareDocumentationRequest.timePeriod.end
short:
  v: End Date
definition:
  v: Format YYYYMMDD
min:
  v: 1
max:
  v: 1
base:
  path:
    v: GetCareDocumentationRequest.timePeriod.end
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string

id:
  v: GetCareDocumentationRequest.sourceSystemHSAId
path:
  v: GetCareDocumentationRequest.sourceSystemHSAId
short:
  v: Source System HSA-ID
definition:
  v: Limits to specific source system
min:
  v: 0
max:
  v: 1
base:
  path:
    v: GetCareDocumentationRequest.sourceSystemHSAId
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string

id:
  v: GetCareDocumentationRequest.careContactId
path:
  v: GetCareDocumentationRequest.careContactId
short:
  v: Care Contact ID
definition:
  v: Limits to specific care contacts
min:
  v: 0
max:
  v: *
base:
  path:
    v: GetCareDocumentationRequest.careContactId
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: string

id:
  v: GetCareDocumentationRequest.documentType
path:
  v: GetCareDocumentationRequest.documentType
short:
  v: Document Type
definition:
  v: Filter by document type
min:
  v: 0
max:
  v: *
base:
  path:
    v: GetCareDocumentationRequest.documentType
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: 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
    link: http://hl7.org/fhir/StructureDefinition/Element

id:
  v: GetCareDocumentationRequest.documentType.id
path:
  v: GetCareDocumentationRequest.documentType.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
    value: url
      v: string
  code:
    v: http://hl7.org/fhirpath/System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: GetCareDocumentationRequest.documentType.extension
path:
  v: GetCareDocumentationRequest.documentType.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
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
    link: http://hl7.org/fhir/StructureDefinition/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
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: GetCareDocumentationRequest.documentType.modifierExtension
path:
  v: GetCareDocumentationRequest.documentType.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
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
    link: http://hl7.org/fhir/StructureDefinition/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
    link: http://hl7.org/fhir/StructureDefinition/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: GetCareDocumentationRequest.documentType.code
path:
  v: GetCareDocumentationRequest.documentType.code
short:
  v: Code
definition:
  v: Code
min:
  v: 0
max:
  v: 1
base:
  path:
    v: GetCareDocumentationRequest.documentType.code
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string

id:
  v: GetCareDocumentationRequest.documentType.codeSystem
path:
  v: GetCareDocumentationRequest.documentType.codeSystem
short:
  v: Code System
definition:
  v: Code System
min:
  v: 0
max:
  v: 1
base:
  path:
    v: GetCareDocumentationRequest.documentType.codeSystem
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string

id:
  v: GetCareDocumentationRequest.documentType.displayName
path:
  v: GetCareDocumentationRequest.documentType.displayName
short:
  v: Display Name
definition:
  v: Display Name
min:
  v: 0
max:
  v: 1
base:
  path:
    v: GetCareDocumentationRequest.documentType.displayName
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string

element:
  id:
    v: GetCareDocumentationRequest
  path:
    v: GetCareDocumentationRequest
  short:
    v: GetCareDocumentation Request
  definition:
    v: Request structure for retrieving journal entries and care documentation for a patient
element:
  id:
    v: GetCareDocumentationRequest.careUnitHSAId
  path:
    v: GetCareDocumentationRequest.careUnitHSAId
  short:
    v: Care Unit HSA-ID
  definition:
    v: Filter on care unit
  min:
    v: 0
  max:
    v: *
  type:
    code:
      v: string
element:
  id:
    v: GetCareDocumentationRequest.patientId
  path:
    v: GetCareDocumentationRequest.patientId
  short:
    v: Patient ID
  definition:
    v: Patient ID
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: BackboneElement
element:
  id:
    v: GetCareDocumentationRequest.patientId.id
  path:
    v: GetCareDocumentationRequest.patientId.id
  short:
    v: ID
  definition:
    v: Patient identifier (12 characters, no separator)
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: string
element:
  id:
    v: GetCareDocumentationRequest.patientId.type
  path:
    v: GetCareDocumentationRequest.patientId.type
  short:
    v: Type
  definition:
    v: OID for identifier type
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: string
element:
  id:
    v: GetCareDocumentationRequest.timePeriod
  path:
    v: GetCareDocumentationRequest.timePeriod
  short:
    v: Time Period
  definition:
    v: Limits search to documentation within interval
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: BackboneElement
element:
  id:
    v: GetCareDocumentationRequest.timePeriod.start
  path:
    v: GetCareDocumentationRequest.timePeriod.start
  short:
    v: Start Date
  definition:
    v: Format YYYYMMDD
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: string
element:
  id:
    v: GetCareDocumentationRequest.timePeriod.end
  path:
    v: GetCareDocumentationRequest.timePeriod.end
  short:
    v: End Date
  definition:
    v: Format YYYYMMDD
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: string
element:
  id:
    v: GetCareDocumentationRequest.sourceSystemHSAId
  path:
    v: GetCareDocumentationRequest.sourceSystemHSAId
  short:
    v: Source System HSA-ID
  definition:
    v: Limits to specific source system
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: string
element:
  id:
    v: GetCareDocumentationRequest.careContactId
  path:
    v: GetCareDocumentationRequest.careContactId
  short:
    v: Care Contact ID
  definition:
    v: Limits to specific care contacts
  min:
    v: 0
  max:
    v: *
  type:
    code:
      v: string
element:
  id:
    v: GetCareDocumentationRequest.documentType
  path:
    v: GetCareDocumentationRequest.documentType
  short:
    v: Document Type
  definition:
    v: Filter by document type
  min:
    v: 0
  max:
    v: *
  type:
    code:
      v: BackboneElement
element:
  id:
    v: GetCareDocumentationRequest.documentType.code
  path:
    v: GetCareDocumentationRequest.documentType.code
  short:
    v: Code
  definition:
    v: Code
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: string
element:
  id:
    v: GetCareDocumentationRequest.documentType.codeSystem
  path:
    v: GetCareDocumentationRequest.documentType.codeSystem
  short:
    v: Code System
  definition:
    v: Code System
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: string

id:
  v: GetCareDocumentationRequest.documentType.displayName
path:
  v: GetCareDocumentationRequest.documentType.displayName
short:
  v: Display Name
definition:
  v: Display Name
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string