PackagesCanonicalsLogsProblems
    Packages
    ndhm.in@5.0.0
    https://nrces.in/ndhm/fhir/r4/StructureDefinition/PrescriptionRecord
description: The Clinical Artifact represents the medication advice to the patient in compliance with the Pharmacy Council of India (PCI) guidelines, which can be shared across the health ecosystem.
package_name: ndhm.in
derivation: constraint
name: PrescriptionRecord
type: Composition
elements:
  date: {mustSupport: true, index: 10}
  encounter:
    type: Reference
    refers: ['https://nrces.in/ndhm/fhir/r4/StructureDefinition/Encounter']
    index: 9
  section:
    short: Composition is broken into sections / Prescription record contains single section to define the relevant medication requests
    mustSupport: true
    index: 17
    elements:
      code:
        elements:
          coding:
            mustSupport: true
            index: 18
            elements:
              system:
                pattern: {type: Uri, value: 'http://snomed.info/sct'}
                index: 19
              code:
                pattern: {type: Code, value: '440545006'}
                index: 20
              display:
                pattern: {type: String, value: Prescription record}
                index: 21
            required: [display, system, code]
          text: {mustSupport: true, index: 22}
      entry:
        refers: ['https://nrces.in/ndhm/fhir/r4/StructureDefinition/Binary', 'https://nrces.in/ndhm/fhir/r4/StructureDefinition/MedicationRequest']
        type: Reference
        mustSupport: true
        index: 23
        slicing:
          rules: closed
          discriminator:
          - {path: type, type: value}
          min: 1
          slices:
            MedicationRequest:
              match: {type: MedicationRequest}
              schema:
                type: Reference
                mustSupport: true
                refers: ['https://nrces.in/ndhm/fhir/r4/StructureDefinition/MedicationRequest']
                index: 24
                elements:
                  reference: {index: 25}
                  type:
                    pattern: {type: Uri, value: MedicationRequest}
                    index: 26
                required: [reference, type]
            Binary:
              match: {type: Binary}
              schema:
                type: Reference
                refers: ['https://nrces.in/ndhm/fhir/r4/StructureDefinition/Binary']
                index: 27
                elements:
                  reference: {index: 28}
                  type:
                    pattern: {type: Uri, value: Binary}
                    index: 29
                required: [reference, type]
    required: [entry]
  attester:
    mustSupport: true
    index: 14
    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: 15
  type:
    short: Kind of composition ("Prescription record ")
    mustSupport: true
    index: 1
    elements:
      coding:
        short: Code defined by a terminology system/ Code defined by SNOMED CT for Prescription record
        index: 2
        elements:
          system:
            pattern: {type: Uri, value: 'http://snomed.info/sct'}
            index: 3
          code:
            pattern: {type: Code, value: '440545006'}
            index: 4
          display:
            pattern: {type: String, value: Prescription record}
            index: 5
        required: [display, code]
      text: {mustSupport: true, index: 6}
    required: [coding]
  title: {mustSupport: true, index: 13}
  author:
    type: Reference
    short: Who and/or what authored the composition/Presciption record
    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: 11
    elements:
      reference: {index: 12}
    required: [reference]
  custodian:
    type: Reference
    refers: ['https://nrces.in/ndhm/fhir/r4/StructureDefinition/Organization']
    index: 16
  status: {mustSupport: true, index: 0}
  subject:
    type: Reference
    short: Who and/or what the composition/Prescription record is about
    mustSupport: true
    refers: ['https://nrces.in/ndhm/fhir/r4/StructureDefinition/Patient']
    index: 7
    elements:
      reference: {index: 8}
    required: [reference]
package_version: 5.0.0
class: profile
kind: resource
url: https://nrces.in/ndhm/fhir/r4/StructureDefinition/PrescriptionRecord
base: http://hl7.org/fhir/StructureDefinition/Composition
version: 5.0.0
required: [section, subject]