PackagesCanonicalsLogsProblems
    Packages
    ndhm.in@2.0.1
    https://nrces.in/ndhm/fhir/r4/StructureDefinition/DischargeSummaryRecord
description: Clinical document used to represent the discharge summary record for ABDM HDE data set.
package_name: ndhm.in
derivation: constraint
name: DischargeSummaryRecord
type: Composition
elements:
  status: {mustSupport: true, index: 0}
  type:
    short: Kind of composition (SNOMED CT if possible)
    mustSupport: true
    index: 1
    elements:
      coding:
        index: 2
        elements:
          system:
            pattern: {type: Uri, value: 'http://snomed.info/sct'}
            index: 3
          code:
            pattern: {type: Code, value: '373942005'}
            index: 4
          display:
            pattern: {type: String, value: Discharge summary}
            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
    mustSupport: true
    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
  attester:
    mustSupport: true
    index: 11
    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: 12
  custodian:
    type: Reference
    refers: ['https://nrces.in/ndhm/fhir/r4/StructureDefinition/Organization']
    index: 13
  section:
    mustSupport: true
    index: 14
    slicing:
      rules: openAtEnd
      discriminator:
      - {path: code.coding.code, type: value}
      min: 1
      slices:
        CarePlan:
          match:
            code:
              coding: {code: '734163000'}
          schema:
            index: 79
            elements:
              code:
                elements:
                  coding:
                    mustSupport: true
                    index: 80
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        index: 81
                      code:
                        pattern: {type: Code, value: '734163000'}
                        index: 82
                      display:
                        pattern: {type: String, value: Care plan}
                        index: 83
                    required: [display, code]
                  text: {mustSupport: true, index: 84}
              entry:
                type: Reference
                mustSupport: true
                refers: ['https://nrces.in/ndhm/fhir/r4/StructureDefinition/CarePlan']
                index: 85
                elements:
                  reference: {index: 86}
                required: [reference]
        MedicalHistory:
          match:
            code:
              coding: {code: '1003642006'}
          schema:
            index: 39
            elements:
              code:
                elements:
                  coding:
                    mustSupport: true
                    index: 40
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        index: 41
                      code:
                        pattern: {type: Code, value: '1003642006'}
                        index: 42
                      display:
                        pattern: {type: String, value: Past medical history section}
                        index: 43
                    required: [display, code]
                  text: {mustSupport: true, index: 44}
              entry:
                type: Reference
                mustSupport: true
                refers: ['https://nrces.in/ndhm/fhir/r4/StructureDefinition/Condition', 'https://nrces.in/ndhm/fhir/r4/StructureDefinition/Procedure']
                index: 45
                elements:
                  reference: {index: 46}
                required: [reference]
        Procedures:
          match:
            code:
              coding: {code: '1003640003'}
          schema:
            index: 71
            elements:
              code:
                elements:
                  coding:
                    mustSupport: true
                    index: 72
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        index: 73
                      code:
                        pattern: {type: Code, value: '1003640003'}
                        index: 74
                      display:
                        pattern: {type: String, value: History of past procedure section}
                        index: 75
                    required: [display, code]
                  text: {mustSupport: true, index: 76}
              entry:
                type: Reference
                mustSupport: true
                refers: ['https://nrces.in/ndhm/fhir/r4/StructureDefinition/Procedure']
                index: 77
                elements:
                  reference: {index: 78}
                required: [reference]
        DocumentReference:
          match:
            code:
              coding: {code: '373942005'}
          schema:
            index: 87
            elements:
              code:
                elements:
                  coding:
                    mustSupport: true
                    index: 88
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        index: 89
                      code:
                        pattern: {type: Code, value: '373942005'}
                        index: 90
                      display:
                        pattern: {type: String, value: Discharge summary}
                        index: 91
                    required: [display, code]
                  text: {mustSupport: true, index: 92}
              entry:
                type: Reference
                mustSupport: true
                refers: ['https://nrces.in/ndhm/fhir/r4/StructureDefinition/DocumentReference']
                index: 93
                elements:
                  reference: {index: 94}
                required: [reference]
        Investigations:
          match:
            code:
              coding: {code: '721981007'}
          schema:
            index: 55
            elements:
              code:
                elements:
                  coding:
                    mustSupport: true
                    index: 56
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        index: 57
                      code:
                        pattern: {type: Code, value: '721981007'}
                        index: 58
                      display:
                        pattern: {type: String, value: Diagnostic studies report}
                        index: 59
                    required: [display, code]
                  text: {mustSupport: true, index: 60}
              entry:
                type: Reference
                mustSupport: true
                refers: ['https://nrces.in/ndhm/fhir/r4/StructureDefinition/DiagnosticReportImaging', 'https://nrces.in/ndhm/fhir/r4/StructureDefinition/DiagnosticReportLab']
                index: 61
                elements:
                  reference: {index: 62}
                required: [reference]
        Allergies:
          match:
            code:
              coding: {code: '722446000'}
          schema:
            index: 31
            elements:
              code:
                elements:
                  coding:
                    mustSupport: true
                    index: 32
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        index: 33
                      code:
                        pattern: {type: Code, value: '722446000'}
                        index: 34
                      display:
                        pattern: {type: String, value: Allergy record}
                        index: 35
                    required: [display, code]
                  text: {mustSupport: true, index: 36}
              entry:
                type: Reference
                mustSupport: true
                refers: ['https://nrces.in/ndhm/fhir/r4/StructureDefinition/AllergyIntolerance']
                index: 37
                elements:
                  reference: {index: 38}
                required: [reference]
        ChiefComplaints:
          match:
            code:
              coding: {code: '422843007'}
          schema:
            index: 15
            elements:
              code:
                elements:
                  coding:
                    mustSupport: true
                    index: 16
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        index: 17
                      code:
                        pattern: {type: Code, value: '422843007'}
                        index: 18
                      display:
                        pattern: {type: String, value: Chief complaint section}
                        index: 19
                    required: [display, code]
                  text: {mustSupport: true, index: 20}
              entry:
                type: Reference
                mustSupport: true
                refers: ['https://nrces.in/ndhm/fhir/r4/StructureDefinition/Condition']
                index: 21
                elements:
                  reference: {index: 22}
                required: [reference]
        PhysicalExamination:
          match:
            code:
              coding: {code: '425044008'}
          schema:
            index: 23
            elements:
              code:
                elements:
                  coding:
                    mustSupport: true
                    index: 24
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        index: 25
                      code:
                        pattern: {type: Code, value: '425044008'}
                        index: 26
                      display:
                        pattern: {type: String, value: Physical exam section}
                        index: 27
                    required: [display, code]
                  text: {mustSupport: true, index: 28}
              entry:
                type: Reference
                mustSupport: true
                refers: ['https://nrces.in/ndhm/fhir/r4/StructureDefinition/Observation']
                index: 29
                elements:
                  reference: {index: 30}
                required: [reference]
        Medications:
          match:
            code:
              coding: {code: '1003606003'}
          schema:
            index: 63
            elements:
              code:
                elements:
                  coding:
                    mustSupport: true
                    index: 64
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        index: 65
                      code:
                        pattern: {type: Code, value: '1003606003'}
                        index: 66
                      display:
                        pattern: {type: String, value: Medication history section}
                        index: 67
                    required: [display, code]
                  text: {mustSupport: true, index: 68}
              entry:
                type: Reference
                mustSupport: true
                refers: ['https://nrces.in/ndhm/fhir/r4/StructureDefinition/MedicationRequest']
                index: 69
                elements:
                  reference: {index: 70}
                required: [reference]
        FamilyHistory:
          match:
            code:
              coding: {code: '422432008'}
          schema:
            index: 47
            elements:
              code:
                elements:
                  coding:
                    mustSupport: true
                    index: 48
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://snomed.info/sct'}
                        index: 49
                      code:
                        pattern: {type: Code, value: '422432008'}
                        index: 50
                      display:
                        pattern: {type: String, value: Family history section}
                        index: 51
                    required: [display, code]
                  text: {mustSupport: true, index: 52}
              entry:
                type: Reference
                mustSupport: true
                refers: ['https://nrces.in/ndhm/fhir/r4/StructureDefinition/FamilyMemberHistory']
                index: 53
                elements:
                  reference: {index: 54}
                required: [reference]
package_version: 2.0.1
class: profile
kind: resource
url: https://nrces.in/ndhm/fhir/r4/StructureDefinition/DischargeSummaryRecord
base: http://hl7.org/fhir/StructureDefinition/Composition
version: 2.0.1
required: [encounter, section, subject]