DiagnosticsModel
type: StructureDefinition
node role: treeRoot
id:
  v: DiagnosticsModel
text:
  status:
    v: extensions
  div:
    v: Generated Narrative: StructureDefinition DiagnosticsModel Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> DiagnosticsModel 0..* Base KPS.C Diagnostics #xD; category 1..1 string Diagnostics Category – clinical discipline, department, or diagnostic service #xD; diagnosticName 1..1 string Exact name or code of the diagnostic request/report (e.g. Lipid Profile) #xD; requestDate 1..1 dateTime Date and time of the diagnostic request #xD; justification 0..1 string Reason for diagnostic request, including relevant clinical notes #xD; status 1..1 code Status of the diagnostic request Binding: Diagnostic Status ValueSet (required) #xD; specimen 0..1 BackboneElement Specimen details #xD; type 1..1 string Type of material collected for analysis #xD; availabilityStatus 0..1 code Specimen availability status Binding: Specimen Availability Status ValueSet (required) #xD; imaging 0..1 BackboneElement Radiology imaging information #xD; studyType 0..1 string Type of imaging study requested (e.g. XR Lumbar spine) #xD; imagingDate 0..1 date Date when imaging was performed #xD; bodySite 0..1 string Body part observed #xD; images 0..* string References or links to image series from imaging #xD; resultsDate 0..1 dateTime Date and time of result availability #xD; performer 0..1 string Name or code of diagnostics performer (originator of result) #xD; interpreter 0..1 string Interpreter of result or validator #xD; diagnosticResults 0..* string Results from the analysis, e.g. numeric value, boolean, or description #xD; interpretation 0..1 code Interpretation of diagnostic results (e.g. normal, high, low) #xD; clinicalImpression 0..1 string Working diagnosis or clinical hypothesis based on diagnostics #xD; <img src="[binary]" alt="doco" style="background-color: inherit"/> Documentation for this format
url:
  v: https://example.org/fhir/StructureDefinition/DiagnosticsModel
  l: DiagnosticsModel
version:
  v: 0.1.0
name:
  v: DiagnosticsModel
title:
  v: KPS.C Diagnostics
status:
  v: draft
date:
  v: 2025-12-09T10:36:20+00:00
publisher:
  v: IntelliSOFT Consulting
contact:
  name:
    v: IntelliSOFT Consulting
  telecom:
    system:
      v: url
    value:
      v: https://.com/fhir/example-publisher
contact:
  name:
    v: KPS Team Kenya.
  telecom:
    system:
      v: email
    use:
      v: work
description:
  v: Logical model for representing diagnostic requests, specimens, imaging, and results under the Kenya Patient Summary (KPS.C) standard.
jurisdiction:
  coding:
    system:
      v: urn:iso:std:iso:3166
      l: 3166
    code:
      v: KE
    display:
      v: Kenya
fhir version:
  v: 4.0.1
kind:
  v: logical
abstract:
  v: false
type:
  v: https://example.org/fhir/StructureDefinition/DiagnosticsModel
  l: DiagnosticsModel
base definition:
  v: http://hl7.org/fhir/StructureDefinition/Base
  l: Base
derivation:
  v: specialization
snapshot:
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version
      l: snapshot-base-version
    value: String
      v: 4.0.1
  element:
    id:
      v: DiagnosticsModel
    path:
      v: DiagnosticsModel
    short:
      v: KPS.C Diagnostics
    definition:
      v: Logical model for representing diagnostic requests, specimens, imaging, and results under the Kenya Patient Summary (KPS.C) standard.
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: Base
      min:
        v: 0
      max:
        v: *
    is modifier:
      v: false
  element:
    id:
      v: DiagnosticsModel.category
    path:
      v: DiagnosticsModel.category
    code:
      code:
        v: KPS.C.DE.1
    short:
      v: Diagnostics Category – clinical discipline, department, or diagnostic service
    definition:
      v: Diagnostics Category – clinical discipline, department, or diagnostic service
    min:
      v: 1
    max:
      v: 1
    base:
      path:
        v: DiagnosticsModel.category
      min:
        v: 1
      max:
        v: 1
    type:
      code:
        v: string
        l: string
  element:
    id:
      v: DiagnosticsModel.diagnosticName
    path:
      v: DiagnosticsModel.diagnosticName
    code:
      code:
        v: KPS.C.DE.2
    short:
      v: Exact name or code of the diagnostic request/report (e.g. Lipid Profile)
    definition:
      v: Exact name or code of the diagnostic request/report (e.g. Lipid Profile)
    min:
      v: 1
    max:
      v: 1
    base:
      path:
        v: DiagnosticsModel.diagnosticName
      min:
        v: 1
      max:
        v: 1
    type:
      code:
        v: string
        l: string
  element:
    id:
      v: DiagnosticsModel.requestDate
    path:
      v: DiagnosticsModel.requestDate
    code:
      code:
        v: KPS.C.DE.3
    short:
      v: Date and time of the diagnostic request
    definition:
      v: Date and time of the diagnostic request
    min:
      v: 1
    max:
      v: 1
    base:
      path:
        v: DiagnosticsModel.requestDate
      min:
        v: 1
      max:
        v: 1
    type:
      code:
        v: dateTime
        l: dateTime
  element:
    id:
      v: DiagnosticsModel.justification
    path:
      v: DiagnosticsModel.justification
    code:
      code:
        v: KPS.C.DE.4
    short:
      v: Reason for diagnostic request, including relevant clinical notes
    definition:
      v: Reason for diagnostic request, including relevant clinical notes
    min:
      v: 0
    max:
      v: 1
    base:
      path:
        v: DiagnosticsModel.justification
      min:
        v: 0
      max:
        v: 1
    type:
      code:
        v: string
        l: string

id:
  v: DiagnosticsModel.status
path:
  v: DiagnosticsModel.status
code:
  code:
    v: KPS.C.DE.5
short:
  v: Status of the diagnostic request
definition:
  v: Status of the diagnostic request
min:
  v: 1
max:
  v: 1
base:
  path:
    v: DiagnosticsModel.status
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: code
    l: code
binding:
  strength:
    v: required
  value set:
    v: https://example.org/fhir/ValueSet/diagnostic-status-vs
    l: diagnostic-status-vs

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

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

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

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

id:
  v: DiagnosticsModel.specimen.type
path:
  v: DiagnosticsModel.specimen.type
code:
  code:
    v: KPS.C.DE.13
short:
  v: Type of material collected for analysis
definition:
  v: Type of material collected for analysis
min:
  v: 1
max:
  v: 1
base:
  path:
    v: DiagnosticsModel.specimen.type
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: DiagnosticsModel.specimen.availabilityStatus
path:
  v: DiagnosticsModel.specimen.availabilityStatus
code:
  code:
    v: KPS.C.DE.14
short:
  v: Specimen availability status
definition:
  v: Specimen availability status
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DiagnosticsModel.specimen.availabilityStatus
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code
binding:
  strength:
    v: required
  value set:
    v: https://example.org/fhir/ValueSet/specimen-availability-status-vs
    l: specimen-availability-status-vs

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

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

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

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

id:
  v: DiagnosticsModel.imaging.studyType
path:
  v: DiagnosticsModel.imaging.studyType
code:
  code:
    v: KPS.C.DE.18
short:
  v: Type of imaging study requested (e.g. XR Lumbar spine)
definition:
  v: Type of imaging study requested (e.g. XR Lumbar spine)
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DiagnosticsModel.imaging.studyType
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: DiagnosticsModel.imaging.imagingDate
path:
  v: DiagnosticsModel.imaging.imagingDate
code:
  code:
    v: KPS.C.DE.19
short:
  v: Date when imaging was performed
definition:
  v: Date when imaging was performed
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DiagnosticsModel.imaging.imagingDate
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: date
    l: date

id:
  v: DiagnosticsModel.imaging.bodySite
path:
  v: DiagnosticsModel.imaging.bodySite
code:
  code:
    v: KPS.C.DE.20
short:
  v: Body part observed
definition:
  v: Body part observed
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DiagnosticsModel.imaging.bodySite
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: DiagnosticsModel.imaging.images
path:
  v: DiagnosticsModel.imaging.images
code:
  code:
    v: KPS.C.DE.21
short:
  v: References or links to image series from imaging
definition:
  v: References or links to image series from imaging
min:
  v: 0
max:
  v: *
base:
  path:
    v: DiagnosticsModel.imaging.images
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: string
    l: string

id:
  v: DiagnosticsModel.resultsDate
path:
  v: DiagnosticsModel.resultsDate
code:
  code:
    v: KPS.C.DE.22
short:
  v: Date and time of result availability
definition:
  v: Date and time of result availability
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DiagnosticsModel.resultsDate
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: dateTime
    l: dateTime

id:
  v: DiagnosticsModel.performer
path:
  v: DiagnosticsModel.performer
code:
  code:
    v: KPS.C.DE.23
short:
  v: Name or code of diagnostics performer (originator of result)
definition:
  v: Name or code of diagnostics performer (originator of result)
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DiagnosticsModel.performer
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: DiagnosticsModel.interpreter
path:
  v: DiagnosticsModel.interpreter
code:
  code:
    v: KPS.C.DE.24
short:
  v: Interpreter of result or validator
definition:
  v: Interpreter of result or validator
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DiagnosticsModel.interpreter
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: DiagnosticsModel.diagnosticResults
path:
  v: DiagnosticsModel.diagnosticResults
code:
  code:
    v: KPS.C.DE.25
short:
  v: Results from the analysis, e.g. numeric value, boolean, or description
definition:
  v: Results from the analysis, e.g. numeric value, boolean, or description
min:
  v: 0
max:
  v: *
base:
  path:
    v: DiagnosticsModel.diagnosticResults
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: string
    l: string

id:
  v: DiagnosticsModel.interpretation
path:
  v: DiagnosticsModel.interpretation
code:
  code:
    v: KPS.C.DE.26
short:
  v: Interpretation of diagnostic results (e.g. normal, high, low)
definition:
  v: Interpretation of diagnostic results (e.g. normal, high, low)
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DiagnosticsModel.interpretation
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code

id:
  v: DiagnosticsModel.clinicalImpression
path:
  v: DiagnosticsModel.clinicalImpression
code:
  code:
    v: KPS.C.DE.27
short:
  v: Working diagnosis or clinical hypothesis based on diagnostics
definition:
  v: Working diagnosis or clinical hypothesis based on diagnostics
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DiagnosticsModel.clinicalImpression
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

element:
  id:
    v: DiagnosticsModel
  path:
    v: DiagnosticsModel
  short:
    v: KPS.C Diagnostics
  definition:
    v: Logical model for representing diagnostic requests, specimens, imaging, and results under the Kenya Patient Summary (KPS.C) standard.
element:
  id:
    v: DiagnosticsModel.category
  path:
    v: DiagnosticsModel.category
  code:
    code:
      v: KPS.C.DE.1
  short:
    v: Diagnostics Category – clinical discipline, department, or diagnostic service
  definition:
    v: Diagnostics Category – clinical discipline, department, or diagnostic service
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: string
      l: string
element:
  id:
    v: DiagnosticsModel.diagnosticName
  path:
    v: DiagnosticsModel.diagnosticName
  code:
    code:
      v: KPS.C.DE.2
  short:
    v: Exact name or code of the diagnostic request/report (e.g. Lipid Profile)
  definition:
    v: Exact name or code of the diagnostic request/report (e.g. Lipid Profile)
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: string
      l: string
element:
  id:
    v: DiagnosticsModel.requestDate
  path:
    v: DiagnosticsModel.requestDate
  code:
    code:
      v: KPS.C.DE.3
  short:
    v: Date and time of the diagnostic request
  definition:
    v: Date and time of the diagnostic request
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: dateTime
      l: dateTime
element:
  id:
    v: DiagnosticsModel.justification
  path:
    v: DiagnosticsModel.justification
  code:
    code:
      v: KPS.C.DE.4
  short:
    v: Reason for diagnostic request, including relevant clinical notes
  definition:
    v: Reason for diagnostic request, including relevant clinical notes
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: string
      l: string
element:
  id:
    v: DiagnosticsModel.status
  path:
    v: DiagnosticsModel.status
  code:
    code:
      v: KPS.C.DE.5
  short:
    v: Status of the diagnostic request
  definition:
    v: Status of the diagnostic request
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: code
      l: code
  binding:
    strength:
      v: required
    value set:
      v: https://example.org/fhir/ValueSet/diagnostic-status-vs
      l: diagnostic-status-vs
element:
  id:
    v: DiagnosticsModel.specimen
  path:
    v: DiagnosticsModel.specimen
  short:
    v: Specimen details
  definition:
    v: Specimen details
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: BackboneElement
      l: BackboneElement
element:
  id:
    v: DiagnosticsModel.specimen.type
  path:
    v: DiagnosticsModel.specimen.type
  code:
    code:
      v: KPS.C.DE.13
  short:
    v: Type of material collected for analysis
  definition:
    v: Type of material collected for analysis
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: string
      l: string
element:
  id:
    v: DiagnosticsModel.specimen.availabilityStatus
  path:
    v: DiagnosticsModel.specimen.availabilityStatus
  code:
    code:
      v: KPS.C.DE.14
  short:
    v: Specimen availability status
  definition:
    v: Specimen availability status
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: code
      l: code
  binding:
    strength:
      v: required
    value set:
      v: https://example.org/fhir/ValueSet/specimen-availability-status-vs
      l: specimen-availability-status-vs
element:
  id:
    v: DiagnosticsModel.imaging
  path:
    v: DiagnosticsModel.imaging
  short:
    v: Radiology imaging information
  definition:
    v: Radiology imaging information
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: BackboneElement
      l: BackboneElement
element:
  id:
    v: DiagnosticsModel.imaging.studyType
  path:
    v: DiagnosticsModel.imaging.studyType
  code:
    code:
      v: KPS.C.DE.18

v: Type of imaging study requested (e.g. XR Lumbar spine)

v: Type of imaging study requested (e.g. XR Lumbar spine)

v: 0

v: 1

code:
  v: string
  l: string

id:
  v: DiagnosticsModel.imaging.imagingDate
path:
  v: DiagnosticsModel.imaging.imagingDate
code:
  code:
    v: KPS.C.DE.19
short:
  v: Date when imaging was performed
definition:
  v: Date when imaging was performed
min:
  v: 0
max:
  v: 1
type:
  code:
    v: date
    l: date

id:
  v: DiagnosticsModel.imaging.bodySite
path:
  v: DiagnosticsModel.imaging.bodySite
code:
  code:
    v: KPS.C.DE.20
short:
  v: Body part observed
definition:
  v: Body part observed
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string

id:
  v: DiagnosticsModel.imaging.images
path:
  v: DiagnosticsModel.imaging.images
code:
  code:
    v: KPS.C.DE.21
short:
  v: References or links to image series from imaging
definition:
  v: References or links to image series from imaging
min:
  v: 0
max:
  v: *
type:
  code:
    v: string
    l: string

id:
  v: DiagnosticsModel.resultsDate
path:
  v: DiagnosticsModel.resultsDate
code:
  code:
    v: KPS.C.DE.22
short:
  v: Date and time of result availability
definition:
  v: Date and time of result availability
min:
  v: 0
max:
  v: 1
type:
  code:
    v: dateTime
    l: dateTime

id:
  v: DiagnosticsModel.performer
path:
  v: DiagnosticsModel.performer
code:
  code:
    v: KPS.C.DE.23
short:
  v: Name or code of diagnostics performer (originator of result)
definition:
  v: Name or code of diagnostics performer (originator of result)
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string

id:
  v: DiagnosticsModel.interpreter
path:
  v: DiagnosticsModel.interpreter
code:
  code:
    v: KPS.C.DE.24
short:
  v: Interpreter of result or validator
definition:
  v: Interpreter of result or validator
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string

id:
  v: DiagnosticsModel.diagnosticResults
path:
  v: DiagnosticsModel.diagnosticResults
code:
  code:
    v: KPS.C.DE.25
short:
  v: Results from the analysis, e.g. numeric value, boolean, or description
definition:
  v: Results from the analysis, e.g. numeric value, boolean, or description
min:
  v: 0
max:
  v: *
type:
  code:
    v: string
    l: string

id:
  v: DiagnosticsModel.interpretation
path:
  v: DiagnosticsModel.interpretation
code:
  code:
    v: KPS.C.DE.26
short:
  v: Interpretation of diagnostic results (e.g. normal, high, low)
definition:
  v: Interpretation of diagnostic results (e.g. normal, high, low)
min:
  v: 0
max:
  v: 1
type:
  code:
    v: code
    l: code

id:
  v: DiagnosticsModel.clinicalImpression
path:
  v: DiagnosticsModel.clinicalImpression
code:
  code:
    v: KPS.C.DE.27
short:
  v: Working diagnosis or clinical hypothesis based on diagnostics
definition:
  v: Working diagnosis or clinical hypothesis based on diagnostics
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string