HospitalDischargeReportSK
type: StructureDefinition
node role: treeRoot
id:
  v: HospitalDischargeReportSK
text:
  status:
    v: extensions
  div: Generated Narrative: StructureDefinition HospitalDischargeReportSK Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> HospitalDischargeReportSK 0..* Base Hospital Discharge Report (SK) #xD; header 1..1 BackboneElement A.1-Report header data element [Mandatory] #xD; subjectIdentification 1..1 BackboneElement A.1.1-Identification of the patient/subject [Mandatory] #xD; given 1..* string A.1.1.1-Given name [Mandatory] #xD; family 1..* string A.1.1.2-Family name/surname [Mandatory] #xD; birthDate 1..1 dateTime A.1.1.3-Date of birth [Required] #xD; identifier 1..* Identifier A.1.1.4-Personal identifier [Required] #xD; nationality 0..* CodeableConcept A.1.1.5-Nationality [Required] #xD; gender 1..1 CodeableConcept A.1.1.6-Gender [Mandatory] #xD; language 0..0 #xD; subjectContact 0..1 BackboneElement A.1.2-Patient/subject related contact information [Required] #xD; contactPoint 0..* BackboneElement A.1.2.1-Patient address [] #xD; <a href="StructureDefinition-HospitalDischargeReportSK-definitions.html#HospitalDischargeReportSK.header.subjectContact.contactPoint.address" title="Mailing and home or office addresses. The addresses are always sequences of address parts (e.g. street address line, country, ZIP code, city) even if postal address formats may vary depending on the country. An address may or may not include a specific use code; if this attribute is not present it is assumed to be the default address useful for any purpose.">address 0..* Address A.1.2.1.1-Address [Required] #xD; telecom 0..* ContactPoint A.1.2.1.2-Telecom [Required] #xD; preferredHP 0..* BackboneElement A.1.2.2-Preferred healthcare professional (HP) [Optional] #xD; identifier 0..* Identifier A.1.2.2.1-Identifier [Required] #xD; <a href="StructureDefinition-HospitalDischargeReportSK-definitions.html#HospitalDischargeReportSK.header.subjectContact.contactPoint.preferredHP.name" title="Name of the Health Professional that has been treating or…
url:
  v: http://hl7.eu/fhir/ig/xpandh/hdr/StructureDefinition/HospitalDischargeReportSK
version:
  v: 0.1.0
name:
  v: HospitalDischargeReportSK
title:
  v: Hospital Discharge Report (SK)
status:
  v: draft
date:
  v: 2025-10-10T16:32:47+00:00
publisher:
  v: XpanDH Project
contact:
  name:
    v: XpanDH Project
  telecom:
    system:
      v: url
    value:
      v: https://xpandh-project.iscte-iul.pt
description:
  v: Hospital Discharge Report SK Maturity Level: 0 Draft
jurisdiction:
  coding:
    system:
      v: http://unstats.un.org/unsd/methods/m49/m49.htm
    code:
      v: 150
    display:
      v: Europe
copyright:
  v: Used by permission of the XpanDH project, all rights reserved Creative Commons License
fhir version:
  v: 4.0.1
mapping:
  identity:
    v: fhir
  uri:
    v: hl7.org/fhir/r4
  name:
    v: Hospital Discharge Report model to FHIR R4 Map
kind:
  v: logical
abstract:
  v: false
type:
  v: http://hl7.eu/fhir/ig/xpandh/hdr/StructureDefinition/HospitalDischargeReportSK
base definition:
  v: http://hl7.org/fhir/StructureDefinition/Base
  link: http://hl7.org/fhir/StructureDefinition/Base
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: HospitalDischargeReportSK
    path:
      v: HospitalDischargeReportSK
    short:
      v: Hospital Discharge Report (SK)
    definition:
      v: Hospital Discharge Report SK Maturity Level: 0 Draft
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: Base
      min:
        v: 0
      max:
        v: *
    is modifier:
      v: false
    mapping:
      identity:
        v: fhir
      map:
        v: TBD
  element:
    id:
      v: HospitalDischargeReportSK.header
    path:
      v: HospitalDischargeReportSK.header
    short:
      v: A.1-Report header data element [Mandatory]
    definition:
      v: A.1-Report header data element [Mandatory]
    min:
      v: 1
    max:
      v: 1
    base:
      path:
        v: HospitalDischargeReportSK.header
      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
    mapping:
      identity:
        v: fhir
      map:
        v: TBD
  element:
    id:
      v: HospitalDischargeReportSK.header.id
    path:
      v: HospitalDischargeReportSK.header.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: HospitalDischargeReportSK.header.extension
    path:
      v: HospitalDischargeReportSK.header.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: *

url
v: string

v: value

v: url

code:
  v: Extension

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

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

v: false

v: false

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

id:
  v: HospitalDischargeReportSK.header.modifierExtension
path:
  v: HospitalDischargeReportSK.header.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: HospitalDischargeReportSK.header.subjectIdentification
path:
  v: HospitalDischargeReportSK.header.subjectIdentification
short:
  v: A.1.1-Identification of the patient/subject [Mandatory]
definition:
  v: A.1.1-Identification of the patient/subject [Mandatory]
min:
  v: 1
max:
  v: 1
base:
  path:
    v: HospitalDischargeReportSK.header.subjectIdentification
  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
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.subjectIdentification.id
path:
  v: HospitalDischargeReportSK.header.subjectIdentification.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: HospitalDischargeReportSK.header.subjectIdentification.extension
path:
  v: HospitalDischargeReportSK.header.subjectIdentification.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: HospitalDischargeReportSK.header.subjectIdentification.modifierExtension
path:
  v: HospitalDischargeReportSK.header.subjectIdentification.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: HospitalDischargeReportSK.header.subjectIdentification.given
path:
  v: HospitalDischargeReportSK.header.subjectIdentification.given
short:
  v: A.1.1.1-Given name [Mandatory]
definition:
  v: The given name/first name of the patient (also known as forename or first name). This field can contain more than one element.
min:
  v: 1
max:
  v: *
base:
  path:
    v: HospitalDischargeReportSK.header.subjectIdentification.given
  min:
    v: 1
  max:
    v: *
type:
  code:
    v: string
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.subjectIdentification.family
path:
  v: HospitalDischargeReportSK.header.subjectIdentification.family
short:
  v: A.1.1.2-Family name/surname [Mandatory]
definition:
  v: The family name/surname/last name of the patient. This field can contain more than one element or multiple fields could be present.
min:
  v: 1
max:
  v: *
base:
  path:
    v: HospitalDischargeReportSK.header.subjectIdentification.family
  min:
    v: 1
  max:
    v: *
type:
  code:
    v: string
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.subjectIdentification.birthDate
path:
  v: HospitalDischargeReportSK.header.subjectIdentification.birthDate
short:
  v: A.1.1.3-Date of birth [Required]
definition:
  v: The date of birth of the patient [ISO TS 22220]. As age of the patient might be important for correct interpretation of the test result values, complete date of birth should be provided.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: HospitalDischargeReportSK.header.subjectIdentification.birthDate
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: dateTime
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.subjectIdentification.identifier
path:
  v: HospitalDischargeReportSK.header.subjectIdentification.identifier
short:
  v: A.1.1.4-Personal identifier [Required]
definition:
  v: An identifier of the patient that is unique within a defined scope. Example: National ID (birth number) for Czech patient. Multiple identifiers could be provided.
min:
  v: 1
max:
  v: *
base:
  path:
    v: HospitalDischargeReportSK.header.subjectIdentification.identifier
  min:
    v: 1
  max:
    v: *
type:
  code:
    v: Identifier
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.subjectIdentification.nationality
path:
  v: HospitalDischargeReportSK.header.subjectIdentification.nationality
short:
  v: A.1.1.5-Nationality [Required]
definition:
  v: Nationality of the patient.
comment:
  v: eHDSICountry (ISO 3166)
min:
  v: 0
max:
  v: *
base:
  path:
    v: HospitalDischargeReportSK.header.subjectIdentification.nationality
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.subjectIdentification.gender
path:
  v: HospitalDischargeReportSK.header.subjectIdentification.gender
short:
  v: A.1.1.6-Gender [Mandatory]
definition:
  v: This field must contain a recognised valid value for 'administrative gender'. If different, 'physiological gender' should be communicated elsewhere.
comment:
  v: HL7 Administrative Gender
min:
  v: 1
max:
  v: 1
base:
  path:
    v: HospitalDischargeReportSK.header.subjectIdentification.gender
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.subjectIdentification.language
path:
  v: HospitalDischargeReportSK.header.subjectIdentification.language
short:
  v: A.1.1.7-Language communication [Optional]
definition:
  v: Patient communication language. Multiple communication languages might be provided.
comment:
  v: BCP 47
min:
  v: 0
max:
  v: 0
base:
  path:
    v: HospitalDischargeReportSK.header.subjectIdentification.language
  min:
    v: 0
  max:
    v: 0
type:
  code:
    v: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.subjectContact
path:
  v: HospitalDischargeReportSK.header.subjectContact
short:
  v: A.1.2-Patient/subject related contact information [Required]
definition:
  v: A.1.2-Patient/subject related contact information [Required]
min:
  v: 0
max:
  v: 1
base:
  path:
    v: HospitalDischargeReportSK.header.subjectContact
  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
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.subjectContact.id
path:
  v: HospitalDischargeReportSK.header.subjectContact.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: HospitalDischargeReportSK.header.subjectContact.extension
path:
  v: HospitalDischargeReportSK.header.subjectContact.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: HospitalDischargeReportSK.header.subjectContact.modifierExtension
path:
  v: HospitalDischargeReportSK.header.subjectContact.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: HospitalDischargeReportSK.header.subjectContact.contactPoint
path:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint
short:
  v: A.1.2.1-Patient address []
definition:
  v: A.1.2.1-Patient address []
min:
  v: 0
max:
  v: *
base:
  path:
    v: HospitalDischargeReportSK.header.subjectContact.contactPoint
  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
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint.id
path:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint.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: HospitalDischargeReportSK.header.subjectContact.contactPoint.extension
path:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint.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: HospitalDischargeReportSK.header.subjectContact.contactPoint.modifierExtension
path:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint.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: HospitalDischargeReportSK.header.subjectContact.contactPoint.address
path:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint.address
short:
  v: A.1.2.1.1-Address [Required]
definition:
  v: Mailing and home or office addresses. The addresses are always sequences of address parts (e.g. street address line, country, ZIP code, city) even if postal address formats may vary depending on the country. An address may or may not include a specific use code; if this attribute is not present it is assumed to be the default address useful for any purpose.
comment:
  v: eHDSICountry (ISO 3166)
min:
  v: 0
max:
  v: *
base:
  path:
    v: HospitalDischargeReportSK.header.subjectContact.contactPoint.address
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Address
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint.telecom
path:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint.telecom
short:
  v: A.1.2.1.2-Telecom [Required]
definition:
  v: Telecommunication contact information (addresses) associated to a person. Multiple telecommunication addresses might be provided.
min:
  v: 0
max:
  v: *
base:
  path:
    v: HospitalDischargeReportSK.header.subjectContact.contactPoint.telecom
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: ContactPoint
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint.preferredHP
path:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint.preferredHP
short:
  v: A.1.2.2-Preferred healthcare professional (HP) [Optional]
definition:
  v: - This section can be repeated and linked to any specific information in the document, for example a link between a rare disease problem and the rare disease specialist responsible for the care of the individual patient (this section).
min:
  v: 0
max:
  v: *
base:
  path:
    v: HospitalDischargeReportSK.header.subjectContact.contactPoint.preferredHP
  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
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint.preferredHP.id
path:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint.preferredHP.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: HospitalDischargeReportSK.header.subjectContact.contactPoint.preferredHP.extension
path:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint.preferredHP.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: HospitalDischargeReportSK.header.subjectContact.contactPoint.preferredHP.modifierExtension
path:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint.preferredHP.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: HospitalDischargeReportSK.header.subjectContact.contactPoint.preferredHP.identifier
path:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint.preferredHP.identifier
short:
  v: A.1.2.2.1-Identifier [Required]
definition:
  v: An identifier of the healthcare professional that is unique within a defined scope. Example: National healthcare professional ID. Multiple identifiers could be provided.
min:
  v: 0
max:
  v: *
base:
  path:
    v: HospitalDischargeReportSK.header.subjectContact.contactPoint.preferredHP.identifier
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Identifier
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint.preferredHP.name
path:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint.preferredHP.name
short:
  v: A.1.2.2.2-Name of the HP [Required]
definition:
  v: Name of the Health Professional that has been treating or taking responsibility for the patient. This element can be repeated if several medical problems for the patient require multiple contact information, with references from individual entries. [the structure of the name will be the same as for the patient (given name, family name / surname)]
min:
  v: 1
max:
  v: 1
base:
  path:
    v: HospitalDischargeReportSK.header.subjectContact.contactPoint.preferredHP.name
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: HumanName
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint.preferredHP.role
path:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint.preferredHP.role
short:
  v: A.1.2.2.3-Role of the HP [Required]
definition:
  v: Healthcare professional role
comment:
  v: ISCO or SNOMED CT specialty - to be discussed
min:
  v: 0
max:
  v: *
base:
  path:
    v: HospitalDischargeReportSK.header.subjectContact.contactPoint.preferredHP.role
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint.preferredHP.organization
path:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint.preferredHP.organization
short:
  v: A.1.2.2.4-HP Organisation [Required]
definition:
  v: Healthcare Professional Organisation
min:
  v: 0
max:
  v: 1
base:
  path:
    v: HospitalDischargeReportSK.header.subjectContact.contactPoint.preferredHP.organization
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: BackboneElement
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint.preferredHP.address
path:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint.preferredHP.address
short:
  v: A.1.2.2.5-Address [Optional]
definition:
  v: Mailing and home or office addresses. The addresses are always sequences of address parts (e.g. street address line, country, ZIP code, city) even if postal address formats may vary depending on the country. An address may or may not include a specific use code; if this attribute is not present it is assumed to be the default address useful for any purpose.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: HospitalDischargeReportSK.header.subjectContact.contactPoint.preferredHP.address
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Address
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint.preferredHP.telecom
path:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint.preferredHP.telecom
short:
  v: A.1.2.2.6-Telecom [Required]
definition:
  v: Telecommunication contact information (addresses) associated to a person. Multiple telecommunication addresses might be provided.
min:
  v: 0
max:
  v: *
base:
  path:
    v: HospitalDischargeReportSK.header.subjectContact.contactPoint.preferredHP.telecom
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: ContactPoint
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint.person
path:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint.person
short:
  v: A.1.2.3-Contact person/ legal guardian [Required]
definition:
  v: A.1.2.3-Contact person/ legal guardian [Required]
min:
  v: 0
max:
  v: *
base:
  path:
    v: HospitalDischargeReportSK.header.subjectContact.contactPoint.person
  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
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint.person.id
path:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint.person.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: HospitalDischargeReportSK.header.subjectContact.contactPoint.person.extension
path:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint.person.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: HospitalDischargeReportSK.header.subjectContact.contactPoint.person.modifierExtension
path:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint.person.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: HospitalDischargeReportSK.header.subjectContact.contactPoint.person.role
path:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint.person.role
short:
  v: A.1.2.3.1-Role of that person [Required]
definition:
  v: Role of the contact person: legal guardian, next of kin, other person to contact.
comment:
  v: http://terminology.hl7.org/CodeSystem/v3-RoleClass
min:
  v: 0
max:
  v: 0
base:
  path:
    v: HospitalDischargeReportSK.header.subjectContact.contactPoint.person.role
  min:
    v: 0
  max:
    v: 0
type:
  code:
    v: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint.person.relationship
path:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint.person.relationship
short:
  v: A.1.2.3.2-Relationship level [Required]
definition:
  v: Relationship type with the patient (e.g. father, wife, daughter)
comment:
  v: eHDSIPersonalRelationship
min:
  v: 0
max:
  v: 0
base:
  path:
    v: HospitalDischargeReportSK.header.subjectContact.contactPoint.person.relationship
  min:
    v: 0
  max:
    v: 0
type:
  code:
    v: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint.person.identifier
path:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint.person.identifier
short:
  v: A.1.2.3.3-Identifier [Optional]
definition:
  v: An identifier of the healthcare professional that is unique within a defined scope. Example: National personal ID, passport number etc. Multiple identifiers could be provided.
min:
  v: 0
max:
  v: 0
base:
  path:
    v: HospitalDischargeReportSK.header.subjectContact.contactPoint.person.identifier
  min:
    v: 0
  max:
    v: 0
type:
  code:
    v: Identifier
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint.person.given
path:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint.person.given
short:
  v: A.1.2.3.4-Given name [Mandatory]
definition:
  v: The first name of the contact person/guardian (example: Peter). This field can contain more than one element.
min:
  v: 1
max:
  v: *
base:
  path:
    v: HospitalDischargeReportSK.header.subjectContact.contactPoint.person.given
  min:
    v: 1
  max:
    v: *
type:
  code:
    v: string
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint.person.name
path:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint.person.name
short:
  v: A.1.2.3.5-Family name/surname [Mandatory]
definition:
  v: This field can contain more than one element. Example: Espa�ol Smith
min:
  v: 1
max:
  v: *
base:
  path:
    v: HospitalDischargeReportSK.header.subjectContact.contactPoint.person.name
  min:
    v: 1
  max:
    v: *
type:
  code:
    v: string
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint.person.address
path:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint.person.address
short:
  v: A.1.2.3.6-Address [Optional]
definition:
  v: Mailing, home or office addresses. The addresses are always sequences of address parts (e.g. street address line, country, ZIP code, city) even if postal address formats may vary depending on the country. An address may or may not include a specific use code; if this attribute is not present it is assumed to be the default address useful for any purpose.
min:
  v: 0
max:
  v: 0
base:
  path:
    v: HospitalDischargeReportSK.header.subjectContact.contactPoint.person.address
  min:
    v: 0
  max:
    v: 0
type:
  code:
    v: Address
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint.person.telecom
path:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint.person.telecom
short:
  v: A.1.2.3.7-Telecom [Required]
definition:
  v: Telecommunication contact information (addresses) associated to a person. Multiple telecommunication addresses might be provided.
min:
  v: 0
max:
  v: 0
base:
  path:
    v: HospitalDischargeReportSK.header.subjectContact.contactPoint.person.telecom
  min:
    v: 0
  max:
    v: 0
type:
  code:
    v: ContactPoint
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.payer
path:
  v: HospitalDischargeReportSK.header.payer
short:
  v: A.1.3-Health insurance and payment information [Required]
definition:
  v: Health insurance information is not always required, however, in some jurisdictions, the insurance number is also used as the patient identifier. It is necessary not just for identification but also forms access to funding for care.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: HospitalDischargeReportSK.header.payer
  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
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.payer.id
path:
  v: HospitalDischargeReportSK.header.payer.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: HospitalDischargeReportSK.header.payer.extension
path:
  v: HospitalDischargeReportSK.header.payer.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: HospitalDischargeReportSK.header.payer.modifierExtension
path:
  v: HospitalDischargeReportSK.header.payer.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: HospitalDischargeReportSK.header.payer.insuranceCode
path:
  v: HospitalDischargeReportSK.header.payer.insuranceCode
short:
  v: A.1.3.1-Health insurance code [Mandatory]
definition:
  v: Unique health insurance company identification code.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: HospitalDischargeReportSK.header.payer.insuranceCode
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Identifier
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.payer.insuranceName
path:
  v: HospitalDischargeReportSK.header.payer.insuranceName
short:
  v: A.1.3.2-Health insurance name [Required]
definition:
  v: Full, official name of the healthcare insurance provider.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: HospitalDischargeReportSK.header.payer.insuranceName
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.payer.insuranceNumber
path:
  v: HospitalDischargeReportSK.header.payer.insuranceNumber
short:
  v: A.1.3.3-Health insurance number [Mandatory]
definition:
  v: Number or code under which the insured person is registered at the insurance provider.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: HospitalDischargeReportSK.header.payer.insuranceNumber
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Identifier
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.informationRecipient
path:
  v: HospitalDischargeReportSK.header.informationRecipient
short:
  v: A.1.4-Information recipient [Required]
definition:
  v: intended recipient or recipients of the report, additional recipients might be identified by the ordering party, e.g. GP, other specialist
min:
  v: 0
max:
  v: 0
base:
  path:
    v: HospitalDischargeReportSK.header.informationRecipient
  min:
    v: 0
  max:
    v: 0
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
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.informationRecipient.id
path:
  v: HospitalDischargeReportSK.header.informationRecipient.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: HospitalDischargeReportSK.header.informationRecipient.extension
path:
  v: HospitalDischargeReportSK.header.informationRecipient.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: HospitalDischargeReportSK.header.informationRecipient.modifierExtension
path:
  v: HospitalDischargeReportSK.header.informationRecipient.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: HospitalDischargeReportSK.header.informationRecipient.identifier
path:
  v: HospitalDischargeReportSK.header.informationRecipient.identifier
short:
  v: A.1.4.1-Recipient identifier [Required]
definition:
  v: The health professional identification number. Either an internal identifier assigned by a healthcare provider institution or (preferably) a national health professional ID such as the license or registration number. In case when recipient is not a health professional, e.g. patient, appropriate personal identifier should be used.
min:
  v: 0
max:
  v: 0
base:
  path:
    v: HospitalDischargeReportSK.header.informationRecipient.identifier
  min:
    v: 0
  max:
    v: 0
type:
  code:
    v: Identifier
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.informationRecipient.name
path:
  v: HospitalDischargeReportSK.header.informationRecipient.name
short:
  v: A.1.4.2-Recipient name [Required]
definition:
  v: Person name.
min:
  v: 0
max:
  v: 0
base:
  path:
    v: HospitalDischargeReportSK.header.informationRecipient.name
  min:
    v: 0
  max:
    v: 0
type:
  code:
    v: HumanName
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.informationRecipient.organizationID
path:
  v: HospitalDischargeReportSK.header.informationRecipient.organizationID
short:
  v: A.1.4.3-Recipient organization ID [Required]
definition:
  v: The healthcare provider organization identifier if known. Identifier that is unique within a defined scope. Example: National healthcare provider ID. Multiple identifiers could be provided.
min:
  v: 0
max:
  v: 0
base:
  path:
    v: HospitalDischargeReportSK.header.informationRecipient.organizationID
  min:
    v: 0
  max:
    v: 0
type:
  code:
    v: Identifier
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.informationRecipient.organization
path:
  v: HospitalDischargeReportSK.header.informationRecipient.organization
short:
  v: A.1.4.4-Recipient organization [Required]
definition:
  v: The healthcare provider organization information.
min:
  v: 0
max:
  v: 0
base:
  path:
    v: HospitalDischargeReportSK.header.informationRecipient.organization
  min:
    v: 0
  max:
    v: 0
type:
  code:
    v: BackboneElement
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.author
path:
  v: HospitalDischargeReportSK.header.author
short:
  v: A.1.5-Author (by whom the Hospital discharge report was authored) [Mandatory]
definition:
  v: Author (by whom the Hospital discharge report was authored)
min:
  v: 1
max:
  v: *
base:
  path:
    v: HospitalDischargeReportSK.header.author
  min:
    v: 1
  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
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.author.id
path:
  v: HospitalDischargeReportSK.header.author.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: HospitalDischargeReportSK.header.author.extension
path:
  v: HospitalDischargeReportSK.header.author.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: HospitalDischargeReportSK.header.author.modifierExtension
path:
  v: HospitalDischargeReportSK.header.author.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: HospitalDischargeReportSK.header.author.identifier
path:
  v: HospitalDischargeReportSK.header.author.identifier
short:
  v: A.1.5.1-Author identifier [Mandatory]
definition:
  v: The health professional identification number. Either an internal identifier assigned by a healthcare provider institution or (preferably) a national health professional ID such as the license or registration number.
min:
  v: 1
max:
  v: *
base:
  path:
    v: HospitalDischargeReportSK.header.author.identifier
  min:
    v: 1
  max:
    v: *
type:
  code:
    v: Identifier
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.author.name
path:
  v: HospitalDischargeReportSK.header.author.name
short:
  v: A.1.5.2-Author name [Mandatory]
definition:
  v: Person name.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: HospitalDischargeReportSK.header.author.name
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: HumanName
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.author.organizationID
path:
  v: HospitalDischargeReportSK.header.author.organizationID
short:
  v: A.1.5.3-Author organization ID [Required]
definition:
  v: The healthcare provider organization information.
min:
  v: 0
max:
  v: *
base:
  path:
    v: HospitalDischargeReportSK.header.author.organizationID
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Identifier
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.author.organization
path:
  v: HospitalDischargeReportSK.header.author.organization
short:
  v: A.1.5.4-Author organization [Mandatory]
definition:
  v: The healthcare provider organization identifier if known. Identifier that is unique within a defined scope. Example: National healthcare provider ID. Multiple identifiers could be provided.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: HospitalDischargeReportSK.header.author.organization
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: BackboneElement
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.author.dateTime
path:
  v: HospitalDischargeReportSK.header.author.dateTime
short:
  v: A.1.5.5-DateTime [Mandatory]
definition:
  v: Date and time of the last modification of the document by its Author.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: HospitalDischargeReportSK.header.author.dateTime
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: dateTime
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.attester
path:
  v: HospitalDischargeReportSK.header.attester
short:
  v: A.1.6-Attester [Required]
definition:
  v: A.1.6-Attester [Required]
min:
  v: 0
max:
  v: *
base:
  path:
    v: HospitalDischargeReportSK.header.attester
  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
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.attester.id
path:
  v: HospitalDischargeReportSK.header.attester.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: HospitalDischargeReportSK.header.attester.extension
path:
  v: HospitalDischargeReportSK.header.attester.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: HospitalDischargeReportSK.header.attester.modifierExtension
path:
  v: HospitalDischargeReportSK.header.attester.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: HospitalDischargeReportSK.header.attester.identifier
path:
  v: HospitalDischargeReportSK.header.attester.identifier
short:
  v: A.1.6.1-Attester identifier [Mandatory]
definition:
  v: The health professional identification number. Either an internal identifier assigned by a healthcare provider institution or (preferably) a national health professional ID such as the license or registration number.
min:
  v: 0
max:
  v: 0
base:
  path:
    v: HospitalDischargeReportSK.header.attester.identifier
  min:
    v: 0
  max:
    v: 0
type:
  code:
    v: Identifier
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.attester.name
path:
  v: HospitalDischargeReportSK.header.attester.name
short:
  v: A.1.6.2-Attester name [Mandatory]
definition:
  v: Person name.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: HospitalDischargeReportSK.header.attester.name
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: HumanName
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.attester.organizationID
path:
  v: HospitalDischargeReportSK.header.attester.organizationID
short:
  v: A.1.6.3-Attester organization ID [Required]
definition:
  v: The healthcare provider organization identifier if known. Identifier that is unique within a defined scope. Example: National healthcare provider ID. Multiple identifiers could be provided.
min:
  v: 0
max:
  v: 0
base:
  path:
    v: HospitalDischargeReportSK.header.attester.organizationID
  min:
    v: 0
  max:
    v: 0
type:
  code:
    v: Identifier
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.attester.organization
path:
  v: HospitalDischargeReportSK.header.attester.organization
short:
  v: A.1.6.4-Attester organization [Mandatory]
definition:
  v: The healthcare provider organization information.
min:
  v: 0
max:
  v: 0
base:
  path:
    v: HospitalDischargeReportSK.header.attester.organization
  min:
    v: 0
  max:
    v: 0
type:
  code:
    v: BackboneElement
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.attester.dateTime
path:
  v: HospitalDischargeReportSK.header.attester.dateTime
short:
  v: A.1.6.5-Approval date and time [Mandatory]
definition:
  v: Date and time of the approval of the document by Attester.
min:
  v: 0
max:
  v: 0
base:
  path:
    v: HospitalDischargeReportSK.header.attester.dateTime
  min:
    v: 0
  max:
    v: 0
type:
  code:
    v: dateTime
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.legalAuthenticator
path:
  v: HospitalDischargeReportSK.header.legalAuthenticator
short:
  v: A.1.7-Legal authenticator [Required]
definition:
  v: The person taking responsibility for the medical content of the document
min:
  v: 0
max:
  v: 1
base:
  path:
    v: HospitalDischargeReportSK.header.legalAuthenticator
  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
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.legalAuthenticator.id
path:
  v: HospitalDischargeReportSK.header.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
    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: HospitalDischargeReportSK.header.legalAuthenticator.extension
path:
  v: HospitalDischargeReportSK.header.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
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: HospitalDischargeReportSK.header.legalAuthenticator.modifierExtension
path:
  v: HospitalDischargeReportSK.header.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
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: HospitalDischargeReportSK.header.legalAuthenticator.identifier
path:
  v: HospitalDischargeReportSK.header.legalAuthenticator.identifier
short:
  v: A.1.7.1-Legal authenticator identifier [Mandatory]
definition:
  v: The health professional identification number. Either an internal identifier assigned by a healthcare provider institution or (preferably) a national health professional ID such as the license or registration number.
min:
  v: 0
max:
  v: 0
base:
  path:
    v: HospitalDischargeReportSK.header.legalAuthenticator.identifier
  min:
    v: 0
  max:
    v: 0
type:
  code:
    v: Identifier
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.legalAuthenticator.name
path:
  v: HospitalDischargeReportSK.header.legalAuthenticator.name
short:
  v: A.1.7.2-Legal authenticator name [Mandatory]
definition:
  v: Person name.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: HospitalDischargeReportSK.header.legalAuthenticator.name
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: HumanName
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.legalAuthenticator.organizationID
path:
  v: HospitalDischargeReportSK.header.legalAuthenticator.organizationID
short:
  v: -Legal authenticator organization�ID [Required]
definition:
  v: The healthcare provider organization identifier if known. Identifier that is unique within a defined scope.�Example: National healthcare provider ID. Multiple identifiers could be provided.��
min:
  v: 0
max:
  v: 0
base:
  path:
    v: HospitalDischargeReportSK.header.legalAuthenticator.organizationID
  min:
    v: 0
  max:
    v: 0
type:
  code:
    v: Identifier
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.legalAuthenticator.organization
path:
  v: HospitalDischargeReportSK.header.legalAuthenticator.organization
short:
  v: A.1.7.3-Legal authenticator organization [Mandatory]
definition:
  v: The healthcare provider organization information.
min:
  v: 0
max:
  v: 0
base:
  path:
    v: HospitalDischargeReportSK.header.legalAuthenticator.organization
  min:
    v: 0
  max:
    v: 0
type:
  code:
    v: BackboneElement
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.legalAuthenticator.dateTime
path:
  v: HospitalDischargeReportSK.header.legalAuthenticator.dateTime
short:
  v: A.1.7.4-Authentication date and time [Mandatory]
definition:
  v: Date and time when the document was authorized.
min:
  v: 0
max:
  v: 0
base:
  path:
    v: HospitalDischargeReportSK.header.legalAuthenticator.dateTime
  min:
    v: 0
  max:
    v: 0
type:
  code:
    v: dateTime
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.documentMetadata
path:
  v: HospitalDischargeReportSK.header.documentMetadata
short:
  v: A.1.8-Document metadata [Mandatory]
definition:
  v: A.1.8-Document metadata [Mandatory]
min:
  v: 0
max:
  v: 0
base:
  path:
    v: HospitalDischargeReportSK.header.documentMetadata
  min:
    v: 0
  max:
    v: 0
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
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.documentMetadata.id
path:
  v: HospitalDischargeReportSK.header.documentMetadata.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: HospitalDischargeReportSK.header.documentMetadata.extension
path:
  v: HospitalDischargeReportSK.header.documentMetadata.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: HospitalDischargeReportSK.header.documentMetadata.modifierExtension
path:
  v: HospitalDischargeReportSK.header.documentMetadata.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: HospitalDischargeReportSK.header.documentMetadata.identifier
path:
  v: HospitalDischargeReportSK.header.documentMetadata.identifier
short:
  v: A.1.8.1-Document ID [Mandatory]
definition:
  v: Unique identifier of the document
min:
  v: 0
max:
  v: 0
base:
  path:
    v: HospitalDischargeReportSK.header.documentMetadata.identifier
  min:
    v: 0
  max:
    v: 0
type:
  code:
    v: Identifier
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.documentMetadata.type
path:
  v: HospitalDischargeReportSK.header.documentMetadata.type
short:
  v: A.1.8.2-Document type [Mandatory]
definition:
  v: A coded type of the document. Fixed value 'Hospital dicharge summary'
comment:
  v: LOINC
min:
  v: 0
max:
  v: 0
base:
  path:
    v: HospitalDischargeReportSK.header.documentMetadata.type
  min:
    v: 0
  max:
    v: 0
type:
  code:
    v: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.documentMetadata.status
path:
  v: HospitalDischargeReportSK.header.documentMetadata.status
short:
  v: A.1.8.3-Document status [Mandatory]
definition:
  v: The status of the Hospital discharge report. E.g., preliminary, final.
comment:
  v: hl7:CompositionStatus
min:
  v: 0
max:
  v: 0
base:
  path:
    v: HospitalDischargeReportSK.header.documentMetadata.status
  min:
    v: 0
  max:
    v: 0
type:
  code:
    v: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.documentMetadata.dateTime
path:
  v: HospitalDischargeReportSK.header.documentMetadata.dateTime
short:
  v: A.1.8.4-Report date and time [Mandatory]
definition:
  v: Date and time of the result report creation.
min:
  v: 0
max:
  v: 0
base:
  path:
    v: HospitalDischargeReportSK.header.documentMetadata.dateTime
  min:
    v: 0
  max:
    v: 0
type:
  code:
    v: dateTime
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.documentMetadata.title
path:
  v: HospitalDischargeReportSK.header.documentMetadata.title
short:
  v: A.1.8.5-Document title [Mandatory]
definition:
  v: Document title, e.g. 'Hospital discharge report'
min:
  v: 0
max:
  v: 0
base:
  path:
    v: HospitalDischargeReportSK.header.documentMetadata.title
  min:
    v: 0
  max:
    v: 0
type:
  code:
    v: string
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.documentMetadata.custodian
path:
  v: HospitalDischargeReportSK.header.documentMetadata.custodian
short:
  v: A.1.8.6-Report custodian [Optional]
definition:
  v: Organisation that is in charge of maintaining the report
min:
  v: 0
max:
  v: 0
base:
  path:
    v: HospitalDischargeReportSK.header.documentMetadata.custodian
  min:
    v: 0
  max:
    v: 0
type:
  code:
    v: BackboneElement
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.documentMetadata.confidentiality
path:
  v: HospitalDischargeReportSK.header.documentMetadata.confidentiality
short:
  v: A.1.8.7-Confidentiality [Mandatory]
definition:
  v: Level of confidentiality of the document. Implicit value is normal.
comment:
  v: hl7:confidentiality
min:
  v: 0
max:
  v: 0
base:
  path:
    v: HospitalDischargeReportSK.header.documentMetadata.confidentiality
  min:
    v: 0
  max:
    v: 0
type:
  code:
    v: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.documentMetadata.language
path:
  v: HospitalDischargeReportSK.header.documentMetadata.language
short:
  v: A.1.8.8-Language [Required]
definition:
  v: Language in which the document is written. Language is expressed by the ISO language code.
comment:
  v: BCP 47
min:
  v: 0
max:
  v: 0
base:
  path:
    v: HospitalDischargeReportSK.header.documentMetadata.language
  min:
    v: 0
  max:
    v: 0
type:
  code:
    v: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.documentMetadata.version
path:
  v: HospitalDischargeReportSK.header.documentMetadata.version
short:
  v: A.1.8.9-Version [Required]
definition:
  v: Version of the document
min:
  v: 0
max:
  v: 0
base:
  path:
    v: HospitalDischargeReportSK.header.documentMetadata.version
  min:
    v: 0
  max:
    v: 0
type:
  code:
    v: string
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.digitalSignature
path:
  v: HospitalDischargeReportSK.header.digitalSignature
short:
  v: A.1.9-Digital signatures [Required]
definition:
  v: A.1.9-Digital signatures [Required]
min:
  v: 0
max:
  v: 0
base:
  path:
    v: HospitalDischargeReportSK.header.digitalSignature
  min:
    v: 0
  max:
    v: 0
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
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.digitalSignature.id
path:
  v: HospitalDischargeReportSK.header.digitalSignature.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: HospitalDischargeReportSK.header.digitalSignature.extension
path:
  v: HospitalDischargeReportSK.header.digitalSignature.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: HospitalDischargeReportSK.header.digitalSignature.modifierExtension
path:
  v: HospitalDischargeReportSK.header.digitalSignature.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: HospitalDischargeReportSK.header.digitalSignature.signature
path:
  v: HospitalDischargeReportSK.header.digitalSignature.signature
short:
  v: A.1.9.1-Digital signature [Required]
definition:
  v: Digital signature of the document
min:
  v: 0
max:
  v: 0
base:
  path:
    v: HospitalDischargeReportSK.header.digitalSignature.signature
  min:
    v: 0
  max:
    v: 0
type:
  code:
    v: BackboneElement
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.digitalSignature.timeStamp
path:
  v: HospitalDischargeReportSK.header.digitalSignature.timeStamp
short:
  v: A.1.9.2-Time stamp [Required]
definition:
  v: An electronic time stamp
min:
  v: 0
max:
  v: 0
base:
  path:
    v: HospitalDischargeReportSK.header.digitalSignature.timeStamp
  min:
    v: 0
  max:
    v: 0
type:
  code:
    v: dateTime
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.body
path:
  v: HospitalDischargeReportSK.body
short:
  v: A.2-Body (missing elementy ?) [Mandatory]
definition:
  v: Missing element ?
min:
  v: 1
max:
  v: 1
base:
  path:
    v: HospitalDischargeReportSK.body
  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
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.body.id
path:
  v: HospitalDischargeReportSK.body.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: HospitalDischargeReportSK.body.extension
path:
  v: HospitalDischargeReportSK.body.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: HospitalDischargeReportSK.body.modifierExtension
path:
  v: HospitalDischargeReportSK.body.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: HospitalDischargeReportSK.body.advanceDirectives
path:
  v: HospitalDischargeReportSK.body.advanceDirectives
short:
  v: A.2.1-Advance directives [Required]
definition:
  v: A.2.1-Advance directives [Required]
min:
  v: 0
max:
  v: 1
base:
  path:
    v: HospitalDischargeReportSK.body.advanceDirectives
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: BackboneElement
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.body.emergencyInfos
path:
  v: HospitalDischargeReportSK.body.emergencyInfos
short:
  v: A.2.2-Emergency information [Mandatory]
definition:
  v: A.2.2-Emergency information [Mandatory]
min:
  v: 1
max:
  v: 1
base:
  path:
    v: HospitalDischargeReportSK.body.emergencyInfos
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: BackboneElement
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.body.encounter
path:
  v: HospitalDischargeReportSK.body.encounter
short:
  v: A.2.3-Encounter [Mandatory]
definition:
  v: A.2.3-Encounter [Mandatory]
min:
  v: 1
max:
  v: 1
base:
  path:
    v: HospitalDischargeReportSK.body.encounter
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: BackboneElement
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.body.admissionEvaluation
path:
  v: HospitalDischargeReportSK.body.admissionEvaluation
short:
  v: A.2.4-Admission evaluation - Admission status should be reported exceptionally only if it is relevant to ensure continuity of care. [Optional]
definition:
  v: A.2.4-Admission evaluation - Admission status should be reported exceptionally only if it is relevant to ensure continuity of care. [Optional]
min:
  v: 0
max:
  v: 1
base:
  path:
    v: HospitalDischargeReportSK.body.admissionEvaluation
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: BackboneElement
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.body.patientHistory
path:
  v: HospitalDischargeReportSK.body.patientHistory
short:
  v: A.2.6-Patient history [Optional]
definition:
  v: A.2.6-Patient history [Optional]
min:
  v: 0
max:
  v: 1
base:
  path:
    v: HospitalDischargeReportSK.body.patientHistory
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: BackboneElement
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.body.hospitalStay
path:
  v: HospitalDischargeReportSK.body.hospitalStay
short:
  v: A.2.7-Hospital stay [Mandatory]
definition:
  v: A.2.7-Hospital stay [Mandatory]
min:
  v: 1
max:
  v: 1
base:
  path:
    v: HospitalDischargeReportSK.body.hospitalStay
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: BackboneElement
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.body.dischargeDetails
path:
  v: HospitalDischargeReportSK.body.dischargeDetails
short:
  v: A.2.8-Discharge details [Mandatory]
definition:
  v: structured information should be provided, however if not available, at least a summary note should be present
min:
  v: 1
max:
  v: 1
base:
  path:
    v: HospitalDischargeReportSK.body.dischargeDetails
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: BackboneElement
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.body.recommendations
path:
  v: HospitalDischargeReportSK.body.recommendations
short:
  v: A.2.9-Recommendations [Required]
definition:
  v: A.2.9-Recommendations [Required]
min:
  v: 0
max:
  v: 1
base:
  path:
    v: HospitalDischargeReportSK.body.recommendations
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: BackboneElement
mapping:
  identity:
    v: fhir
  map:
    v: TBD

element:
  id:
    v: HospitalDischargeReportSK
  path:
    v: HospitalDischargeReportSK
  short:
    v: Hospital Discharge Report (SK)
  definition:
    v: Hospital Discharge Report SK Maturity Level: 0 Draft
  mapping:
    identity:
      v: fhir
    map:
      v: TBD
element:
  id:
    v: HospitalDischargeReportSK.header
  path:
    v: HospitalDischargeReportSK.header
  short:
    v: A.1-Report header data element [Mandatory]
  definition:
    v: A.1-Report header data element [Mandatory]
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: BackboneElement
  mapping:
    identity:
      v: fhir
    map:
      v: TBD
element:
  id:
    v: HospitalDischargeReportSK.header.subjectIdentification
  path:
    v: HospitalDischargeReportSK.header.subjectIdentification
  short:
    v: A.1.1-Identification of the patient/subject [Mandatory]
  definition:
    v: A.1.1-Identification of the patient/subject [Mandatory]
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: BackboneElement
  mapping:
    identity:
      v: fhir
    map:
      v: TBD
element:
  id:
    v: HospitalDischargeReportSK.header.subjectIdentification.given
  path:
    v: HospitalDischargeReportSK.header.subjectIdentification.given
  short:
    v: A.1.1.1-Given name [Mandatory]
  definition:
    v: The given name/first name of the patient (also known as forename or first name). This field can contain more than one element.
  min:
    v: 1
  max:
    v: *
  type:
    code:
      v: string
  mapping:
    identity:
      v: fhir
    map:
      v: TBD
element:
  id:
    v: HospitalDischargeReportSK.header.subjectIdentification.family
  path:
    v: HospitalDischargeReportSK.header.subjectIdentification.family
  short:
    v: A.1.1.2-Family name/surname [Mandatory]
  definition:
    v: The family name/surname/last name of the patient. This field can contain more than one element or multiple fields could be present.
  min:
    v: 1
  max:
    v: *
  type:
    code:
      v: string
  mapping:
    identity:
      v: fhir
    map:
      v: TBD
element:
  id:
    v: HospitalDischargeReportSK.header.subjectIdentification.birthDate
  path:
    v: HospitalDischargeReportSK.header.subjectIdentification.birthDate
  short:
    v: A.1.1.3-Date of birth [Required]
  definition:
    v: The date of birth of the patient [ISO TS 22220]. As age of the patient might be important for correct interpretation of the test result values, complete date of birth should be provided.
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: dateTime
  mapping:
    identity:
      v: fhir
    map:
      v: TBD
element:
  id:
    v: HospitalDischargeReportSK.header.subjectIdentification.identifier
  path:
    v: HospitalDischargeReportSK.header.subjectIdentification.identifier
  short:
    v: A.1.1.4-Personal identifier [Required]
  definition:
    v: An identifier of the patient that is unique within a defined scope. Example: National ID (birth number) for Czech patient. Multiple identifiers could be provided.
  min:
    v: 1
  max:
    v: *
  type:
    code:
      v: Identifier
  mapping:
    identity:
      v: fhir
    map:
      v: TBD
element:
  id:
    v: HospitalDischargeReportSK.header.subjectIdentification.nationality
  path:
    v: HospitalDischargeReportSK.header.subjectIdentification.nationality
  short:
    v: A.1.1.5-Nationality [Required]
  definition:
    v: Nationality of the patient.
  comment:
    v: eHDSICountry (ISO 3166)
  min:
    v: 0
  max:
    v: *
  type:
    code:
      v: CodeableConcept
  mapping:
    identity:
      v: fhir
    map:
      v: TBD
element:
  id:
    v: HospitalDischargeReportSK.header.subjectIdentification.gender
  path:
    v: HospitalDischargeReportSK.header.subjectIdentification.gender
  short:
    v: A.1.1.6-Gender [Mandatory]
  definition:
    v: This field must contain a recognised valid value for 'administrative gender'. If different, 'physiological gender' should be communicated elsewhere.
  comment:
    v: HL7 Administrative Gender
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: CodeableConcept
  mapping:
    identity:
      v: fhir
    map:
      v: TBD
element:
  id:
    v: HospitalDischargeReportSK.header.subjectIdentification.language
  path:
    v: HospitalDischargeReportSK.header.subjectIdentification.language
  short:
    v: A.1.1.7-Language communication [Optional]
  definition:
    v: Patient communication language. Multiple communication languages might be provided.
  comment:
    v: BCP 47
  min:
    v: 0
  max:
    v: 0

code:
  v: CodeableConcept

identity:
  v: fhir
map:
  v: TBD

id:
  v: HospitalDischargeReportSK.header.subjectContact
path:
  v: HospitalDischargeReportSK.header.subjectContact
short:
  v: A.1.2-Patient/subject related contact information [Required]
definition:
  v: A.1.2-Patient/subject related contact information [Required]
min:
  v: 0
max:
  v: 1
type:
  code:
    v: BackboneElement
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint
path:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint
short:
  v: A.1.2.1-Patient address []
definition:
  v: A.1.2.1-Patient address []
min:
  v: 0
max:
  v: *
type:
  code:
    v: BackboneElement
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint.address
path:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint.address
short:
  v: A.1.2.1.1-Address [Required]
definition:
  v: Mailing and home or office addresses. The addresses are always sequences of address parts (e.g. street address line, country, ZIP code, city) even if postal address formats may vary depending on the country. An address may or may not include a specific use code; if this attribute is not present it is assumed to be the default address useful for any purpose.
comment:
  v: eHDSICountry (ISO 3166)
min:
  v: 0
max:
  v: *
type:
  code:
    v: Address
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint.telecom
path:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint.telecom
short:
  v: A.1.2.1.2-Telecom [Required]
definition:
  v: Telecommunication contact information (addresses) associated to a person. Multiple telecommunication addresses might be provided.
min:
  v: 0
max:
  v: *
type:
  code:
    v: ContactPoint
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint.preferredHP
path:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint.preferredHP
short:
  v: A.1.2.2-Preferred healthcare professional (HP) [Optional]
definition:
  v: - This section can be repeated and linked to any specific information in the document, for example a link between a rare disease problem and the rare disease specialist responsible for the care of the individual patient (this section).
min:
  v: 0
max:
  v: *
type:
  code:
    v: BackboneElement
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint.preferredHP.identifier
path:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint.preferredHP.identifier
short:
  v: A.1.2.2.1-Identifier [Required]
definition:
  v: An identifier of the healthcare professional that is unique within a defined scope. Example: National healthcare professional ID. Multiple identifiers could be provided.
min:
  v: 0
max:
  v: *
type:
  code:
    v: Identifier
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint.preferredHP.name
path:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint.preferredHP.name
short:
  v: A.1.2.2.2-Name of the HP [Required]
definition:
  v: Name of the Health Professional that has been treating or taking responsibility for the patient. This element can be repeated if several medical problems for the patient require multiple contact information, with references from individual entries. [the structure of the name will be the same as for the patient (given name, family name / surname)]
min:
  v: 1
max:
  v: 1
type:
  code:
    v: HumanName
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint.preferredHP.role
path:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint.preferredHP.role
short:
  v: A.1.2.2.3-Role of the HP [Required]
definition:
  v: Healthcare professional role
comment:
  v: ISCO or SNOMED CT specialty - to be discussed
min:
  v: 0
max:
  v: *
type:
  code:
    v: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint.preferredHP.organization
path:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint.preferredHP.organization
short:
  v: A.1.2.2.4-HP Organisation [Required]
definition:
  v: Healthcare Professional Organisation
min:
  v: 0
max:
  v: 1
type:
  code:
    v: BackboneElement
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint.preferredHP.address
path:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint.preferredHP.address
short:
  v: A.1.2.2.5-Address [Optional]
definition:
  v: Mailing and home or office addresses. The addresses are always sequences of address parts (e.g. street address line, country, ZIP code, city) even if postal address formats may vary depending on the country. An address may or may not include a specific use code; if this attribute is not present it is assumed to be the default address useful for any purpose.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Address
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint.preferredHP.telecom
path:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint.preferredHP.telecom
short:
  v: A.1.2.2.6-Telecom [Required]
definition:
  v: Telecommunication contact information (addresses) associated to a person. Multiple telecommunication addresses might be provided.
min:
  v: 0
max:
  v: *
type:
  code:
    v: ContactPoint
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint.person
path:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint.person
short:
  v: A.1.2.3-Contact person/ legal guardian [Required]
definition:
  v: A.1.2.3-Contact person/ legal guardian [Required]
min:
  v: 0
max:
  v: *
type:
  code:
    v: BackboneElement
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint.person.role
path:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint.person.role
short:
  v: A.1.2.3.1-Role of that person [Required]
definition:
  v: Role of the contact person: legal guardian, next of kin, other person to contact.
comment:
  v: http://terminology.hl7.org/CodeSystem/v3-RoleClass
min:
  v: 0
max:
  v: 0
type:
  code:
    v: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint.person.relationship
path:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint.person.relationship
short:
  v: A.1.2.3.2-Relationship level [Required]
definition:
  v: Relationship type with the patient (e.g. father, wife, daughter)
comment:
  v: eHDSIPersonalRelationship
min:
  v: 0
max:
  v: 0
type:
  code:
    v: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint.person.identifier
path:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint.person.identifier
short:
  v: A.1.2.3.3-Identifier [Optional]
definition:
  v: An identifier of the healthcare professional that is unique within a defined scope. Example: National personal ID, passport number etc. Multiple identifiers could be provided.
min:
  v: 0
max:
  v: 0
type:
  code:
    v: Identifier
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint.person.given
path:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint.person.given
short:
  v: A.1.2.3.4-Given name [Mandatory]
definition:
  v: The first name of the contact person/guardian (example: Peter). This field can contain more than one element.
min:
  v: 1
max:
  v: *
type:
  code:
    v: string
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint.person.name
path:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint.person.name
short:
  v: A.1.2.3.5-Family name/surname [Mandatory]
definition:
  v: This field can contain more than one element. Example: Espa�ol Smith
min:
  v: 1
max:
  v: *
type:
  code:
    v: string
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint.person.address
path:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint.person.address
short:
  v: A.1.2.3.6-Address [Optional]
definition:
  v: Mailing, home or office addresses. The addresses are always sequences of address parts (e.g. street address line, country, ZIP code, city) even if postal address formats may vary depending on the country. An address may or may not include a specific use code; if this attribute is not present it is assumed to be the default address useful for any purpose.
min:
  v: 0
max:
  v: 0
type:
  code:
    v: Address
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint.person.telecom
path:
  v: HospitalDischargeReportSK.header.subjectContact.contactPoint.person.telecom
short:
  v: A.1.2.3.7-Telecom [Required]
definition:
  v: Telecommunication contact information (addresses) associated to a person. Multiple telecommunication addresses might be provided.
min:
  v: 0
max:
  v: 0
type:
  code:
    v: ContactPoint
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.payer
path:
  v: HospitalDischargeReportSK.header.payer
short:
  v: A.1.3-Health insurance and payment information [Required]
definition:
  v: Health insurance information is not always required, however, in some jurisdictions, the insurance number is also used as the patient identifier. It is necessary not just for identification but also forms access to funding for care.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: BackboneElement
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.payer.insuranceCode
path:
  v: HospitalDischargeReportSK.header.payer.insuranceCode
short:
  v: A.1.3.1-Health insurance code [Mandatory]
definition:
  v: Unique health insurance company identification code.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Identifier
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.payer.insuranceName
path:
  v: HospitalDischargeReportSK.header.payer.insuranceName
short:
  v: A.1.3.2-Health insurance name [Required]
definition:
  v: Full, official name of the healthcare insurance provider.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.payer.insuranceNumber
path:
  v: HospitalDischargeReportSK.header.payer.insuranceNumber
short:
  v: A.1.3.3-Health insurance number [Mandatory]
definition:
  v: Number or code under which the insured person is registered at the insurance provider.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Identifier
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.informationRecipient
path:
  v: HospitalDischargeReportSK.header.informationRecipient
short:
  v: A.1.4-Information recipient [Required]
definition:
  v: intended recipient or recipients of the report, additional recipients might be identified by the ordering party, e.g. GP, other specialist
min:
  v: 0
max:
  v: 0
type:
  code:
    v: BackboneElement
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.informationRecipient.identifier
path:
  v: HospitalDischargeReportSK.header.informationRecipient.identifier
short:
  v: A.1.4.1-Recipient identifier [Required]
definition:
  v: The health professional identification number. Either an internal identifier assigned by a healthcare provider institution or (preferably) a national health professional ID such as the license or registration number. In case when recipient is not a health professional, e.g. patient, appropriate personal identifier should be used.
min:
  v: 0
max:
  v: 0
type:
  code:
    v: Identifier
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.informationRecipient.name
path:
  v: HospitalDischargeReportSK.header.informationRecipient.name
short:
  v: A.1.4.2-Recipient name [Required]
definition:
  v: Person name.
min:
  v: 0
max:
  v: 0
type:
  code:
    v: HumanName
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.informationRecipient.organizationID
path:
  v: HospitalDischargeReportSK.header.informationRecipient.organizationID
short:
  v: A.1.4.3-Recipient organization ID [Required]
definition:
  v: The healthcare provider organization identifier if known. Identifier that is unique within a defined scope. Example: National healthcare provider ID. Multiple identifiers could be provided.
min:
  v: 0
max:
  v: 0
type:
  code:
    v: Identifier
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.informationRecipient.organization
path:
  v: HospitalDischargeReportSK.header.informationRecipient.organization
short:
  v: A.1.4.4-Recipient organization [Required]
definition:
  v: The healthcare provider organization information.
min:
  v: 0
max:
  v: 0
type:
  code:
    v: BackboneElement
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.author
path:
  v: HospitalDischargeReportSK.header.author
short:
  v: A.1.5-Author (by whom the Hospital discharge report was authored) [Mandatory]
definition:
  v: Author (by whom the Hospital discharge report was authored)
min:
  v: 1
max:
  v: *
type:
  code:
    v: BackboneElement
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.author.identifier
path:
  v: HospitalDischargeReportSK.header.author.identifier
short:
  v: A.1.5.1-Author identifier [Mandatory]
definition:
  v: The health professional identification number. Either an internal identifier assigned by a healthcare provider institution or (preferably) a national health professional ID such as the license or registration number.
min:
  v: 1
max:
  v: *
type:
  code:
    v: Identifier
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.author.name
path:
  v: HospitalDischargeReportSK.header.author.name
short:
  v: A.1.5.2-Author name [Mandatory]
definition:
  v: Person name.
min:
  v: 1
max:
  v: 1
type:
  code:
    v: HumanName
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.author.organizationID
path:
  v: HospitalDischargeReportSK.header.author.organizationID
short:
  v: A.1.5.3-Author organization ID [Required]
definition:
  v: The healthcare provider organization information.
min:
  v: 0
max:
  v: *
type:
  code:
    v: Identifier
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.author.organization
path:
  v: HospitalDischargeReportSK.header.author.organization
short:
  v: A.1.5.4-Author organization [Mandatory]
definition:
  v: The healthcare provider organization identifier if known. Identifier that is unique within a defined scope. Example: National healthcare provider ID. Multiple identifiers could be provided.
min:
  v: 1
max:
  v: 1
type:
  code:
    v: BackboneElement
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.author.dateTime
path:
  v: HospitalDischargeReportSK.header.author.dateTime
short:
  v: A.1.5.5-DateTime [Mandatory]
definition:
  v: Date and time of the last modification of the document by its Author.
min:
  v: 1
max:
  v: 1
type:
  code:
    v: dateTime
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.attester
path:
  v: HospitalDischargeReportSK.header.attester
short:
  v: A.1.6-Attester [Required]
definition:
  v: A.1.6-Attester [Required]
min:
  v: 0
max:
  v: *
type:
  code:
    v: BackboneElement
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.attester.identifier
path:
  v: HospitalDischargeReportSK.header.attester.identifier
short:
  v: A.1.6.1-Attester identifier [Mandatory]
definition:
  v: The health professional identification number. Either an internal identifier assigned by a healthcare provider institution or (preferably) a national health professional ID such as the license or registration number.
min:
  v: 0
max:
  v: 0
type:
  code:
    v: Identifier
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.attester.name
path:
  v: HospitalDischargeReportSK.header.attester.name
short:
  v: A.1.6.2-Attester name [Mandatory]
definition:
  v: Person name.
min:
  v: 1
max:
  v: 1
type:
  code:
    v: HumanName
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.attester.organizationID
path:
  v: HospitalDischargeReportSK.header.attester.organizationID
short:
  v: A.1.6.3-Attester organization ID [Required]
definition:
  v: The healthcare provider organization identifier if known. Identifier that is unique within a defined scope. Example: National healthcare provider ID. Multiple identifiers could be provided.
min:
  v: 0
max:
  v: 0
type:
  code:
    v: Identifier
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.attester.organization
path:
  v: HospitalDischargeReportSK.header.attester.organization
short:
  v: A.1.6.4-Attester organization [Mandatory]
definition:
  v: The healthcare provider organization information.
min:
  v: 0
max:
  v: 0
type:
  code:
    v: BackboneElement
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.attester.dateTime
path:
  v: HospitalDischargeReportSK.header.attester.dateTime
short:
  v: A.1.6.5-Approval date and time [Mandatory]
definition:
  v: Date and time of the approval of the document by Attester.
min:
  v: 0
max:
  v: 0
type:
  code:
    v: dateTime
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.legalAuthenticator
path:
  v: HospitalDischargeReportSK.header.legalAuthenticator
short:
  v: A.1.7-Legal authenticator [Required]
definition:
  v: The person taking responsibility for the medical content of the document
min:
  v: 0
max:
  v: 1
type:
  code:
    v: BackboneElement
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.legalAuthenticator.identifier
path:
  v: HospitalDischargeReportSK.header.legalAuthenticator.identifier
short:
  v: A.1.7.1-Legal authenticator identifier [Mandatory]
definition:
  v: The health professional identification number. Either an internal identifier assigned by a healthcare provider institution or (preferably) a national health professional ID such as the license or registration number.
min:
  v: 0
max:
  v: 0
type:
  code:
    v: Identifier
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.legalAuthenticator.name
path:
  v: HospitalDischargeReportSK.header.legalAuthenticator.name
short:
  v: A.1.7.2-Legal authenticator name [Mandatory]
definition:
  v: Person name.
min:
  v: 1
max:
  v: 1
type:
  code:
    v: HumanName
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.legalAuthenticator.organizationID
path:
  v: HospitalDischargeReportSK.header.legalAuthenticator.organizationID
short:
  v: -Legal authenticator organization�ID [Required]
definition:
  v: The healthcare provider organization identifier if known. Identifier that is unique within a defined scope.�Example: National healthcare provider ID. Multiple identifiers could be provided.��
min:
  v: 0
max:
  v: 0
type:
  code:
    v: Identifier
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.legalAuthenticator.organization
path:
  v: HospitalDischargeReportSK.header.legalAuthenticator.organization
short:
  v: A.1.7.3-Legal authenticator organization [Mandatory]
definition:
  v: The healthcare provider organization information.
min:
  v: 0
max:
  v: 0
type:
  code:
    v: BackboneElement
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.legalAuthenticator.dateTime
path:
  v: HospitalDischargeReportSK.header.legalAuthenticator.dateTime
short:
  v: A.1.7.4-Authentication date and time [Mandatory]
definition:
  v: Date and time when the document was authorized.
min:
  v: 0
max:
  v: 0
type:
  code:
    v: dateTime
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.documentMetadata
path:
  v: HospitalDischargeReportSK.header.documentMetadata
short:
  v: A.1.8-Document metadata [Mandatory]
definition:
  v: A.1.8-Document metadata [Mandatory]
min:
  v: 0
max:
  v: 0
type:
  code:
    v: BackboneElement
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.documentMetadata.identifier
path:
  v: HospitalDischargeReportSK.header.documentMetadata.identifier
short:
  v: A.1.8.1-Document ID [Mandatory]
definition:
  v: Unique identifier of the document
min:
  v: 0
max:
  v: 0
type:
  code:
    v: Identifier
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.documentMetadata.type
path:
  v: HospitalDischargeReportSK.header.documentMetadata.type
short:
  v: A.1.8.2-Document type [Mandatory]
definition:
  v: A coded type of the document. Fixed value 'Hospital dicharge summary'
comment:
  v: LOINC
min:
  v: 0
max:
  v: 0
type:
  code:
    v: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.documentMetadata.status
path:
  v: HospitalDischargeReportSK.header.documentMetadata.status
short:
  v: A.1.8.3-Document status [Mandatory]
definition:
  v: The status of the Hospital discharge report. E.g., preliminary, final.
comment:
  v: hl7:CompositionStatus
min:
  v: 0
max:
  v: 0
type:
  code:
    v: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.documentMetadata.dateTime
path:
  v: HospitalDischargeReportSK.header.documentMetadata.dateTime
short:
  v: A.1.8.4-Report date and time [Mandatory]
definition:
  v: Date and time of the result report creation.
min:
  v: 0
max:
  v: 0
type:
  code:
    v: dateTime
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.documentMetadata.title
path:
  v: HospitalDischargeReportSK.header.documentMetadata.title
short:
  v: A.1.8.5-Document title [Mandatory]
definition:
  v: Document title, e.g. 'Hospital discharge report'
min:
  v: 0
max:
  v: 0
type:
  code:
    v: string
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.documentMetadata.custodian
path:
  v: HospitalDischargeReportSK.header.documentMetadata.custodian
short:
  v: A.1.8.6-Report custodian [Optional]
definition:
  v: Organisation that is in charge of maintaining the report
min:
  v: 0
max:
  v: 0
type:
  code:
    v: BackboneElement
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.documentMetadata.confidentiality
path:
  v: HospitalDischargeReportSK.header.documentMetadata.confidentiality
short:
  v: A.1.8.7-Confidentiality [Mandatory]
definition:
  v: Level of confidentiality of the document. Implicit value is normal.
comment:
  v: hl7:confidentiality
min:
  v: 0
max:
  v: 0
type:
  code:
    v: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.documentMetadata.language
path:
  v: HospitalDischargeReportSK.header.documentMetadata.language
short:
  v: A.1.8.8-Language [Required]
definition:
  v: Language in which the document is written. Language is expressed by the ISO language code.
comment:
  v: BCP 47
min:
  v: 0
max:
  v: 0
type:
  code:
    v: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.documentMetadata.version
path:
  v: HospitalDischargeReportSK.header.documentMetadata.version
short:
  v: A.1.8.9-Version [Required]
definition:
  v: Version of the document
min:
  v: 0
max:
  v: 0
type:
  code:
    v: string
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.digitalSignature
path:
  v: HospitalDischargeReportSK.header.digitalSignature
short:
  v: A.1.9-Digital signatures [Required]
definition:
  v: A.1.9-Digital signatures [Required]
min:
  v: 0
max:
  v: 0
type:
  code:
    v: BackboneElement
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.digitalSignature.signature
path:
  v: HospitalDischargeReportSK.header.digitalSignature.signature
short:
  v: A.1.9.1-Digital signature [Required]
definition:
  v: Digital signature of the document
min:
  v: 0
max:
  v: 0
type:
  code:
    v: BackboneElement
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.header.digitalSignature.timeStamp
path:
  v: HospitalDischargeReportSK.header.digitalSignature.timeStamp
short:
  v: A.1.9.2-Time stamp [Required]
definition:
  v: An electronic time stamp
min:
  v: 0
max:
  v: 0
type:
  code:
    v: dateTime
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.body
path:
  v: HospitalDischargeReportSK.body
short:
  v: A.2-Body (missing elementy ?) [Mandatory]
definition:
  v: Missing element ?
min:
  v: 1
max:
  v: 1
type:
  code:
    v: BackboneElement
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.body.advanceDirectives
path:
  v: HospitalDischargeReportSK.body.advanceDirectives
short:
  v: A.2.1-Advance directives [Required]
definition:
  v: A.2.1-Advance directives [Required]
min:
  v: 0
max:
  v: 1
type:
  code:
    v: BackboneElement
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.body.emergencyInfos
path:
  v: HospitalDischargeReportSK.body.emergencyInfos
short:
  v: A.2.2-Emergency information [Mandatory]
definition:
  v: A.2.2-Emergency information [Mandatory]
min:
  v: 1
max:
  v: 1
type:
  code:
    v: BackboneElement
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.body.encounter
path:
  v: HospitalDischargeReportSK.body.encounter
short:
  v: A.2.3-Encounter [Mandatory]
definition:
  v: A.2.3-Encounter [Mandatory]
min:
  v: 1
max:
  v: 1
type:
  code:
    v: BackboneElement
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.body.admissionEvaluation
path:
  v: HospitalDischargeReportSK.body.admissionEvaluation
short:
  v: A.2.4-Admission evaluation - Admission status should be reported exceptionally only if it is relevant to ensure continuity of care. [Optional]
definition:
  v: A.2.4-Admission evaluation - Admission status should be reported exceptionally only if it is relevant to ensure continuity of care. [Optional]
min:
  v: 0
max:
  v: 1
type:
  code:
    v: BackboneElement
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.body.patientHistory
path:
  v: HospitalDischargeReportSK.body.patientHistory
short:
  v: A.2.6-Patient history [Optional]
definition:
  v: A.2.6-Patient history [Optional]
min:
  v: 0
max:
  v: 1
type:
  code:
    v: BackboneElement
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.body.hospitalStay
path:
  v: HospitalDischargeReportSK.body.hospitalStay
short:
  v: A.2.7-Hospital stay [Mandatory]
definition:
  v: A.2.7-Hospital stay [Mandatory]
min:
  v: 1
max:
  v: 1
type:
  code:
    v: BackboneElement
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.body.dischargeDetails
path:
  v: HospitalDischargeReportSK.body.dischargeDetails
short:
  v: A.2.8-Discharge details [Mandatory]
definition:
  v: structured information should be provided, however if not available, at least a summary note should be present
min:
  v: 1
max:
  v: 1
type:
  code:
    v: BackboneElement
mapping:
  identity:
    v: fhir
  map:
    v: TBD

id:
  v: HospitalDischargeReportSK.body.recommendations
path:
  v: HospitalDischargeReportSK.body.recommendations
short:
  v: A.2.9-Recommendations [Required]
definition:
  v: A.2.9-Recommendations [Required]
min:
  v: 0
max:
  v: 1
type:
  code:
    v: BackboneElement
mapping:
  identity:
    v: fhir
  map:
    v: TBD