description: null package_name: synapxe.nde derivation: constraint name: Location type: Location elements: description: {index: 16} address: {index: 32} managingOrganization: type: Reference refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-organization'] index: 35 name: {index: 14} mode: {index: 17} type: binding: {strength: required, valueSet: 'https://fhir.synapxe.sg/ValueSet/location-type'} index: 18 elements: id: {index: 19} extension: {index: 20} coding: index: 21 elements: id: {index: 22} extension: {index: 23} system: pattern: {type: uri, value: 'https://fhir.synapxe.sg/CodeSystem/location-type'} type: uri index: 24 version: {index: 25} code: {index: 26} display: {index: 27} userSelected: {index: 28} extensions: {} required: [code, display, system] text: {index: 29} extensions: {} required: [coding] characteristic: {index: 37} virtualService: {index: 39} extension: {index: 1} 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()} 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} short: A grouping of people or organizations with a common purpose type: Resource index: 0 alias: {index: 15} status: {index: 12} identifier: index: 3 elements: id: {index: 4} extension: {index: 5} use: {index: 6} type: {index: 7} system: {index: 8} value: {index: 9} period: {index: 10} assigner: {index: 11} extensions: {} required: [system, value] hoursOfOperation: {index: 38} position: {index: 34} form: {index: 33} operationalStatus: {index: 13} partOf: {index: 36} endpoint: {index: 40} contact: index: 30 elements: organization: type: Reference refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-organization'] index: 31 modifierExtension: {index: 2} package_version: 1.0.0 extensions: {} class: profile kind: resource url: https://fhir.synapxe.sg/StructureDefinition/profile-location base: http://hl7.org/fhir/StructureDefinition/Location version: null required: [contained, identifier, managingOrganization, name, type]