---
:name: us_core_diagnosticreport_note
:class_name: USCorev400DiagnosticreportNoteSequence
:version: v4.0.0
:reformatted_version: v400
:resource: DiagnosticReport
:profile_url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note
:profile_name: US Core DiagnosticReport Profile for Report and Note exchange
:profile_version: 4.0.0
:title: DiagnosticReport for Report and Note exchange
:short_description: Verify support for the server capabilities required by the US
  Core DiagnosticReport Profile for Report and Note exchange.
:is_delayed: false
:interactions:
- :code: create
  :expectation: SHALL
- :code: search-type
  :expectation: SHALL
- :code: read
  :expectation: SHALL
- :code: vread
  :expectation: SHOULD
- :code: update
  :expectation: MAY
- :code: patch
  :expectation: MAY
- :code: delete
  :expectation: MAY
- :code: history-instance
  :expectation: SHOULD
- :code: history-type
  :expectation: MAY
:operations: []
:searches:
- :expectation: SHALL
  :names:
  - patient
  - category
  :names_not_must_support_or_mandatory: []
  :must_support_or_mandatory: true
- :names:
  - patient
  :expectation: SHALL
  :names_not_must_support_or_mandatory: []
  :must_support_or_mandatory: true
- :expectation: SHOULD
  :names:
  - patient
  - code
  - date
  :names_not_must_support_or_mandatory: []
  :must_support_or_mandatory: true
- :expectation: SHOULD
  :names:
  - patient
  - status
  :names_not_must_support_or_mandatory: []
  :must_support_or_mandatory: true
- :expectation: SHALL
  :names:
  - patient
  - category
  - date
  :names_not_must_support_or_mandatory: []
  :must_support_or_mandatory: true
- :expectation: SHALL
  :names:
  - patient
  - code
  :names_not_must_support_or_mandatory: []
  :must_support_or_mandatory: true
:search_definitions:
  :patient:
    :paths:
    - subject
    :full_paths:
    - DiagnosticReport.subject
    :comparators: {}
    :values: []
    :type: Reference
    :contains_multiple: false
    :multiple_or: MAY
  :code:
    :paths:
    - code
    :full_paths:
    - DiagnosticReport.code
    :comparators: {}
    :values: []
    :type: CodeableConcept
    :contains_multiple: false
    :multiple_or: SHOULD
  :date:
    :paths:
    - effective
    :full_paths:
    - DiagnosticReport.effective
    :comparators:
      :eq: MAY
      :ne: MAY
      :gt: SHALL
      :ge: SHALL
      :lt: SHALL
      :le: SHALL
      :sa: MAY
      :eb: MAY
      :ap: MAY
    :values: []
    :type: date
    :contains_multiple: false
    :multiple_or: MAY
  :category:
    :paths:
    - category
    :full_paths:
    - DiagnosticReport.category
    :comparators: {}
    :values:
    - LP29684-5
    - LP29708-2
    - LP7839-6
    :type: CodeableConcept
    :contains_multiple: true
    :multiple_or: MAY
  :status:
    :paths:
    - status
    :full_paths:
    - DiagnosticReport.status
    :comparators: {}
    :values:
    - registered
    - partial
    - preliminary
    - final
    - amended
    - corrected
    - appended
    - cancelled
    - entered-in-error
    - unknown
    :type: code
    :contains_multiple: false
    :multiple_or: SHALL
:include_params: []
:revincludes:
- Provenance:target
:required_concepts: []
:must_supports:
  :extensions: []
  :slices: []
  :elements:
  - :path: status
  - :path: category
  - :path: code
  - :path: subject
    :types:
    - Reference
    :target_profiles:
    - http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient
  - :path: encounter
    :types:
    - Reference
    :target_profiles:
    - http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter
  - :path: effectiveDateTime
    :original_path: effective[x]
  - :path: issued
  - :path: performer
    :types:
    - Reference
    :target_profiles:
    - http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner
    - http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization
  - :path: presentedForm
:mandatory_elements:
- DiagnosticReport.status
- DiagnosticReport.category
- DiagnosticReport.code
- DiagnosticReport.subject
- DiagnosticReport.effective[x]
- DiagnosticReport.media.link
:bindings:
- :type: code
  :strength: required
  :system: http://hl7.org/fhir/ValueSet/diagnostic-report-status
  :path: status
:references:
- :path: DiagnosticReport.basedOn
  :profiles:
  - http://hl7.org/fhir/StructureDefinition/CarePlan
  - http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation
  - http://hl7.org/fhir/StructureDefinition/MedicationRequest
  - http://hl7.org/fhir/StructureDefinition/NutritionOrder
  - http://hl7.org/fhir/StructureDefinition/ServiceRequest
- :path: DiagnosticReport.subject
  :profiles:
  - http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient
- :path: DiagnosticReport.encounter
  :profiles:
  - http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter
- :path: DiagnosticReport.performer
  :profiles:
  - http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner
  - http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization
  - http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole
  - http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam
- :path: DiagnosticReport.resultsInterpreter
  :profiles:
  - http://hl7.org/fhir/StructureDefinition/Practitioner
  - http://hl7.org/fhir/StructureDefinition/PractitionerRole
  - http://hl7.org/fhir/StructureDefinition/Organization
  - http://hl7.org/fhir/StructureDefinition/CareTeam
- :path: DiagnosticReport.specimen
  :profiles:
  - http://hl7.org/fhir/StructureDefinition/Specimen
- :path: DiagnosticReport.result
  :profiles:
  - http://hl7.org/fhir/StructureDefinition/Observation
- :path: DiagnosticReport.imagingStudy
  :profiles:
  - http://hl7.org/fhir/StructureDefinition/ImagingStudy
- :path: DiagnosticReport.media.link
  :profiles:
  - http://hl7.org/fhir/StructureDefinition/Media
:tests:
- :id: us_core_v400_diagnostic_report_note_patient_category_search_test
  :file_name: diagnostic_report_note_patient_category_search_test.rb
- :id: us_core_v400_diagnostic_report_note_patient_search_test
  :file_name: diagnostic_report_note_patient_search_test.rb
- :id: us_core_v400_diagnostic_report_note_patient_code_date_search_test
  :file_name: diagnostic_report_note_patient_code_date_search_test.rb
- :id: us_core_v400_diagnostic_report_note_patient_status_search_test
  :file_name: diagnostic_report_note_patient_status_search_test.rb
- :id: us_core_v400_diagnostic_report_note_patient_category_date_search_test
  :file_name: diagnostic_report_note_patient_category_date_search_test.rb
- :id: us_core_v400_diagnostic_report_note_patient_code_search_test
  :file_name: diagnostic_report_note_patient_code_search_test.rb
- :id: us_core_v400_diagnostic_report_note_read_test
  :file_name: diagnostic_report_note_read_test.rb
- :id: us_core_v400_diagnostic_report_note_provenance_revinclude_search_test
  :file_name: diagnostic_report_note_provenance_revinclude_search_test.rb
- :id: us_core_v400_diagnostic_report_note_validation_test
  :file_name: diagnostic_report_note_validation_test.rb
- :id: us_core_v400_diagnostic_report_note_must_support_test
  :file_name: diagnostic_report_note_must_support_test.rb
- :id: us_core_v400_diagnostic_report_note_reference_resolution_test
  :file_name: diagnostic_report_note_reference_resolution_test.rb
:id: us_core_v400_diagnostic_report_note
:file_name: diagnostic_report_note_group.rb
:delayed_references:
- :path: encounter
  :resources:
  - Encounter
- :path: performer
  :resources:
  - Practitioner
  - Organization
  - PractitionerRole