PREFIX fhir:
PREFIX fhirvs:
PREFIX xsd:
PREFIX rdf:
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
start=@ AND {fhir:nodeRole [fhir:treeRoot]}
# EnrollmentResponse resource
EXTENDS @ CLOSED {
a [fhir:EnrollmentResponse]?;
fhir:nodeRole [fhir:treeRoot]?;
fhir:identifier @?; # Business Identifier
fhir:status @ AND
{fhir:v @fhirvs:fm-status}?; # active | cancelled | draft |
# entered-in-error
fhir:request @ AND {fhir:link
@ ? }?; # Claim reference
fhir:outcome @ AND
{fhir:v @fhirvs:enrollment-outcome}?; # queued | complete | error | partial
fhir:disposition @?; # Disposition Message
fhir:created @?; # Creation date
fhir:organization @ AND {fhir:link
@ ? }?; # Insurer
fhir:requestProvider @ AND {fhir:link
@ OR
@ OR
@ ? }?; # Responsible practitioner
}
#---------------------- Cardinality Types (OneOrMore) -------------------
CLOSED {
rdf:first @ ;
rdf:rest [rdf:nil] OR @
}
#---------------------- 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"]