Foundation
This
page
is
part
of
the
Continuous
Integration
Build
of
FHIR
Specification
(v5.0.0:
R5
-
STU
).
This
is
the
current
published
version
in
it's
permanent
home
(it
will
always
(will
be
available
incorrect/inconsistent
at
this
URL).
For
a
full
list
of
available
versions,
see
times).
See
the
Directory
of
published
versions
.
Page
versions:
R5
R4B
R4
R3
| Responsible Owner: Patient Administration Work Group | Standards Status : Informative | Compartments : Patient , RelatedPerson |
ShEx statement for relatedperson
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 <date.shex># ShEx Version 2.2 IMPORT <Code.shex> IMPORT <Date.shex> IMPORT <Period.shex>IMPORT <boolean.shex>IMPORT <Boolean.shex> IMPORT <Patient.shex> IMPORT <Address.shex> IMPORT <Reference.shex> IMPORT <HumanName.shex> IMPORT <Identifier.shex> IMPORT <Attachment.shex> IMPORT <ContactPoint.shex> IMPORT <DomainResource.shex> IMPORT <CodeableConcept.shex> IMPORT <BackboneElement.shex> start=@<RelatedPerson> AND {fhir:nodeRole [fhir:treeRoot]} # A person that is related to a patient, but who is not a direct target of care <RelatedPerson> EXTENDS @<DomainResource> CLOSED {a [fhir:RelatedPerson]?; fhir:nodeRole [fhir:treeRoot]?;a [fhir:RelatedPerson]?;fhir:nodeRole [fhir:treeRoot]?; fhir:identifier @<OneOrMore_Identifier>?; # A human identifier for this personfhir:active @<boolean>?; # Whether this related person'sfhir:active @<Boolean>?; # Whether this related person's # record is in active usefhir:patient @<Reference> AND {fhir:linkfhir:patient @<Reference> AND {fhir:l @<Patient> ? }; # The patient this person is related # tofhir:relationship @<OneOrMore_CodeableConcept>?; # The relationship of the relatedfhir:relationship @<OneOrMore_CodeableConcept>?; # The personal relationship of the # related person to the patient fhir:role @<OneOrMore_CodeableConcept>?; # The functional role of the related # person to the patient fhir:name @<OneOrMore_HumanName>?; # A name associated with the person fhir:telecom @<OneOrMore_ContactPoint>?; # A contact detail for the personfhir:gender @<code> ANDfhir:gender @<Code> AND {fhir:v @fhirvs:administrative-gender}?; # male | female | other | unknownfhir:birthDate @<date>?; # The date on which the relatedfhir:birthDate @<Date>?; # The date on which the related # person was born fhir:address @<OneOrMore_Address>?; # Address where the related person # can be contacted or visited fhir:photo @<OneOrMore_Attachment>?; # Image of the person fhir:period @<Period>?; # Period of time that this # relationship is considered valid fhir:communication @<OneOrMore_RelatedPerson.communication>?; # A language which may be used to # communicate with the related # person about the patient's health } # A language which may be used to communicate with the related person about the patient's health <RelatedPerson.communication> EXTENDS @<BackboneElement> CLOSED { fhir:language @<CodeableConcept>; # The language which can be used to # communicate with the related # person about the patient's healthfhir:preferred @<boolean>?; # Language preference indicatorfhir:preferred @<Boolean>?; # Language preference indicator } #---------------------- 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_HumanName> CLOSED { rdf:first @<HumanName> ; rdf:rest [rdf:nil] OR @<OneOrMore_HumanName> } <OneOrMore_ContactPoint> CLOSED { rdf:first @<ContactPoint> ; rdf:rest [rdf:nil] OR @<OneOrMore_ContactPoint> } <OneOrMore_Address> CLOSED { rdf:first @<Address> ; rdf:rest [rdf:nil] OR @<OneOrMore_Address> } <OneOrMore_Attachment> CLOSED { rdf:first @<Attachment> ; rdf:rest [rdf:nil] OR @<OneOrMore_Attachment> } <OneOrMore_RelatedPerson.communication> CLOSED { rdf:first @<RelatedPerson.communication> ; rdf:rest [rdf:nil] OR @<OneOrMore_RelatedPerson.communication> } #---------------------- Value Sets ------------------------ # The gender of a person used for administrative purposes. fhirvs:administrative-gender ["male" "female" "other" "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
R5
hl7.fhir.core#5.0.0
R6
hl7.fhir.core#6.0.0-ballot3
generated
on
Sun,
Mar
26,
2023
15:25+1100.
Thu,
Nov
27,
2025
16:54+0000.
Links:
Search
|
Version
History
|
Contents
|
Glossary
|
QA
|
Compare
to
R4
|
Compare
to
R4B
R5
|
Compare
to
Last
Ballot
|
|
Propose
a
change