PackagesCanonicalsLogsProblems
    Packages
    ndhm.in@3.0.1
    https://nrces.in/ndhm/fhir/r4/StructureDefinition/DiagnosticReportRecord
description: The Clinical Artifact represents diagnostic reports including Radiology and Laboratory reports that can be shared across the health ecosystem.
package_name: ndhm.in
derivation: constraint
name: DiagnosticReportRecord
type: Composition
elements:
  status: {mustSupport: true, index: 0}
  type:
    short: Kind of composition (SNOMED CT if possible)
    binding: {strength: preferred, valueSet: 'https://nrces.in/ndhm/fhir/r4/ValueSet/ndhm-diagnostic-report-type'}
    mustSupport: true
    index: 1
    elements:
      coding:
        index: 2
        elements:
          system:
            pattern: {type: Uri, value: 'http://snomed.info/sct'}
            index: 3
          code: {index: 4}
          display: {index: 5}
        required: [display, code]
      text: {mustSupport: true, index: 6}
    required: [coding]
  subject:
    type: Reference
    mustSupport: true
    refers: ['https://nrces.in/ndhm/fhir/r4/StructureDefinition/Patient']
    index: 7
    elements:
      reference: {index: 8}
    required: [reference]
  encounter:
    type: Reference
    refers: ['https://nrces.in/ndhm/fhir/r4/StructureDefinition/Encounter']
    index: 9
  author:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson', 'https://nrces.in/ndhm/fhir/r4/StructureDefinition/Organization', 'https://nrces.in/ndhm/fhir/r4/StructureDefinition/Patient', 'https://nrces.in/ndhm/fhir/r4/StructureDefinition/Practitioner', 'https://nrces.in/ndhm/fhir/r4/StructureDefinition/PractitionerRole']
    index: 10
    elements:
      reference: {index: 11}
    required: [reference]
  attester:
    mustSupport: true
    index: 12
    elements:
      party:
        type: Reference
        refers: ['http://hl7.org/fhir/StructureDefinition/RelatedPerson', 'https://nrces.in/ndhm/fhir/r4/StructureDefinition/Organization', 'https://nrces.in/ndhm/fhir/r4/StructureDefinition/Patient', 'https://nrces.in/ndhm/fhir/r4/StructureDefinition/Practitioner', 'https://nrces.in/ndhm/fhir/r4/StructureDefinition/PractitionerRole']
        index: 13
  custodian:
    type: Reference
    refers: ['https://nrces.in/ndhm/fhir/r4/StructureDefinition/Organization']
    index: 14
  section:
    mustSupport: true
    index: 15
    elements:
      code:
        elements:
          coding:
            mustSupport: true
            index: 16
            elements:
              system:
                pattern: {type: Uri, value: 'http://snomed.info/sct'}
                index: 17
              code: {index: 18}
              display: {index: 19}
            required: [display, code]
          text: {mustSupport: true, index: 20}
      entry:
        min: 1
        index: 21
        refers: ['https://nrces.in/ndhm/fhir/r4/StructureDefinition/DiagnosticReportImaging', 'https://nrces.in/ndhm/fhir/r4/StructureDefinition/DiagnosticReportLab', 'https://nrces.in/ndhm/fhir/r4/StructureDefinition/DocumentReference']
        slicing:
          rules: closed
          discriminator:
          - {path: type, type: value}
          min: 1
          max: 2
          slices:
            DiagnosticReport:
              match: {type: DiagnosticReport}
              schema:
                type: Reference
                refers: ['https://nrces.in/ndhm/fhir/r4/StructureDefinition/DiagnosticReportImaging', 'https://nrces.in/ndhm/fhir/r4/StructureDefinition/DiagnosticReportLab']
                index: 22
                elements:
                  reference: {index: 23}
                  type:
                    pattern: {type: Uri, value: DiagnosticReport}
                    index: 24
                required: [reference, type]
            DocumentReference:
              match: {type: DocumentReference}
              schema:
                type: Reference
                refers: ['https://nrces.in/ndhm/fhir/r4/StructureDefinition/DocumentReference']
                index: 25
                elements:
                  reference: {index: 26}
                  type:
                    pattern: {type: Uri, value: DocumentReference}
                    index: 27
                required: [reference, type]
        type: Reference
        mustSupport: true
        array: true
        max: 2
    required: [entry]
package_version: 3.0.1
class: profile
kind: resource
url: https://nrces.in/ndhm/fhir/r4/StructureDefinition/DiagnosticReportRecord
base: http://hl7.org/fhir/StructureDefinition/Composition
version: 3.0.1
required: [section, subject]