Release 5

This page is part of the FHIR Specification (v5.0.0: R5 - STU). This is a downloaded copy of the specification. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3

Humanname.shex

Modeling and Methodology Work GroupMaturity Level: N/AStandards Status: Informative

Raw ShEx

ShEx statement for HumanName

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 <code.shex>
IMPORT <string.shex>
IMPORT <Period.shex>
IMPORT <DataType.shex>

# Name of a human or other living entity - parts and usage
<HumanName> EXTENDS @<DataType> CLOSED {   

    a [fhir:HumanName]?;

    fhir:use @<code> AND
    	{fhir:v @fhirvs:name-use}?;  # usual | official | temp | nickname 
                                            # | anonymous | old | maiden 
    fhir:text @<string>?;                   # Text representation of the full 
                                            # name 
    fhir:family @<string>?;                 # Family name (often called 
                                            # 'Surname') 
    fhir:given @<OneOrMore_string>?;        # Given names (not always 'first'). 
                                            # Includes middle names 
    fhir:prefix @<OneOrMore_string>?;       # Parts that come before the name
    fhir:suffix @<OneOrMore_string>?;       # Parts that come after the name
    fhir:period @<Period>?;                 # Time period when name was/is in use
}  

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

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

#---------------------- Value Sets ------------------------

# The use of a human name.
fhirvs:name-use ["usual" "official" "temp" "nickname" "anonymous" "old" "maiden"]


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.