Publish-box
(todo)
This
is
the
Continuous
Integration
Build
of
FHIR
(will
be
incorrect/inconsistent
at
times).
See
the
Directory
of
published
versions
Enrollmentresponse.shex
Raw
ShEx
ShEx
statement
for
enrollmentresponse
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 <dateTime.shex>
# ShEx Version 2.2
IMPORT <Code.shex>
IMPORT <Group.shex>
IMPORT <String.shex>
IMPORT <Patient.shex>
IMPORT <DateTime.shex>
IMPORT <Reference.shex>
IMPORT <Identifier.shex>
IMPORT <Organization.shex>
IMPORT <Practitioner.shex>
IMPORT <DomainResource.shex>
IMPORT <PractitionerRole.shex>
IMPORT <EnrollmentRequest.shex>
start=@<EnrollmentResponse> AND {fhir:nodeRole [fhir:treeRoot]}
# EnrollmentResponse resource
<EnrollmentResponse> EXTENDS @<DomainResource> CLOSED {
a [fhir:EnrollmentResponse]?;fhir:nodeRole [fhir:treeRoot]?;
fhir:identifier @<OneOrMore_Identifier>?; # Business Identifier
fhir:status @<code> AND
fhir:status @<Code> AND
{fhir:v @fhirvs:fm-status}?; # active | cancelled | draft |
# entered-in-error
fhir:request @<Reference> AND {fhir:link
fhir:request @<Reference> AND {fhir:l
@<EnrollmentRequest> ? }?; # Claim reference
fhir:outcome @<code> AND
fhir:outcome @<Code> AND
{fhir:v @fhirvs:enrollment-outcome}?; # queued | complete | error | partial
fhir:disposition @<string>?; # Disposition Message
fhir:created @<dateTime>?; # Creation date
fhir:organization @<Reference> AND {fhir:link
fhir:disposition @<String>?; # Disposition Message
fhir:created @<DateTime>?; # Creation date
fhir:organization @<Reference> AND {fhir:l
@<Organization> ? }?; # Insurer
fhir:requestProvider @<Reference> AND {fhir:link
fhir:requestProvider @<Reference> AND {fhir:l
@<Organization> OR
@<Practitioner> OR
@<PractitionerRole> ? }?; # Responsible practitioner
fhir:candidate @<Reference> AND {fhir:l
@<Group> OR
@<Patient> ? }?; # The subject(s)to be enrolled
}
#---------------------- Cardinality Types (OneOrMore) -------------------
<OneOrMore_Identifier> CLOSED {
rdf:first @<Identifier> ;
rdf:rest [rdf:nil] OR @<OneOrMore_Identifier>
}
#---------------------- Value Sets ------------------------
# The outcome of the processing.
fhirvs:enrollment-outcome ["queued" "complete" "error" "partial"]
# This value set includes Status codes.
fhirvs:fm-status ["active" "cancelled" "draft" "entered-in-error"]
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.