RefertoLaboratorio
type: StructureDefinition
node role: treeRoot
id:
  v: RefertoLaboratorio
text:
  status:
    v: extensions
  div:
    v: Generated Narrative: DefinizioneStruttura RefertoLaboratorio Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> RefertoLaboratorio 0..* Base A - Referto di Laboratorio #xD; header 1..1 BackboneElement A.1 header del Referto di Laboratorio #xD; soggettoReferto 1..1 SoggettoCura A.1.1 - A1.2 Paziente/Soggetto del Referto di Laboratorio #xD; destinatario 0..1 Destinatario A.1.4 Destinatario delle informazioni #xD; autore 0..* Autore A.1.5 Autore #xD; firmatario 0..* Firmatario A.1.6 Firmatario del documento #xD; validatore 0..* Validatore A.1.7 Validatore del documento #xD; metadati 1..1 BackboneElement A.1.8 Metadata del Referto di Laboratorio #xD; tipo 1..1 CodeableConcept A.1.8.1 Tipo di documento #xD; stato 1..1 CodeableConcept A.1.8.2 Stato del Referto #xD; data 1..1 dateTime A.1.8.3 Data e ora della creazione del referto #xD; titolo 0..1 string A.1.8.4 Titolo del documento #xD; custode 0..1 BackboneElement A.1.8.5 Custode del referto #xD; ordine 0..* Richiesta A.2-A.3 Ordine #xD; campione 0..* Campione A.4 Informazioni sul campione #xD; risultato 0..* Risultato A.5 Risultati dell'esame #xD; organizer 0..* Organizer A.5 Batteria di esami #xD; risultato 1..* Risultato A.5 Risultati dell'esame #xD; <img src="[binary]" alt="doco" style="background-color: inherit"/> Documentation for this format
url:
  v: http://hl7.it/fhir/lab-report/StructureDefinition/RefertoLaboratorio
  l: RefertoLaboratorio
version:
  v: 0.2.0
name:
  v: RefertoLaboratorio
title:
  v: A - Referto di Laboratorio
status:
  v: active
date:
  v: 2025-11-18T15:38:51+00:00
publisher:
  v: HL7 Italia
contact:
  name:
    v: HL7 Italia
  telecom:
    system:
      v: url
    value:
      v: https://hl7.it
contact:
  name:
    v: HL7 Italia
  telecom:
    system:
      v: url
    value:
      v: https://hl7.it
description:
  v: Referto di Laboratorio.
jurisdiction:
  coding:
    system:
      v: urn:iso:std:iso:3166
      l: 3166
    code:
      v: IT
    display:
      v: Italy
fhir version:
  v: 4.0.1
mapping:
  identity:
    v: fhir
  uri:
    v: hl7.org/fhir/r4
    l: r4
  name:
    v: eHN Modello Logico RefertoLaboratorio - FHIR R4 Map
kind:
  v: logical
abstract:
  v: false
type:
  v: http://hl7.it/fhir/lab-report/StructureDefinition/RefertoLaboratorio
  l: RefertoLaboratorio
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: RefertoLaboratorio
    path:
      v: RefertoLaboratorio
    short:
      v: A - Referto di Laboratorio
    definition:
      v: Referto di Laboratorio.
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: Base
      min:
        v: 0
      max:
        v: *
    is modifier:
      v: false
    mapping:
      identity:
        v: fhir
      map:
        v: Bundle.conformsTo('http://hl7.it/fhir/lab-report/StructureDefinition/bundle-it-lab')
  element:
    id:
      v: RefertoLaboratorio.header
    path:
      v: RefertoLaboratorio.header
    short:
      v: A.1 header del Referto di Laboratorio
    definition:
      v: A.1 header del Referto di Laboratorio.
    min:
      v: 1
    max:
      v: 1
    base:
      path:
        v: RefertoLaboratorio.header
      min:
        v: 1
      max:
        v: 1
    type:
      code:
        v: BackboneElement
        l: BackboneElement
    constraint:
      key:
        v: ele-1
      severity:
        v: error
      human:
        v: All FHIR elements must have a @value or children
      expression:
        v: hasValue() or (children().count() > id.count())
      xpath:
        v: @value|f:*|h:div
      source:
        v: http://hl7.org/fhir/StructureDefinition/Element
        l: Element
    mapping:
      identity:
        v: fhir
      map:
        v: Composition.conformsTo('http://hl7.it/fhir/lab-report/StructureDefinition/composition-it-lab')
  element:
    id:
      v: RefertoLaboratorio.header.id
    path:
      v: RefertoLaboratorio.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
        l: System.String
    is modifier:
      v: false
    is summary:
      v: false
    mapping:
      identity:
        v: rim
      map:
        v: n/a
  element:
    id:
      v: RefertoLaboratorio.header.extension
    path:
      v: RefertoLaboratorio.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.

Url
v: string
l: string

v: value

v: url

v: extensions

v: user content

v: 0

v: *

path:
  v: Element.extension
min:
  v: 0
max:
  v: *

code:
  v: Extension
  l: 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
  l: 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
  l: Extension

v: false

v: false

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

id:
  v: RefertoLaboratorio.header.modifierExtension
path:
  v: RefertoLaboratorio.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
    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: RefertoLaboratorio.header.soggettoReferto
path:
  v: RefertoLaboratorio.header.soggettoReferto
short:
  v: A.1.1 - A1.2 Paziente/Soggetto del Referto di Laboratorio
definition:
  v: A.1.1 Identificativo del Paziente/Soggetto e A.1.2 relative informazioni sui contatti del Paziente/Soggetto
min:
  v: 1
max:
  v: 1
base:
  path:
    v: RefertoLaboratorio.header.soggettoReferto
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: http://hl7.it/fhir/lab-report/StructureDefinition/SoggettoCura
    l: SoggettoCura
mapping:
  identity:
    v: fhir
  map:
    v: Composition.subject

id:
  v: RefertoLaboratorio.header.destinatario
path:
  v: RefertoLaboratorio.header.destinatario
short:
  v: A.1.4 Destinatario delle informazioni
definition:
  v: A.1.4 Destinatario delle informazioni (destinatario o destinatari del Referto di Laboratorio, potrebbero essere identificati ulteriori destinatari, ad esempio medico di base, altro specialista), se applicabile
min:
  v: 0
max:
  v: 1
base:
  path:
    v: RefertoLaboratorio.header.destinatario
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://hl7.it/fhir/lab-report/StructureDefinition/Destinatario
    l: Destinatario
mapping:
  identity:
    v: fhir
  map:
    v: .extension('http://hl7.org/fhir/StructureDefinition/cqf-receivingOrganization')

id:
  v: RefertoLaboratorio.header.autore
path:
  v: RefertoLaboratorio.header.autore
short:
  v: A.1.5 Autore
definition:
  v: A.1.5 Autore (da cui è stato redatto il referto dei risultati di laboratorio o un sottoinsieme dei risultati)
min:
  v: 0
max:
  v: *
base:
  path:
    v: RefertoLaboratorio.header.autore
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.it/fhir/lab-report/StructureDefinition/Autore
    l: Autore
mapping:
  identity:
    v: fhir
  map:
    v: Composition.author

id:
  v: RefertoLaboratorio.header.firmatario
path:
  v: RefertoLaboratorio.header.firmatario
short:
  v: A.1.6 Firmatario del documento
definition:
  v: A.1.6 Firmatario del documento (La persona che si assume la responsabilità di validare a livello legale il contenuto del documento)
min:
  v: 0
max:
  v: *
base:
  path:
    v: RefertoLaboratorio.header.firmatario
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.it/fhir/lab-report/StructureDefinition/Firmatario
    l: Firmatario
mapping:
  identity:
    v: fhir
  map:
    v: Composition.attester.where(mode=http://hl7.org/fhir/composition-attestation-mode#legal)

id:
  v: RefertoLaboratorio.header.validatore
path:
  v: RefertoLaboratorio.header.validatore
short:
  v: A.1.7 Validatore del documento
definition:
  v: A.1.7 Validatore del documento
min:
  v: 0
max:
  v: *
base:
  path:
    v: RefertoLaboratorio.header.validatore
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.it/fhir/lab-report/StructureDefinition/Validatore
    l: Validatore
mapping:
  identity:
    v: fhir
  map:
    v: Composition.attester.where(mode=http://hl7.org/fhir/composition-attestation-mode#professional)

id:
  v: RefertoLaboratorio.header.metadati
path:
  v: RefertoLaboratorio.header.metadati
short:
  v: A.1.8 Metadata del Referto di Laboratorio
definition:
  v: A.1.8 Metadata del Referto di Laboratorio
min:
  v: 1
max:
  v: 1
base:
  path:
    v: RefertoLaboratorio.header.metadati
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
mapping:
  identity:
    v: fhir
  map:
    v: Composition

id:
  v: RefertoLaboratorio.header.metadati.id
path:
  v: RefertoLaboratorio.header.metadati.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: RefertoLaboratorio.header.metadati.extension
path:
  v: RefertoLaboratorio.header.metadati.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: RefertoLaboratorio.header.metadati.modifierExtension
path:
  v: RefertoLaboratorio.header.metadati.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: RefertoLaboratorio.header.metadati.tipo
path:
  v: RefertoLaboratorio.header.metadati.tipo
short:
  v: A.1.8.1 Tipo di documento
definition:
  v: Codice che identifica il tipo di documento. Valore fisso ""Referto di medicina di laboratorio"" - Dizionario di codifica: LOINC
min:
  v: 1
max:
  v: 1
base:
  path:
    v: RefertoLaboratorio.header.metadati.tipo
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: Composition.type

id:
  v: RefertoLaboratorio.header.metadati.stato
path:
  v: RefertoLaboratorio.header.metadati.stato
short:
  v: A.1.8.2 Stato del Referto
definition:
  v: Stato del Referto . Ad esempio, preliminare, finale. - Sistema di Codifica: hl7:DiagnosticReportStatus
min:
  v: 1
max:
  v: 1
base:
  path:
    v: RefertoLaboratorio.header.metadati.stato
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: Composition.status

id:
  v: RefertoLaboratorio.header.metadati.data
path:
  v: RefertoLaboratorio.header.metadati.data
short:
  v: A.1.8.3 Data e ora della creazione del referto
definition:
  v: Data e ora della creazione del report dei risultati. - Sistema di Codifica: ISO 8601
min:
  v: 1
max:
  v: 1
base:
  path:
    v: RefertoLaboratorio.header.metadati.data
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: dateTime
    l: dateTime
mapping:
  identity:
    v: fhir
  map:
    v: Bundle.timestamp

id:
  v: RefertoLaboratorio.header.metadati.titolo
path:
  v: RefertoLaboratorio.header.metadati.titolo
short:
  v: A.1.8.4 Titolo del documento
definition:
  v: Titolo del documento, ad esempio ""Rapporto sui risultati di laboratorio"" - Sistema di Codifica:
min:
  v: 0
max:
  v: 1
base:
  path:
    v: RefertoLaboratorio.header.metadati.titolo
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: fhir
  map:
    v: Composition.title

id:
  v: RefertoLaboratorio.header.metadati.custode
path:
  v: RefertoLaboratorio.header.metadati.custode
short:
  v: A.1.8.5 Custode del referto
definition:
  v: Organizzazione incaricata della conservazione del referto di laboratorio - Sistema di Codifica:
min:
  v: 0
max:
  v: 1
base:
  path:
    v: RefertoLaboratorio.header.metadati.custode
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement
mapping:
  identity:
    v: fhir
  map:
    v: Composition.custodian

id:
  v: RefertoLaboratorio.ordine
path:
  v: RefertoLaboratorio.ordine
short:
  v: A.2-A.3 Ordine
definition:
  v: A.2 Informazioni sull'ordine A.3 Motivo dell'ordine
min:
  v: 0
max:
  v: *
base:
  path:
    v: RefertoLaboratorio.ordine
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.it/fhir/lab-report/StructureDefinition/Richiesta
    l: Richiesta
mapping:
  identity:
    v: fhir
  map:
    v: DiagnosticReport.conformsTo('http://hl7.it/fhir/lab-report/StructureDefinition/diagnosticreport-it-lab').basedOn.resolve()

id:
  v: RefertoLaboratorio.campione
path:
  v: RefertoLaboratorio.campione
short:
  v: A.4 Informazioni sul campione
definition:
  v: A.4 Informazioni sul campione
min:
  v: 0
max:
  v: *
base:
  path:
    v: RefertoLaboratorio.campione
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.it/fhir/lab-report/StructureDefinition/Campione
    l: Campione
mapping:
  identity:
    v: fhir
  map:
    v: Observation.conformsTo('http://hl7.it/fhir/lab-report/StructureDefinition/ObservationRefertoLabIt').specimen.resolve()
mapping:
  identity:
    v: fhir
  map:
    v: DiagnosticReport.conformsTo('http://hl7.it/fhir/lab-report/StructureDefinition/diagnosticreport-it-lab').specimen.resolve()

id:
  v: RefertoLaboratorio.risultato
path:
  v: RefertoLaboratorio.risultato
short:
  v: A.5 Risultati dell'esame
definition:
  v: A.5 Risultati dell'esame
min:
  v: 0
max:
  v: *
base:
  path:
    v: RefertoLaboratorio.risultato
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.it/fhir/lab-report/StructureDefinition/Risultato
    l: Risultato
mapping:
  identity:
    v: fhir
  map:
    v: Composition.section:lab-no-subsections.entry.resolve()
mapping:
  identity:
    v: fhir
  map:
    v: Composition.section:lab-subsections.section.entry.resolve()
mapping:
  identity:
    v: fhir
  map:
    v: DiagnosticReport.conformsTo('http://hl7.it/fhir/lab-report/StructureDefinition/diagnosticreport-it-lab').result.resolve()

id:
  v: RefertoLaboratorio.organizer
path:
  v: RefertoLaboratorio.organizer
short:
  v: A.5 Batteria di esami
definition:
  v: A.5 Batteria di esami
min:
  v: 0
max:
  v: *
base:
  path:
    v: RefertoLaboratorio.organizer
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://hl7.it/fhir/lab-report/StructureDefinition/Organizer
    l: Organizer
mapping:
  identity:
    v: fhir
  map:
    v: Composition.section:lab-no-subsections.entry.resolve()
mapping:
  identity:
    v: fhir
  map:
    v: Composition.section:lab-subsections.section.entry.resolve()
mapping:
  identity:
    v: fhir
  map:
    v: DiagnosticReport.conformsTo('http://hl7.it/fhir/lab-report/StructureDefinition/diagnosticreport-it-lab').result.resolve()

id:
  v: RefertoLaboratorio.organizer.osservazione
path:
  v: RefertoLaboratorio.organizer.osservazione
short:
  v: A.5.2 Dettagli dell'osservazione
definition:
  v: A.5.2 Dettagli dell'osservazione (il rapporto può consistere di più osservazioni)
min:
  v: 0
max:
  v: *
base:
  path:
    v: Organizer.osservazione
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
mapping:
  identity:
    v: fhir
  map:
    v: Observation.hasMember.resolve()
mapping:
  identity:
    v: fhir
  map:
    v: Observation.component

id:
  v: RefertoLaboratorio.organizer.osservazione.id
path:
  v: RefertoLaboratorio.organizer.osservazione.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: RefertoLaboratorio.organizer.osservazione.extension
path:
  v: RefertoLaboratorio.organizer.osservazione.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: RefertoLaboratorio.organizer.osservazione.modifierExtension
path:
  v: RefertoLaboratorio.organizer.osservazione.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: RefertoLaboratorio.organizer.osservazione.data
path:
  v: RefertoLaboratorio.organizer.osservazione.data
short:
  v: A.5.2.1 Data dell'osservazione
definition:
  v: Data e ora dell'osservazione - Sistema di codifica: ISO 8601
min:
  v: 0
max:
  v: *
base:
  path:
    v: Organizer.osservazione.data
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: Observation.effective[x]

id:
  v: RefertoLaboratorio.organizer.osservazione.codice
path:
  v: RefertoLaboratorio.organizer.osservazione.codice
short:
  v: A.5.2.3 Codice dell'osservazione
definition:
  v: Codice che rappresenta l'osservazione utilizzando i sistemi di codici concordati. - Sistema/i preferito/i: LOINC - Sistema/i preferito/i: NPU - Sistema/i preferito/i: SNOMED CT
min:
  v: 0
max:
  v: *
base:
  path:
    v: Organizer.osservazione.codice
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
mapping:
  identity:
    v: fhir
  map:
    v: Observation.code

id:
  v: RefertoLaboratorio.organizer.osservazione.risultato
path:
  v: RefertoLaboratorio.organizer.osservazione.risultato
short:
  v: A.5.2.11 Risultato dell'osservazione
definition:
  v: Risultato e codifica della misura relativa all'osservazione inclusi testo, risultati numerici e codificati. Il contenuto del risultato dell'osservazione varierà a seconda del tipo di osservazione. - Sistema/i preferito/i: SNOMED CT (per i risultati in scala ordinale o nominale e codifica dei risultati) - Sistema/i preferito/i: UCUM (per unità)
min:
  v: 0
max:
  v: *
base:
  path:
    v: Organizer.osservazione.risultato
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement
mapping:
  identity:
    v: fhir
  map:
    v: Observation.value[x]

id:
  v: RefertoLaboratorio.organizer.risultato
path:
  v: RefertoLaboratorio.organizer.risultato
short:
  v: A.5 Risultati dell'esame
definition:
  v: A.5 Risultati dell'esame
min:
  v: 1
max:
  v: *
base:
  path:
    v: RefertoLaboratorio.organizer.risultato
  min:
    v: 1
  max:
    v: *
type:
  code:
    v: http://hl7.it/fhir/lab-report/StructureDefinition/Risultato
    l: Risultato
mapping:
  identity:
    v: fhir
  map:
    v: Composition.section:lab-no-subsections.entry.resolve().hasMember()
mapping:
  identity:
    v: fhir
  map:
    v: Composition.section:lab-subsections.section.entry.resolve().hasMember()

element:
  id:
    v: RefertoLaboratorio
  path:
    v: RefertoLaboratorio
  short:
    v: A - Referto di Laboratorio
  definition:
    v: Referto di Laboratorio.
  mapping:
    identity:
      v: fhir
    map:
      v: Bundle.conformsTo('http://hl7.it/fhir/lab-report/StructureDefinition/bundle-it-lab')
element:
  id:
    v: RefertoLaboratorio.header
  path:
    v: RefertoLaboratorio.header
  short:
    v: A.1 header del Referto di Laboratorio
  definition:
    v: A.1 header del Referto di Laboratorio.
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: BackboneElement
      l: BackboneElement
  mapping:
    identity:
      v: fhir
    map:
      v: Composition.conformsTo('http://hl7.it/fhir/lab-report/StructureDefinition/composition-it-lab')
element:
  id:
    v: RefertoLaboratorio.header.soggettoReferto
  path:
    v: RefertoLaboratorio.header.soggettoReferto
  short:
    v: A.1.1 - A1.2 Paziente/Soggetto del Referto di Laboratorio
  definition:
    v: A.1.1 Identificativo del Paziente/Soggetto e A.1.2 relative informazioni sui contatti del Paziente/Soggetto
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: http://hl7.it/fhir/lab-report/StructureDefinition/SoggettoCura
      l: SoggettoCura
  mapping:
    identity:
      v: fhir
    map:
      v: Composition.subject
element:
  id:
    v: RefertoLaboratorio.header.destinatario
  path:
    v: RefertoLaboratorio.header.destinatario
  short:
    v: A.1.4 Destinatario delle informazioni
  definition:
    v: A.1.4 Destinatario delle informazioni (destinatario o destinatari del Referto di Laboratorio, potrebbero essere identificati ulteriori destinatari, ad esempio medico di base, altro specialista), se applicabile
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: http://hl7.it/fhir/lab-report/StructureDefinition/Destinatario
      l: Destinatario
  mapping:
    identity:
      v: fhir
    map:
      v: .extension('http://hl7.org/fhir/StructureDefinition/cqf-receivingOrganization')
element:
  id:
    v: RefertoLaboratorio.header.autore
  path:
    v: RefertoLaboratorio.header.autore
  short:
    v: A.1.5 Autore
  definition:
    v: A.1.5 Autore (da cui è stato redatto il referto dei risultati di laboratorio o un sottoinsieme dei risultati)
  min:
    v: 0
  max:
    v: *
  type:
    code:
      v: http://hl7.it/fhir/lab-report/StructureDefinition/Autore
      l: Autore
  mapping:
    identity:
      v: fhir
    map:
      v: Composition.author
element:
  id:
    v: RefertoLaboratorio.header.firmatario
  path:
    v: RefertoLaboratorio.header.firmatario
  short:
    v: A.1.6 Firmatario del documento
  definition:
    v: A.1.6 Firmatario del documento (La persona che si assume la responsabilità di validare a livello legale il contenuto del documento)
  min:
    v: 0
  max:
    v: *
  type:
    code:
      v: http://hl7.it/fhir/lab-report/StructureDefinition/Firmatario
      l: Firmatario
  mapping:
    identity:
      v: fhir
    map:
      v: Composition.attester.where(mode=http://hl7.org/fhir/composition-attestation-mode#legal)
element:
  id:
    v: RefertoLaboratorio.header.validatore
  path:
    v: RefertoLaboratorio.header.validatore
  short:
    v: A.1.7 Validatore del documento
  definition:
    v: A.1.7 Validatore del documento
  min:
    v: 0
  max:
    v: *
  type:
    code:
      v: http://hl7.it/fhir/lab-report/StructureDefinition/Validatore
      l: Validatore
  mapping:
    identity:
      v: fhir
    map:
      v: Composition.attester.where(mode=http://hl7.org/fhir/composition-attestation-mode#professional)
element:
  id:
    v: RefertoLaboratorio.header.metadati
  path:
    v: RefertoLaboratorio.header.metadati
  short:
    v: A.1.8 Metadata del Referto di Laboratorio
  definition:
    v: A.1.8 Metadata del Referto di Laboratorio
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: BackboneElement
      l: BackboneElement
  mapping:
    identity:
      v: fhir
    map:
      v: Composition
element:
  id:
    v: RefertoLaboratorio.header.metadati.tipo
  path:
    v: RefertoLaboratorio.header.metadati.tipo
  short:
    v: A.1.8.1 Tipo di documento
  definition:
    v: Codice che identifica il tipo di documento. Valore fisso ""Referto di medicina di laboratorio"" - Dizionario di codifica: LOINC
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: CodeableConcept
      l: CodeableConcept
  mapping:
    identity:
      v: fhir
    map:
      v: Composition.type
element:
  id:
    v: RefertoLaboratorio.header.metadati.stato
  path:
    v: RefertoLaboratorio.header.metadati.stato
  short:
    v: A.1.8.2 Stato del Referto
  definition:
    v: Stato del Referto . Ad esempio, preliminare, finale. - Sistema di Codifica: hl7:DiagnosticReportStatus
  min:
    v: 1

v: 1

code:
  v: CodeableConcept
  l: CodeableConcept

identity:
  v: fhir
map:
  v: Composition.status

id:
  v: RefertoLaboratorio.header.metadati.data
path:
  v: RefertoLaboratorio.header.metadati.data
short:
  v: A.1.8.3 Data e ora della creazione del referto
definition:
  v: Data e ora della creazione del report dei risultati. - Sistema di Codifica: ISO 8601
min:
  v: 1
max:
  v: 1
type:
  code:
    v: dateTime
    l: dateTime
mapping:
  identity:
    v: fhir
  map:
    v: Bundle.timestamp

id:
  v: RefertoLaboratorio.header.metadati.titolo
path:
  v: RefertoLaboratorio.header.metadati.titolo
short:
  v: A.1.8.4 Titolo del documento
definition:
  v: Titolo del documento, ad esempio ""Rapporto sui risultati di laboratorio"" - Sistema di Codifica:
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: fhir
  map:
    v: Composition.title

id:
  v: RefertoLaboratorio.header.metadati.custode
path:
  v: RefertoLaboratorio.header.metadati.custode
short:
  v: A.1.8.5 Custode del referto
definition:
  v: Organizzazione incaricata della conservazione del referto di laboratorio - Sistema di Codifica:
min:
  v: 0
max:
  v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement
mapping:
  identity:
    v: fhir
  map:
    v: Composition.custodian

id:
  v: RefertoLaboratorio.ordine
path:
  v: RefertoLaboratorio.ordine
short:
  v: A.2-A.3 Ordine
definition:
  v: A.2 Informazioni sull'ordine A.3 Motivo dell'ordine
min:
  v: 0
max:
  v: *
type:
  code:
    v: http://hl7.it/fhir/lab-report/StructureDefinition/Richiesta
    l: Richiesta
mapping:
  identity:
    v: fhir
  map:
    v: DiagnosticReport.conformsTo('http://hl7.it/fhir/lab-report/StructureDefinition/diagnosticreport-it-lab').basedOn.resolve()

id:
  v: RefertoLaboratorio.campione
path:
  v: RefertoLaboratorio.campione
short:
  v: A.4 Informazioni sul campione
definition:
  v: A.4 Informazioni sul campione
min:
  v: 0
max:
  v: *
type:
  code:
    v: http://hl7.it/fhir/lab-report/StructureDefinition/Campione
    l: Campione
mapping:
  identity:
    v: fhir
  map:
    v: Observation.conformsTo('http://hl7.it/fhir/lab-report/StructureDefinition/ObservationRefertoLabIt').specimen.resolve()
mapping:
  identity:
    v: fhir
  map:
    v: DiagnosticReport.conformsTo('http://hl7.it/fhir/lab-report/StructureDefinition/diagnosticreport-it-lab').specimen.resolve()

id:
  v: RefertoLaboratorio.risultato
path:
  v: RefertoLaboratorio.risultato
short:
  v: A.5 Risultati dell'esame
definition:
  v: A.5 Risultati dell'esame
min:
  v: 0
max:
  v: *
type:
  code:
    v: http://hl7.it/fhir/lab-report/StructureDefinition/Risultato
    l: Risultato
mapping:
  identity:
    v: fhir
  map:
    v: Composition.section:lab-no-subsections.entry.resolve()
mapping:
  identity:
    v: fhir
  map:
    v: Composition.section:lab-subsections.section.entry.resolve()
mapping:
  identity:
    v: fhir
  map:
    v: DiagnosticReport.conformsTo('http://hl7.it/fhir/lab-report/StructureDefinition/diagnosticreport-it-lab').result.resolve()

id:
  v: RefertoLaboratorio.organizer
path:
  v: RefertoLaboratorio.organizer
short:
  v: A.5 Batteria di esami
definition:
  v: A.5 Batteria di esami
min:
  v: 0
max:
  v: *
type:
  code:
    v: http://hl7.it/fhir/lab-report/StructureDefinition/Organizer
    l: Organizer
mapping:
  identity:
    v: fhir
  map:
    v: Composition.section:lab-no-subsections.entry.resolve()
mapping:
  identity:
    v: fhir
  map:
    v: Composition.section:lab-subsections.section.entry.resolve()
mapping:
  identity:
    v: fhir
  map:
    v: DiagnosticReport.conformsTo('http://hl7.it/fhir/lab-report/StructureDefinition/diagnosticreport-it-lab').result.resolve()

id:
  v: RefertoLaboratorio.organizer.risultato
path:
  v: RefertoLaboratorio.organizer.risultato
short:
  v: A.5 Risultati dell'esame
definition:
  v: A.5 Risultati dell'esame
min:
  v: 1
max:
  v: *
type:
  code:
    v: http://hl7.it/fhir/lab-report/StructureDefinition/Risultato
    l: Risultato
mapping:
  identity:
    v: fhir
  map:
    v: Composition.section:lab-no-subsections.entry.resolve().hasMember()
mapping:
  identity:
    v: fhir
  map:
    v: Composition.section:lab-subsections.section.entry.resolve().hasMember()