Extensions for Using Data Elements from FHIR DSTU2 in FHIR R5
0.1.0 - STU International flag

Extensions for Using Data Elements from FHIR DSTU2 in FHIR R5 - Downloaded Version null See the Directory of published versions

Resource Profile: Profile_R2_DiagnosticReport_R5 - Detailed Descriptions

Page standards status: Trial-use Maturity Level: 0

Definitions for the profile-DiagnosticReport resource profile.

Guidance on how to interpret the contents of this table can be foundhere

0. DiagnosticReport
Definition

The findings and interpretation of diagnostic tests performed on patients, groups of patients, products, substances, devices, and locations, and/or specimens derived from these. The report includes clinical context such as requesting provider information, and some mix of atomic results, images, textual and coded interpretations, and formatted representation of diagnostic reports. The report also includes non-clinical context such as batch analysis and stability reporting of products and substances.

ShortA Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports
Comments

This is intended to capture a single report and is not suitable for use in displaying summary information that covers multiple reports. For example, this resource has not been designed for laboratory cumulative reporting formats nor detailed structured reports for sequencing.

Control0..*
Is Modifierfalse
Must Supportfalse
Summaryfalse
Alternate NamesReport, Test, Result, Results, Labs, Laboratory
Invariantsdgr-1: When a Composition is referenced in `Diagnostic.composition`, all Observation resources referenced in `Composition.entry` must also be referenced in `Diagnostic.entry` or in the references Observations in `Observation.hasMember` (composition.exists() implies (composition.resolve().section.entry.reference.where(resolve() is Observation) in (result.reference|result.reference.resolve().hasMember.reference)))
dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources (contained.contained.empty())
dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource (contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty())
dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated (contained.meta.versionId.empty() and contained.meta.lastUpdated.empty())
dom-5: If a resource is contained in another resource, it SHALL NOT have a security label (contained.meta.security.empty())
dom-6: A resource should have narrative for robust management (text.`div`.exists())
dgr-1: When a Composition is referenced in `Diagnostic.composition`, all Observation resources referenced in `Composition.entry` must also be referenced in `Diagnostic.entry` or in the references Observations in `Observation.hasMember` (composition.exists() implies (composition.resolve().section.entry.reference.where(resolve() is Observation) in (result.reference|result.reference.resolve().hasMember.reference)))
dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources (contained.contained.empty())
dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource (contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty())
dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated (contained.meta.versionId.empty() and contained.meta.lastUpdated.empty())
dom-5: If a resource is contained in another resource, it SHALL NOT have a security label (contained.meta.security.empty())
dom-6: A resource should have narrative for robust management (text.`div`.exists())
2. DiagnosticReport.implicitRules
Definition

A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.

ShortA set of rules under which this content was created
Comments

Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of its narrative along with other profiles, value sets, etc.

Control0..1
Typeuri
Is Modifiertrue because This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies its meaning or interpretation
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
Must Supportfalse
Summarytrue
Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
4. DiagnosticReport.contained
Definition

These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, nor can they have their own independent transaction scope. This is allowed to be a Parameters resource if and only if it is referenced by a resource that provides context/meaning.

ShortContained, inline Resources
Comments

This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags in their meta elements, but SHALL NOT have security labels.

Control0..*
This element is affected by the following invariants: dom-2, dom-4, dom-3, dom-5
TypeResource
Is Modifierfalse
Must Supportfalse
Summaryfalse
Alternate Namesinline resources, anonymous resources, contained resources
6. DiagnosticReport.extension
Definition

An Extension


May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and managable, 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.

ShortExtensionAdditional content defined by implementations
Comments

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.

Control0..*
TypeExtension
Is Modifierfalse
Must Supportfalse
Summaryfalse
Alternate Namesextensions, user content
Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
SlicingThis element introduces a set of slices on DiagnosticReport.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
  • value @ url
  • 8. DiagnosticReport.extension:imagingStudy
    Slice NameimagingStudy
    Definition

    DSTU2: DiagnosticReport.imagingStudy (new:Reference(ImagingStudy,ImagingObjectSelection))

    ShortDSTU2: Reference to full details of imaging associated with the diagnostic report (new)
    Comments

    Element DiagnosticReport.imagingStudy has a context of DiagnosticReport based on following the parent source element upwards and mapping to DiagnosticReport. Element DiagnosticReport.imagingStudy has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element). ImagingStudy and ImageObjectStudy and the image element are somewhat overlapping - typically, the list of image references in the image element will also be found in one of the imaging study resources. However each caters to different types of displays for different types of purposes. Neither, either, or both may be provided.

    Control0..*
    TypeExtension(DSTU2: Reference to full details of imaging associated with the diagnostic report (new)) (Extension Type: Reference(Cross-version Profile for DSTU2.ImagingStudy for use in FHIR R5, ImagingStudy, Cross-version Profile for DSTU2.ImagingObjectSelection for use in FHIR R5, Basic))
    Is Modifierfalse
    Must Supportfalse
    Summaryfalse
    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
    ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
    10. DiagnosticReport.modifierExtension
    Definition

    May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it 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 managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to 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).

    ShortExtensions that cannot be ignored
    Comments

    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.

    Control0..*
    TypeExtension
    Is Modifiertrue because Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them
    Must Supportfalse
    Summarytrue
    Requirements

    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.

    Alternate Namesextensions, user content
    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
    ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
    12. DiagnosticReport.status
    Definition

    The status of the diagnostic report.

    Shortregistered | partial | preliminary | modified | final | amended | corrected | appended | cancelled | entered-in-error | unknown
    Control1..1
    BindingThe codes SHALL be taken from DiagnosticReportStatushttp://hl7.org/fhir/ValueSet/diagnostic-report-status|5.0.0
    (required to http://hl7.org/fhir/ValueSet/diagnostic-report-status|5.0.0)

    The status of the diagnostic report.

    Typecode
    Is Modifiertrue because This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    Must Supportfalse
    Summarytrue
    Requirements

    Diagnostic services routinely issue provisional/incomplete reports, and sometimes withdraw previously released reports.

    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    14. DiagnosticReport.status.extension
    Definition

    An Extension


    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 managable, 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.

    ShortExtensionAdditional content defined by implementations
    Comments

    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.

    Control0..*
    TypeExtension
    Is Modifierfalse
    Summaryfalse
    Alternate Namesextensions, user content
    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
    ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
    SlicingThis element introduces a set of slices on DiagnosticReport.status.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
    • value @ url
    • 16. DiagnosticReport.status.extension:status
      Slice Namestatus
      Definition

      DSTU2: DiagnosticReport.status additional codes

      ShortDSTU2: registered | partial | final | corrected | appended | cancelled | entered-in-error additional codes
      Comments

      Element DiagnosticReport.status is mapped to FHIR R5 element DiagnosticReport.status as RelatedTo. The mappings for DiagnosticReport.status do not allow expression of the necessary codes, per the bindings on the source and target. The target context DiagnosticReport.status is a modifier element, so this extension does not need to be defined as a modifier. This is labeled as "Is Modifier" because applications need to take appropriate action if a report is withdrawn.

      Control0..1
      TypeExtension(DSTU2: registered | partial | final | corrected | appended | cancelled | entered-in-error additional codes) (Extension Type: code)
      Is Modifierfalse
      Summaryfalse
      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
      ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
      ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
      ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
      18. DiagnosticReport.code
      Definition

      A code or name that describes this diagnostic report.

      ShortName/Code for this diagnostic report
      Control1..1
      BindingThe codes SHOULD be taken from LOINCDiagnosticReportCodeshttp://hl7.org/fhir/ValueSet/report-codes|5.0.0
      (preferred to http://hl7.org/fhir/ValueSet/report-codes|5.0.0)

      LOINC Codes for Diagnostic Reports

      TypeCodeableConcept
      Is Modifierfalse
      Must Supportfalse
      Summarytrue
      Alternate NamesType
      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
      ele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))

      Guidance on how to interpret the contents of this table can be foundhere

      0. DiagnosticReport
      2. DiagnosticReport.meta
      4. DiagnosticReport.meta.extension
      Control0..*
      SlicingThis element introduces a set of slices on DiagnosticReport.meta.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
      • value @ url
      • 6. DiagnosticReport.meta.extension:meta
        Slice Namemeta
        Definition

        DSTU2: DiagnosticReport.meta additional types (Meta) additional types from child elements (lastUpdated, profile, security, tag, versionId)

        ShortDSTU2: meta additional types
        Comments

        Element DiagnosticReport.meta is mapped to FHIR R5 element DiagnosticReport.meta as SourceIsBroaderThanTarget. The mappings for DiagnosticReport.meta do not cover the following types: Meta. The mappings for DiagnosticReport.meta do not cover the following types based on type expansion: lastUpdated, profile, security, tag, versionId.

        Control0..1
        TypeExtension(DSTU2: meta additional types) (Extension Type: Meta)
        8. DiagnosticReport.text
        10. DiagnosticReport.text.extension
        Control0..*
        SlicingThis element introduces a set of slices on DiagnosticReport.text.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
        • value @ url
        • 12. DiagnosticReport.text.extension:text
          Slice Nametext
          Definition

          DSTU2: DiagnosticReport.text additional types (Narrative) additional types from child elements (div, status)

          ShortDSTU2: text additional types
          Comments

          Element DiagnosticReport.text is mapped to FHIR R5 element DiagnosticReport.text as SourceIsBroaderThanTarget. The mappings for DiagnosticReport.text do not cover the following types: Narrative. The mappings for DiagnosticReport.text do not cover the following types based on type expansion: div, status. Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative.

          Control0..1
          TypeExtension(DSTU2: text additional types) (Complex Extension)
          14. DiagnosticReport.extension
          Control0..*
          SlicingThis element introduces a set of slices on DiagnosticReport.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
          • value @ url
          • 16. DiagnosticReport.extension:imagingStudy
            Slice NameimagingStudy
            Definition

            DSTU2: DiagnosticReport.imagingStudy (new:Reference(ImagingStudy,ImagingObjectSelection))

            ShortDSTU2: Reference to full details of imaging associated with the diagnostic report (new)
            Comments

            Element DiagnosticReport.imagingStudy has a context of DiagnosticReport based on following the parent source element upwards and mapping to DiagnosticReport. Element DiagnosticReport.imagingStudy has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element). ImagingStudy and ImageObjectStudy and the image element are somewhat overlapping - typically, the list of image references in the image element will also be found in one of the imaging study resources. However each caters to different types of displays for different types of purposes. Neither, either, or both may be provided.

            Control0..*
            TypeExtension(DSTU2: Reference to full details of imaging associated with the diagnostic report (new)) (Extension Type: Reference(Cross-version Profile for DSTU2.ImagingStudy for use in FHIR R5, ImagingStudy, Cross-version Profile for DSTU2.ImagingObjectSelection for use in FHIR R5, Basic))
            18. DiagnosticReport.identifier
            NoteThis is a business identifier, not a resource identifier (see discussion)
            20. DiagnosticReport.identifier.extension
            Control0..*
            SlicingThis element introduces a set of slices on DiagnosticReport.identifier.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
            • value @ url
            • 22. DiagnosticReport.identifier.extension:identifier
              Slice Nameidentifier
              Definition

              DSTU2: DiagnosticReport.identifier additional types (Identifier) additional types from child elements (assigner, period, system, type, use, value)

              ShortDSTU2: Id for external references to this report additional types
              Comments

              Element DiagnosticReport.identifier is mapped to FHIR R5 element DiagnosticReport.identifier as SourceIsBroaderThanTarget. The mappings for DiagnosticReport.identifier do not cover the following types: Identifier. The mappings for DiagnosticReport.identifier do not cover the following types based on type expansion: assigner, period, system, type, use, value.

              Control0..*
              TypeExtension(DSTU2: Id for external references to this report additional types) (Extension Type: Identifier)
              24. DiagnosticReport.basedOn
              26. DiagnosticReport.basedOn.extension
              Control0..*
              SlicingThis element introduces a set of slices on DiagnosticReport.basedOn.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
              • value @ url
              • 28. DiagnosticReport.basedOn.extension:request
                Slice Namerequest
                Definition

                DSTU2: DiagnosticReport.request

                ShortDSTU2: request
                Comments

                Element DiagnosticReport.request is mapped to FHIR R5 element DiagnosticReport.basedOn as RelatedTo. The standard extension alternate-reference has been mapped as the representation of FHIR DSTU2 element DiagnosticReport.request with unmapped reference targets: DiagnosticOrder, ProcedureRequest, ReferralRequest. Note: Usually there is one test request for each result, however in some circumstances multiple test requests may be represented using a single test result resource. Note that there are also cases where one request leads to multiple reports.

                Control0..*
                TypeExtension(Alternate Reference) (Extension Type: Reference(Resource))
                30. DiagnosticReport.status
                32. DiagnosticReport.status.extension
                Control0..*
                SlicingThis element introduces a set of slices on DiagnosticReport.status.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
                • value @ url
                • 34. DiagnosticReport.status.extension:status
                  Slice Namestatus
                  Definition

                  DSTU2: DiagnosticReport.status additional codes

                  ShortDSTU2: registered | partial | final | corrected | appended | cancelled | entered-in-error additional codes
                  Comments

                  Element DiagnosticReport.status is mapped to FHIR R5 element DiagnosticReport.status as RelatedTo. The mappings for DiagnosticReport.status do not allow expression of the necessary codes, per the bindings on the source and target. The target context DiagnosticReport.status is a modifier element, so this extension does not need to be defined as a modifier. This is labeled as "Is Modifier" because applications need to take appropriate action if a report is withdrawn.

                  Control0..1
                  TypeExtension(DSTU2: registered | partial | final | corrected | appended | cancelled | entered-in-error additional codes) (Extension Type: code)
                  36. DiagnosticReport.subject
                  38. DiagnosticReport.subject.extension
                  Control1..*
                  SlicingThis element introduces a set of slices on DiagnosticReport.subject.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
                  • value @ url
                  • 40. DiagnosticReport.subject.extension:subject
                    Slice Namesubject
                    Definition

                    DSTU2: DiagnosticReport.subject

                    ShortDSTU2: The subject of the report, usually, but not always, the patient
                    Comments

                    Element DiagnosticReport.subject is mapped to FHIR R5 element DiagnosticReport.subject as SourceIsBroaderThanTarget. The standard extension alternate-reference has been mapped as the representation of FHIR DSTU2 element DiagnosticReport.subject with unmapped reference targets: Device, Group, Location, Patient.

                    Control1..1
                    TypeExtension(Alternate Reference) (Extension Type: Reference(Resource))
                    42. DiagnosticReport.encounter
                    44. DiagnosticReport.encounter.extension
                    Control0..*
                    SlicingThis element introduces a set of slices on DiagnosticReport.encounter.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
                    • value @ url
                    • 46. DiagnosticReport.encounter.extension:encounter
                      Slice Nameencounter
                      Definition

                      DSTU2: DiagnosticReport.encounter additional types from child elements (display, reference)

                      ShortDSTU2: encounter additional types
                      Comments

                      Element DiagnosticReport.encounter is mapped to FHIR R5 element DiagnosticReport.encounter as SourceIsBroaderThanTarget. The mappings for DiagnosticReport.encounter do not cover the following types based on type expansion: display, reference. The standard extension alternate-reference has been mapped as the representation of FHIR DSTU2 element DiagnosticReport.encounter with unmapped reference targets: Encounter.

                      Control0..1
                      TypeExtension(Alternate Reference) (Extension Type: Reference(Resource))
                      48. DiagnosticReport.performer
                      50. DiagnosticReport.performer.extension
                      Control1..*
                      SlicingThis element introduces a set of slices on DiagnosticReport.performer.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
                      • value @ url
                      • 52. DiagnosticReport.performer.extension:performer
                        Slice Nameperformer
                        Definition

                        DSTU2: DiagnosticReport.performer additional types from child elements (display, reference)

                        ShortDSTU2: performer additional types
                        Comments

                        Element DiagnosticReport.performer is mapped to FHIR R5 element DiagnosticReport.performer as RelatedTo. The mappings for DiagnosticReport.performer do not cover the following types based on type expansion: display, reference. The standard extension alternate-reference has been mapped as the representation of FHIR DSTU2 element DiagnosticReport.performer with unmapped reference targets: Organization, Practitioner. This is not necessarily the source of the atomic data items. It is the entity that takes responsibility for the clinical report.

                        Control1..1
                        TypeExtension(Alternate Reference) (Extension Type: Reference(Resource))
                        54. DiagnosticReport.specimen
                        56. DiagnosticReport.specimen.extension
                        Control0..*
                        SlicingThis element introduces a set of slices on DiagnosticReport.specimen.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
                        • value @ url
                        • 58. DiagnosticReport.specimen.extension:specimen
                          Slice Namespecimen
                          Definition

                          DSTU2: DiagnosticReport.specimen additional types from child elements (display, reference)

                          ShortDSTU2: specimen additional types
                          Comments

                          Element DiagnosticReport.specimen is mapped to FHIR R5 element DiagnosticReport.specimen as SourceIsBroaderThanTarget. The mappings for DiagnosticReport.specimen do not cover the following types based on type expansion: display, reference. The standard extension alternate-reference has been mapped as the representation of FHIR DSTU2 element DiagnosticReport.specimen with unmapped reference targets: Specimen. If the specimen is sufficiently specified with a code in the test result name, then this additional data may be redundant. If there are multiple specimens, these may be represented per Observation or group.

                          Control0..*
                          TypeExtension(Alternate Reference) (Extension Type: Reference(Resource))
                          60. DiagnosticReport.result
                          62. DiagnosticReport.result.extension
                          Control0..*
                          SlicingThis element introduces a set of slices on DiagnosticReport.result.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
                          • value @ url
                          • 64. DiagnosticReport.result.extension:result
                            Slice Nameresult
                            Definition

                            DSTU2: DiagnosticReport.result additional types from child elements (display, reference)

                            ShortDSTU2: Observations - simple, or complex nested groups additional types
                            Comments

                            Element DiagnosticReport.result is mapped to FHIR R5 element DiagnosticReport.result as SourceIsBroaderThanTarget. The mappings for DiagnosticReport.result do not cover the following types based on type expansion: display, reference. The standard extension alternate-reference has been mapped as the representation of FHIR DSTU2 element DiagnosticReport.result with unmapped reference targets: Observation.

                            Control0..*
                            TypeExtension(Alternate Reference) (Extension Type: Reference(Resource))
                            66. DiagnosticReport.media
                            68. DiagnosticReport.media.link
                            70. DiagnosticReport.media.link.extension
                            Control0..*
                            SlicingThis element introduces a set of slices on DiagnosticReport.media.link.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
                            • value @ url
                            • 72. DiagnosticReport.media.link.extension:link
                              Slice Namelink
                              Definition

                              DSTU2: DiagnosticReport.image.link additional types from child elements (display, reference)

                              ShortDSTU2: Reference to the image source additional types
                              Comments

                              Element DiagnosticReport.image.link is mapped to FHIR R5 element DiagnosticReport.media.link as RelatedTo. The mappings for DiagnosticReport.image.link do not cover the following types based on type expansion: display, reference. The standard extension alternate-reference has been mapped as the representation of FHIR DSTU2 element DiagnosticReport.image.link with unmapped reference targets: Media.

                              Control0..1
                              TypeExtension(Alternate Reference) (Extension Type: Reference(Resource))
                              74. DiagnosticReport.presentedForm
                              76. DiagnosticReport.presentedForm.extension
                              Control0..*
                              SlicingThis element introduces a set of slices on DiagnosticReport.presentedForm.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
                              • value @ url
                              • 78. DiagnosticReport.presentedForm.extension:presentedForm
                                Slice NamepresentedForm
                                Definition

                                DSTU2: DiagnosticReport.presentedForm additional types (Attachment) additional types from child elements (contentType, creation, data, hash, language, size, title, url)

                                ShortDSTU2: presentedForm additional types
                                Comments

                                Element DiagnosticReport.presentedForm is mapped to FHIR R5 element DiagnosticReport.presentedForm as SourceIsBroaderThanTarget. The mappings for DiagnosticReport.presentedForm do not cover the following types: Attachment. The mappings for DiagnosticReport.presentedForm do not cover the following types based on type expansion: contentType, creation, data, hash, language, size, title, url. "application/pdf" is recommended as the most reliable and interoperable in this context.

                                Control0..*
                                TypeExtension(DSTU2: presentedForm additional types) (Extension Type: Attachment)

                                Guidance on how to interpret the contents of this table can be foundhere

                                0. DiagnosticReport
                                Definition

                                The findings and interpretation of diagnostic tests performed on patients, groups of patients, products, substances, devices, and locations, and/or specimens derived from these. The report includes clinical context such as requesting provider information, and some mix of atomic results, images, textual and coded interpretations, and formatted representation of diagnostic reports. The report also includes non-clinical context such as batch analysis and stability reporting of products and substances.

                                ShortA Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports
                                Comments

                                This is intended to capture a single report and is not suitable for use in displaying summary information that covers multiple reports. For example, this resource has not been designed for laboratory cumulative reporting formats nor detailed structured reports for sequencing.

                                Control0..*
                                Is Modifierfalse
                                Must Supportfalse
                                Summaryfalse
                                Alternate NamesReport, Test, Result, Results, Labs, Laboratory
                                Invariantsdgr-1: When a Composition is referenced in `Diagnostic.composition`, all Observation resources referenced in `Composition.entry` must also be referenced in `Diagnostic.entry` or in the references Observations in `Observation.hasMember` (composition.exists() implies (composition.resolve().section.entry.reference.where(resolve() is Observation) in (result.reference|result.reference.resolve().hasMember.reference)))
                                dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources (contained.contained.empty())
                                dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource (contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty())
                                dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated (contained.meta.versionId.empty() and contained.meta.lastUpdated.empty())
                                dom-5: If a resource is contained in another resource, it SHALL NOT have a security label (contained.meta.security.empty())
                                dom-6: A resource should have narrative for robust management (text.`div`.exists())
                                2. DiagnosticReport.id
                                Definition

                                The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.

                                ShortLogical id of this artifact
                                Comments

                                Within the context of the FHIR RESTful interactions, the resource has an id except for cases like the create and conditional update. Otherwise, the use of the resouce id depends on the given use case.

                                Control0..1
                                Typeid
                                Is Modifierfalse
                                Must Supportfalse
                                Summarytrue
                                4. DiagnosticReport.meta
                                Definition

                                The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.

                                ShortMetadata about the resource
                                Control0..1
                                TypeMeta
                                Is Modifierfalse
                                Must Supportfalse
                                Summarytrue
                                Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                6. DiagnosticReport.meta.id
                                Definition

                                Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

                                ShortUnique id for inter-element referencing
                                Control0..1
                                This element is affected by the following invariants: ele-1
                                Typeid
                                Is Modifierfalse
                                XML FormatIn the XML format, this property is represented as an attribute.
                                Summaryfalse
                                8. DiagnosticReport.meta.extension
                                Definition

                                An Extension

                                ShortExtension
                                Control0..*
                                TypeExtension
                                Is Modifierfalse
                                Summaryfalse
                                Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                                SlicingThis element introduces a set of slices on DiagnosticReport.meta.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
                                • value @ url
                                • 10. DiagnosticReport.meta.extension:meta
                                  Slice Namemeta
                                  Definition

                                  DSTU2: DiagnosticReport.meta additional types (Meta) additional types from child elements (lastUpdated, profile, security, tag, versionId)

                                  ShortDSTU2: meta additional types
                                  Comments

                                  Element DiagnosticReport.meta is mapped to FHIR R5 element DiagnosticReport.meta as SourceIsBroaderThanTarget. The mappings for DiagnosticReport.meta do not cover the following types: Meta. The mappings for DiagnosticReport.meta do not cover the following types based on type expansion: lastUpdated, profile, security, tag, versionId.

                                  Control0..1
                                  TypeExtension(DSTU2: meta additional types) (Extension Type: Meta)
                                  Is Modifierfalse
                                  Summaryfalse
                                  Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                  ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                                  12. DiagnosticReport.meta.versionId
                                  Definition

                                  The version specific identifier, as it appears in the version portion of the URL. This value changes when the resource is created, updated, or deleted.

                                  ShortVersion specific identifier
                                  Comments

                                  The server assigns this value, and ignores what the client specifies, except in the case that the server is imposing version integrity on updates/deletes.

                                  Control0..1
                                  Typeid
                                  Is Modifierfalse
                                  Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                                  Summarytrue
                                  Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                  14. DiagnosticReport.meta.lastUpdated
                                  Definition

                                  When the resource last changed - e.g. when the version changed.

                                  ShortWhen the resource version last changed
                                  Comments

                                  This element is generally omitted in instances submitted in a PUT or POST. Instead, it is populated in the response instance and when retrieving information using a GET. The server / resource manager sets this value; what a client provides is irrelevant. This is equivalent to the HTTP Last-Modified and SHOULD have the same value on a read interaction.

                                  Control0..1
                                  Typeinstant
                                  Is Modifierfalse
                                  Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                                  Summarytrue
                                  Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                  16. DiagnosticReport.meta.source
                                  Definition

                                  A uri that identifies the source system of the resource. This provides a minimal amount of Provenance information that can be used to track or differentiate the source of information in the resource. The source may identify another FHIR server, document, message, database, etc.

                                  ShortIdentifies where the resource comes from
                                  Comments

                                  The exact use of the source (and the possible implied Provenance.entity.role and agent.role) is left to implementer discretion. Only one nominated source is allowed; for additional provenance details, a full Provenance resource should be used. The source may correspond to Provenance.entity.what[x] or Provenance.agent.who[x], though it may be a more general or abstract reference.

                                  This element can be used to indicate where the current master source of a resource that has a canonical URL if the resource is no longer hosted at the canonical URL.

                                  Control0..1
                                  Typeuri
                                  Is Modifierfalse
                                  Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                                  Summarytrue
                                  Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                  18. DiagnosticReport.meta.profile
                                  Definition

                                  A list of profiles (references to StructureDefinition resources) that this resource claims to conform to. The URL is a reference to StructureDefinition.url.

                                  ShortProfiles this resource claims to conform to
                                  Comments

                                  It is up to the server and/or other infrastructure of policy to determine whether/how these claims are verified and/or updated over time. The list of profile URLs is a set.

                                  Control0..*
                                  Typecanonical(StructureDefinition)
                                  Is Modifierfalse
                                  Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                                  Summarytrue
                                  Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                  20. DiagnosticReport.meta.security
                                  Definition

                                  Security labels applied to this resource. These tags connect specific resources to the overall security policy and infrastructure.

                                  ShortSecurity Labels applied to this resource
                                  Comments

                                  The security labels can be updated without changing the stated version of the resource. The list of security labels is a set. Uniqueness is based the system/code, and version and display are ignored.

                                  Control0..*
                                  BindingUnless not suitable, these codes SHALL be taken from AllSecurityLabels .
                                  (extensible to http://hl7.org/fhir/ValueSet/security-labels|5.0.0)

                                  Security Labels from the Healthcare Privacy and Security Classification System.

                                  TypeCoding
                                  Is Modifierfalse
                                  Summarytrue
                                  Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                  22. DiagnosticReport.meta.tag
                                  Definition

                                  Tags applied to this resource. Tags are intended to be used to identify and relate resources to process and workflow, and applications are not required to consider the tags when interpreting the meaning of a resource.

                                  ShortTags applied to this resource
                                  Comments

                                  The tags can be updated without changing the stated version of the resource. The list of tags is a set. Uniqueness is based the system/code, and version and display are ignored.

                                  Control0..*
                                  BindingFor example codes, see CommonTags
                                  (example to http://hl7.org/fhir/ValueSet/common-tags|5.0.0)

                                  Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".

                                  TypeCoding
                                  Is Modifierfalse
                                  Summarytrue
                                  Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                  24. DiagnosticReport.implicitRules
                                  Definition

                                  A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.

                                  ShortA set of rules under which this content was created
                                  Comments

                                  Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of its narrative along with other profiles, value sets, etc.

                                  Control0..1
                                  Typeuri
                                  Is Modifiertrue because This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies its meaning or interpretation
                                  Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                                  Must Supportfalse
                                  Summarytrue
                                  Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                  26. DiagnosticReport.language
                                  Definition

                                  The base language in which the resource is written.

                                  ShortLanguage of the resource content
                                  Comments

                                  Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).

                                  Control0..1
                                  BindingThe codes SHALL be taken from AllLanguages
                                  (required to http://hl7.org/fhir/ValueSet/all-languages|5.0.0)

                                  IETF language tag for a human language

                                  Typecode
                                  Is Modifierfalse
                                  Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                                  Must Supportfalse
                                  Summaryfalse
                                  Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                  28. DiagnosticReport.text
                                  Definition

                                  A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.

                                  ShortText summary of the resource, for human interpretation
                                  Comments

                                  Contained resources do not have a narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a "text blob" or where text is additionally entered raw or narrated and encoded information is added later.

                                  Control0..1
                                  This element is affected by the following invariants: dom-6
                                  TypeNarrative
                                  Is Modifierfalse
                                  Must Supportfalse
                                  Summaryfalse
                                  Alternate Namesnarrative, html, xhtml, display
                                  Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                  30. DiagnosticReport.text.id
                                  Definition

                                  Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

                                  ShortUnique id for inter-element referencing
                                  Control0..1
                                  This element is affected by the following invariants: ele-1
                                  Typeid
                                  Is Modifierfalse
                                  XML FormatIn the XML format, this property is represented as an attribute.
                                  Summaryfalse
                                  32. DiagnosticReport.text.extension
                                  Definition

                                  An Extension

                                  ShortExtension
                                  Control0..*
                                  TypeExtension
                                  Is Modifierfalse
                                  Summaryfalse
                                  Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                  ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                                  SlicingThis element introduces a set of slices on DiagnosticReport.text.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
                                  • value @ url
                                  • 34. DiagnosticReport.text.extension:text
                                    Slice Nametext
                                    Definition

                                    DSTU2: DiagnosticReport.text additional types (Narrative) additional types from child elements (div, status)

                                    ShortDSTU2: text additional types
                                    Comments

                                    Element DiagnosticReport.text is mapped to FHIR R5 element DiagnosticReport.text as SourceIsBroaderThanTarget. The mappings for DiagnosticReport.text do not cover the following types: Narrative. The mappings for DiagnosticReport.text do not cover the following types based on type expansion: div, status. Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative.

                                    Control0..1
                                    TypeExtension(DSTU2: text additional types) (Complex Extension)
                                    Is Modifierfalse
                                    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                    ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                                    36. DiagnosticReport.text.status
                                    Definition

                                    The status of the narrative - whether it's entirely generated (from just the defined data or the extensions too), or whether a human authored it and it may contain additional data.

                                    Shortgenerated | extensions | additional | empty
                                    Control1..1
                                    BindingThe codes SHALL be taken from NarrativeStatus
                                    (required to http://hl7.org/fhir/ValueSet/narrative-status|5.0.0)

                                    The status of a resource narrative.

                                    Typecode
                                    Is Modifierfalse
                                    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                                    Summaryfalse
                                    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                    38. DiagnosticReport.text.div
                                    Definition

                                    The actual narrative content, a stripped down version of XHTML.

                                    ShortLimited xhtml content
                                    Comments

                                    The contents of the html element are an XHTML fragment containing only the basic html formatting elements described in chapters 7-11 and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained stylesheets. The XHTML content SHALL NOT contain a head, a body, external stylesheet references, scripts, forms, base/link/xlink, frames, iframes and objects.

                                    Control1..1
                                    Typexhtml
                                    Is Modifierfalse
                                    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                                    Summaryfalse
                                    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                    txt-1: The narrative SHALL contain only the basic html formatting elements and attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes (htmlChecks())
                                    txt-2: The narrative SHALL have some non-whitespace content (htmlChecks())
                                    40. DiagnosticReport.contained
                                    Definition

                                    These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, nor can they have their own independent transaction scope. This is allowed to be a Parameters resource if and only if it is referenced by a resource that provides context/meaning.

                                    ShortContained, inline Resources
                                    Comments

                                    This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags in their meta elements, but SHALL NOT have security labels.

                                    Control0..*
                                    This element is affected by the following invariants: dom-2, dom-4, dom-3, dom-5
                                    TypeResource
                                    Is Modifierfalse
                                    Must Supportfalse
                                    Summaryfalse
                                    Alternate Namesinline resources, anonymous resources, contained resources
                                    42. DiagnosticReport.extension
                                    Definition

                                    An Extension

                                    ShortExtension
                                    Control0..*
                                    TypeExtension
                                    Is Modifierfalse
                                    Must Supportfalse
                                    Summaryfalse
                                    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                    ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                                    SlicingThis element introduces a set of slices on DiagnosticReport.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
                                    • value @ url
                                    • 44. DiagnosticReport.extension:imagingStudy
                                      Slice NameimagingStudy
                                      Definition

                                      DSTU2: DiagnosticReport.imagingStudy (new:Reference(ImagingStudy,ImagingObjectSelection))

                                      ShortDSTU2: Reference to full details of imaging associated with the diagnostic report (new)
                                      Comments

                                      Element DiagnosticReport.imagingStudy has a context of DiagnosticReport based on following the parent source element upwards and mapping to DiagnosticReport. Element DiagnosticReport.imagingStudy has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element). ImagingStudy and ImageObjectStudy and the image element are somewhat overlapping - typically, the list of image references in the image element will also be found in one of the imaging study resources. However each caters to different types of displays for different types of purposes. Neither, either, or both may be provided.

                                      Control0..*
                                      TypeExtension(DSTU2: Reference to full details of imaging associated with the diagnostic report (new)) (Extension Type: Reference(Cross-version Profile for DSTU2.ImagingStudy for use in FHIR R5, ImagingStudy, Cross-version Profile for DSTU2.ImagingObjectSelection for use in FHIR R5, Basic))
                                      Is Modifierfalse
                                      Must Supportfalse
                                      Summaryfalse
                                      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                      ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                                      46. DiagnosticReport.modifierExtension
                                      Definition

                                      May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it 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 managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to 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).

                                      ShortExtensions that cannot be ignored
                                      Comments

                                      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.

                                      Control0..*
                                      TypeExtension
                                      Is Modifiertrue because Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them
                                      Must Supportfalse
                                      Summarytrue
                                      Requirements

                                      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.

                                      Alternate Namesextensions, user content
                                      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                      ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                                      48. DiagnosticReport.identifier
                                      Definition

                                      Identifiers assigned to this report by the performer or other systems.

                                      ShortBusiness identifier for report
                                      Comments

                                      Usually assigned by the Information System of the diagnostic service provider (filler id).

                                      NoteThis is a business identifier, not a resource identifier (see discussion)
                                      Control0..*
                                      TypeIdentifier
                                      Is Modifierfalse
                                      Must Supportfalse
                                      Summarytrue
                                      Requirements

                                      Need to know what identifier to use when making queries about this report from the source laboratory, and for linking to the report outside FHIR context.

                                      Alternate NamesReportID, Filler ID, Placer ID
                                      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                      50. DiagnosticReport.identifier.id
                                      Definition

                                      Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

                                      ShortUnique id for inter-element referencing
                                      Control0..1
                                      This element is affected by the following invariants: ele-1
                                      Typeid
                                      Is Modifierfalse
                                      XML FormatIn the XML format, this property is represented as an attribute.
                                      Summaryfalse
                                      52. DiagnosticReport.identifier.extension
                                      Definition

                                      An Extension

                                      ShortExtension
                                      Control0..*
                                      TypeExtension
                                      Is Modifierfalse
                                      Summaryfalse
                                      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                      ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                                      SlicingThis element introduces a set of slices on DiagnosticReport.identifier.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
                                      • value @ url
                                      • 54. DiagnosticReport.identifier.extension:identifier
                                        Slice Nameidentifier
                                        Definition

                                        DSTU2: DiagnosticReport.identifier additional types (Identifier) additional types from child elements (assigner, period, system, type, use, value)

                                        ShortDSTU2: Id for external references to this report additional types
                                        Comments

                                        Element DiagnosticReport.identifier is mapped to FHIR R5 element DiagnosticReport.identifier as SourceIsBroaderThanTarget. The mappings for DiagnosticReport.identifier do not cover the following types: Identifier. The mappings for DiagnosticReport.identifier do not cover the following types based on type expansion: assigner, period, system, type, use, value.

                                        Control0..*
                                        TypeExtension(DSTU2: Id for external references to this report additional types) (Extension Type: Identifier)
                                        Is Modifierfalse
                                        Summaryfalse
                                        Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                        ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                                        56. DiagnosticReport.identifier.use
                                        Definition

                                        The purpose of this identifier.

                                        Shortusual | official | temp | secondary | old (If known)
                                        Comments

                                        Applications can assume that an identifier is permanent unless it explicitly says that it is temporary.

                                        Control0..1
                                        BindingThe codes SHALL be taken from IdentifierUse
                                        (required to http://hl7.org/fhir/ValueSet/identifier-use|5.0.0)

                                        Identifies the purpose for this identifier, if known .

                                        Typecode
                                        Is Modifiertrue because This is labeled as "Is Modifier" because applications should not mistake a temporary id for a permanent one.
                                        Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                                        Summarytrue
                                        Requirements

                                        Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers.

                                        Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                        58. DiagnosticReport.identifier.type
                                        Definition

                                        A coded type for the identifier that can be used to determine which identifier to use for a specific purpose.

                                        ShortDescription of identifier
                                        Comments

                                        This element deals only with general categories of identifiers. It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage. Where the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type.

                                        Control0..1
                                        BindingUnless not suitable, these codes SHALL be taken from IdentifierTypeCodes
                                        (extensible to http://hl7.org/fhir/ValueSet/identifier-type|5.0.0)

                                        A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

                                        TypeCodeableConcept
                                        Is Modifierfalse
                                        Summarytrue
                                        Requirements

                                        Allows users to make use of identifiers when the identifier system is not known.

                                        Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                        60. DiagnosticReport.identifier.system
                                        Definition

                                        Establishes the namespace for the value - that is, an absolute URL that describes a set values that are unique.

                                        ShortThe namespace for the identifier value
                                        Comments

                                        Identifier.system is always case sensitive.

                                        Control0..1
                                        Typeuri
                                        Is Modifierfalse
                                        Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                                        Summarytrue
                                        Requirements

                                        There are many sets of identifiers. To perform matching of two identifiers, we need to know what set we're dealing with. The system identifies a particular set of unique identifiers.

                                        ExampleGeneral: http://www.acme.com/identifiers/patient
                                        Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                        62. DiagnosticReport.identifier.value
                                        Definition

                                        The portion of the identifier typically relevant to the user and which is unique within the context of the system.

                                        ShortThe value that is unique
                                        Comments

                                        If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986. The value's primary purpose is computational mapping. As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.) A value formatted for human display can be conveyed using the http://hl7.org/fhir/StructureDefinition/rendered-value). Identifier.value is to be treated as case sensitive unless knowledge of the Identifier.system allows the processer to be confident that non-case-sensitive processing is safe.

                                        Control0..1
                                        This element is affected by the following invariants: ident-1
                                        Typestring
                                        Is Modifierfalse
                                        Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                                        Summarytrue
                                        ExampleGeneral: 123456
                                        Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                        64. DiagnosticReport.identifier.period
                                        Definition

                                        Time period during which identifier is/was valid for use.

                                        ShortTime period when id is/was valid for use
                                        Control0..1
                                        TypePeriod
                                        Is Modifierfalse
                                        Summarytrue
                                        Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                        66. DiagnosticReport.identifier.assigner
                                        Definition

                                        Organization that issued/manages the identifier.

                                        ShortOrganization that issued id (may be just text)
                                        Comments

                                        The Identifier.assigner may omit the .reference element and only contain a .display element reflecting the name or other textual information about the assigning organization.

                                        Control0..1
                                        TypeReference(Organization)
                                        Is Modifierfalse
                                        Summarytrue
                                        Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                        68. DiagnosticReport.basedOn
                                        Definition

                                        Details concerning a service requested.

                                        ShortWhat was requested
                                        Comments

                                        Note: Usually there is one test request for each result, however in some circumstances multiple test requests may be represented using a single test result resource. Note that there are also cases where one request leads to multiple reports.

                                        Control0..*
                                        TypeReference(CarePlan, ImmunizationRecommendation, MedicationRequest, NutritionOrder, ServiceRequest)
                                        Is Modifierfalse
                                        Must Supportfalse
                                        Summaryfalse
                                        Requirements

                                        This allows tracing of authorization for the report and tracking whether proposals/recommendations were acted upon.

                                        Alternate NamesRequest
                                        Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                        70. DiagnosticReport.basedOn.id
                                        Definition

                                        Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

                                        ShortUnique id for inter-element referencing
                                        Control0..1
                                        This element is affected by the following invariants: ele-1
                                        Typeid
                                        Is Modifierfalse
                                        XML FormatIn the XML format, this property is represented as an attribute.
                                        Summaryfalse
                                        72. DiagnosticReport.basedOn.extension
                                        Definition

                                        An Extension

                                        ShortExtension
                                        Control0..*
                                        TypeExtension
                                        Is Modifierfalse
                                        Summaryfalse
                                        Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                        ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                                        SlicingThis element introduces a set of slices on DiagnosticReport.basedOn.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
                                        • value @ url
                                        • 74. DiagnosticReport.basedOn.extension:request
                                          Slice Namerequest
                                          Definition

                                          DSTU2: DiagnosticReport.request

                                          ShortDSTU2: request
                                          Comments

                                          Element DiagnosticReport.request is mapped to FHIR R5 element DiagnosticReport.basedOn as RelatedTo. The standard extension alternate-reference has been mapped as the representation of FHIR DSTU2 element DiagnosticReport.request with unmapped reference targets: DiagnosticOrder, ProcedureRequest, ReferralRequest. Note: Usually there is one test request for each result, however in some circumstances multiple test requests may be represented using a single test result resource. Note that there are also cases where one request leads to multiple reports.

                                          Control0..1
                                          TypeExtension(Alternate Reference) (Extension Type: Reference(Resource))
                                          Is Modifierfalse
                                          Summaryfalse
                                          Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                          ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                                          76. DiagnosticReport.basedOn.reference
                                          Definition

                                          A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.

                                          ShortLiteral reference, Relative, internal or absolute URL
                                          Comments

                                          Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure "[type]/[id]" then it should be assumed that the reference is to a FHIR RESTful server.

                                          Control0..1
                                          This element is affected by the following invariants: ref-2, ref-1
                                          Typestring
                                          Is Modifierfalse
                                          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                                          Summarytrue
                                          Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                          78. DiagnosticReport.basedOn.type
                                          Definition

                                          The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent.

                                          The type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. "Patient" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources).

                                          ShortType the reference refers to (e.g. "Patient") - must be a resource in resources
                                          Comments

                                          This element is used to indicate the type of the target of the reference. This may be used which ever of the other elements are populated (or not). In some cases, the type of the target may be determined by inspection of the reference (e.g. a known RESTful URL) or by resolving the target of the reference.

                                          Control0..1
                                          BindingUnless not suitable, these codes SHALL be taken from ResourceType .
                                          (extensible to http://hl7.org/fhir/ValueSet/resource-types|5.0.0)

                                          Aa resource (or, for logical models, the URI of the logical model).

                                          Typeuri
                                          Is Modifierfalse
                                          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                                          Summarytrue
                                          Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                          80. DiagnosticReport.basedOn.identifier
                                          Definition

                                          An identifier for the target resource. This is used when there is no way to reference the other resource directly, either because the entity it represents is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.

                                          ShortLogical reference, when literal reference is not known
                                          Comments

                                          When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy.

                                          When both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference

                                          Applications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.

                                          Reference is intended to point to a structure that can potentially be expressed as a FHIR resource, though there is no need for it to exist as an actual FHIR resource instance - except in as much as an application wishes to actual find the target of the reference. The content referred to be the identifier must meet the logical constraints implied by any limitations on what resource types are permitted for the reference. For example, it would not be legitimate to send the identifier for a drug prescription if the type were Reference(Observation|DiagnosticReport). One of the use-cases for Reference.identifier is the situation where no FHIR representation exists (where the type is Reference (Any).

                                          This element only allows for a single identifier. In the case where additional identifers are required, use the http://hl7.org/fhir/StructureDefinition/additionalIdentifier extension.

                                          NoteThis is a business identifier, not a resource identifier (see discussion)
                                          Control0..1
                                          This element is affected by the following invariants: ref-2
                                          TypeIdentifier
                                          Is Modifierfalse
                                          Summarytrue
                                          Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                          82. DiagnosticReport.basedOn.display
                                          Definition

                                          Plain text narrative that identifies the resource in addition to the resource reference.

                                          ShortText alternative for the resource
                                          Comments

                                          This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it.

                                          Control0..1
                                          This element is affected by the following invariants: ref-2
                                          Typestring
                                          Is Modifierfalse
                                          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                                          Summarytrue
                                          Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                          84. DiagnosticReport.status
                                          Definition

                                          The status of the diagnostic report.

                                          Shortregistered | partial | preliminary | modified | final | amended | corrected | appended | cancelled | entered-in-error | unknown
                                          Control1..1
                                          BindingThe codes SHALL be taken from DiagnosticReportStatus
                                          (required to http://hl7.org/fhir/ValueSet/diagnostic-report-status|5.0.0)

                                          The status of the diagnostic report.

                                          Typecode
                                          Is Modifiertrue because This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid
                                          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                                          Must Supportfalse
                                          Summarytrue
                                          Requirements

                                          Diagnostic services routinely issue provisional/incomplete reports, and sometimes withdraw previously released reports.

                                          Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                          86. DiagnosticReport.status.id
                                          Definition

                                          unique id for the element within a resource (for internal references)

                                          Shortxml:id (or equivalent in JSON)
                                          Control0..1
                                          Typestring
                                          Is Modifierfalse
                                          XML FormatIn the XML format, this property is represented as an attribute.
                                          Summaryfalse
                                          88. DiagnosticReport.status.extension
                                          Definition

                                          An Extension

                                          ShortExtension
                                          Control0..*
                                          TypeExtension
                                          Is Modifierfalse
                                          Summaryfalse
                                          Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                          ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                                          SlicingThis element introduces a set of slices on DiagnosticReport.status.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
                                          • value @ url
                                          • 90. DiagnosticReport.status.extension:status
                                            Slice Namestatus
                                            Definition

                                            DSTU2: DiagnosticReport.status additional codes

                                            ShortDSTU2: registered | partial | final | corrected | appended | cancelled | entered-in-error additional codes
                                            Comments

                                            Element DiagnosticReport.status is mapped to FHIR R5 element DiagnosticReport.status as RelatedTo. The mappings for DiagnosticReport.status do not allow expression of the necessary codes, per the bindings on the source and target. The target context DiagnosticReport.status is a modifier element, so this extension does not need to be defined as a modifier. This is labeled as "Is Modifier" because applications need to take appropriate action if a report is withdrawn.

                                            Control0..1
                                            TypeExtension(DSTU2: registered | partial | final | corrected | appended | cancelled | entered-in-error additional codes) (Extension Type: code)
                                            Is Modifierfalse
                                            Summaryfalse
                                            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                            ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                                            92. DiagnosticReport.status.value
                                            Definition

                                            Primitive value for code

                                            ShortPrimitive value for code
                                            Control0..1
                                            Typecode
                                            Is Modifierfalse
                                            XML FormatIn the XML format, this property is represented as an attribute.
                                            Summaryfalse
                                            94. DiagnosticReport.category
                                            Definition

                                            A code that classifies the clinical discipline, department or diagnostic service that created the report (e.g. cardiology, biochemistry, hematology, MRI). This is used for searching, sorting and display purposes.

                                            ShortService category
                                            Comments

                                            Multiple categories are allowed using various categorization schemes. The level of granularity is defined by the category concepts in the value set. More fine-grained filtering can be performed using the metadata and/or terminology hierarchy in DiagnosticReport.code.

                                            Control0..*
                                            BindingFor example codes, see DiagnosticServiceSectionCodes
                                            (example to http://hl7.org/fhir/ValueSet/diagnostic-service-sections|5.0.0)

                                            HL7 V2 table 0074

                                            TypeCodeableConcept
                                            Is Modifierfalse
                                            Must Supportfalse
                                            Summarytrue
                                            Alternate NamesDepartment, Sub-department, Service, Discipline
                                            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                            96. DiagnosticReport.code
                                            Definition

                                            A code or name that describes this diagnostic report.

                                            ShortName/Code for this diagnostic report
                                            Control1..1
                                            BindingThe codes SHOULD be taken from LOINCDiagnosticReportCodes
                                            (preferred to http://hl7.org/fhir/ValueSet/report-codes|5.0.0)

                                            LOINC Codes for Diagnostic Reports

                                            TypeCodeableConcept
                                            Is Modifierfalse
                                            Must Supportfalse
                                            Summarytrue
                                            Alternate NamesType
                                            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                            98. DiagnosticReport.subject
                                            Definition

                                            The subject of the report. Usually, but not always, this is a patient. However, diagnostic services also perform analyses on specimens collected from a variety of other sources.

                                            ShortThe subject of the report - usually, but not always, the patient
                                            Control0..1
                                            TypeReference(Patient, Group, Device, Location, Organization, Practitioner, Medication, Substance, BiologicallyDerivedProduct)
                                            Is Modifierfalse
                                            Must Supportfalse
                                            Summarytrue
                                            Requirements

                                            SHALL know the subject context.

                                            Alternate NamesPatient
                                            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                            100. DiagnosticReport.subject.id
                                            Definition

                                            Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

                                            ShortUnique id for inter-element referencing
                                            Control0..1
                                            This element is affected by the following invariants: ele-1
                                            Typeid
                                            Is Modifierfalse
                                            XML FormatIn the XML format, this property is represented as an attribute.
                                            Summaryfalse
                                            102. DiagnosticReport.subject.extension
                                            Definition

                                            An Extension

                                            ShortExtension
                                            Control1..*
                                            TypeExtension
                                            Is Modifierfalse
                                            Summaryfalse
                                            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                            ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                                            SlicingThis element introduces a set of slices on DiagnosticReport.subject.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
                                            • value @ url
                                            • 104. DiagnosticReport.subject.extension:subject
                                              Slice Namesubject
                                              Definition

                                              DSTU2: DiagnosticReport.subject

                                              ShortDSTU2: The subject of the report, usually, but not always, the patient
                                              Comments

                                              Element DiagnosticReport.subject is mapped to FHIR R5 element DiagnosticReport.subject as SourceIsBroaderThanTarget. The standard extension alternate-reference has been mapped as the representation of FHIR DSTU2 element DiagnosticReport.subject with unmapped reference targets: Device, Group, Location, Patient.

                                              Control1..1
                                              TypeExtension(Alternate Reference) (Extension Type: Reference(Resource))
                                              Is Modifierfalse
                                              Summaryfalse
                                              Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                              ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                                              106. DiagnosticReport.subject.reference
                                              Definition

                                              A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.

                                              ShortLiteral reference, Relative, internal or absolute URL
                                              Comments

                                              Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure "[type]/[id]" then it should be assumed that the reference is to a FHIR RESTful server.

                                              Control0..1
                                              This element is affected by the following invariants: ref-2, ref-1
                                              Typestring
                                              Is Modifierfalse
                                              Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                                              Summarytrue
                                              Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                              108. DiagnosticReport.subject.type
                                              Definition

                                              The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent.

                                              The type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. "Patient" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources).

                                              ShortType the reference refers to (e.g. "Patient") - must be a resource in resources
                                              Comments

                                              This element is used to indicate the type of the target of the reference. This may be used which ever of the other elements are populated (or not). In some cases, the type of the target may be determined by inspection of the reference (e.g. a known RESTful URL) or by resolving the target of the reference.

                                              Control0..1
                                              BindingUnless not suitable, these codes SHALL be taken from ResourceType .
                                              (extensible to http://hl7.org/fhir/ValueSet/resource-types|5.0.0)

                                              Aa resource (or, for logical models, the URI of the logical model).

                                              Typeuri
                                              Is Modifierfalse
                                              Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                                              Summarytrue
                                              Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                              110. DiagnosticReport.subject.identifier
                                              Definition

                                              An identifier for the target resource. This is used when there is no way to reference the other resource directly, either because the entity it represents is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.

                                              ShortLogical reference, when literal reference is not known
                                              Comments

                                              When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy.

                                              When both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference

                                              Applications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.

                                              Reference is intended to point to a structure that can potentially be expressed as a FHIR resource, though there is no need for it to exist as an actual FHIR resource instance - except in as much as an application wishes to actual find the target of the reference. The content referred to be the identifier must meet the logical constraints implied by any limitations on what resource types are permitted for the reference. For example, it would not be legitimate to send the identifier for a drug prescription if the type were Reference(Observation|DiagnosticReport). One of the use-cases for Reference.identifier is the situation where no FHIR representation exists (where the type is Reference (Any).

                                              This element only allows for a single identifier. In the case where additional identifers are required, use the http://hl7.org/fhir/StructureDefinition/additionalIdentifier extension.

                                              NoteThis is a business identifier, not a resource identifier (see discussion)
                                              Control0..1
                                              This element is affected by the following invariants: ref-2
                                              TypeIdentifier
                                              Is Modifierfalse
                                              Summarytrue
                                              Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                              112. DiagnosticReport.subject.display
                                              Definition

                                              Plain text narrative that identifies the resource in addition to the resource reference.

                                              ShortText alternative for the resource
                                              Comments

                                              This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it.

                                              Control0..1
                                              This element is affected by the following invariants: ref-2
                                              Typestring
                                              Is Modifierfalse
                                              Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                                              Summarytrue
                                              Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                              114. DiagnosticReport.encounter
                                              Definition

                                              The healthcare event (e.g. a patient and healthcare provider interaction) which this DiagnosticReport is about.

                                              ShortHealth care event when test ordered
                                              Comments

                                              This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests).

                                              Control0..1
                                              TypeReference(Encounter)
                                              Is Modifierfalse
                                              Must Supportfalse
                                              Summarytrue
                                              Requirements

                                              Links the request to the Encounter context.

                                              Alternate NamesContext
                                              Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                              116. DiagnosticReport.encounter.id
                                              Definition

                                              Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

                                              ShortUnique id for inter-element referencing
                                              Control0..1
                                              This element is affected by the following invariants: ele-1
                                              Typeid
                                              Is Modifierfalse
                                              XML FormatIn the XML format, this property is represented as an attribute.
                                              Summaryfalse
                                              118. DiagnosticReport.encounter.extension
                                              Definition

                                              An Extension

                                              ShortExtension
                                              Control0..*
                                              TypeExtension
                                              Is Modifierfalse
                                              Summaryfalse
                                              Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                              ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                                              SlicingThis element introduces a set of slices on DiagnosticReport.encounter.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
                                              • value @ url
                                              • 120. DiagnosticReport.encounter.extension:encounter
                                                Slice Nameencounter
                                                Definition

                                                DSTU2: DiagnosticReport.encounter additional types from child elements (display, reference)

                                                ShortDSTU2: encounter additional types
                                                Comments

                                                Element DiagnosticReport.encounter is mapped to FHIR R5 element DiagnosticReport.encounter as SourceIsBroaderThanTarget. The mappings for DiagnosticReport.encounter do not cover the following types based on type expansion: display, reference. The standard extension alternate-reference has been mapped as the representation of FHIR DSTU2 element DiagnosticReport.encounter with unmapped reference targets: Encounter.

                                                Control0..1
                                                TypeExtension(Alternate Reference) (Extension Type: Reference(Resource))
                                                Is Modifierfalse
                                                Summaryfalse
                                                Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                                ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                                                122. DiagnosticReport.encounter.reference
                                                Definition

                                                A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.

                                                ShortLiteral reference, Relative, internal or absolute URL
                                                Comments

                                                Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure "[type]/[id]" then it should be assumed that the reference is to a FHIR RESTful server.

                                                Control0..1
                                                This element is affected by the following invariants: ref-2, ref-1
                                                Typestring
                                                Is Modifierfalse
                                                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                                                Summarytrue
                                                Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                                124. DiagnosticReport.encounter.type
                                                Definition

                                                The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent.

                                                The type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. "Patient" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources).

                                                ShortType the reference refers to (e.g. "Patient") - must be a resource in resources
                                                Comments

                                                This element is used to indicate the type of the target of the reference. This may be used which ever of the other elements are populated (or not). In some cases, the type of the target may be determined by inspection of the reference (e.g. a known RESTful URL) or by resolving the target of the reference.

                                                Control0..1
                                                BindingUnless not suitable, these codes SHALL be taken from ResourceType .
                                                (extensible to http://hl7.org/fhir/ValueSet/resource-types|5.0.0)

                                                Aa resource (or, for logical models, the URI of the logical model).

                                                Typeuri
                                                Is Modifierfalse
                                                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                                                Summarytrue
                                                Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                                126. DiagnosticReport.encounter.identifier
                                                Definition

                                                An identifier for the target resource. This is used when there is no way to reference the other resource directly, either because the entity it represents is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.

                                                ShortLogical reference, when literal reference is not known
                                                Comments

                                                When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy.

                                                When both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference

                                                Applications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.

                                                Reference is intended to point to a structure that can potentially be expressed as a FHIR resource, though there is no need for it to exist as an actual FHIR resource instance - except in as much as an application wishes to actual find the target of the reference. The content referred to be the identifier must meet the logical constraints implied by any limitations on what resource types are permitted for the reference. For example, it would not be legitimate to send the identifier for a drug prescription if the type were Reference(Observation|DiagnosticReport). One of the use-cases for Reference.identifier is the situation where no FHIR representation exists (where the type is Reference (Any).

                                                This element only allows for a single identifier. In the case where additional identifers are required, use the http://hl7.org/fhir/StructureDefinition/additionalIdentifier extension.

                                                NoteThis is a business identifier, not a resource identifier (see discussion)
                                                Control0..1
                                                This element is affected by the following invariants: ref-2
                                                TypeIdentifier
                                                Is Modifierfalse
                                                Summarytrue
                                                Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                                128. DiagnosticReport.encounter.display
                                                Definition

                                                Plain text narrative that identifies the resource in addition to the resource reference.

                                                ShortText alternative for the resource
                                                Comments

                                                This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it.

                                                Control0..1
                                                This element is affected by the following invariants: ref-2
                                                Typestring
                                                Is Modifierfalse
                                                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                                                Summarytrue
                                                Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                                130. DiagnosticReport.effective[x]
                                                Definition

                                                The time or time-period the observed values are related to. When the subject of the report is a patient, this is usually either the time of the procedure or of specimen collection(s), but very often the source of the date/time is not known, only the date/time itself.

                                                ShortClinically relevant time/time-period for report
                                                Comments

                                                If the diagnostic procedure was performed on the patient, this is the time it was performed. If there are specimens, the diagnostically relevant time can be derived from the specimen collection times, but the specimen information is not always available, and the exact relationship between the specimens and the diagnostically relevant time is not always automatic.

                                                Control0..1
                                                TypeChoice of: dateTime, Period
                                                [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
                                                Is Modifierfalse
                                                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                                                Must Supportfalse
                                                Summarytrue
                                                Requirements

                                                Need to know where in the patient history to file/present this report.

                                                Alternate NamesObservation time, Effective Time, Occurrence
                                                Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                                132. DiagnosticReport.issued
                                                Definition

                                                The date and time that this version of the report was made available to providers, typically after the report was reviewed and verified.

                                                ShortDateTime this version was made
                                                Comments

                                                May be different from the update time of the resource itself, because that is the status of the record (potentially a secondary copy), not the actual release time of the report.

                                                Control0..1
                                                Typeinstant
                                                Is Modifierfalse
                                                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                                                Must Supportfalse
                                                Summarytrue
                                                Requirements

                                                Clinicians need to be able to check the date that the report was released.

                                                Alternate NamesDate published, Date Issued, Date Verified
                                                Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                                134. DiagnosticReport.performer
                                                Definition

                                                The diagnostic service that is responsible for issuing the report.

                                                ShortResponsible Diagnostic Service
                                                Comments

                                                This is not necessarily the source of the atomic data items or the entity that interpreted the results. It is the entity that takes responsibility for the clinical report.

                                                Control0..*
                                                TypeReference(Practitioner, PractitionerRole, Organization, CareTeam)
                                                Is Modifierfalse
                                                Must Supportfalse
                                                Summarytrue
                                                Requirements

                                                Need to know whom to contact if there are queries about the results. Also may need to track the source of reports for secondary data analysis.

                                                Alternate NamesLaboratory, Service, Practitioner, Department, Company, Authorized by, Director
                                                Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                                136. DiagnosticReport.performer.id
                                                Definition

                                                Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

                                                ShortUnique id for inter-element referencing
                                                Control0..1
                                                This element is affected by the following invariants: ele-1
                                                Typeid
                                                Is Modifierfalse
                                                XML FormatIn the XML format, this property is represented as an attribute.
                                                Summaryfalse
                                                138. DiagnosticReport.performer.extension
                                                Definition

                                                An Extension

                                                ShortExtension
                                                Control1..*
                                                TypeExtension
                                                Is Modifierfalse
                                                Summaryfalse
                                                Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                                ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                                                SlicingThis element introduces a set of slices on DiagnosticReport.performer.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
                                                • value @ url
                                                • 140. DiagnosticReport.performer.extension:performer
                                                  Slice Nameperformer
                                                  Definition

                                                  DSTU2: DiagnosticReport.performer additional types from child elements (display, reference)

                                                  ShortDSTU2: performer additional types
                                                  Comments

                                                  Element DiagnosticReport.performer is mapped to FHIR R5 element DiagnosticReport.performer as RelatedTo. The mappings for DiagnosticReport.performer do not cover the following types based on type expansion: display, reference. The standard extension alternate-reference has been mapped as the representation of FHIR DSTU2 element DiagnosticReport.performer with unmapped reference targets: Organization, Practitioner. This is not necessarily the source of the atomic data items. It is the entity that takes responsibility for the clinical report.

                                                  Control1..1
                                                  TypeExtension(Alternate Reference) (Extension Type: Reference(Resource))
                                                  Is Modifierfalse
                                                  Summaryfalse
                                                  Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                                  ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                                                  142. DiagnosticReport.performer.reference
                                                  Definition

                                                  A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.

                                                  ShortLiteral reference, Relative, internal or absolute URL
                                                  Comments

                                                  Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure "[type]/[id]" then it should be assumed that the reference is to a FHIR RESTful server.

                                                  Control0..1
                                                  This element is affected by the following invariants: ref-2, ref-1
                                                  Typestring
                                                  Is Modifierfalse
                                                  Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                                                  Summarytrue
                                                  Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                                  144. DiagnosticReport.performer.type
                                                  Definition

                                                  The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent.

                                                  The type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. "Patient" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources).

                                                  ShortType the reference refers to (e.g. "Patient") - must be a resource in resources
                                                  Comments

                                                  This element is used to indicate the type of the target of the reference. This may be used which ever of the other elements are populated (or not). In some cases, the type of the target may be determined by inspection of the reference (e.g. a known RESTful URL) or by resolving the target of the reference.

                                                  Control0..1
                                                  BindingUnless not suitable, these codes SHALL be taken from ResourceType .
                                                  (extensible to http://hl7.org/fhir/ValueSet/resource-types|5.0.0)

                                                  Aa resource (or, for logical models, the URI of the logical model).

                                                  Typeuri
                                                  Is Modifierfalse
                                                  Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                                                  Summarytrue
                                                  Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                                  146. DiagnosticReport.performer.identifier
                                                  Definition

                                                  An identifier for the target resource. This is used when there is no way to reference the other resource directly, either because the entity it represents is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.

                                                  ShortLogical reference, when literal reference is not known
                                                  Comments

                                                  When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy.

                                                  When both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference

                                                  Applications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.

                                                  Reference is intended to point to a structure that can potentially be expressed as a FHIR resource, though there is no need for it to exist as an actual FHIR resource instance - except in as much as an application wishes to actual find the target of the reference. The content referred to be the identifier must meet the logical constraints implied by any limitations on what resource types are permitted for the reference. For example, it would not be legitimate to send the identifier for a drug prescription if the type were Reference(Observation|DiagnosticReport). One of the use-cases for Reference.identifier is the situation where no FHIR representation exists (where the type is Reference (Any).

                                                  This element only allows for a single identifier. In the case where additional identifers are required, use the http://hl7.org/fhir/StructureDefinition/additionalIdentifier extension.

                                                  NoteThis is a business identifier, not a resource identifier (see discussion)
                                                  Control0..1
                                                  This element is affected by the following invariants: ref-2
                                                  TypeIdentifier
                                                  Is Modifierfalse
                                                  Summarytrue
                                                  Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                                  148. DiagnosticReport.performer.display
                                                  Definition

                                                  Plain text narrative that identifies the resource in addition to the resource reference.

                                                  ShortText alternative for the resource
                                                  Comments

                                                  This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it.

                                                  Control0..1
                                                  This element is affected by the following invariants: ref-2
                                                  Typestring
                                                  Is Modifierfalse
                                                  Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                                                  Summarytrue
                                                  Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                                  150. DiagnosticReport.resultsInterpreter
                                                  Definition

                                                  The practitioner or organization that is responsible for the report's conclusions and interpretations.

                                                  ShortPrimary result interpreter
                                                  Comments

                                                  Might not be the same entity that takes responsibility for the clinical report.

                                                  Control0..*
                                                  TypeReference(Practitioner, PractitionerRole, Organization, CareTeam)
                                                  Is Modifierfalse
                                                  Must Supportfalse
                                                  Summarytrue
                                                  Requirements

                                                  Need to know whom to contact if there are queries about the results. Also may need to track the source of reports for secondary data analysis.

                                                  Alternate NamesAnalyzed by, Reported by
                                                  Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                                  152. DiagnosticReport.specimen
                                                  Definition

                                                  Details about the specimens on which this diagnostic report is based.

                                                  ShortSpecimens this report is based on
                                                  Comments

                                                  If the specimen is sufficiently specified with a code in the test result name, then this additional data may be redundant. If there are multiple specimens, these may be represented per observation or group.

                                                  Control0..*
                                                  TypeReference(Specimen)
                                                  Is Modifierfalse
                                                  Must Supportfalse
                                                  Summaryfalse
                                                  Requirements

                                                  Need to be able to report information about the collected specimens on which the report is based.

                                                  Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                                  154. DiagnosticReport.specimen.id
                                                  Definition

                                                  Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

                                                  ShortUnique id for inter-element referencing
                                                  Control0..1
                                                  This element is affected by the following invariants: ele-1
                                                  Typeid
                                                  Is Modifierfalse
                                                  XML FormatIn the XML format, this property is represented as an attribute.
                                                  Summaryfalse
                                                  156. DiagnosticReport.specimen.extension
                                                  Definition

                                                  An Extension

                                                  ShortExtension
                                                  Control0..*
                                                  TypeExtension
                                                  Is Modifierfalse
                                                  Summaryfalse
                                                  Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                                  ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                                                  SlicingThis element introduces a set of slices on DiagnosticReport.specimen.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
                                                  • value @ url
                                                  • 158. DiagnosticReport.specimen.extension:specimen
                                                    Slice Namespecimen
                                                    Definition

                                                    DSTU2: DiagnosticReport.specimen additional types from child elements (display, reference)

                                                    ShortDSTU2: specimen additional types
                                                    Comments

                                                    Element DiagnosticReport.specimen is mapped to FHIR R5 element DiagnosticReport.specimen as SourceIsBroaderThanTarget. The mappings for DiagnosticReport.specimen do not cover the following types based on type expansion: display, reference. The standard extension alternate-reference has been mapped as the representation of FHIR DSTU2 element DiagnosticReport.specimen with unmapped reference targets: Specimen. If the specimen is sufficiently specified with a code in the test result name, then this additional data may be redundant. If there are multiple specimens, these may be represented per Observation or group.

                                                    Control0..1
                                                    TypeExtension(Alternate Reference) (Extension Type: Reference(Resource))
                                                    Is Modifierfalse
                                                    Summaryfalse
                                                    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                                    ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                                                    160. DiagnosticReport.specimen.reference
                                                    Definition

                                                    A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.

                                                    ShortLiteral reference, Relative, internal or absolute URL
                                                    Comments

                                                    Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure "[type]/[id]" then it should be assumed that the reference is to a FHIR RESTful server.

                                                    Control0..1
                                                    This element is affected by the following invariants: ref-2, ref-1
                                                    Typestring
                                                    Is Modifierfalse
                                                    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                                                    Summarytrue
                                                    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                                    162. DiagnosticReport.specimen.type
                                                    Definition

                                                    The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent.

                                                    The type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. "Patient" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources).

                                                    ShortType the reference refers to (e.g. "Patient") - must be a resource in resources
                                                    Comments

                                                    This element is used to indicate the type of the target of the reference. This may be used which ever of the other elements are populated (or not). In some cases, the type of the target may be determined by inspection of the reference (e.g. a known RESTful URL) or by resolving the target of the reference.

                                                    Control0..1
                                                    BindingUnless not suitable, these codes SHALL be taken from ResourceType .
                                                    (extensible to http://hl7.org/fhir/ValueSet/resource-types|5.0.0)

                                                    Aa resource (or, for logical models, the URI of the logical model).

                                                    Typeuri
                                                    Is Modifierfalse
                                                    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                                                    Summarytrue
                                                    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                                    164. DiagnosticReport.specimen.identifier
                                                    Definition

                                                    An identifier for the target resource. This is used when there is no way to reference the other resource directly, either because the entity it represents is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.

                                                    ShortLogical reference, when literal reference is not known
                                                    Comments

                                                    When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy.

                                                    When both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference

                                                    Applications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.

                                                    Reference is intended to point to a structure that can potentially be expressed as a FHIR resource, though there is no need for it to exist as an actual FHIR resource instance - except in as much as an application wishes to actual find the target of the reference. The content referred to be the identifier must meet the logical constraints implied by any limitations on what resource types are permitted for the reference. For example, it would not be legitimate to send the identifier for a drug prescription if the type were Reference(Observation|DiagnosticReport). One of the use-cases for Reference.identifier is the situation where no FHIR representation exists (where the type is Reference (Any).

                                                    This element only allows for a single identifier. In the case where additional identifers are required, use the http://hl7.org/fhir/StructureDefinition/additionalIdentifier extension.

                                                    NoteThis is a business identifier, not a resource identifier (see discussion)
                                                    Control0..1
                                                    This element is affected by the following invariants: ref-2
                                                    TypeIdentifier
                                                    Is Modifierfalse
                                                    Summarytrue
                                                    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                                    166. DiagnosticReport.specimen.display
                                                    Definition

                                                    Plain text narrative that identifies the resource in addition to the resource reference.

                                                    ShortText alternative for the resource
                                                    Comments

                                                    This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it.

                                                    Control0..1
                                                    This element is affected by the following invariants: ref-2
                                                    Typestring
                                                    Is Modifierfalse
                                                    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                                                    Summarytrue
                                                    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                                    168. DiagnosticReport.result
                                                    Definition

                                                    Observations that are part of this diagnostic report.

                                                    ShortObservations
                                                    Comments

                                                    Observations can contain observations.

                                                    Control0..*
                                                    This element is affected by the following invariants: dgr-1
                                                    TypeReference(Observation)
                                                    Is Modifierfalse
                                                    Must Supportfalse
                                                    Summaryfalse
                                                    Requirements

                                                    Need to support individual results, or groups of results, where the result grouping is arbitrary, but meaningful.

                                                    Alternate NamesData, Atomic Value, Result, Atomic result, Data, Test, Analyte, Battery, Organizer
                                                    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                                    170. DiagnosticReport.result.id
                                                    Definition

                                                    Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

                                                    ShortUnique id for inter-element referencing
                                                    Control0..1
                                                    This element is affected by the following invariants: ele-1
                                                    Typeid
                                                    Is Modifierfalse
                                                    XML FormatIn the XML format, this property is represented as an attribute.
                                                    Summaryfalse
                                                    172. DiagnosticReport.result.extension
                                                    Definition

                                                    An Extension

                                                    ShortExtension
                                                    Control0..*
                                                    TypeExtension
                                                    Is Modifierfalse
                                                    Summaryfalse
                                                    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                                    ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                                                    SlicingThis element introduces a set of slices on DiagnosticReport.result.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
                                                    • value @ url
                                                    • 174. DiagnosticReport.result.extension:result
                                                      Slice Nameresult
                                                      Definition

                                                      DSTU2: DiagnosticReport.result additional types from child elements (display, reference)

                                                      ShortDSTU2: Observations - simple, or complex nested groups additional types
                                                      Comments

                                                      Element DiagnosticReport.result is mapped to FHIR R5 element DiagnosticReport.result as SourceIsBroaderThanTarget. The mappings for DiagnosticReport.result do not cover the following types based on type expansion: display, reference. The standard extension alternate-reference has been mapped as the representation of FHIR DSTU2 element DiagnosticReport.result with unmapped reference targets: Observation.

                                                      Control0..1
                                                      TypeExtension(Alternate Reference) (Extension Type: Reference(Resource))
                                                      Is Modifierfalse
                                                      Summaryfalse
                                                      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                                      ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                                                      176. DiagnosticReport.result.reference
                                                      Definition

                                                      A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.

                                                      ShortLiteral reference, Relative, internal or absolute URL
                                                      Comments

                                                      Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure "[type]/[id]" then it should be assumed that the reference is to a FHIR RESTful server.

                                                      Control0..1
                                                      This element is affected by the following invariants: ref-2, ref-1
                                                      Typestring
                                                      Is Modifierfalse
                                                      Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                                                      Summarytrue
                                                      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                                      178. DiagnosticReport.result.type
                                                      Definition

                                                      The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent.

                                                      The type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. "Patient" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources).

                                                      ShortType the reference refers to (e.g. "Patient") - must be a resource in resources
                                                      Comments

                                                      This element is used to indicate the type of the target of the reference. This may be used which ever of the other elements are populated (or not). In some cases, the type of the target may be determined by inspection of the reference (e.g. a known RESTful URL) or by resolving the target of the reference.

                                                      Control0..1
                                                      BindingUnless not suitable, these codes SHALL be taken from ResourceType .
                                                      (extensible to http://hl7.org/fhir/ValueSet/resource-types|5.0.0)

                                                      Aa resource (or, for logical models, the URI of the logical model).

                                                      Typeuri
                                                      Is Modifierfalse
                                                      Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                                                      Summarytrue
                                                      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                                      180. DiagnosticReport.result.identifier
                                                      Definition

                                                      An identifier for the target resource. This is used when there is no way to reference the other resource directly, either because the entity it represents is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.

                                                      ShortLogical reference, when literal reference is not known
                                                      Comments

                                                      When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy.

                                                      When both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference

                                                      Applications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.

                                                      Reference is intended to point to a structure that can potentially be expressed as a FHIR resource, though there is no need for it to exist as an actual FHIR resource instance - except in as much as an application wishes to actual find the target of the reference. The content referred to be the identifier must meet the logical constraints implied by any limitations on what resource types are permitted for the reference. For example, it would not be legitimate to send the identifier for a drug prescription if the type were Reference(Observation|DiagnosticReport). One of the use-cases for Reference.identifier is the situation where no FHIR representation exists (where the type is Reference (Any).

                                                      This element only allows for a single identifier. In the case where additional identifers are required, use the http://hl7.org/fhir/StructureDefinition/additionalIdentifier extension.

                                                      NoteThis is a business identifier, not a resource identifier (see discussion)
                                                      Control0..1
                                                      This element is affected by the following invariants: ref-2
                                                      TypeIdentifier
                                                      Is Modifierfalse
                                                      Summarytrue
                                                      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                                      182. DiagnosticReport.result.display
                                                      Definition

                                                      Plain text narrative that identifies the resource in addition to the resource reference.

                                                      ShortText alternative for the resource
                                                      Comments

                                                      This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it.

                                                      Control0..1
                                                      This element is affected by the following invariants: ref-2
                                                      Typestring
                                                      Is Modifierfalse
                                                      Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                                                      Summarytrue
                                                      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                                      184. DiagnosticReport.note
                                                      Definition

                                                      Comments about the diagnostic report.

                                                      ShortComments about the diagnostic report
                                                      Comments

                                                      May include general statements about the diagnostic report, or statements about significant, unexpected or unreliable results values contained within the diagnostic report, or information about its source when relevant to its interpretation.

                                                      Control0..*
                                                      TypeAnnotation
                                                      Is Modifierfalse
                                                      Must Supportfalse
                                                      Summaryfalse
                                                      Requirements

                                                      Need to be able to provide free text additional information.

                                                      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                                      186. DiagnosticReport.study
                                                      Definition

                                                      One or more links to full details of any study performed during the diagnostic investigation. An ImagingStudy might comprise a set of radiologic images obtained via a procedure that are analyzed as a group. Typically, this is imaging performed by DICOM enabled modalities, but this is not required. A fully enabled PACS viewer can use this information to provide views of the source images. A GenomicStudy might comprise one or more analyses, each serving a specific purpose. These analyses may vary in method (e.g., karyotyping, CNV, or SNV detection), performer, software, devices used, or regions targeted.

                                                      ShortReference to full details of an analysis associated with the diagnostic report
                                                      Comments

                                                      For laboratory-type studies like GenomeStudy, type resources will be used for tracking additional metadata and workflow aspects of complex studies. ImagingStudy and the media element are somewhat overlapping - typically, the list of image references in the media element will also be found in one of the imaging study resources. However, each caters to different types of displays for different types of purposes. Neither, either, or both may be provided.

                                                      Control0..*
                                                      TypeReference(GenomicStudy, ImagingStudy)
                                                      Is Modifierfalse
                                                      Must Supportfalse
                                                      Summaryfalse
                                                      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                                      188. DiagnosticReport.supportingInfo
                                                      Definition

                                                      This backbone element contains supporting information that was used in the creation of the report not included in the results already included in the report.

                                                      ShortAdditional information supporting the diagnostic report
                                                      Control0..*
                                                      TypeBackboneElement
                                                      Is Modifierfalse
                                                      Must Supportfalse
                                                      Summaryfalse
                                                      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                                      190. DiagnosticReport.supportingInfo.id
                                                      Definition

                                                      Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

                                                      ShortUnique id for inter-element referencing
                                                      Control0..1
                                                      This element is affected by the following invariants: ele-1
                                                      Typestring
                                                      Is Modifierfalse
                                                      XML FormatIn the XML format, this property is represented as an attribute.
                                                      Summaryfalse
                                                      192. DiagnosticReport.supportingInfo.extension
                                                      Definition

                                                      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 managable, 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.

                                                      ShortAdditional content defined by implementations
                                                      Comments

                                                      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.

                                                      Control0..*
                                                      TypeExtension
                                                      Is Modifierfalse
                                                      Summaryfalse
                                                      Alternate Namesextensions, user content
                                                      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                                      ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                                                      194. DiagnosticReport.supportingInfo.modifierExtension
                                                      Definition

                                                      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 managable, 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).

                                                      ShortExtensions that cannot be ignored even if unrecognized
                                                      Comments

                                                      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.

                                                      Control0..*
                                                      TypeExtension
                                                      Is Modifiertrue because Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
                                                      Summarytrue
                                                      Requirements

                                                      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.

                                                      Alternate Namesextensions, user content, modifiers
                                                      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                                      ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                                                      196. DiagnosticReport.supportingInfo.type
                                                      Definition

                                                      The code value for the role of the supporting information in the diagnostic report.

                                                      ShortSupporting information role code
                                                      Control1..1
                                                      BindingFor example codes, see Hl7VSVSObservationType (3.0.0)
                                                      (example to http://terminology.hl7.org/ValueSet/v2-0936|3.0.0)

                                                      The code value for the role of the supporting information in the diagnostic report.

                                                      TypeCodeableConcept
                                                      Is Modifierfalse
                                                      Must Supportfalse
                                                      Summaryfalse
                                                      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                                      198. DiagnosticReport.supportingInfo.reference
                                                      Definition

                                                      The reference for the supporting information in the diagnostic report.

                                                      ShortSupporting information reference
                                                      Control1..1
                                                      TypeReference(Procedure, Observation, DiagnosticReport, Citation)
                                                      Is Modifierfalse
                                                      Must Supportfalse
                                                      Summaryfalse
                                                      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                                      200. DiagnosticReport.media
                                                      Definition

                                                      A list of key images or data associated with this report. The images or data are generally created during the diagnostic process, and may be directly of the patient, or of treated specimens (i.e. slides of interest).

                                                      ShortKey images or data associated with this report
                                                      Control0..*
                                                      TypeBackboneElement
                                                      Is Modifierfalse
                                                      Must Supportfalse
                                                      Summarytrue
                                                      Requirements

                                                      Many diagnostic services include images or data in the report as part of their service.

                                                      Alternate NamesDICOM, Slides, Scans
                                                      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                                      202. DiagnosticReport.media.id
                                                      Definition

                                                      Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

                                                      ShortUnique id for inter-element referencing
                                                      Control0..1
                                                      This element is affected by the following invariants: ele-1
                                                      Typestring
                                                      Is Modifierfalse
                                                      XML FormatIn the XML format, this property is represented as an attribute.
                                                      Summaryfalse
                                                      204. DiagnosticReport.media.extension
                                                      Definition

                                                      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 managable, 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.

                                                      ShortAdditional content defined by implementations
                                                      Comments

                                                      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.

                                                      Control0..*
                                                      TypeExtension
                                                      Is Modifierfalse
                                                      Summaryfalse
                                                      Alternate Namesextensions, user content
                                                      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                                      ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                                                      206. DiagnosticReport.media.modifierExtension
                                                      Definition

                                                      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 managable, 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).

                                                      ShortExtensions that cannot be ignored even if unrecognized
                                                      Comments

                                                      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.

                                                      Control0..*
                                                      TypeExtension
                                                      Is Modifiertrue because Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
                                                      Summarytrue
                                                      Requirements

                                                      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.

                                                      Alternate Namesextensions, user content, modifiers
                                                      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                                      ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                                                      208. DiagnosticReport.media.comment
                                                      Definition

                                                      A comment about the image or data. Typically, this is used to provide an explanation for why the image or data is included, or to draw the viewer's attention to important features.

                                                      ShortComment about the image or data (e.g. explanation)
                                                      Comments

                                                      The comment should be displayed with the image or data. It would be common for the report to include additional discussion of the image or data contents or in other sections such as the conclusion.

                                                      Control0..1
                                                      Typestring
                                                      Is Modifierfalse
                                                      Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                                                      Must Supportfalse
                                                      Summaryfalse
                                                      Requirements

                                                      The provider of the report should make a comment about each image or data included in the report.

                                                      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                                      210. DiagnosticReport.media.link
                                                      Definition

                                                      Reference to the image or data source.

                                                      ShortReference to the image or data source
                                                      Control1..1
                                                      TypeReference(DocumentReference)
                                                      Is Modifierfalse
                                                      Must Supportfalse
                                                      Summarytrue
                                                      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                                      212. DiagnosticReport.media.link.id
                                                      Definition

                                                      Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

                                                      ShortUnique id for inter-element referencing
                                                      Control0..1
                                                      This element is affected by the following invariants: ele-1
                                                      Typeid
                                                      Is Modifierfalse
                                                      XML FormatIn the XML format, this property is represented as an attribute.
                                                      Summaryfalse
                                                      214. DiagnosticReport.media.link.extension
                                                      Definition

                                                      An Extension

                                                      ShortExtension
                                                      Control0..*
                                                      TypeExtension
                                                      Is Modifierfalse
                                                      Summaryfalse
                                                      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                                      ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                                                      SlicingThis element introduces a set of slices on DiagnosticReport.media.link.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
                                                      • value @ url
                                                      • 216. DiagnosticReport.media.link.extension:link
                                                        Slice Namelink
                                                        Definition

                                                        DSTU2: DiagnosticReport.image.link additional types from child elements (display, reference)

                                                        ShortDSTU2: Reference to the image source additional types
                                                        Comments

                                                        Element DiagnosticReport.image.link is mapped to FHIR R5 element DiagnosticReport.media.link as RelatedTo. The mappings for DiagnosticReport.image.link do not cover the following types based on type expansion: display, reference. The standard extension alternate-reference has been mapped as the representation of FHIR DSTU2 element DiagnosticReport.image.link with unmapped reference targets: Media.

                                                        Control0..1
                                                        TypeExtension(Alternate Reference) (Extension Type: Reference(Resource))
                                                        Is Modifierfalse
                                                        Summaryfalse
                                                        Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                                        ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                                                        218. DiagnosticReport.media.link.reference
                                                        Definition

                                                        A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.

                                                        ShortLiteral reference, Relative, internal or absolute URL
                                                        Comments

                                                        Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure "[type]/[id]" then it should be assumed that the reference is to a FHIR RESTful server.

                                                        Control0..1
                                                        This element is affected by the following invariants: ref-2, ref-1
                                                        Typestring
                                                        Is Modifierfalse
                                                        Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                                                        Summarytrue
                                                        Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                                        220. DiagnosticReport.media.link.type
                                                        Definition

                                                        The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent.

                                                        The type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. "Patient" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources).

                                                        ShortType the reference refers to (e.g. "Patient") - must be a resource in resources
                                                        Comments

                                                        This element is used to indicate the type of the target of the reference. This may be used which ever of the other elements are populated (or not). In some cases, the type of the target may be determined by inspection of the reference (e.g. a known RESTful URL) or by resolving the target of the reference.

                                                        Control0..1
                                                        BindingUnless not suitable, these codes SHALL be taken from ResourceType .
                                                        (extensible to http://hl7.org/fhir/ValueSet/resource-types|5.0.0)

                                                        Aa resource (or, for logical models, the URI of the logical model).

                                                        Typeuri
                                                        Is Modifierfalse
                                                        Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                                                        Summarytrue
                                                        Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                                        222. DiagnosticReport.media.link.identifier
                                                        Definition

                                                        An identifier for the target resource. This is used when there is no way to reference the other resource directly, either because the entity it represents is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.

                                                        ShortLogical reference, when literal reference is not known
                                                        Comments

                                                        When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy.

                                                        When both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference

                                                        Applications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.

                                                        Reference is intended to point to a structure that can potentially be expressed as a FHIR resource, though there is no need for it to exist as an actual FHIR resource instance - except in as much as an application wishes to actual find the target of the reference. The content referred to be the identifier must meet the logical constraints implied by any limitations on what resource types are permitted for the reference. For example, it would not be legitimate to send the identifier for a drug prescription if the type were Reference(Observation|DiagnosticReport). One of the use-cases for Reference.identifier is the situation where no FHIR representation exists (where the type is Reference (Any).

                                                        This element only allows for a single identifier. In the case where additional identifers are required, use the http://hl7.org/fhir/StructureDefinition/additionalIdentifier extension.

                                                        NoteThis is a business identifier, not a resource identifier (see discussion)
                                                        Control0..1
                                                        This element is affected by the following invariants: ref-2
                                                        TypeIdentifier
                                                        Is Modifierfalse
                                                        Summarytrue
                                                        Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                                        224. DiagnosticReport.media.link.display
                                                        Definition

                                                        Plain text narrative that identifies the resource in addition to the resource reference.

                                                        ShortText alternative for the resource
                                                        Comments

                                                        This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it.

                                                        Control0..1
                                                        This element is affected by the following invariants: ref-2
                                                        Typestring
                                                        Is Modifierfalse
                                                        Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                                                        Summarytrue
                                                        Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                                        226. DiagnosticReport.composition
                                                        Definition

                                                        Reference to a Composition resource instance that provides structure for organizing the contents of the DiagnosticReport.

                                                        ShortReference to a Composition resource for the DiagnosticReport structure
                                                        Comments

                                                        The Composition provides structure to the content of the DiagnosticReport (and only contains contents referenced in the DiagnosticReport) - e.g., to order the sections of an anatomic pathology structured report.

                                                        Control0..1
                                                        This element is affected by the following invariants: dgr-1
                                                        TypeReference(Composition)
                                                        Is Modifierfalse
                                                        Must Supportfalse
                                                        Summaryfalse
                                                        Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                                        228. DiagnosticReport.conclusion
                                                        Definition

                                                        Concise and clinically contextualized summary conclusion (interpretation/impression) of the diagnostic report.

                                                        ShortClinical conclusion (interpretation) of test results
                                                        Control0..1
                                                        Typemarkdown
                                                        Is Modifierfalse
                                                        Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                                                        Must Supportfalse
                                                        Summaryfalse
                                                        Requirements

                                                        Need to be able to provide a conclusion that is not lost among the basic result data.

                                                        Alternate NamesReport
                                                        Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                                        230. DiagnosticReport.conclusionCode
                                                        Definition

                                                        One or more codes that represent the summary conclusion (interpretation/impression) of the diagnostic report.

                                                        ShortCodes for the clinical conclusion of test results
                                                        Control0..*
                                                        BindingFor example codes, see SNOMEDCTClinicalFindings
                                                        (example to http://hl7.org/fhir/ValueSet/clinical-findings|5.0.0)

                                                        SNOMED CT Clinical Findings

                                                        TypeCodeableConcept
                                                        Is Modifierfalse
                                                        Must Supportfalse
                                                        Summaryfalse
                                                        Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                                        232. DiagnosticReport.presentedForm
                                                        Definition

                                                        Rich text representation of the entire result as issued by the diagnostic service. Multiple formats are allowed but they SHALL be semantically equivalent.

                                                        ShortEntire report as issued
                                                        Comments

                                                        "application/pdf" is recommended as the most reliable and interoperable in this context.

                                                        Control0..*
                                                        TypeAttachment
                                                        Is Modifierfalse
                                                        Must Supportfalse
                                                        Summaryfalse
                                                        Requirements

                                                        Gives laboratory the ability to provide its own fully formatted report for clinical fidelity.

                                                        Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                                        234. DiagnosticReport.presentedForm.id
                                                        Definition

                                                        Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

                                                        ShortUnique id for inter-element referencing
                                                        Control0..1
                                                        This element is affected by the following invariants: ele-1
                                                        Typeid
                                                        Is Modifierfalse
                                                        XML FormatIn the XML format, this property is represented as an attribute.
                                                        Summaryfalse
                                                        236. DiagnosticReport.presentedForm.extension
                                                        Definition

                                                        An Extension

                                                        ShortExtension
                                                        Control0..*
                                                        TypeExtension
                                                        Is Modifierfalse
                                                        Summaryfalse
                                                        Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                                        ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                                                        SlicingThis element introduces a set of slices on DiagnosticReport.presentedForm.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
                                                        • value @ url
                                                        • 238. DiagnosticReport.presentedForm.extension:presentedForm
                                                          Slice NamepresentedForm
                                                          Definition

                                                          DSTU2: DiagnosticReport.presentedForm additional types (Attachment) additional types from child elements (contentType, creation, data, hash, language, size, title, url)

                                                          ShortDSTU2: presentedForm additional types
                                                          Comments

                                                          Element DiagnosticReport.presentedForm is mapped to FHIR R5 element DiagnosticReport.presentedForm as SourceIsBroaderThanTarget. The mappings for DiagnosticReport.presentedForm do not cover the following types: Attachment. The mappings for DiagnosticReport.presentedForm do not cover the following types based on type expansion: contentType, creation, data, hash, language, size, title, url. "application/pdf" is recommended as the most reliable and interoperable in this context.

                                                          Control0..*
                                                          TypeExtension(DSTU2: presentedForm additional types) (Extension Type: Attachment)
                                                          Is Modifierfalse
                                                          Summaryfalse
                                                          Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                                          ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                                                          240. DiagnosticReport.presentedForm.contentType
                                                          Definition

                                                          Identifies the type of the data in the attachment and allows a method to be chosen to interpret or render the data. Includes mime type parameters such as charset where appropriate.

                                                          ShortMime type of the content, with charset etc.
                                                          Control0..1
                                                          This element is affected by the following invariants: att-1
                                                          BindingThe codes SHALL be taken from MimeTypes
                                                          (required to http://hl7.org/fhir/ValueSet/mimetypes|5.0.0)

                                                          BCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049)

                                                          Typecode
                                                          Is Modifierfalse
                                                          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                                                          Summarytrue
                                                          Requirements

                                                          Processors of the data need to be able to know how to interpret the data.

                                                          ExampleGeneral: text/plain; charset=UTF-8, image/png
                                                          Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                                          242. DiagnosticReport.presentedForm.language
                                                          Definition

                                                          The human language of the content. The value can be any valid value according to BCP 47.

                                                          ShortHuman language of the content (BCP-47)
                                                          Control0..1
                                                          BindingThe codes SHALL be taken from AllLanguages
                                                          (required to http://hl7.org/fhir/ValueSet/all-languages|5.0.0)

                                                          IETF language tag for a human language.

                                                          Typecode
                                                          Is Modifierfalse
                                                          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                                                          Summarytrue
                                                          Requirements

                                                          Users need to be able to choose between the languages in a set of attachments.

                                                          ExampleGeneral: en-AU
                                                          Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                                          244. DiagnosticReport.presentedForm.data
                                                          Definition

                                                          The actual data of the attachment - a sequence of bytes, base64 encoded.

                                                          ShortData inline, base64ed
                                                          Comments

                                                          The base64-encoded data SHALL be expressed in the same character set as the base resource XML or JSON.

                                                          Control0..1
                                                          This element is affected by the following invariants: att-1
                                                          Typebase64Binary
                                                          Is Modifierfalse
                                                          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                                                          Summaryfalse
                                                          Requirements

                                                          The data needs to able to be transmitted inline.

                                                          Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                                          246. DiagnosticReport.presentedForm.url
                                                          Definition

                                                          A location where the data can be accessed.

                                                          ShortUri where the data can be found
                                                          Comments

                                                          If both data and url are provided, the url SHALL point to the same content as the data contains. Urls may be relative references or may reference transient locations such as a wrapping envelope using cid: though this has ramifications for using signatures. Relative URLs are interpreted relative to the service url, like a resource reference, rather than relative to the resource itself. If a URL is provided, it SHALL resolve to actual data.

                                                          Control0..1
                                                          Typeurl
                                                          Is Modifierfalse
                                                          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                                                          Summarytrue
                                                          Requirements

                                                          The data needs to be transmitted by reference.

                                                          ExampleGeneral: http://www.acme.com/logo-small.png
                                                          Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                                          248. DiagnosticReport.presentedForm.size
                                                          Definition

                                                          The number of bytes of data that make up this attachment (before base64 encoding, if that is done).

                                                          ShortNumber of bytes of content (if url provided)
                                                          Comments

                                                          The number of bytes is redundant if the data is provided as a base64binary, but is useful if the data is provided as a url reference.

                                                          Control0..1
                                                          Typeinteger64
                                                          Is Modifierfalse
                                                          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                                                          Summarytrue
                                                          Requirements

                                                          Representing the size allows applications to determine whether they should fetch the content automatically in advance, or refuse to fetch it at all.

                                                          Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                                          250. DiagnosticReport.presentedForm.hash
                                                          Definition

                                                          The calculated hash of the data using SHA-1. Represented using base64.

                                                          ShortHash of the data (sha-1, base64ed)
                                                          Comments

                                                          The hash is calculated on the data prior to base64 encoding, if the data is based64 encoded. The hash is not intended to support digital signatures. Where protection against malicious threats a digital signature should be considered, see Provenance.signature for mechanism to protect a resource with a digital signature.

                                                          Control0..1
                                                          Typebase64Binary
                                                          Is Modifierfalse
                                                          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                                                          Summarytrue
                                                          Requirements

                                                          Included so that applications can verify that the contents of a location have not changed due to technical failures (e.g., storage rot, transport glitch, incorrect version).

                                                          Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                                          252. DiagnosticReport.presentedForm.title
                                                          Definition

                                                          A label or set of text to display in place of the data.

                                                          ShortLabel to display in place of the data
                                                          Comments

                                                          May sometimes be derived from the source filename.

                                                          Control0..1
                                                          Typestring
                                                          Is Modifierfalse
                                                          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                                                          Summarytrue
                                                          Requirements

                                                          Applications need a label to display to a human user in place of the actual data if the data cannot be rendered or perceived by the viewer.

                                                          ExampleGeneral: Official Corporate Logo
                                                          Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                                          254. DiagnosticReport.presentedForm.creation
                                                          Definition

                                                          The date that the attachment was first created.

                                                          ShortDate attachment was first created
                                                          Control0..1
                                                          TypedateTime
                                                          Is Modifierfalse
                                                          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                                                          Summarytrue
                                                          Requirements

                                                          This is often tracked as an integrity issue for use of the attachment.

                                                          Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                                          256. DiagnosticReport.presentedForm.height
                                                          Definition

                                                          Height of the image in pixels (photo/video).

                                                          ShortHeight of the image in pixels (photo/video)
                                                          Control0..1
                                                          TypepositiveInt
                                                          Is Modifierfalse
                                                          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                                                          Summaryfalse
                                                          Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                                          258. DiagnosticReport.presentedForm.width
                                                          Definition

                                                          Width of the image in pixels (photo/video).

                                                          ShortWidth of the image in pixels (photo/video)
                                                          Control0..1
                                                          TypepositiveInt
                                                          Is Modifierfalse
                                                          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                                                          Summaryfalse
                                                          Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                                          260. DiagnosticReport.presentedForm.frames
                                                          Definition

                                                          The number of frames in a photo. This is used with a multi-page fax, or an imaging acquisition context that takes multiple slices in a single image, or an animated gif. If there is more than one frame, this SHALL have a value in order to alert interface software that a multi-frame capable rendering widget is required.

                                                          ShortNumber of frames if > 1 (photo)
                                                          Comments

                                                          if the number of frames is not supplied, the value may be unknown. Applications should not assume that there is only one frame unless it is explicitly stated.

                                                          Control0..1
                                                          TypepositiveInt
                                                          Is Modifierfalse
                                                          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                                                          Summaryfalse
                                                          Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                                          262. DiagnosticReport.presentedForm.duration
                                                          Definition

                                                          The duration of the recording in seconds - for audio and video.

                                                          ShortLength in seconds (audio / video)
                                                          Comments

                                                          The duration might differ from occurrencePeriod if recording was paused.

                                                          Control0..1
                                                          Typedecimal
                                                          Is Modifierfalse
                                                          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                                                          Summaryfalse
                                                          Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                                                          264. DiagnosticReport.presentedForm.pages
                                                          Definition

                                                          The number of pages when printed.

                                                          ShortNumber of printed pages
                                                          Control0..1
                                                          TypepositiveInt
                                                          Is Modifierfalse
                                                          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                                                          Summaryfalse
                                                          Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))