description: null package_name: hsg.asg-well derivation: constraint name: profile-Organization-notify-aac type: Parameters elements: id: {index: 0} meta: {index: 1} implicitRules: {index: 2} language: {index: 3} parameter: short: n/a array: true min: 3 max: 3 index: 4 elements: resource: short: n/a 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.exists() and (''#''+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url)))) or descendants().where(reference = ''#'').exists() or descendants().where(as(canonical) = ''#'').exists() or descendants().where(as(uri) = ''#'').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()} org-1: {human: 'The organization SHALL at least have a name or an identifier, and possibly more than one', source: 'http://hl7.org/fhir/StructureDefinition/Organization', severity: error, expression: (identifier.count() + name.count()) > 0} index: 5 slicing: rules: closed discriminator: - {path: name, type: value} min: 3 max: 3 slices: message-id: match: {name: message-id} schema: short: n/a _required: true index: 6 elements: id: {index: 7} name: short: n/a pattern: {type: String, value: message-id} index: 8 value: short: n/a choices: [valueString] index: 10 valueString: {type: string, short: n/a, choiceOf: value, index: 11} resource: {index: 12} part: {index: 13} required: [valueString, value] last-updated-time: match: {name: last-updated-time} schema: short: n/a _required: true index: 14 elements: id: {index: 15} name: short: n/a pattern: {type: String, value: last-updated-time} index: 16 value: short: n/a choices: [valueDateTime] index: 18 valueDateTime: {type: dateTime, short: n/a, choiceOf: value, index: 19} resource: {index: 20} part: {index: 21} required: [valueDateTime, value] aac: match: {name: aac} schema: short: n/a _required: true index: 22 elements: id: {index: 23} name: short: n/a pattern: {type: String, value: aac} index: 24 value: choices: [] index: 26 resource: {type: Resource, index: 27} part: {index: 28} required: [resource] package_version: 1.0.11 class: profile kind: resource url: https://ihis.sg/StructureDefinition/Parameters-notify-asg-aac base: http://hl7.org/fhir/StructureDefinition/Parameters version: null