PackagesCanonicalsLogsProblems
    Packages
    rs/ndhm.in@6.0.0
    https://nrces.in/ndhm/fhir/r4/StructureDefinition/WellnessRecord
description: The Clinical Artifact represents regular wellness information of patients typically through the Patient Health Record (PHR) application covering clinical information such as vitals, physical examination, general wellness, women wellness, etc., that can be shared across the health ecosystem.
package_name: rs/ndhm.in
derivation: constraint
name: WellnessRecord
type: Composition
elements:
  date: {mustSupport: true, index: 6}
  encounter:
    type: Reference
    refers: ['https://nrces.in/ndhm/fhir/r4/StructureDefinition/Encounter']
    index: 5
  section:
    mustSupport: true
    index: 12
    slicing:
      rules: openAtEnd
      discriminator:
      - {path: title, type: value}
      min: 1
      slices:
        VitalSigns:
          match: {title: Vital Signs}
          schema:
            index: 13
            elements:
              title:
                pattern: {type: string, value: Vital Signs}
                mustSupport: true
                type: string
                index: 14
              entry:
                type: Reference
                mustSupport: true
                refers: ['https://nrces.in/ndhm/fhir/r4/StructureDefinition/ObservationVitalSigns']
                index: 15
                elements:
                  reference: {index: 16}
                required: [reference]
            required: [title]
        BodyMeasurement:
          match: {title: Body Measurement}
          schema:
            index: 17
            elements:
              title:
                pattern: {type: string, value: Body Measurement}
                mustSupport: true
                type: string
                index: 18
              entry:
                type: Reference
                mustSupport: true
                refers: ['https://nrces.in/ndhm/fhir/r4/StructureDefinition/ObservationBodyMeasurement']
                index: 19
                elements:
                  reference: {index: 20}
                required: [reference]
            required: [title]
        PhysicalActivity:
          match: {title: Physical Activity}
          schema:
            index: 21
            elements:
              title:
                pattern: {type: string, value: Physical Activity}
                type: string
                index: 22
              entry:
                type: Reference
                mustSupport: true
                refers: ['https://nrces.in/ndhm/fhir/r4/StructureDefinition/ObservationPhysicalActivity']
                index: 23
                elements:
                  reference: {index: 24}
                required: [reference]
            required: [title]
        GeneralAssessment:
          match: {title: General Assessment}
          schema:
            index: 25
            elements:
              title:
                pattern: {type: string, value: General Assessment}
                type: string
                index: 26
              entry:
                type: Reference
                mustSupport: true
                refers: ['https://nrces.in/ndhm/fhir/r4/StructureDefinition/ObservationGeneralAssessment']
                index: 27
                elements:
                  reference: {index: 28}
                required: [reference]
            required: [title]
        WomenHealth:
          match: {title: Women Health}
          schema:
            index: 29
            elements:
              title:
                pattern: {type: string, value: Women Health}
                type: string
                index: 30
              entry:
                type: Reference
                mustSupport: true
                refers: ['https://nrces.in/ndhm/fhir/r4/StructureDefinition/ObservationWomenHealth']
                index: 31
                elements:
                  reference: {index: 32}
                required: [reference]
            required: [title]
        Lifestyle:
          match: {title: Lifestyle}
          schema:
            index: 33
            elements:
              title:
                pattern: {type: string, value: Lifestyle}
                type: string
                index: 34
              entry:
                type: Reference
                mustSupport: true
                refers: ['https://nrces.in/ndhm/fhir/r4/StructureDefinition/ObservationLifestyle']
                index: 35
                elements:
                  reference: {index: 36}
                required: [reference]
            required: [title]
        OtherObservations:
          match: {title: Other Observations}
          schema:
            index: 37
            elements:
              title:
                pattern: {type: string, value: Other Observations}
                type: string
                index: 38
              entry:
                type: Reference
                mustSupport: true
                refers: ['https://nrces.in/ndhm/fhir/r4/StructureDefinition/Condition', 'https://nrces.in/ndhm/fhir/r4/StructureDefinition/Observation']
                index: 39
                elements:
                  reference: {index: 40}
                required: [reference]
            required: [title]
        DocumentReference:
          match: {title: Document Reference}
          schema:
            index: 41
            elements:
              title:
                pattern: {type: string, value: Document Reference}
                mustSupport: true
                type: string
                index: 42
              entry:
                type: Reference
                mustSupport: true
                refers: ['https://nrces.in/ndhm/fhir/r4/StructureDefinition/DocumentReference']
                index: 43
                elements:
                  reference: {index: 44}
                required: [reference]
            required: [title]
  attester:
    mustSupport: true
    index: 9
    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: 10
  type:
    mustSupport: true
    index: 1
    elements:
      text:
        pattern: {type: string, value: Wellness Record}
        mustSupport: true
        type: string
        index: 2
  title: {mustSupport: true, index: 8}
  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: 7
  custodian:
    type: Reference
    refers: ['https://nrces.in/ndhm/fhir/r4/StructureDefinition/Organization']
    index: 11
  status: {mustSupport: true, index: 0}
  subject:
    type: Reference
    mustSupport: true
    refers: ['https://nrces.in/ndhm/fhir/r4/StructureDefinition/Patient']
    index: 3
    elements:
      reference: {index: 4}
    required: [reference]
package_version: 6.0.0
class: profile
kind: resource
url: https://nrces.in/ndhm/fhir/r4/StructureDefinition/WellnessRecord
base: http://hl7.org/fhir/StructureDefinition/Composition
version: 6.0.0
required: [section, subject]