PackagesCanonicalsLogsProblems
    Packages
    socialcaredataservice.stu3@0.0.3
    https://fhir.nottinghamshire.gov.uk/STU3/StructureDefinition/CareConnect-CDS-Procedure-1
description: Constrained version of CareConnect-Procedure-1 Profile (v1.1.0) to share details of the Social Care Support Reasons (in particualr the Primary Support Reason) as part of the CareDataService (CDS). The Primary Support Reason is used to for National Reporting on Short and Long Term Activity (SALT)
package_name: socialcaredataservice.stu3
derivation: constraint
name: CareConnect-CDS-Procedure-1
type: Procedure
elements:
  id: {mustSupport: true, index: 0}
  status: {mustSupport: true, index: 1}
  category:
    mustSupport: true
    index: 2
    elements:
      coding:
        index: 3
        elements:
          system:
            pattern: {type: Uri, value: 'http://snomed.info/sct'}
            index: 4
          code:
            pattern: {type: Code, value: '299751000000102'}
            index: 5
          display:
            pattern: {type: String, value: Social services procedure}
            index: 6
        required: [display, system, code]
    required: [coding]
  subject:
    type: Reference
    mustSupport: true
    refers: ['https://fhir.nottinghamshire.gov.uk/STU3/StructureDefinition/CareConnect-CDS-Patient-1']
    index: 7
  performedPeriod:
    type: Period
    mustSupport: true
    index: 8
    slicing:
      slices:
        performedPeriod:
          match: {}
          schema:
            type: Period
            mustSupport: true
            index: 8
            elements:
              start: {index: 9}
            required: [start]
  reasonCode:
    mustSupport: true
    index: 10
    extensions:
      cds-PrimarySupportReasonFlag: {url: h, type: Extension, index: 12}
    elements:
      extension:
        index: 11
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            cds-PrimarySupportReasonFlag:
              match: {url: null}
              schema: {type: Extension, url: h, index: 12}
      coding:
        index: 13
        slicing:
          rules: open
          discriminator:
          - {path: system, type: value}
          min: null
          slices:
            supportReason:
              match: {system: 'https://fhir.nottinghamshire.gov.uk/STU3/codesystem/CDS-SocialCareSupportReason'}
              schema:
                index: 14
                elements:
                  system:
                    pattern: {type: Uri, value: 'https://fhir.nottinghamshire.gov.uk/STU3/codesystem/CDS-SocialCareSupportReason'}
                    index: 15
                  code: {index: 16}
                  display: {index: 17}
                required: [display, system, code]
      text: {index: 18}
    required: [text]
package_version: 0.0.3
class: profile
kind: resource
url: https://fhir.nottinghamshire.gov.uk/STU3/StructureDefinition/CareConnect-CDS-Procedure-1
base: https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Procedure-1
version: 0.0.1
required: [id, reasonCode, category]