PackagesCanonicalsLogsProblems
    Packages
    synapxe.nehr@1.0.0
    https://fhir.synapxe.sg/StructureDefinition/profile-careplan
description: null
package_name: synapxe.nehr
derivation: constraint
name: CarePlan
type: CarePlan
elements:
  description: {index: 8}
  addresses: {type: CodeableReference, index: 15}
  instantiatesCanonical: {index: 2}
  instantiatesUri: {index: 3}
  supportingInfo: {index: 16}
  encounter:
    type: Reference
    refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-encounter']
    index: 10
  goal:
    type: Reference
    refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-goal']
    index: 17
  created: {index: 11}
  title: {index: 7}
  contained:
    constraint:
      dom-2: {human: 'If the resource is contained in another resource, it SHALL NOT contain nested Resources', source: 'http://hl7.org/fhir/StructureDefinition/DomainResource', severity: error, expression: contained.contained.empty()}
      dom-4: {human: 'If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated', source: 'http://hl7.org/fhir/StructureDefinition/DomainResource', severity: error, expression: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()}
      dom-3: {human: 'If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource', source: 'http://hl7.org/fhir/StructureDefinition/DomainResource', severity: error, expression: 'contained.where(((''#''+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = ''#'').exists() or descendants().where(ofType(canonical) = ''#'').exists() or descendants().where(ofType(canonical) = ''#'').exists()).not()).trace(''unmatched'', id).empty()'}
      dom-6: {human: A resource should have narrative for robust management, source: 'http://hl7.org/fhir/StructureDefinition/DomainResource', severity: warning, expression: text.`div`.exists()}
      dom-5: {human: 'If a resource is contained in another resource, it SHALL NOT have a security label', source: 'http://hl7.org/fhir/StructureDefinition/DomainResource', severity: error, expression: contained.meta.security.empty()}
    short: Information about an individual or animal receiving health care services
    type: Resource
    index: 0
  custodian: {index: 12}
  contributor:
    type: Reference
    refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-practitioner']
    index: 13
  identifier: {index: 1}
  replaces: {index: 5}
  basedOn: {index: 4}
  partOf: {index: 6}
  subject:
    type: Reference
    refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-patient']
    index: 9
  careTeam: {index: 14}
package_version: 1.0.0
class: profile
kind: resource
url: https://fhir.synapxe.sg/StructureDefinition/profile-careplan
base: http://hl7.org/fhir/StructureDefinition/CarePlan
version: null
required: [encounter, identifier]