R6 Ballot (1st Draft)

This page is part of the FHIR Specification v6.0.0-ballot1: Release 6 Ballot (1st Draft) (see Ballot Notes). The current version is 5.0.0. For a full list of available versions, see the Directory of published versions

Organization.shex

Patient Administration Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: No defined compartments

Raw ShEx

ShEx statement for organization

PREFIX fhir: <http://hl7.org/fhir/> 
PREFIX fhirvs: <http://hl7.org/fhir/ValueSet/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> 
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> 

IMPORT <string.shex>
IMPORT <Period.shex>
IMPORT <boolean.shex>
IMPORT <markdown.shex>
IMPORT <Endpoint.shex>
IMPORT <Reference.shex>
IMPORT <Identifier.shex>
IMPORT <DomainResource.shex>
IMPORT <CodeableConcept.shex>
IMPORT <BackboneElement.shex>
IMPORT <ExtendedContactDetail.shex>


start=@<Organization> AND {fhir:nodeRole [fhir:treeRoot]}

# A grouping of people or organizations with a common purpose
<Organization> EXTENDS @<DomainResource> CLOSED {   

    a [fhir:Organization]?;
    fhir:nodeRole [fhir:treeRoot]?;

    fhir:identifier @<OneOrMore_Identifier>?;  # Identifies this organization  
                                            # across multiple systems 
    fhir:active @<boolean>?;                # Whether the organization's record 
                                            # is still in active use 
    fhir:type @<OneOrMore_CodeableConcept>?;  # Kind of organization
    fhir:name @<string>?;                   # Name used for the organization
    fhir:alias @<OneOrMore_string>?;        # A list of alternate names that the 
                                            # organization is known as, or was 
                                            # known as in the past 
    fhir:description @<markdown>?;          # Additional details about the 
                                            # Organization that could be 
                                            # displayed as further information 
                                            # to identify the Organization 
                                            # beyond its name 
    fhir:contact @<OneOrMore_ExtendedContactDetail>?;  # Official contact details for the 
                                            # Organization 
    fhir:partOf @<Reference> AND {fhir:link 
    			@<Organization> ? }?;  # The organization of which this 
                                            # organization forms a part 
    fhir:endpoint @<OneOrMore_Reference_Endpoint>?;  # Technical endpoints providing 
                                            # access to services operated for 
                                            # the organization 
    fhir:qualification @<OneOrMore_Organization.qualification>?;  # Qualifications, certifications, 
                                            # accreditations, licenses, 
                                            # training, etc. pertaining to the 
                                            # provision of care 
}  

# Qualifications, certifications, accreditations, licenses, training, etc. pertaining to the provision of care
<Organization.qualification> EXTENDS @<BackboneElement> CLOSED {   
    fhir:identifier @<OneOrMore_Identifier>?;  # An identifier for this 
                                            # qualification for the organization 
    fhir:code @<CodeableConcept>;           # Coded representation of the 
                                            # qualification 
    fhir:status @<CodeableConcept>?;        # Status/progress of the 
                                            # qualification 
    fhir:period @<Period>?;                 # Period during which the 
                                            # qualification is valid 
    fhir:issuer @<Reference> AND {fhir:link 
    			@<Organization> ? }?;  # Organization that regulates and 
                                            # issues the qualification 
}  

#---------------------- Cardinality Types (OneOrMore) -------------------

<OneOrMore_Identifier> CLOSED {
    rdf:first @<Identifier>  ;
    rdf:rest [rdf:nil] OR @<OneOrMore_Identifier> 
}

<OneOrMore_CodeableConcept> CLOSED {
    rdf:first @<CodeableConcept>  ;
    rdf:rest [rdf:nil] OR @<OneOrMore_CodeableConcept> 
}

<OneOrMore_string> CLOSED {
    rdf:first @<string>  ;
    rdf:rest [rdf:nil] OR @<OneOrMore_string> 
}

<OneOrMore_ExtendedContactDetail> CLOSED {
    rdf:first @<ExtendedContactDetail>  ;
    rdf:rest [rdf:nil] OR @<OneOrMore_ExtendedContactDetail> 
}

<OneOrMore_Reference_Endpoint> CLOSED {
    rdf:first @<Reference> AND {fhir:link 
			@<Endpoint> } ;
    rdf:rest [rdf:nil] OR @<OneOrMore_Reference_Endpoint> 
}

<OneOrMore_Organization.qualification> CLOSED {
    rdf:first @<Organization.qualification>  ;
    rdf:rest [rdf:nil] OR @<OneOrMore_Organization.qualification> 
}


Usage note: every effort has been made to ensure that the ShEx files are correct and useful, but they are not a normative part of the specification.