 Foundation
 FoundationThis is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times). 
See the Directory of published versions
| Patient Care Work Group | Maturity Level: N/A | Standards Status: Informative | Compartments: Patient | 
ShEx statement for familymemberhistory
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 <Age.shex>
IMPORT <code.shex>
IMPORT <date.shex>
IMPORT <Group.shex>
IMPORT <Range.shex>
IMPORT <Device.shex>
IMPORT <string.shex>
IMPORT <Period.shex>
IMPORT <Patient.shex>
IMPORT <boolean.shex>
IMPORT <dateTime.shex>
IMPORT <CareTeam.shex>
IMPORT <Reference.shex>
IMPORT <Identifier.shex>
IMPORT <Annotation.shex>
IMPORT <Organization.shex>
IMPORT <Practitioner.shex>
IMPORT <RelatedPerson.shex>
IMPORT <DomainResource.shex>
IMPORT <CodeableConcept.shex>
IMPORT <BackboneElement.shex>
IMPORT <PractitionerRole.shex>
IMPORT <CodeableReference.shex>
start=@<FamilyMemberHistory> AND {fhir:nodeRole [fhir:treeRoot]}
# Information about patient's relatives, relevant for patient
<FamilyMemberHistory> EXTENDS @<DomainResource> CLOSED {   
    a [fhir:FamilyMemberHistory]?;fhir:nodeRole [fhir:treeRoot]?;
    fhir:identifier @<OneOrMore_Identifier>?;  # External Id(s) for this record
    fhir:status @<code> AND
    	{fhir:v @fhirvs:history-status};  # partial | completed | 
                                            # entered-in-error | health-unknown 
    fhir:dataAbsentReason @<CodeableConcept>?;  # subject-unknown | withheld | 
                                            # unable-to-obtain | deferred 
    fhir:patient @<Reference> AND {fhir:link 
    			@<Patient> ? };  # Patient history is about
    fhir:date @<dateTime>?;                 # When history was recorded or last 
                                            # updated 
    fhir:recorder @<Reference> AND {fhir:link 
    			@<CareTeam> OR 
    			@<Group> OR 
    			@<Organization> OR 
    			@<Patient> OR 
    			@<Practitioner> OR 
    			@<PractitionerRole> OR 
    			@<RelatedPerson> ? }?;  # Who recorded the family member 
                                            # history 
    fhir:asserter @<Reference> AND {fhir:link 
    			@<CareTeam> OR 
    			@<Device> OR 
    			@<Group> OR 
    			@<Organization> OR 
    			@<Patient> OR 
    			@<Practitioner> OR 
    			@<PractitionerRole> OR 
    			@<RelatedPerson> ? }?;  # Person or device that asserts this 
                                            # family member history 
    fhir:name @<string>?;                   # The family member described
    fhir:relationship @<CodeableConcept>;   # Relationship to the subject
    fhir:sex @<CodeableConcept>?;           # male | female | other | unknown
    fhir:born @<Period>  OR 
    			@<date>  OR 
    			@<string>  ?;  # (approximate) date of birth
    fhir:age @<Age>  OR 
    			@<Range>  OR 
    			@<string>  ?;  # (approximate) age
    fhir:estimatedAge @<boolean>?;          # Age is estimated?
    fhir:deceased @<boolean>  OR 
    			@<Age>  OR 
    			@<Range>  OR 
    			@<date>  OR 
    			@<string>  ?;  # Dead? How old/when?
    fhir:reason @<OneOrMore_CodeableReference>?;  # Why was family member history 
                                            # performed? 
    fhir:note @<OneOrMore_Annotation>?;     # General note about related person
    fhir:condition @<OneOrMore_FamilyMemberHistory.condition>?;  # Condition that the related person 
                                            # had 
    fhir:procedure @<OneOrMore_FamilyMemberHistory.procedure>?;  # Procedures that the related person 
                                            # had 
}  
# Condition that the related person had
<FamilyMemberHistory.condition> EXTENDS @<BackboneElement> CLOSED {   
    fhir:code @<CodeableConcept>;           # Condition, allergy, or intolerance 
                                            # suffered by relation 
    fhir:outcome @<CodeableConcept>?;       # deceased | permanent disability | 
                                            # etc 
    fhir:contributedToDeath @<boolean>?;    # Whether the condition contributed 
                                            # to the cause of death 
    fhir:onset @<Age>  OR 
    			@<Range>  OR 
    			@<Period>  OR 
    			@<string>  ?;  # When condition first manifested
    fhir:note @<OneOrMore_Annotation>?;     # Extra information about condition
}  
# Procedures that the related person had
<FamilyMemberHistory.procedure> EXTENDS @<BackboneElement> CLOSED {   
    fhir:code @<CodeableConcept>;           # Procedures performed on the 
                                            # related person 
    fhir:outcome @<CodeableConcept>?;       # What happened following the 
                                            # procedure 
    fhir:contributedToDeath @<boolean>?;    # Whether the procedure contributed 
                                            # to the cause of death 
    fhir:performed @<Age>  OR 
    			@<Range>  OR 
    			@<Period>  OR 
    			@<string>  OR 
    			@<dateTime>  ?;  # When the procedure was performed
    fhir:note @<OneOrMore_Annotation>?;     # Extra information about the 
                                            # procedure 
}  
#---------------------- Cardinality Types (OneOrMore) -------------------
<OneOrMore_Identifier> CLOSED {
    rdf:first @<Identifier>  ;
    rdf:rest [rdf:nil] OR @<OneOrMore_Identifier> 
}
<OneOrMore_CodeableReference> CLOSED {
    rdf:first @<CodeableReference>  ;
    rdf:rest [rdf:nil] OR @<OneOrMore_CodeableReference> 
}
<OneOrMore_Annotation> CLOSED {
    rdf:first @<Annotation>  ;
    rdf:rest [rdf:nil] OR @<OneOrMore_Annotation> 
}
<OneOrMore_FamilyMemberHistory.condition> CLOSED {
    rdf:first @<FamilyMemberHistory.condition>  ;
    rdf:rest [rdf:nil] OR @<OneOrMore_FamilyMemberHistory.condition> 
}
<OneOrMore_FamilyMemberHistory.procedure> CLOSED {
    rdf:first @<FamilyMemberHistory.procedure>  ;
    rdf:rest [rdf:nil] OR @<OneOrMore_FamilyMemberHistory.procedure> 
}
#---------------------- Value Sets ------------------------
# A code that identifies the status of the family history record.
fhirvs:history-status ["partial" "completed" "entered-in-error" "health-unknown"]
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.
        FHIR ®© HL7.org 2011+. FHIR R6 hl7.fhir.core#6.0.0-ballot3 generated on Thu, Oct 23, 2025 19:46+0000. 
        
        
        Links: Search | 
               Version History | 
               Contents | 
               Glossary |
               QA |
               Compare to R5 |                
                | 
               Propose a change
 | 
               Propose a change   
        
        
