Clinical Note Document - Local Development build (v26.0.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
| Official URL: http://digitalhealth.gov.au/fhir/cnd/StructureDefinition/cnd-department | Version: 26.0.0 | |||
| Active as of 2026-06-16 | Computable Name: CND_Department | |||
Copyright/Legal: This content is licensed under a Creative Commons Attribution 4.0 International License. See https://creativecommons.org/licenses/by/4.0/ |
||||
This profile constrains AU Core Organization to meet the requirements of this Implementation Guide for a healthcare organisation department or unit. Implementers are highly encouraged to review AU Core Organization profile before using this profile.
This profile defines healthcare department or unit representation for a Clinical Note Document in Australia, ensuring consistent capture of sub-organisational details for clinical note authoring attribution and routing within healthcare organisations.
The following are the indented usage scenarios for this profile:
The following are the key changes made to the parent AU Core Organization to meet the requirements of this Implementation Guide:
Organization.identifier is still optional and can only be of type Identifier. Slices for HPIO, ABN, and other identifier types not applicable to departments or units are not allowed.
Organization.partOf was made mandatory and SHALL reference an CND Organization
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | AUCoreOrganization | Clinical Note Document department or unit Constraints: org-1 | |||||||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | |||||||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | |||||||||
![]() ![]() |
SOΣC | 0..* | Identifier, AUHPIO, AUPAIOIdentifier, AUCSPRegistrationNumber, AUAustralianBusinessNumber, AUAustralianCompanyNumber, AUAustralianRegisteredBodyNumber, AUNATAAccreditationNumber, AUPharmacyApprovalNumber | Identifies this organization across multiple systems Slice: Unordered, Open by pattern:system Constraints: au-core-org-01
| |||||||||
![]() ![]() |
?!Σ | 0..1 | boolean | Whether the organization's record is still in active use | |||||||||
![]() ![]() |
SOΣ | 0..* | CodeableConcept | Kind of organization Binding: Healthcare Organisation Role Type (preferred)
| |||||||||
![]() ![]() |
SOΣC | 1..1 | string | Name used for the organization
| |||||||||
![]() ![]() |
SOC | 0..* | ContactPoint | A contact detail for the organization Constraints: org-3
| |||||||||
![]() ![]() ![]() |
SOΣC | 0..1 | code | phone | fax | email | pager | url | sms | other Binding: ContactPointSystem (required): Telecommunications form for contact point.
| |||||||||
![]() ![]() ![]() |
SOΣ | 0..1 | string | The actual contact point details
| |||||||||
![]() ![]() ![]() |
?!Σ | 0..1 | code | home | work | temp | old | mobile - purpose of this contact point Binding: ContactPointUse (required): Use of contact point. | |||||||||
![]() ![]() |
SOC | 0..* | Address, AustralianAddress | An address for the organization Constraints: org-2
| |||||||||
![]() ![]() |
Σ | 1..1 | Reference(CND Organization) | The organization of which this organization forms a part | |||||||||
Documentation for this format | |||||||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Organization.type | Base | preferred |
Healthcare Organisation Role Type
|
⏿1.0.1 | tx.ontoserver.csiro.au |
| Organization.telecom.system | Base | required | ContactPointSystem | 📍4.0.1 | FHIR Std. |
| Organization.telecom.use | Base | required | ContactPointUse | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| au-core-org-01 | error | Organization.identifier | A National Organisation Identifier (type=NOI) shall be an HPI-O or PAI-O |
type.coding.where(code='NOI').exists() implies ((system='http://ns.electronichealth.net.au/id/hi/hpio/1.0') or (system='http://ns.electronichealth.net.au/id/pcehr/paio/1.0'))
|
| dom-2 | error | Organization | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Organization | 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 |
contained.where((('#'+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(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Organization | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | Organization | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Organization | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| org-1 | error | Organization | The organization SHALL at least have a name or an identifier, and possibly more than one |
(identifier.count() + name.count()) > 0
|
| org-2 | error | Organization.address | An address of an organization can never be of use 'home' |
where(use = 'home').empty()
|
| org-3 | error | Organization.telecom | The telecom of an organization can never be of use 'home' |
where(use = 'home').empty()
|
This structure is derived from AUCoreOrganization
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | AUCoreOrganization | Clinical Note Document department or unit | |
![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() |
0..0 | Identifies this organization across multiple systems | ||
![]() ![]() ![]() |
0..0 | Identifies this organization across multiple systems | ||
![]() ![]() |
1..1 | Reference(CND Organization) | The organization of which this organization forms a part | |
Documentation for this format | ||||
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | AUCoreOrganization | Clinical Note Document department or unit Constraints: org-1 | |||||||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | |||||||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | |||||||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | |||||||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| ||||||||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | ||||||||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | ||||||||||
![]() ![]() |
0..* | Extension | Additional content defined by implementations | ||||||||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | |||||||||
![]() ![]() |
SOΣC | 0..* | Identifier, AUHPIO, AUPAIOIdentifier, AUCSPRegistrationNumber, AUAustralianBusinessNumber, AUAustralianCompanyNumber, AUAustralianRegisteredBodyNumber, AUNATAAccreditationNumber, AUPharmacyApprovalNumber | Identifies this organization across multiple systems Slice: Unordered, Open by pattern:system Constraints: au-core-org-01
| |||||||||
![]() ![]() |
?!Σ | 0..1 | boolean | Whether the organization's record is still in active use | |||||||||
![]() ![]() |
SOΣ | 0..* | CodeableConcept | Kind of organization Binding: Healthcare Organisation Role Type (preferred)
| |||||||||
![]() ![]() |
SOΣC | 1..1 | string | Name used for the organization
| |||||||||
![]() ![]() |
0..* | string | A list of alternate names that the organization is known as, or was known as in the past | ||||||||||
![]() ![]() |
SOC | 0..* | ContactPoint | A contact detail for the organization Constraints: org-3
| |||||||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | ||||||||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | ||||||||||
![]() ![]() ![]() |
SOΣC | 0..1 | code | phone | fax | email | pager | url | sms | other Binding: ContactPointSystem (required): Telecommunications form for contact point.
| |||||||||
![]() ![]() ![]() |
SOΣ | 0..1 | string | The actual contact point details
| |||||||||
![]() ![]() ![]() |
?!Σ | 0..1 | code | home | work | temp | old | mobile - purpose of this contact point Binding: ContactPointUse (required): Use of contact point. | |||||||||
![]() ![]() ![]() |
Σ | 0..1 | positiveInt | Specify preferred order of use (1 = highest) | |||||||||
![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when the contact point was/is in use | |||||||||
![]() ![]() |
SOC | 0..* | Address, AustralianAddress | An address for the organization Constraints: org-2
| |||||||||
![]() ![]() |
Σ | 1..1 | Reference(CND Organization) | The organization of which this organization forms a part | |||||||||
![]() ![]() |
0..* | BackboneElement | Contact for the organization for a certain purpose | ||||||||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | ||||||||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | ||||||||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||||||
![]() ![]() ![]() |
0..1 | CodeableConcept | The type of contact Binding: Contact Purpose (extensible) | ||||||||||
![]() ![]() ![]() |
0..1 | HumanName | A name associated with the contact | ||||||||||
![]() ![]() ![]() |
0..* | ContactPoint | Contact details (telephone, email, etc.) for a contact | ||||||||||
![]() ![]() ![]() |
0..1 | Address | Visiting or postal addresses for the contact | ||||||||||
![]() ![]() |
0..* | Reference(Endpoint) | Technical endpoints providing access to services operated for the organization | ||||||||||
Documentation for this format | |||||||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Organization.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| Organization.type | Base | preferred |
Healthcare Organisation Role Type
|
⏿1.0.1 | tx.ontoserver.csiro.au |
| Organization.telecom.system | Base | required | ContactPointSystem | 📍4.0.1 | FHIR Std. |
| Organization.telecom.use | Base | required | ContactPointUse | 📍4.0.1 | FHIR Std. |
| Organization.contact.purpose | Base | extensible | Contact Purpose | 📦6.0.0 | AU Base Implementation Guide v6.0 |
| Id | Grade | Path(s) | Description | Expression |
| au-core-org-01 | error | Organization.identifier | A National Organisation Identifier (type=NOI) shall be an HPI-O or PAI-O |
type.coding.where(code='NOI').exists() implies ((system='http://ns.electronichealth.net.au/id/hi/hpio/1.0') or (system='http://ns.electronichealth.net.au/id/pcehr/paio/1.0'))
|
| dom-2 | error | Organization | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Organization | 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 |
contained.where((('#'+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(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Organization | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | Organization | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Organization | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| org-1 | error | Organization | The organization SHALL at least have a name or an identifier, and possibly more than one |
(identifier.count() + name.count()) > 0
|
| org-2 | error | Organization.address | An address of an organization can never be of use 'home' |
where(use = 'home').empty()
|
| org-3 | error | Organization.telecom | The telecom of an organization can never be of use 'home' |
where(use = 'home').empty()
|
This structure is derived from AUCoreOrganization
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | AUCoreOrganization | Clinical Note Document department or unit Constraints: org-1 | |||||||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | |||||||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | |||||||||
![]() ![]() |
SOΣC | 0..* | Identifier, AUHPIO, AUPAIOIdentifier, AUCSPRegistrationNumber, AUAustralianBusinessNumber, AUAustralianCompanyNumber, AUAustralianRegisteredBodyNumber, AUNATAAccreditationNumber, AUPharmacyApprovalNumber | Identifies this organization across multiple systems Slice: Unordered, Open by pattern:system Constraints: au-core-org-01
| |||||||||
![]() ![]() |
?!Σ | 0..1 | boolean | Whether the organization's record is still in active use | |||||||||
![]() ![]() |
SOΣ | 0..* | CodeableConcept | Kind of organization Binding: Healthcare Organisation Role Type (preferred)
| |||||||||
![]() ![]() |
SOΣC | 1..1 | string | Name used for the organization
| |||||||||
![]() ![]() |
SOC | 0..* | ContactPoint | A contact detail for the organization Constraints: org-3
| |||||||||
![]() ![]() ![]() |
SOΣC | 0..1 | code | phone | fax | email | pager | url | sms | other Binding: ContactPointSystem (required): Telecommunications form for contact point.
| |||||||||
![]() ![]() ![]() |
SOΣ | 0..1 | string | The actual contact point details
| |||||||||
![]() ![]() ![]() |
?!Σ | 0..1 | code | home | work | temp | old | mobile - purpose of this contact point Binding: ContactPointUse (required): Use of contact point. | |||||||||
![]() ![]() |
SOC | 0..* | Address, AustralianAddress | An address for the organization Constraints: org-2
| |||||||||
![]() ![]() |
Σ | 1..1 | Reference(CND Organization) | The organization of which this organization forms a part | |||||||||
Documentation for this format | |||||||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Organization.type | Base | preferred |
Healthcare Organisation Role Type
|
⏿1.0.1 | tx.ontoserver.csiro.au |
| Organization.telecom.system | Base | required | ContactPointSystem | 📍4.0.1 | FHIR Std. |
| Organization.telecom.use | Base | required | ContactPointUse | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| au-core-org-01 | error | Organization.identifier | A National Organisation Identifier (type=NOI) shall be an HPI-O or PAI-O |
type.coding.where(code='NOI').exists() implies ((system='http://ns.electronichealth.net.au/id/hi/hpio/1.0') or (system='http://ns.electronichealth.net.au/id/pcehr/paio/1.0'))
|
| dom-2 | error | Organization | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Organization | 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 |
contained.where((('#'+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(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Organization | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | Organization | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Organization | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| org-1 | error | Organization | The organization SHALL at least have a name or an identifier, and possibly more than one |
(identifier.count() + name.count()) > 0
|
| org-2 | error | Organization.address | An address of an organization can never be of use 'home' |
where(use = 'home').empty()
|
| org-3 | error | Organization.telecom | The telecom of an organization can never be of use 'home' |
where(use = 'home').empty()
|
Differential View
This structure is derived from AUCoreOrganization
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | AUCoreOrganization | Clinical Note Document department or unit | |
![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() |
0..0 | Identifies this organization across multiple systems | ||
![]() ![]() ![]() |
0..0 | Identifies this organization across multiple systems | ||
![]() ![]() |
1..1 | Reference(CND Organization) | The organization of which this organization forms a part | |
Documentation for this format | ||||
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | AUCoreOrganization | Clinical Note Document department or unit Constraints: org-1 | |||||||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | |||||||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | |||||||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | |||||||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| ||||||||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | ||||||||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | ||||||||||
![]() ![]() |
0..* | Extension | Additional content defined by implementations | ||||||||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | |||||||||
![]() ![]() |
SOΣC | 0..* | Identifier, AUHPIO, AUPAIOIdentifier, AUCSPRegistrationNumber, AUAustralianBusinessNumber, AUAustralianCompanyNumber, AUAustralianRegisteredBodyNumber, AUNATAAccreditationNumber, AUPharmacyApprovalNumber | Identifies this organization across multiple systems Slice: Unordered, Open by pattern:system Constraints: au-core-org-01
| |||||||||
![]() ![]() |
?!Σ | 0..1 | boolean | Whether the organization's record is still in active use | |||||||||
![]() ![]() |
SOΣ | 0..* | CodeableConcept | Kind of organization Binding: Healthcare Organisation Role Type (preferred)
| |||||||||
![]() ![]() |
SOΣC | 1..1 | string | Name used for the organization
| |||||||||
![]() ![]() |
0..* | string | A list of alternate names that the organization is known as, or was known as in the past | ||||||||||
![]() ![]() |
SOC | 0..* | ContactPoint | A contact detail for the organization Constraints: org-3
| |||||||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | ||||||||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | ||||||||||
![]() ![]() ![]() |
SOΣC | 0..1 | code | phone | fax | email | pager | url | sms | other Binding: ContactPointSystem (required): Telecommunications form for contact point.
| |||||||||
![]() ![]() ![]() |
SOΣ | 0..1 | string | The actual contact point details
| |||||||||
![]() ![]() ![]() |
?!Σ | 0..1 | code | home | work | temp | old | mobile - purpose of this contact point Binding: ContactPointUse (required): Use of contact point. | |||||||||
![]() ![]() ![]() |
Σ | 0..1 | positiveInt | Specify preferred order of use (1 = highest) | |||||||||
![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when the contact point was/is in use | |||||||||
![]() ![]() |
SOC | 0..* | Address, AustralianAddress | An address for the organization Constraints: org-2
| |||||||||
![]() ![]() |
Σ | 1..1 | Reference(CND Organization) | The organization of which this organization forms a part | |||||||||
![]() ![]() |
0..* | BackboneElement | Contact for the organization for a certain purpose | ||||||||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | ||||||||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | ||||||||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||||||
![]() ![]() ![]() |
0..1 | CodeableConcept | The type of contact Binding: Contact Purpose (extensible) | ||||||||||
![]() ![]() ![]() |
0..1 | HumanName | A name associated with the contact | ||||||||||
![]() ![]() ![]() |
0..* | ContactPoint | Contact details (telephone, email, etc.) for a contact | ||||||||||
![]() ![]() ![]() |
0..1 | Address | Visiting or postal addresses for the contact | ||||||||||
![]() ![]() |
0..* | Reference(Endpoint) | Technical endpoints providing access to services operated for the organization | ||||||||||
Documentation for this format | |||||||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Organization.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| Organization.type | Base | preferred |
Healthcare Organisation Role Type
|
⏿1.0.1 | tx.ontoserver.csiro.au |
| Organization.telecom.system | Base | required | ContactPointSystem | 📍4.0.1 | FHIR Std. |
| Organization.telecom.use | Base | required | ContactPointUse | 📍4.0.1 | FHIR Std. |
| Organization.contact.purpose | Base | extensible | Contact Purpose | 📦6.0.0 | AU Base Implementation Guide v6.0 |
| Id | Grade | Path(s) | Description | Expression |
| au-core-org-01 | error | Organization.identifier | A National Organisation Identifier (type=NOI) shall be an HPI-O or PAI-O |
type.coding.where(code='NOI').exists() implies ((system='http://ns.electronichealth.net.au/id/hi/hpio/1.0') or (system='http://ns.electronichealth.net.au/id/pcehr/paio/1.0'))
|
| dom-2 | error | Organization | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Organization | 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 |
contained.where((('#'+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(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Organization | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | Organization | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Organization | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| org-1 | error | Organization | The organization SHALL at least have a name or an identifier, and possibly more than one |
(identifier.count() + name.count()) > 0
|
| org-2 | error | Organization.address | An address of an organization can never be of use 'home' |
where(use = 'home').empty()
|
| org-3 | error | Organization.telecom | The telecom of an organization can never be of use 'home' |
where(use = 'home').empty()
|
This structure is derived from AUCoreOrganization
Other representations of profile: CSV, Excel, Schematron