SPL Mapping FHIR R5 Implementation Guide, published by HL7 International / Biomedical Research and Regulation. This guide is not an authorized publication; it is the continuous build for version 0.2.1 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/fhir-spl/ and changes regularly. See the Directory of published versions
Official URL: http://hl7.org/fhir/us/spl/StructureDefinition/EstablishmentOrganization | Version: 0.2.1 | |||
Standards status: Trial-use | Maturity Level: 1 | Computable Name: EstablishmentOrganization |
A profile for the data elements required to identify an organization that is registered as an Establishment.
Usage:
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from Organization
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Organization | C | 0..* | Organization | A grouping of people or organizations with a common purpose spl-6.1.4.1: If country is not USA, then US agent is mandatory. spl-6.1.4.3: If country is USA, then US agent is not allowed. spl-6.1.5.3: If country is USA, then import business is not allowed. spl-5.1.5.6: Each business operation code is mentioned only once. |
Slices for contained | 1..* | Resource | Contained, inline Resources Slice: Unordered, Closed by profile:$this | |
contained:BusinessOperation | S | 1..* | EstablishmentBusinessOperation | The details of a healthcare service available at a location |
contained:USAgentAffiliation | S | 0..1 | USAgentAffiliation | Defines an affiliation/association/relationship between 2 distinct organizations, that is not a part-of relationship/sub-division relationship |
contained:USAgent | S | 0..1 | USAgentOrganization | A grouping of people or organizations with a common purpose |
contained:ImporterAffiliation | S | 0..* | ImporterAffiliation | Defines an affiliation/association/relationship between 2 distinct organizations, that is not a part-of relationship/sub-division relationship |
contained:Importer | S | 0..* | ImporterOrganization | A grouping of people or organizations with a common purpose |
Slices for identifier | S | 1..* | Identifier | Identifies this organization across multiple systems Slice: Unordered, Open by value:system |
identifier:All Slices | Content/Rules for all slices | |||
system | S | 1..1 | uri | The namespace for the identifier value |
value | S | 1..1 | string | The value that is unique |
identifier:DUNSNumber | SC | 1..1 | Identifier | Identifies this organization across multiple systems spl-2.1.5.2: DUNS number is 9 digits |
system | 0..1 | uri | The namespace for the identifier value Required Pattern: urn:oid:1.3.6.1.4.1.519.1 | |
identifier:FEINumber | SC | 0..1 | Identifier | Identifies this organization across multiple systems spl-6.1.3.7: FEI number is 7 or 10 digits |
system | 0..1 | uri | The namespace for the identifier value Required Pattern: urn:oid:2.16.840.1.113883.4.82 | |
type | S | 1..1 | CodeableConcept | Kind of organization Required Pattern: At least the following |
coding | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |
system | 1..1 | uri | Identity of the terminology system Fixed Value: http://hl7.org/fhir/us/spl/CodeSystem/codesystem-organizationTypes | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: Establishment | |
name | S | 1..1 | string | Name used for the organization |
Slices for contact | S | 2..2 | ExtendedContactDetail | Official contact details for the Organization Slice: Unordered, Closed by exists:purpose |
contact:OrgAddress | S | 1..1 | ExtendedContactDetail | Official contact details for the Organization |
purpose | 0..0 | |||
address | S | 1..1 | Address | Address for the contact |
contact:OrgContact | S | 1..1 | ExtendedContactDetail | Official contact details for the Organization |
purpose | S | 1..1 | CodeableConcept | The type of contact Required Pattern: At least the following |
coding | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |
system | 1..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/contactentity-type | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: ADMIN | |
name | S | 1..1 | HumanName | Name of an individual to contact |
Slices for telecom | S | 2..* | ContactPoint | Contact details (e.g.phone/fax/url) Slice: Unordered, Open by value:system |
telecom:Phone | S | 1..1 | SPLContactPoint | Details of a Technology mediated contact point (phone, fax, email, etc.) |
system | 1..1 | code | phone | fax | email | pager | url | sms | other Required Pattern: phone | |
telecom:Email | S | 1..1 | SPLContactPoint | Details of a Technology mediated contact point (phone, fax, email, etc.) |
system | 1..1 | code | phone | fax | email | pager | url | sms | other Required Pattern: email | |
address | S | 1..1 | SPLAddress | An address expressed using postal conventions (as opposed to GPS or other location definition formats) |
Documentation for this format |
Id | Grade | Path(s) | Details | Requirements |
spl-2.1.5.2 | error | Organization.identifier:DUNSNumber | DUNS number is 9 digits : system = 'urn:oid:1.3.6.1.4.1.519.1' implies value.length() = 9 | |
spl-5.1.5.6 | error | Organization | Each business operation code is mentioned only once. : contained.ofType(HealthcareService).type().isDistinct() | |
spl-6.1.3.7 | error | Organization.identifier:FEINumber | FEI number is 7 or 10 digits : system = 'urn:oid:2.16.840.1.113883.4.82' implies (value.length() = 7 or value.length() = 10) | |
spl-6.1.4.1 | error | Organization | If country is not USA, then US agent is mandatory. : contact.address.where(country = 'USA').count() = 0 implies contained.ofType(Organization).where(type.coding.where(code = 'USAgent').count() = 0).count() = 1 | |
spl-6.1.4.3 | error | Organization | If country is USA, then US agent is not allowed. : contact.address.where(country = 'USA').count() > 0 implies contained.ofType(Organization).where(type.coding.where(code = 'USAgent').count() = 0).count() = 0 | |
spl-6.1.5.3 | error | Organization | If country is USA, then import business is not allowed. : contact.address.where(country = 'USA').count() > 0 implies contained.ofType(Organization).where(type.coding.where(code = 'Importer').count() = 0).count() = 0 |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Organization | C | 0..* | Organization | A grouping of people or organizations with a common purpose dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources dom-3: 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 dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-5: If a resource is contained in another resource, it SHALL NOT have a security label dom-6: A resource should have narrative for robust management org-1: The organization SHALL at least have a name or an identifier, and possibly more than one spl-6.1.4.1: If country is not USA, then US agent is mandatory. spl-6.1.4.3: If country is USA, then US agent is not allowed. spl-6.1.5.3: If country is USA, then import business is not allowed. spl-5.1.5.6: Each business operation code is mentioned only once. |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created ele-1: All FHIR elements must have a @value or children |
Slices for contained | 1..* | Resource | Contained, inline Resources Slice: Unordered, Closed by profile:$this | |
contained:BusinessOperation | S | 1..* | EstablishmentBusinessOperation | The details of a healthcare service available at a location |
contained:USAgentAffiliation | S | 0..1 | USAgentAffiliation | Defines an affiliation/association/relationship between 2 distinct organizations, that is not a part-of relationship/sub-division relationship |
contained:USAgent | S | 0..1 | USAgentOrganization | A grouping of people or organizations with a common purpose |
contained:ImporterAffiliation | S | 0..* | ImporterAffiliation | Defines an affiliation/association/relationship between 2 distinct organizations, that is not a part-of relationship/sub-division relationship |
contained:Importer | S | 0..* | ImporterOrganization | A grouping of people or organizations with a common purpose |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
Slices for identifier | SΣC | 1..* | Identifier | Identifies this organization across multiple systems Slice: Unordered, Open by value:system ele-1: All FHIR elements must have a @value or children |
identifier:All Slices | Content/Rules for all slices | |||
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . ele-1: All FHIR elements must have a @value or children |
system | SΣ | 1..1 | uri | The namespace for the identifier value ele-1: All FHIR elements must have a @value or children Example General: http://www.acme.com/identifiers/patient |
value | SΣC | 1..1 | string | The value that is unique ele-1: All FHIR elements must have a @value or children Example General: 123456 |
identifier:DUNSNumber | SΣC | 1..1 | Identifier | Identifies this organization across multiple systems ele-1: All FHIR elements must have a @value or children spl-2.1.5.2: DUNS number is 9 digits |
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . ele-1: All FHIR elements must have a @value or children |
system | Σ | 0..1 | uri | The namespace for the identifier value ele-1: All FHIR elements must have a @value or children Required Pattern: urn:oid:1.3.6.1.4.1.519.1 |
identifier:FEINumber | SΣC | 0..1 | Identifier | Identifies this organization across multiple systems ele-1: All FHIR elements must have a @value or children spl-6.1.3.7: FEI number is 7 or 10 digits |
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . ele-1: All FHIR elements must have a @value or children |
system | Σ | 0..1 | uri | The namespace for the identifier value ele-1: All FHIR elements must have a @value or children Required Pattern: urn:oid:2.16.840.1.113883.4.82 |
active | ?!Σ | 0..1 | boolean | Whether the organization's record is still in active use ele-1: All FHIR elements must have a @value or children |
type | SΣ | 1..1 | CodeableConcept | Kind of organization Binding: OrganizationType (example): Used to categorize the organization. ele-1: All FHIR elements must have a @value or children Required Pattern: At least the following |
coding | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |
system | 1..1 | uri | Identity of the terminology system Fixed Value: http://hl7.org/fhir/us/spl/CodeSystem/codesystem-organizationTypes | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: Establishment | |
name | SΣC | 1..1 | string | Name used for the organization ele-1: All FHIR elements must have a @value or children |
Slices for contact | SC | 2..2 | ExtendedContactDetail | Official contact details for the Organization Slice: Unordered, Closed by exists:purpose ele-1: All FHIR elements must have a @value or children org-3: The telecom of an organization can never be of use 'home' org-4: The address of an organization can never be of use 'home' |
contact:OrgAddress | SC | 1..1 | ExtendedContactDetail | Official contact details for the Organization ele-1: All FHIR elements must have a @value or children org-3: The telecom of an organization can never be of use 'home' org-4: The address of an organization can never be of use 'home' |
address | SΣ | 1..1 | Address | Address for the contact ele-1: All FHIR elements must have a @value or children |
contact:OrgContact | SC | 1..1 | ExtendedContactDetail | Official contact details for the Organization ele-1: All FHIR elements must have a @value or children org-3: The telecom of an organization can never be of use 'home' org-4: The address of an organization can never be of use 'home' |
purpose | SΣ | 1..1 | CodeableConcept | The type of contact Binding: Contact entity type (preferred): The purpose for which an extended contact detail should be used. ele-1: All FHIR elements must have a @value or children Required Pattern: At least the following |
coding | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |
system | 1..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/contactentity-type | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: ADMIN | |
name | SΣ | 1..1 | HumanName | Name of an individual to contact ele-1: All FHIR elements must have a @value or children |
Slices for telecom | SΣ | 2..* | ContactPoint | Contact details (e.g.phone/fax/url) Slice: Unordered, Open by value:system ele-1: All FHIR elements must have a @value or children |
telecom:Phone | SC | 1..1 | SPLContactPoint | Details of a Technology mediated contact point (phone, fax, email, etc.) cpt-2: A system is required if a value is provided. ele-1: All FHIR elements must have a @value or children spl-2.1.7.x: Telephone and fax numbers are formatted properly spl-2.1.7.11: Emails are formatted properly |
system | SΣC | 1..1 | code | phone | fax | email | pager | url | sms | other Binding: ContactPointSystem (required): Telecommunications form for contact point. ele-1: All FHIR elements must have a @value or children Required Pattern: phone |
value | SΣC | 1..1 | string | The actual contact point details ele-1: All FHIR elements must have a @value or children |
use | ?!Σ | 0..1 | code | home | work | temp | old | mobile - purpose of this contact point Binding: ContactPointUse (required): Use of contact point. ele-1: All FHIR elements must have a @value or children |
telecom:Email | SC | 1..1 | SPLContactPoint | Details of a Technology mediated contact point (phone, fax, email, etc.) cpt-2: A system is required if a value is provided. ele-1: All FHIR elements must have a @value or children spl-2.1.7.x: Telephone and fax numbers are formatted properly spl-2.1.7.11: Emails are formatted properly |
system | SΣC | 1..1 | code | phone | fax | email | pager | url | sms | other Binding: ContactPointSystem (required): Telecommunications form for contact point. ele-1: All FHIR elements must have a @value or children Required Pattern: email |
value | SΣC | 1..1 | string | The actual contact point details ele-1: All FHIR elements must have a @value or children |
use | ?!Σ | 0..1 | code | home | work | temp | old | mobile - purpose of this contact point Binding: ContactPointUse (required): Use of contact point. ele-1: All FHIR elements must have a @value or children |
address | SC | 1..1 | SPLAddress | An address expressed using postal conventions (as opposed to GPS or other location definition formats) ele-1: All FHIR elements must have a @value or children spl-2.1.6.4: If the country is USA, then the state and postal code exist spl-2.1.6.5: If the country is USA, then the postal code is 5 digits with an optional dash and 4 numbers |
Documentation for this format |
Path | Conformance | ValueSet / Code | URI |
Organization.identifier.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|5.0.0 from the FHIR Standard | |
Organization.identifier:DUNSNumber.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|5.0.0 from the FHIR Standard | |
Organization.identifier:FEINumber.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|5.0.0 from the FHIR Standard | |
Organization.type | example | Pattern: Establishmenthttp://hl7.org/fhir/ValueSet/organization-type from the FHIR Standard | |
Organization.contact:OrgContact.purpose | preferred | Pattern: ADMINhttp://terminology.hl7.org/ValueSet/contactentity-type | |
Organization.contact:OrgContact.telecom:Phone.system | required | Pattern: phonehttp://hl7.org/fhir/ValueSet/contact-point-system|5.0.0 from the FHIR Standard | |
Organization.contact:OrgContact.telecom:Phone.use | required | ContactPointUsehttp://hl7.org/fhir/ValueSet/contact-point-use|5.0.0 from the FHIR Standard | |
Organization.contact:OrgContact.telecom:Email.system | required | Pattern: emailhttp://hl7.org/fhir/ValueSet/contact-point-system|5.0.0 from the FHIR Standard | |
Organization.contact:OrgContact.telecom:Email.use | required | ContactPointUsehttp://hl7.org/fhir/ValueSet/contact-point-use|5.0.0 from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
cpt-2 | error | Organization.contact:OrgContact.telecom:Phone, Organization.contact:OrgContact.telecom:Email | A system is required if a value is provided. : value.empty() or system.exists() | |
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().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-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-3 | error | Organization.contact, Organization.contact:OrgAddress, Organization.contact:OrgContact | The telecom of an organization can never be of use 'home' : telecom.where(use = 'home').empty() | |
org-4 | error | Organization.contact, Organization.contact:OrgAddress, Organization.contact:OrgContact | The address of an organization can never be of use 'home' : address.where(use = 'home').empty() | |
spl-2.1.5.2 | error | Organization.identifier:DUNSNumber | DUNS number is 9 digits : system = 'urn:oid:1.3.6.1.4.1.519.1' implies value.length() = 9 | |
spl-2.1.6.4 | error | Organization.contact:OrgContact.address | If the country is USA, then the state and postal code exist : country = 'USA' implies (state.exists() and state.length() = 2 and postalCode.exists()) | |
spl-2.1.6.5 | error | Organization.contact:OrgContact.address | If the country is USA, then the postal code is 5 digits with an optional dash and 4 numbers : country = 'USA' implies postalCode.matches('^[0-9]{5}(-[0-9]{4})?$') | |
spl-2.1.7.11 | error | Organization.contact:OrgContact.telecom:Phone, Organization.contact:OrgContact.telecom:Email | Emails are formatted properly : system = 'email' implies value.matches('^[a-zA-Z0-9.!#$%&’*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(\\.[a-zA-Z0-9-]+)*$') | |
spl-2.1.7.x | error | Organization.contact:OrgContact.telecom:Phone, Organization.contact:OrgContact.telecom:Email | Telephone and fax numbers are formatted properly : (system = 'phone' or system = 'fax') implies value.matches('^\\+[0-9]{1,3}-[0-9]{1,3}-[0-9]{3,4}-[0-9]{4}(;ext=[0-9]+)?$') | |
spl-5.1.5.6 | error | Organization | Each business operation code is mentioned only once. : contained.ofType(HealthcareService).type().isDistinct() | |
spl-6.1.3.7 | error | Organization.identifier:FEINumber | FEI number is 7 or 10 digits : system = 'urn:oid:2.16.840.1.113883.4.82' implies (value.length() = 7 or value.length() = 10) | |
spl-6.1.4.1 | error | Organization | If country is not USA, then US agent is mandatory. : contact.address.where(country = 'USA').count() = 0 implies contained.ofType(Organization).where(type.coding.where(code = 'USAgent').count() = 0).count() = 1 | |
spl-6.1.4.3 | error | Organization | If country is USA, then US agent is not allowed. : contact.address.where(country = 'USA').count() > 0 implies contained.ofType(Organization).where(type.coding.where(code = 'USAgent').count() = 0).count() = 0 | |
spl-6.1.5.3 | error | Organization | If country is USA, then import business is not allowed. : contact.address.where(country = 'USA').count() > 0 implies contained.ofType(Organization).where(type.coding.where(code = 'Importer').count() = 0).count() = 0 |
Name | Flags | Card. | Type | Description & Constraints | ||||
---|---|---|---|---|---|---|---|---|
Organization | C | 0..* | Organization | A grouping of people or organizations with a common purpose org-1: The organization SHALL at least have a name or an identifier, and possibly more than one spl-6.1.4.1: If country is not USA, then US agent is mandatory. spl-6.1.4.3: If country is USA, then US agent is not allowed. spl-6.1.5.3: If country is USA, then import business is not allowed. spl-5.1.5.6: Each business operation code is mentioned only once. | ||||
id | Σ | 0..1 | id | Logical id of this artifact | ||||
meta | Σ | 0..1 | Meta | Metadata about the resource | ||||
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
language | 0..1 | code | Language of the resource content Binding: AllLanguages (required): IETF language tag for a human language
| |||||
text | 0..1 | Narrative | Text summary of the resource, for human interpretation | |||||
Slices for contained | 1..* | Resource | Contained, inline Resources Slice: Unordered, Closed by profile:$this | |||||
contained:BusinessOperation | S | 1..* | EstablishmentBusinessOperation | The details of a healthcare service available at a location | ||||
contained:USAgentAffiliation | S | 0..1 | USAgentAffiliation | Defines an affiliation/association/relationship between 2 distinct organizations, that is not a part-of relationship/sub-division relationship | ||||
contained:USAgent | S | 0..1 | USAgentOrganization | A grouping of people or organizations with a common purpose | ||||
contained:ImporterAffiliation | S | 0..* | ImporterAffiliation | Defines an affiliation/association/relationship between 2 distinct organizations, that is not a part-of relationship/sub-division relationship | ||||
contained:Importer | S | 0..* | ImporterOrganization | A grouping of people or organizations with a common purpose | ||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored | ||||
Slices for identifier | SΣC | 1..* | Identifier | Identifies this organization across multiple systems Slice: Unordered, Open by value:system | ||||
identifier:All Slices | Content/Rules for all slices | |||||||
id | 0..1 | id | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||
type | Σ | 0..1 | CodeableConcept | Description of identifier Binding: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | ||||
system | SΣ | 1..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient | ||||
value | SΣC | 1..1 | string | The value that is unique Example General: 123456 | ||||
period | Σ | 0..1 | Period | Time period when id is/was valid for use | ||||
assigner | Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||
identifier:DUNSNumber | SΣC | 1..1 | Identifier | Identifies this organization across multiple systems spl-2.1.5.2: DUNS number is 9 digits | ||||
id | 0..1 | id | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||
type | Σ | 0..1 | CodeableConcept | Description of identifier Binding: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | ||||
system | Σ | 0..1 | uri | The namespace for the identifier value Required Pattern: urn:oid:1.3.6.1.4.1.519.1 | ||||
value | ΣC | 0..1 | string | The value that is unique Example General: 123456 | ||||
period | Σ | 0..1 | Period | Time period when id is/was valid for use | ||||
assigner | Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||
identifier:FEINumber | SΣC | 0..1 | Identifier | Identifies this organization across multiple systems spl-6.1.3.7: FEI number is 7 or 10 digits | ||||
id | 0..1 | id | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||
type | Σ | 0..1 | CodeableConcept | Description of identifier Binding: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | ||||
system | Σ | 0..1 | uri | The namespace for the identifier value Required Pattern: urn:oid:2.16.840.1.113883.4.82 | ||||
value | ΣC | 0..1 | string | The value that is unique Example General: 123456 | ||||
period | Σ | 0..1 | Period | Time period when id is/was valid for use | ||||
assigner | Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||
active | ?!Σ | 0..1 | boolean | Whether the organization's record is still in active use | ||||
type | SΣ | 1..1 | CodeableConcept | Kind of organization Binding: OrganizationType (example): Used to categorize the organization. Required Pattern: At least the following | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
coding | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
system | 1..1 | uri | Identity of the terminology system Fixed Value: http://hl7.org/fhir/us/spl/CodeSystem/codesystem-organizationTypes | |||||
version | 0..1 | string | Version of the system - if relevant | |||||
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: Establishment | |||||
display | 0..1 | string | Representation defined by the system | |||||
userSelected | 0..1 | boolean | If this coding was chosen directly by the user | |||||
text | 0..1 | string | Plain text representation of the concept | |||||
name | SΣC | 1..1 | string | Name used for the organization | ||||
alias | 0..* | string | A list of alternate names that the organization is known as, or was known as in the past | |||||
description | Σ | 0..1 | markdown | Additional details about the Organization that could be displayed as further information to identify the Organization beyond its name | ||||
Slices for contact | SC | 2..2 | ExtendedContactDetail | Official contact details for the Organization Slice: Unordered, Closed by exists:purpose org-3: The telecom of an organization can never be of use 'home' org-4: The address of an organization can never be of use 'home' | ||||
contact:OrgAddress | SC | 1..1 | ExtendedContactDetail | Official contact details for the Organization org-3: The telecom of an organization can never be of use 'home' org-4: The address of an organization can never be of use 'home' | ||||
id | 0..1 | id | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
name | Σ | 0..* | HumanName | Name of an individual to contact | ||||
telecom | Σ | 0..* | ContactPoint | Contact details (e.g.phone/fax/url) | ||||
address | SΣ | 1..1 | Address | Address for the contact | ||||
organization | Σ | 0..1 | Reference(Organization) | This contact detail is handled/monitored by a specific organization | ||||
period | Σ | 0..1 | Period | Period that this contact was valid for usage | ||||
contact:OrgContact | SC | 1..1 | ExtendedContactDetail | Official contact details for the Organization org-3: The telecom of an organization can never be of use 'home' org-4: The address of an organization can never be of use 'home' | ||||
id | 0..1 | id | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
purpose | SΣ | 1..1 | CodeableConcept | The type of contact Binding: Contact entity type (preferred): The purpose for which an extended contact detail should be used. Required Pattern: At least the following | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
coding | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
system | 1..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/contactentity-type | |||||
version | 0..1 | string | Version of the system - if relevant | |||||
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: ADMIN | |||||
display | 0..1 | string | Representation defined by the system | |||||
userSelected | 0..1 | boolean | If this coding was chosen directly by the user | |||||
text | 0..1 | string | Plain text representation of the concept | |||||
name | SΣ | 1..1 | HumanName | Name of an individual to contact | ||||
Slices for telecom | SΣ | 2..* | ContactPoint | Contact details (e.g.phone/fax/url) Slice: Unordered, Open by value:system | ||||
telecom:Phone | SC | 1..1 | SPLContactPoint | Details of a Technology mediated contact point (phone, fax, email, etc.) cpt-2: A system is required if a value is provided. spl-2.1.7.x: Telephone and fax numbers are formatted properly spl-2.1.7.11: Emails are formatted properly | ||||
id | 0..1 | id | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
system | SΣC | 1..1 | code | phone | fax | email | pager | url | sms | other Binding: ContactPointSystem (required): Telecommunications form for contact point. Required Pattern: phone | ||||
value | SΣC | 1..1 | string | The actual contact point details | ||||
use | ?!Σ | 0..1 | code | home | work | temp | old | mobile - purpose of this contact point Binding: ContactPointUse (required): Use of contact point. | ||||
rank | Σ | 0..1 | positiveInt | Specify preferred order of use (1 = highest) | ||||
period | Σ | 0..1 | Period | Time period when the contact point was/is in use | ||||
telecom:Email | SC | 1..1 | SPLContactPoint | Details of a Technology mediated contact point (phone, fax, email, etc.) cpt-2: A system is required if a value is provided. spl-2.1.7.x: Telephone and fax numbers are formatted properly spl-2.1.7.11: Emails are formatted properly | ||||
id | 0..1 | id | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
system | SΣC | 1..1 | code | phone | fax | email | pager | url | sms | other Binding: ContactPointSystem (required): Telecommunications form for contact point. Required Pattern: email | ||||
value | SΣC | 1..1 | string | The actual contact point details | ||||
use | ?!Σ | 0..1 | code | home | work | temp | old | mobile - purpose of this contact point Binding: ContactPointUse (required): Use of contact point. | ||||
rank | Σ | 0..1 | positiveInt | Specify preferred order of use (1 = highest) | ||||
period | Σ | 0..1 | Period | Time period when the contact point was/is in use | ||||
address | SC | 1..1 | SPLAddress | An address expressed using postal conventions (as opposed to GPS or other location definition formats) spl-2.1.6.4: If the country is USA, then the state and postal code exist spl-2.1.6.5: If the country is USA, then the postal code is 5 digits with an optional dash and 4 numbers | ||||
organization | Σ | 0..1 | Reference(Organization) | This contact detail is handled/monitored by a specific organization | ||||
period | Σ | 0..1 | Period | Period that this contact was valid for usage | ||||
partOf | Σ | 0..1 | Reference(Organization) | The organization of which this organization forms a part | ||||
endpoint | 0..* | Reference(Endpoint) | Technical endpoints providing access to services operated for the organization | |||||
qualification | 0..* | BackboneElement | Qualifications, certifications, accreditations, licenses, training, etc. pertaining to the provision of care | |||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
identifier | 0..* | Identifier | An identifier for this qualification for the organization | |||||
code | 1..1 | CodeableConcept | Coded representation of the qualification Binding Description (No ValueSet): (example): Specific qualification the organization has to provide a service. | |||||
period | 0..1 | Period | Period during which the qualification is valid | |||||
issuer | 0..1 | Reference(Organization) | Organization that regulates and issues the qualification | |||||
Documentation for this format |
Path | Conformance | ValueSet / Code | URI |
Organization.language | required | AllLanguageshttp://hl7.org/fhir/ValueSet/all-languages|5.0.0 from the FHIR Standard | |
Organization.identifier.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|5.0.0 from the FHIR Standard | |
Organization.identifier.type | extensible | IdentifierTypeCodeshttp://hl7.org/fhir/ValueSet/identifier-type from the FHIR Standard | |
Organization.identifier:DUNSNumber.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|5.0.0 from the FHIR Standard | |
Organization.identifier:DUNSNumber.type | extensible | IdentifierTypeCodeshttp://hl7.org/fhir/ValueSet/identifier-type from the FHIR Standard | |
Organization.identifier:FEINumber.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|5.0.0 from the FHIR Standard | |
Organization.identifier:FEINumber.type | extensible | IdentifierTypeCodeshttp://hl7.org/fhir/ValueSet/identifier-type from the FHIR Standard | |
Organization.type | example | Pattern: Establishmenthttp://hl7.org/fhir/ValueSet/organization-type from the FHIR Standard | |
Organization.contact:OrgContact.purpose | preferred | Pattern: ADMINhttp://terminology.hl7.org/ValueSet/contactentity-type | |
Organization.contact:OrgContact.telecom:Phone.system | required | Pattern: phonehttp://hl7.org/fhir/ValueSet/contact-point-system|5.0.0 from the FHIR Standard | |
Organization.contact:OrgContact.telecom:Phone.use | required | ContactPointUsehttp://hl7.org/fhir/ValueSet/contact-point-use|5.0.0 from the FHIR Standard | |
Organization.contact:OrgContact.telecom:Email.system | required | Pattern: emailhttp://hl7.org/fhir/ValueSet/contact-point-system|5.0.0 from the FHIR Standard | |
Organization.contact:OrgContact.telecom:Email.use | required | ContactPointUsehttp://hl7.org/fhir/ValueSet/contact-point-use|5.0.0 from the FHIR Standard | |
Organization.qualification.code | example |
Id | Grade | Path(s) | Details | Requirements |
cpt-2 | error | Organization.contact:OrgContact.telecom:Phone, Organization.contact:OrgContact.telecom:Email | A system is required if a value is provided. : value.empty() or system.exists() | |
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().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-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-3 | error | Organization.contact, Organization.contact:OrgAddress, Organization.contact:OrgContact | The telecom of an organization can never be of use 'home' : telecom.where(use = 'home').empty() | |
org-4 | error | Organization.contact, Organization.contact:OrgAddress, Organization.contact:OrgContact | The address of an organization can never be of use 'home' : address.where(use = 'home').empty() | |
spl-2.1.5.2 | error | Organization.identifier:DUNSNumber | DUNS number is 9 digits : system = 'urn:oid:1.3.6.1.4.1.519.1' implies value.length() = 9 | |
spl-2.1.6.4 | error | Organization.contact:OrgContact.address | If the country is USA, then the state and postal code exist : country = 'USA' implies (state.exists() and state.length() = 2 and postalCode.exists()) | |
spl-2.1.6.5 | error | Organization.contact:OrgContact.address | If the country is USA, then the postal code is 5 digits with an optional dash and 4 numbers : country = 'USA' implies postalCode.matches('^[0-9]{5}(-[0-9]{4})?$') | |
spl-2.1.7.11 | error | Organization.contact:OrgContact.telecom:Phone, Organization.contact:OrgContact.telecom:Email | Emails are formatted properly : system = 'email' implies value.matches('^[a-zA-Z0-9.!#$%&’*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(\\.[a-zA-Z0-9-]+)*$') | |
spl-2.1.7.x | error | Organization.contact:OrgContact.telecom:Phone, Organization.contact:OrgContact.telecom:Email | Telephone and fax numbers are formatted properly : (system = 'phone' or system = 'fax') implies value.matches('^\\+[0-9]{1,3}-[0-9]{1,3}-[0-9]{3,4}-[0-9]{4}(;ext=[0-9]+)?$') | |
spl-5.1.5.6 | error | Organization | Each business operation code is mentioned only once. : contained.ofType(HealthcareService).type().isDistinct() | |
spl-6.1.3.7 | error | Organization.identifier:FEINumber | FEI number is 7 or 10 digits : system = 'urn:oid:2.16.840.1.113883.4.82' implies (value.length() = 7 or value.length() = 10) | |
spl-6.1.4.1 | error | Organization | If country is not USA, then US agent is mandatory. : contact.address.where(country = 'USA').count() = 0 implies contained.ofType(Organization).where(type.coding.where(code = 'USAgent').count() = 0).count() = 1 | |
spl-6.1.4.3 | error | Organization | If country is USA, then US agent is not allowed. : contact.address.where(country = 'USA').count() > 0 implies contained.ofType(Organization).where(type.coding.where(code = 'USAgent').count() = 0).count() = 0 | |
spl-6.1.5.3 | error | Organization | If country is USA, then import business is not allowed. : contact.address.where(country = 'USA').count() > 0 implies contained.ofType(Organization).where(type.coding.where(code = 'Importer').count() = 0).count() = 0 |
This structure is derived from Organization
Summary
Mandatory: 16 elements
Must-Support: 22 elements
Prohibited: 1 element
Structures
This structure refers to these other structures:
Slices
This structure defines the following Slices:
Maturity: 1
Differential View
This structure is derived from Organization
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Organization | C | 0..* | Organization | A grouping of people or organizations with a common purpose spl-6.1.4.1: If country is not USA, then US agent is mandatory. spl-6.1.4.3: If country is USA, then US agent is not allowed. spl-6.1.5.3: If country is USA, then import business is not allowed. spl-5.1.5.6: Each business operation code is mentioned only once. |
Slices for contained | 1..* | Resource | Contained, inline Resources Slice: Unordered, Closed by profile:$this | |
contained:BusinessOperation | S | 1..* | EstablishmentBusinessOperation | The details of a healthcare service available at a location |
contained:USAgentAffiliation | S | 0..1 | USAgentAffiliation | Defines an affiliation/association/relationship between 2 distinct organizations, that is not a part-of relationship/sub-division relationship |
contained:USAgent | S | 0..1 | USAgentOrganization | A grouping of people or organizations with a common purpose |
contained:ImporterAffiliation | S | 0..* | ImporterAffiliation | Defines an affiliation/association/relationship between 2 distinct organizations, that is not a part-of relationship/sub-division relationship |
contained:Importer | S | 0..* | ImporterOrganization | A grouping of people or organizations with a common purpose |
Slices for identifier | S | 1..* | Identifier | Identifies this organization across multiple systems Slice: Unordered, Open by value:system |
identifier:All Slices | Content/Rules for all slices | |||
system | S | 1..1 | uri | The namespace for the identifier value |
value | S | 1..1 | string | The value that is unique |
identifier:DUNSNumber | SC | 1..1 | Identifier | Identifies this organization across multiple systems spl-2.1.5.2: DUNS number is 9 digits |
system | 0..1 | uri | The namespace for the identifier value Required Pattern: urn:oid:1.3.6.1.4.1.519.1 | |
identifier:FEINumber | SC | 0..1 | Identifier | Identifies this organization across multiple systems spl-6.1.3.7: FEI number is 7 or 10 digits |
system | 0..1 | uri | The namespace for the identifier value Required Pattern: urn:oid:2.16.840.1.113883.4.82 | |
type | S | 1..1 | CodeableConcept | Kind of organization Required Pattern: At least the following |
coding | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |
system | 1..1 | uri | Identity of the terminology system Fixed Value: http://hl7.org/fhir/us/spl/CodeSystem/codesystem-organizationTypes | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: Establishment | |
name | S | 1..1 | string | Name used for the organization |
Slices for contact | S | 2..2 | ExtendedContactDetail | Official contact details for the Organization Slice: Unordered, Closed by exists:purpose |
contact:OrgAddress | S | 1..1 | ExtendedContactDetail | Official contact details for the Organization |
purpose | 0..0 | |||
address | S | 1..1 | Address | Address for the contact |
contact:OrgContact | S | 1..1 | ExtendedContactDetail | Official contact details for the Organization |
purpose | S | 1..1 | CodeableConcept | The type of contact Required Pattern: At least the following |
coding | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |
system | 1..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/contactentity-type | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: ADMIN | |
name | S | 1..1 | HumanName | Name of an individual to contact |
Slices for telecom | S | 2..* | ContactPoint | Contact details (e.g.phone/fax/url) Slice: Unordered, Open by value:system |
telecom:Phone | S | 1..1 | SPLContactPoint | Details of a Technology mediated contact point (phone, fax, email, etc.) |
system | 1..1 | code | phone | fax | email | pager | url | sms | other Required Pattern: phone | |
telecom:Email | S | 1..1 | SPLContactPoint | Details of a Technology mediated contact point (phone, fax, email, etc.) |
system | 1..1 | code | phone | fax | email | pager | url | sms | other Required Pattern: email | |
address | S | 1..1 | SPLAddress | An address expressed using postal conventions (as opposed to GPS or other location definition formats) |
Documentation for this format |
Id | Grade | Path(s) | Details | Requirements |
spl-2.1.5.2 | error | Organization.identifier:DUNSNumber | DUNS number is 9 digits : system = 'urn:oid:1.3.6.1.4.1.519.1' implies value.length() = 9 | |
spl-5.1.5.6 | error | Organization | Each business operation code is mentioned only once. : contained.ofType(HealthcareService).type().isDistinct() | |
spl-6.1.3.7 | error | Organization.identifier:FEINumber | FEI number is 7 or 10 digits : system = 'urn:oid:2.16.840.1.113883.4.82' implies (value.length() = 7 or value.length() = 10) | |
spl-6.1.4.1 | error | Organization | If country is not USA, then US agent is mandatory. : contact.address.where(country = 'USA').count() = 0 implies contained.ofType(Organization).where(type.coding.where(code = 'USAgent').count() = 0).count() = 1 | |
spl-6.1.4.3 | error | Organization | If country is USA, then US agent is not allowed. : contact.address.where(country = 'USA').count() > 0 implies contained.ofType(Organization).where(type.coding.where(code = 'USAgent').count() = 0).count() = 0 | |
spl-6.1.5.3 | error | Organization | If country is USA, then import business is not allowed. : contact.address.where(country = 'USA').count() > 0 implies contained.ofType(Organization).where(type.coding.where(code = 'Importer').count() = 0).count() = 0 |
Key Elements View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Organization | C | 0..* | Organization | A grouping of people or organizations with a common purpose dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources dom-3: 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 dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-5: If a resource is contained in another resource, it SHALL NOT have a security label dom-6: A resource should have narrative for robust management org-1: The organization SHALL at least have a name or an identifier, and possibly more than one spl-6.1.4.1: If country is not USA, then US agent is mandatory. spl-6.1.4.3: If country is USA, then US agent is not allowed. spl-6.1.5.3: If country is USA, then import business is not allowed. spl-5.1.5.6: Each business operation code is mentioned only once. |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created ele-1: All FHIR elements must have a @value or children |
Slices for contained | 1..* | Resource | Contained, inline Resources Slice: Unordered, Closed by profile:$this | |
contained:BusinessOperation | S | 1..* | EstablishmentBusinessOperation | The details of a healthcare service available at a location |
contained:USAgentAffiliation | S | 0..1 | USAgentAffiliation | Defines an affiliation/association/relationship between 2 distinct organizations, that is not a part-of relationship/sub-division relationship |
contained:USAgent | S | 0..1 | USAgentOrganization | A grouping of people or organizations with a common purpose |
contained:ImporterAffiliation | S | 0..* | ImporterAffiliation | Defines an affiliation/association/relationship between 2 distinct organizations, that is not a part-of relationship/sub-division relationship |
contained:Importer | S | 0..* | ImporterOrganization | A grouping of people or organizations with a common purpose |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
Slices for identifier | SΣC | 1..* | Identifier | Identifies this organization across multiple systems Slice: Unordered, Open by value:system ele-1: All FHIR elements must have a @value or children |
identifier:All Slices | Content/Rules for all slices | |||
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . ele-1: All FHIR elements must have a @value or children |
system | SΣ | 1..1 | uri | The namespace for the identifier value ele-1: All FHIR elements must have a @value or children Example General: http://www.acme.com/identifiers/patient |
value | SΣC | 1..1 | string | The value that is unique ele-1: All FHIR elements must have a @value or children Example General: 123456 |
identifier:DUNSNumber | SΣC | 1..1 | Identifier | Identifies this organization across multiple systems ele-1: All FHIR elements must have a @value or children spl-2.1.5.2: DUNS number is 9 digits |
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . ele-1: All FHIR elements must have a @value or children |
system | Σ | 0..1 | uri | The namespace for the identifier value ele-1: All FHIR elements must have a @value or children Required Pattern: urn:oid:1.3.6.1.4.1.519.1 |
identifier:FEINumber | SΣC | 0..1 | Identifier | Identifies this organization across multiple systems ele-1: All FHIR elements must have a @value or children spl-6.1.3.7: FEI number is 7 or 10 digits |
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . ele-1: All FHIR elements must have a @value or children |
system | Σ | 0..1 | uri | The namespace for the identifier value ele-1: All FHIR elements must have a @value or children Required Pattern: urn:oid:2.16.840.1.113883.4.82 |
active | ?!Σ | 0..1 | boolean | Whether the organization's record is still in active use ele-1: All FHIR elements must have a @value or children |
type | SΣ | 1..1 | CodeableConcept | Kind of organization Binding: OrganizationType (example): Used to categorize the organization. ele-1: All FHIR elements must have a @value or children Required Pattern: At least the following |
coding | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |
system | 1..1 | uri | Identity of the terminology system Fixed Value: http://hl7.org/fhir/us/spl/CodeSystem/codesystem-organizationTypes | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: Establishment | |
name | SΣC | 1..1 | string | Name used for the organization ele-1: All FHIR elements must have a @value or children |
Slices for contact | SC | 2..2 | ExtendedContactDetail | Official contact details for the Organization Slice: Unordered, Closed by exists:purpose ele-1: All FHIR elements must have a @value or children org-3: The telecom of an organization can never be of use 'home' org-4: The address of an organization can never be of use 'home' |
contact:OrgAddress | SC | 1..1 | ExtendedContactDetail | Official contact details for the Organization ele-1: All FHIR elements must have a @value or children org-3: The telecom of an organization can never be of use 'home' org-4: The address of an organization can never be of use 'home' |
address | SΣ | 1..1 | Address | Address for the contact ele-1: All FHIR elements must have a @value or children |
contact:OrgContact | SC | 1..1 | ExtendedContactDetail | Official contact details for the Organization ele-1: All FHIR elements must have a @value or children org-3: The telecom of an organization can never be of use 'home' org-4: The address of an organization can never be of use 'home' |
purpose | SΣ | 1..1 | CodeableConcept | The type of contact Binding: Contact entity type (preferred): The purpose for which an extended contact detail should be used. ele-1: All FHIR elements must have a @value or children Required Pattern: At least the following |
coding | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |
system | 1..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/contactentity-type | |
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: ADMIN | |
name | SΣ | 1..1 | HumanName | Name of an individual to contact ele-1: All FHIR elements must have a @value or children |
Slices for telecom | SΣ | 2..* | ContactPoint | Contact details (e.g.phone/fax/url) Slice: Unordered, Open by value:system ele-1: All FHIR elements must have a @value or children |
telecom:Phone | SC | 1..1 | SPLContactPoint | Details of a Technology mediated contact point (phone, fax, email, etc.) cpt-2: A system is required if a value is provided. ele-1: All FHIR elements must have a @value or children spl-2.1.7.x: Telephone and fax numbers are formatted properly spl-2.1.7.11: Emails are formatted properly |
system | SΣC | 1..1 | code | phone | fax | email | pager | url | sms | other Binding: ContactPointSystem (required): Telecommunications form for contact point. ele-1: All FHIR elements must have a @value or children Required Pattern: phone |
value | SΣC | 1..1 | string | The actual contact point details ele-1: All FHIR elements must have a @value or children |
use | ?!Σ | 0..1 | code | home | work | temp | old | mobile - purpose of this contact point Binding: ContactPointUse (required): Use of contact point. ele-1: All FHIR elements must have a @value or children |
telecom:Email | SC | 1..1 | SPLContactPoint | Details of a Technology mediated contact point (phone, fax, email, etc.) cpt-2: A system is required if a value is provided. ele-1: All FHIR elements must have a @value or children spl-2.1.7.x: Telephone and fax numbers are formatted properly spl-2.1.7.11: Emails are formatted properly |
system | SΣC | 1..1 | code | phone | fax | email | pager | url | sms | other Binding: ContactPointSystem (required): Telecommunications form for contact point. ele-1: All FHIR elements must have a @value or children Required Pattern: email |
value | SΣC | 1..1 | string | The actual contact point details ele-1: All FHIR elements must have a @value or children |
use | ?!Σ | 0..1 | code | home | work | temp | old | mobile - purpose of this contact point Binding: ContactPointUse (required): Use of contact point. ele-1: All FHIR elements must have a @value or children |
address | SC | 1..1 | SPLAddress | An address expressed using postal conventions (as opposed to GPS or other location definition formats) ele-1: All FHIR elements must have a @value or children spl-2.1.6.4: If the country is USA, then the state and postal code exist spl-2.1.6.5: If the country is USA, then the postal code is 5 digits with an optional dash and 4 numbers |
Documentation for this format |
Path | Conformance | ValueSet / Code | URI |
Organization.identifier.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|5.0.0 from the FHIR Standard | |
Organization.identifier:DUNSNumber.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|5.0.0 from the FHIR Standard | |
Organization.identifier:FEINumber.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|5.0.0 from the FHIR Standard | |
Organization.type | example | Pattern: Establishmenthttp://hl7.org/fhir/ValueSet/organization-type from the FHIR Standard | |
Organization.contact:OrgContact.purpose | preferred | Pattern: ADMINhttp://terminology.hl7.org/ValueSet/contactentity-type | |
Organization.contact:OrgContact.telecom:Phone.system | required | Pattern: phonehttp://hl7.org/fhir/ValueSet/contact-point-system|5.0.0 from the FHIR Standard | |
Organization.contact:OrgContact.telecom:Phone.use | required | ContactPointUsehttp://hl7.org/fhir/ValueSet/contact-point-use|5.0.0 from the FHIR Standard | |
Organization.contact:OrgContact.telecom:Email.system | required | Pattern: emailhttp://hl7.org/fhir/ValueSet/contact-point-system|5.0.0 from the FHIR Standard | |
Organization.contact:OrgContact.telecom:Email.use | required | ContactPointUsehttp://hl7.org/fhir/ValueSet/contact-point-use|5.0.0 from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
cpt-2 | error | Organization.contact:OrgContact.telecom:Phone, Organization.contact:OrgContact.telecom:Email | A system is required if a value is provided. : value.empty() or system.exists() | |
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().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-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-3 | error | Organization.contact, Organization.contact:OrgAddress, Organization.contact:OrgContact | The telecom of an organization can never be of use 'home' : telecom.where(use = 'home').empty() | |
org-4 | error | Organization.contact, Organization.contact:OrgAddress, Organization.contact:OrgContact | The address of an organization can never be of use 'home' : address.where(use = 'home').empty() | |
spl-2.1.5.2 | error | Organization.identifier:DUNSNumber | DUNS number is 9 digits : system = 'urn:oid:1.3.6.1.4.1.519.1' implies value.length() = 9 | |
spl-2.1.6.4 | error | Organization.contact:OrgContact.address | If the country is USA, then the state and postal code exist : country = 'USA' implies (state.exists() and state.length() = 2 and postalCode.exists()) | |
spl-2.1.6.5 | error | Organization.contact:OrgContact.address | If the country is USA, then the postal code is 5 digits with an optional dash and 4 numbers : country = 'USA' implies postalCode.matches('^[0-9]{5}(-[0-9]{4})?$') | |
spl-2.1.7.11 | error | Organization.contact:OrgContact.telecom:Phone, Organization.contact:OrgContact.telecom:Email | Emails are formatted properly : system = 'email' implies value.matches('^[a-zA-Z0-9.!#$%&’*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(\\.[a-zA-Z0-9-]+)*$') | |
spl-2.1.7.x | error | Organization.contact:OrgContact.telecom:Phone, Organization.contact:OrgContact.telecom:Email | Telephone and fax numbers are formatted properly : (system = 'phone' or system = 'fax') implies value.matches('^\\+[0-9]{1,3}-[0-9]{1,3}-[0-9]{3,4}-[0-9]{4}(;ext=[0-9]+)?$') | |
spl-5.1.5.6 | error | Organization | Each business operation code is mentioned only once. : contained.ofType(HealthcareService).type().isDistinct() | |
spl-6.1.3.7 | error | Organization.identifier:FEINumber | FEI number is 7 or 10 digits : system = 'urn:oid:2.16.840.1.113883.4.82' implies (value.length() = 7 or value.length() = 10) | |
spl-6.1.4.1 | error | Organization | If country is not USA, then US agent is mandatory. : contact.address.where(country = 'USA').count() = 0 implies contained.ofType(Organization).where(type.coding.where(code = 'USAgent').count() = 0).count() = 1 | |
spl-6.1.4.3 | error | Organization | If country is USA, then US agent is not allowed. : contact.address.where(country = 'USA').count() > 0 implies contained.ofType(Organization).where(type.coding.where(code = 'USAgent').count() = 0).count() = 0 | |
spl-6.1.5.3 | error | Organization | If country is USA, then import business is not allowed. : contact.address.where(country = 'USA').count() > 0 implies contained.ofType(Organization).where(type.coding.where(code = 'Importer').count() = 0).count() = 0 |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints | ||||
---|---|---|---|---|---|---|---|---|
Organization | C | 0..* | Organization | A grouping of people or organizations with a common purpose org-1: The organization SHALL at least have a name or an identifier, and possibly more than one spl-6.1.4.1: If country is not USA, then US agent is mandatory. spl-6.1.4.3: If country is USA, then US agent is not allowed. spl-6.1.5.3: If country is USA, then import business is not allowed. spl-5.1.5.6: Each business operation code is mentioned only once. | ||||
id | Σ | 0..1 | id | Logical id of this artifact | ||||
meta | Σ | 0..1 | Meta | Metadata about the resource | ||||
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
language | 0..1 | code | Language of the resource content Binding: AllLanguages (required): IETF language tag for a human language
| |||||
text | 0..1 | Narrative | Text summary of the resource, for human interpretation | |||||
Slices for contained | 1..* | Resource | Contained, inline Resources Slice: Unordered, Closed by profile:$this | |||||
contained:BusinessOperation | S | 1..* | EstablishmentBusinessOperation | The details of a healthcare service available at a location | ||||
contained:USAgentAffiliation | S | 0..1 | USAgentAffiliation | Defines an affiliation/association/relationship between 2 distinct organizations, that is not a part-of relationship/sub-division relationship | ||||
contained:USAgent | S | 0..1 | USAgentOrganization | A grouping of people or organizations with a common purpose | ||||
contained:ImporterAffiliation | S | 0..* | ImporterAffiliation | Defines an affiliation/association/relationship between 2 distinct organizations, that is not a part-of relationship/sub-division relationship | ||||
contained:Importer | S | 0..* | ImporterOrganization | A grouping of people or organizations with a common purpose | ||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored | ||||
Slices for identifier | SΣC | 1..* | Identifier | Identifies this organization across multiple systems Slice: Unordered, Open by value:system | ||||
identifier:All Slices | Content/Rules for all slices | |||||||
id | 0..1 | id | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||
type | Σ | 0..1 | CodeableConcept | Description of identifier Binding: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | ||||
system | SΣ | 1..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient | ||||
value | SΣC | 1..1 | string | The value that is unique Example General: 123456 | ||||
period | Σ | 0..1 | Period | Time period when id is/was valid for use | ||||
assigner | Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||
identifier:DUNSNumber | SΣC | 1..1 | Identifier | Identifies this organization across multiple systems spl-2.1.5.2: DUNS number is 9 digits | ||||
id | 0..1 | id | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||
type | Σ | 0..1 | CodeableConcept | Description of identifier Binding: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | ||||
system | Σ | 0..1 | uri | The namespace for the identifier value Required Pattern: urn:oid:1.3.6.1.4.1.519.1 | ||||
value | ΣC | 0..1 | string | The value that is unique Example General: 123456 | ||||
period | Σ | 0..1 | Period | Time period when id is/was valid for use | ||||
assigner | Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||
identifier:FEINumber | SΣC | 0..1 | Identifier | Identifies this organization across multiple systems spl-6.1.3.7: FEI number is 7 or 10 digits | ||||
id | 0..1 | id | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||
type | Σ | 0..1 | CodeableConcept | Description of identifier Binding: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | ||||
system | Σ | 0..1 | uri | The namespace for the identifier value Required Pattern: urn:oid:2.16.840.1.113883.4.82 | ||||
value | ΣC | 0..1 | string | The value that is unique Example General: 123456 | ||||
period | Σ | 0..1 | Period | Time period when id is/was valid for use | ||||
assigner | Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||
active | ?!Σ | 0..1 | boolean | Whether the organization's record is still in active use | ||||
type | SΣ | 1..1 | CodeableConcept | Kind of organization Binding: OrganizationType (example): Used to categorize the organization. Required Pattern: At least the following | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
coding | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
system | 1..1 | uri | Identity of the terminology system Fixed Value: http://hl7.org/fhir/us/spl/CodeSystem/codesystem-organizationTypes | |||||
version | 0..1 | string | Version of the system - if relevant | |||||
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: Establishment | |||||
display | 0..1 | string | Representation defined by the system | |||||
userSelected | 0..1 | boolean | If this coding was chosen directly by the user | |||||
text | 0..1 | string | Plain text representation of the concept | |||||
name | SΣC | 1..1 | string | Name used for the organization | ||||
alias | 0..* | string | A list of alternate names that the organization is known as, or was known as in the past | |||||
description | Σ | 0..1 | markdown | Additional details about the Organization that could be displayed as further information to identify the Organization beyond its name | ||||
Slices for contact | SC | 2..2 | ExtendedContactDetail | Official contact details for the Organization Slice: Unordered, Closed by exists:purpose org-3: The telecom of an organization can never be of use 'home' org-4: The address of an organization can never be of use 'home' | ||||
contact:OrgAddress | SC | 1..1 | ExtendedContactDetail | Official contact details for the Organization org-3: The telecom of an organization can never be of use 'home' org-4: The address of an organization can never be of use 'home' | ||||
id | 0..1 | id | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
name | Σ | 0..* | HumanName | Name of an individual to contact | ||||
telecom | Σ | 0..* | ContactPoint | Contact details (e.g.phone/fax/url) | ||||
address | SΣ | 1..1 | Address | Address for the contact | ||||
organization | Σ | 0..1 | Reference(Organization) | This contact detail is handled/monitored by a specific organization | ||||
period | Σ | 0..1 | Period | Period that this contact was valid for usage | ||||
contact:OrgContact | SC | 1..1 | ExtendedContactDetail | Official contact details for the Organization org-3: The telecom of an organization can never be of use 'home' org-4: The address of an organization can never be of use 'home' | ||||
id | 0..1 | id | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
purpose | SΣ | 1..1 | CodeableConcept | The type of contact Binding: Contact entity type (preferred): The purpose for which an extended contact detail should be used. Required Pattern: At least the following | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
coding | 1..* | Coding | Code defined by a terminology system Fixed Value: (complex) | |||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
system | 1..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/contactentity-type | |||||
version | 0..1 | string | Version of the system - if relevant | |||||
code | 1..1 | code | Symbol in syntax defined by the system Fixed Value: ADMIN | |||||
display | 0..1 | string | Representation defined by the system | |||||
userSelected | 0..1 | boolean | If this coding was chosen directly by the user | |||||
text | 0..1 | string | Plain text representation of the concept | |||||
name | SΣ | 1..1 | HumanName | Name of an individual to contact | ||||
Slices for telecom | SΣ | 2..* | ContactPoint | Contact details (e.g.phone/fax/url) Slice: Unordered, Open by value:system | ||||
telecom:Phone | SC | 1..1 | SPLContactPoint | Details of a Technology mediated contact point (phone, fax, email, etc.) cpt-2: A system is required if a value is provided. spl-2.1.7.x: Telephone and fax numbers are formatted properly spl-2.1.7.11: Emails are formatted properly | ||||
id | 0..1 | id | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
system | SΣC | 1..1 | code | phone | fax | email | pager | url | sms | other Binding: ContactPointSystem (required): Telecommunications form for contact point. Required Pattern: phone | ||||
value | SΣC | 1..1 | string | The actual contact point details | ||||
use | ?!Σ | 0..1 | code | home | work | temp | old | mobile - purpose of this contact point Binding: ContactPointUse (required): Use of contact point. | ||||
rank | Σ | 0..1 | positiveInt | Specify preferred order of use (1 = highest) | ||||
period | Σ | 0..1 | Period | Time period when the contact point was/is in use | ||||
telecom:Email | SC | 1..1 | SPLContactPoint | Details of a Technology mediated contact point (phone, fax, email, etc.) cpt-2: A system is required if a value is provided. spl-2.1.7.x: Telephone and fax numbers are formatted properly spl-2.1.7.11: Emails are formatted properly | ||||
id | 0..1 | id | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
system | SΣC | 1..1 | code | phone | fax | email | pager | url | sms | other Binding: ContactPointSystem (required): Telecommunications form for contact point. Required Pattern: email | ||||
value | SΣC | 1..1 | string | The actual contact point details | ||||
use | ?!Σ | 0..1 | code | home | work | temp | old | mobile - purpose of this contact point Binding: ContactPointUse (required): Use of contact point. | ||||
rank | Σ | 0..1 | positiveInt | Specify preferred order of use (1 = highest) | ||||
period | Σ | 0..1 | Period | Time period when the contact point was/is in use | ||||
address | SC | 1..1 | SPLAddress | An address expressed using postal conventions (as opposed to GPS or other location definition formats) spl-2.1.6.4: If the country is USA, then the state and postal code exist spl-2.1.6.5: If the country is USA, then the postal code is 5 digits with an optional dash and 4 numbers | ||||
organization | Σ | 0..1 | Reference(Organization) | This contact detail is handled/monitored by a specific organization | ||||
period | Σ | 0..1 | Period | Period that this contact was valid for usage | ||||
partOf | Σ | 0..1 | Reference(Organization) | The organization of which this organization forms a part | ||||
endpoint | 0..* | Reference(Endpoint) | Technical endpoints providing access to services operated for the organization | |||||
qualification | 0..* | BackboneElement | Qualifications, certifications, accreditations, licenses, training, etc. pertaining to the provision of care | |||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
identifier | 0..* | Identifier | An identifier for this qualification for the organization | |||||
code | 1..1 | CodeableConcept | Coded representation of the qualification Binding Description (No ValueSet): (example): Specific qualification the organization has to provide a service. | |||||
period | 0..1 | Period | Period during which the qualification is valid | |||||
issuer | 0..1 | Reference(Organization) | Organization that regulates and issues the qualification | |||||
Documentation for this format |
Path | Conformance | ValueSet / Code | URI |
Organization.language | required | AllLanguageshttp://hl7.org/fhir/ValueSet/all-languages|5.0.0 from the FHIR Standard | |
Organization.identifier.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|5.0.0 from the FHIR Standard | |
Organization.identifier.type | extensible | IdentifierTypeCodeshttp://hl7.org/fhir/ValueSet/identifier-type from the FHIR Standard | |
Organization.identifier:DUNSNumber.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|5.0.0 from the FHIR Standard | |
Organization.identifier:DUNSNumber.type | extensible | IdentifierTypeCodeshttp://hl7.org/fhir/ValueSet/identifier-type from the FHIR Standard | |
Organization.identifier:FEINumber.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|5.0.0 from the FHIR Standard | |
Organization.identifier:FEINumber.type | extensible | IdentifierTypeCodeshttp://hl7.org/fhir/ValueSet/identifier-type from the FHIR Standard | |
Organization.type | example | Pattern: Establishmenthttp://hl7.org/fhir/ValueSet/organization-type from the FHIR Standard | |
Organization.contact:OrgContact.purpose | preferred | Pattern: ADMINhttp://terminology.hl7.org/ValueSet/contactentity-type | |
Organization.contact:OrgContact.telecom:Phone.system | required | Pattern: phonehttp://hl7.org/fhir/ValueSet/contact-point-system|5.0.0 from the FHIR Standard | |
Organization.contact:OrgContact.telecom:Phone.use | required | ContactPointUsehttp://hl7.org/fhir/ValueSet/contact-point-use|5.0.0 from the FHIR Standard | |
Organization.contact:OrgContact.telecom:Email.system | required | Pattern: emailhttp://hl7.org/fhir/ValueSet/contact-point-system|5.0.0 from the FHIR Standard | |
Organization.contact:OrgContact.telecom:Email.use | required | ContactPointUsehttp://hl7.org/fhir/ValueSet/contact-point-use|5.0.0 from the FHIR Standard | |
Organization.qualification.code | example |
Id | Grade | Path(s) | Details | Requirements |
cpt-2 | error | Organization.contact:OrgContact.telecom:Phone, Organization.contact:OrgContact.telecom:Email | A system is required if a value is provided. : value.empty() or system.exists() | |
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().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-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-3 | error | Organization.contact, Organization.contact:OrgAddress, Organization.contact:OrgContact | The telecom of an organization can never be of use 'home' : telecom.where(use = 'home').empty() | |
org-4 | error | Organization.contact, Organization.contact:OrgAddress, Organization.contact:OrgContact | The address of an organization can never be of use 'home' : address.where(use = 'home').empty() | |
spl-2.1.5.2 | error | Organization.identifier:DUNSNumber | DUNS number is 9 digits : system = 'urn:oid:1.3.6.1.4.1.519.1' implies value.length() = 9 | |
spl-2.1.6.4 | error | Organization.contact:OrgContact.address | If the country is USA, then the state and postal code exist : country = 'USA' implies (state.exists() and state.length() = 2 and postalCode.exists()) | |
spl-2.1.6.5 | error | Organization.contact:OrgContact.address | If the country is USA, then the postal code is 5 digits with an optional dash and 4 numbers : country = 'USA' implies postalCode.matches('^[0-9]{5}(-[0-9]{4})?$') | |
spl-2.1.7.11 | error | Organization.contact:OrgContact.telecom:Phone, Organization.contact:OrgContact.telecom:Email | Emails are formatted properly : system = 'email' implies value.matches('^[a-zA-Z0-9.!#$%&’*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(\\.[a-zA-Z0-9-]+)*$') | |
spl-2.1.7.x | error | Organization.contact:OrgContact.telecom:Phone, Organization.contact:OrgContact.telecom:Email | Telephone and fax numbers are formatted properly : (system = 'phone' or system = 'fax') implies value.matches('^\\+[0-9]{1,3}-[0-9]{1,3}-[0-9]{3,4}-[0-9]{4}(;ext=[0-9]+)?$') | |
spl-5.1.5.6 | error | Organization | Each business operation code is mentioned only once. : contained.ofType(HealthcareService).type().isDistinct() | |
spl-6.1.3.7 | error | Organization.identifier:FEINumber | FEI number is 7 or 10 digits : system = 'urn:oid:2.16.840.1.113883.4.82' implies (value.length() = 7 or value.length() = 10) | |
spl-6.1.4.1 | error | Organization | If country is not USA, then US agent is mandatory. : contact.address.where(country = 'USA').count() = 0 implies contained.ofType(Organization).where(type.coding.where(code = 'USAgent').count() = 0).count() = 1 | |
spl-6.1.4.3 | error | Organization | If country is USA, then US agent is not allowed. : contact.address.where(country = 'USA').count() > 0 implies contained.ofType(Organization).where(type.coding.where(code = 'USAgent').count() = 0).count() = 0 | |
spl-6.1.5.3 | error | Organization | If country is USA, then import business is not allowed. : contact.address.where(country = 'USA').count() > 0 implies contained.ofType(Organization).where(type.coding.where(code = 'Importer').count() = 0).count() = 0 |
This structure is derived from Organization
Summary
Mandatory: 16 elements
Must-Support: 22 elements
Prohibited: 1 element
Structures
This structure refers to these other structures:
Slices
This structure defines the following Slices:
Maturity: 1
Other representations of profile: CSV, Excel, Schematron