SPL Mapping FHIR R5 Implementation Guide
0.2.5 - Build CI United States of America flag

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.5 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

Resource Profile: EstablishmentBusinessOperation

Official URL: http://hl7.org/fhir/us/spl/StructureDefinition/EstablishmentBusinessOperation Version: 0.2.5
Standards status: Trial-use Maturity Level: 1 Computable Name: EstablishmentBusinessOperation

A profile that associates an establishment to the set of business operations that it can perform.

Usage:

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

NameFlagsCard.TypeDescription & Constraintsdoco
.. HealthcareService C 0..* HealthcareService The details of a healthcare service available at a location
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
spl-6.1.6.8: If operation is C125710, then qualifier is C126091
spl-6.1.7.1-5-6-7: If operation is C112113, then specific qualifiers need to exist
spl-6.1.7.9: If qualifier is C112093, then C112094 and C112095 should not be included
spl-6.1.7.10: If qualifier is a compounding qualifier, the operation is C112113
spl-6.1.7.11: There are one or more qualifiers unless the operation is C25391, C82401, or C84635
... 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
... contained 0..* Resource Contained, inline Resources
... 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
... providedBy SΣ 1..1 Reference(EstablishmentOrganization) Organization that provides this service
ele-1: All FHIR elements must have a @value or children
... type SΣ 1..1 CodeableConcept Type of service that may be delivered or performed
Binding: Establishment Business Operations (required)
ele-1: All FHIR elements must have a @value or children
... serviceProvisionCode S 0..* CodeableConcept Conditions under which service is available/offered
Binding: Business Operation Qualifiers (required)
ele-1: All FHIR elements must have a @value or children

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
HealthcareService.typerequiredEstablishmentBusinessOperations
http://hl7.org/fhir/us/spl/ValueSet/valueset-establishmentBusinessOperations
from this IG
HealthcareService.serviceProvisionCoderequiredBusinessOperationQualifiers
http://hl7.org/fhir/us/spl/ValueSet/valueset-businessOperationQualifiers
from this IG

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorHealthcareServiceIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorHealthcareServiceIf 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-4errorHealthcareServiceIf 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-5errorHealthcareServiceIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceHealthcareServiceA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
spl-6.1.6.8errorHealthcareServiceIf operation is C125710, then qualifier is C126091
: type.coding.where(code = 'C125710').exists() implies serviceProvisionCode.coding.select(code = 'C126091').allTrue()
spl-6.1.7.1-5-6-7errorHealthcareServiceIf operation is C112113, then specific qualifiers need to exist
: type.coding.where(code = 'C112113').exists() implies (serviceProvisionCode.coding.where(code = 'C112087') xor serviceProvisionCode.coding.where(code = 'C112091')) and (serviceProvisionCode.coding.where(code = 'C112092') xor serviceProvisionCode.coding.where(code = 'C112093'))
spl-6.1.7.10errorHealthcareServiceIf qualifier is a compounding qualifier, the operation is C112113
: serviceProvisionCode.coding.where(code in ('C112087'|'C112091'|'C112092'|'C112093'|'C112094'|'C112095')).exists() implies type.coding.where(code = 'C112113').count() = 1
spl-6.1.7.11errorHealthcareServiceThere are one or more qualifiers unless the operation is C25391, C82401, or C84635
: type.coding.where(code in ('C25391'|'C82401'|'C84635')).count() = 1 xor serviceProvisionCode.count() > 0
spl-6.1.7.9errorHealthcareServiceIf qualifier is C112093, then C112094 and C112095 should not be included
: serviceProvisionCode.coding.where(code = 'C112093').exists() implies serviceProvisionCode.coding.where(code in ('C112094'|'C112095')).count() = 0

 

Other representations of profile: CSV, Excel, Schematron