PREFIX fhir:
PREFIX fhirvs:
PREFIX xsd:
BASE
start=@
# Tracks balance, charges, for patient or cost center
CLOSED {
a [fhir:Account];
fhir:nodeRole [fhir:treeRoot]?;
fhir:Resource.id id?;
fhir:Resource.meta @?;
fhir:Resource.implicitRules @?;
fhir:Resource.language @?;
fhir:DomainResource.text @?;
fhir:DomainResource.contained @*;
fhir:DomainResource.extension @*;
fhir:DomainResource.modifierExtension @*;
fhir:Account.identifier @*;
fhir:Account.status @ AND
{fhir:value @fhirvs:account-status};
fhir:Account.type @?;
fhir:Account.name @?;
fhir:Account.subject @*;
fhir:Account.servicePeriod @?;
fhir:Account.coverage @*;
fhir:Account.owner @?;
fhir:Account.description @?;
fhir:Account.guarantor @*;
fhir:Account.partOf @?;
fhir:index xsd:integer? # Relative position in a list
}
# The definition of a specific activity to be taken, independent of any particular patient or context
CLOSED {
a [fhir:ActivityDefinition];
fhir:nodeRole [fhir:treeRoot]?;
fhir:Resource.id id?;
fhir:Resource.meta @?;
fhir:Resource.implicitRules @?;
fhir:Resource.language @?;
fhir:DomainResource.text @?;
fhir:DomainResource.contained @*;
fhir:DomainResource.extension @*;
fhir:DomainResource.modifierExtension @*;
fhir:ActivityDefinition.url @?;
fhir:ActivityDefinition.identifier @*;
fhir:ActivityDefinition.version @?;
fhir:ActivityDefinition.name @?;
fhir:ActivityDefinition.title @?;
fhir:ActivityDefinition.subtitle @?;
fhir:ActivityDefinition.status @ AND
{fhir:value @fhirvs:publication-status};
fhir:ActivityDefinition.experimental @?;
(
fhir:ActivityDefinition.subjectCodeableConcept @ |
fhir:ActivityDefinition.subjectReference @ |
fhir:ActivityDefinition.subjectCanonical @
)?;
fhir:ActivityDefinition.date @?;
fhir:ActivityDefinition.publisher @?;
fhir:ActivityDefinition.contact @*;
fhir:ActivityDefinition.description @?;
fhir:ActivityDefinition.useContext @*;
fhir:ActivityDefinition.jurisdiction @*;
fhir:ActivityDefinition.purpose @?;
fhir:ActivityDefinition.usage @?;
fhir:ActivityDefinition.copyright @?;
fhir:ActivityDefinition.approvalDate @?;
fhir:ActivityDefinition.lastReviewDate @?;
fhir:ActivityDefinition.effectivePeriod @?;
fhir:ActivityDefinition.topic @*;
fhir:ActivityDefinition.author @*;
fhir:ActivityDefinition.editor @*;
fhir:ActivityDefinition.reviewer @*;
fhir:ActivityDefinition.endorser @*;
fhir:ActivityDefinition.relatedArtifact @*;
fhir:ActivityDefinition.library @*;
fhir:ActivityDefinition.kind @ AND
{fhir:value @fhirvs:request-resource-types}?;
fhir:ActivityDefinition.profile @?;
fhir:ActivityDefinition.code @?;
fhir:ActivityDefinition.intent @ AND
{fhir:value @fhirvs:request-intent}?;
fhir:ActivityDefinition.priority @ AND
{fhir:value @fhirvs:request-priority}?;
fhir:ActivityDefinition.doNotPerform @?;
(
fhir:ActivityDefinition.timingTiming @ |
fhir:ActivityDefinition.timingDateTime @ |
fhir:ActivityDefinition.timingAge @ |
fhir:ActivityDefinition.timingPeriod @ |
fhir:ActivityDefinition.timingRange @ |
fhir:ActivityDefinition.timingDuration @
)?;
fhir:ActivityDefinition.location @?;
fhir:ActivityDefinition.participant @*;
(
fhir:ActivityDefinition.productReference @ |
fhir:ActivityDefinition.productCodeableConcept @
)?;
fhir:ActivityDefinition.quantity @?;
fhir:ActivityDefinition.dosage @*;
fhir:ActivityDefinition.bodySite @*;
fhir:ActivityDefinition.specimenRequirement @*;
fhir:ActivityDefinition.observationRequirement @*;
fhir:ActivityDefinition.observationResultRequirement @*;
fhir:ActivityDefinition.transform @?;
fhir:ActivityDefinition.dynamicValue @*;
fhir:index xsd:integer? # Relative position in a list
}
# An address expressed using postal conventions (as opposed to GPS or other location definition formats)
CLOSED {
fhir:Element.id id?;
fhir:Element.extension @*;
fhir:Address.use @ AND
{fhir:value @fhirvs:address-use}?;
fhir:Address.type @ AND
{fhir:value @fhirvs:address-type}?;
fhir:Address.text @?;
fhir:Address.line @*;
fhir:Address.city @?;
fhir:Address.district @?;
fhir:Address.state @?;
fhir:Address.postalCode @?;
fhir:Address.country @?;
fhir:Address.period @?;
fhir:index xsd:integer? # Relative position in a list
}
# A medicinal product in the final form, suitable for administration - after any mixing of multiple components
CLOSED {
a [fhir:AdministrableProductDefinition];
fhir:nodeRole [fhir:treeRoot]?;
fhir:Resource.id id?;
fhir:Resource.meta @?;
fhir:Resource.implicitRules @?;
fhir:Resource.language @?;
fhir:DomainResource.text @?;
fhir:DomainResource.contained @*;
fhir:DomainResource.extension @*;
fhir:DomainResource.modifierExtension @*;
fhir:AdministrableProductDefinition.identifier @*;
fhir:AdministrableProductDefinition.status @ AND
{fhir:value @fhirvs:publication-status};
fhir:AdministrableProductDefinition.formOf @*;
fhir:AdministrableProductDefinition.administrableDoseForm @?;
fhir:AdministrableProductDefinition.unitOfPresentation @?;
fhir:AdministrableProductDefinition.producedFrom @*;
fhir:AdministrableProductDefinition.ingredient @*;
fhir:AdministrableProductDefinition.device @?;
fhir:AdministrableProductDefinition.property @*;
fhir:AdministrableProductDefinition.routeOfAdministration @+;
fhir:index xsd:integer? # Relative position in a list
}
# Medical care, research study or other healthcare event causing physical injury
CLOSED {
a [fhir:AdverseEvent];
fhir:nodeRole [fhir:treeRoot]?;
fhir:Resource.id id?;
fhir:Resource.meta @?;
fhir:Resource.implicitRules @?;
fhir:Resource.language @?;
fhir:DomainResource.text @?;
fhir:DomainResource.contained @*;
fhir:DomainResource.extension @*;
fhir:DomainResource.modifierExtension @*;
fhir:AdverseEvent.identifier @?;
fhir:AdverseEvent.actuality @ AND
{fhir:value @fhirvs:adverse-event-actuality};
fhir:AdverseEvent.category @*;
fhir:AdverseEvent.event @?;
fhir:AdverseEvent.subject @;
fhir:AdverseEvent.encounter @?;
fhir:AdverseEvent.date @?;
fhir:AdverseEvent.detected @?;
fhir:AdverseEvent.recordedDate @?;
fhir:AdverseEvent.resultingCondition @*;
fhir:AdverseEvent.location @?;
fhir:AdverseEvent.seriousness @?;
fhir:AdverseEvent.severity @?;
fhir:AdverseEvent.outcome @?;
fhir:AdverseEvent.recorder @?;
fhir:AdverseEvent.contributor @*;
fhir:AdverseEvent.suspectEntity @*;
fhir:AdverseEvent.subjectMedicalHistory @*;
fhir:AdverseEvent.referenceDocument @*;
fhir:AdverseEvent.study @*;
fhir:index xsd:integer? # Relative position in a list
}
# A duration of time during which an organism (or a process) has existed
CLOSED {
fhir:Element.id id?;
fhir:Element.extension @*;
fhir:Quantity.value @?;
fhir:Quantity.comparator @ AND
{fhir:value @fhirvs:quantity-comparator}?;
fhir:Quantity.unit @?;
fhir:Quantity.system @?;
fhir:Quantity.code @?;
fhir:index xsd:integer? # Relative position in a list
}
# Allergy or Intolerance (generally: Risk of adverse reaction to a substance)
CLOSED {
a [fhir:AllergyIntolerance];
fhir:nodeRole [fhir:treeRoot]?;
fhir:Resource.id id?;
fhir:Resource.meta @?;
fhir:Resource.implicitRules @?;
fhir:Resource.language @?;
fhir:DomainResource.text @?;
fhir:DomainResource.contained @*;
fhir:DomainResource.extension @*;
fhir:DomainResource.modifierExtension @*;
fhir:AllergyIntolerance.identifier @*;
fhir:AllergyIntolerance.clinicalStatus @?;
fhir:AllergyIntolerance.verificationStatus @?;
fhir:AllergyIntolerance.type @ AND
{fhir:value @fhirvs:allergy-intolerance-type}?;
fhir:AllergyIntolerance.category @ AND
{fhir:value @fhirvs:allergy-intolerance-category}*;
fhir:AllergyIntolerance.criticality @ AND
{fhir:value @fhirvs:allergy-intolerance-criticality}?;
fhir:AllergyIntolerance.code @?;
fhir:AllergyIntolerance.patient @;
fhir:AllergyIntolerance.encounter @?;
(
fhir:AllergyIntolerance.onsetDateTime @ |
fhir:AllergyIntolerance.onsetAge @ |
fhir:AllergyIntolerance.onsetPeriod @ |
fhir:AllergyIntolerance.onsetRange @ |
fhir:AllergyIntolerance.onsetString @
)?;
fhir:AllergyIntolerance.recordedDate @?;
fhir:AllergyIntolerance.recorder @?;
fhir:AllergyIntolerance.asserter @?;
fhir:AllergyIntolerance.lastOccurrence @?;
fhir:AllergyIntolerance.note @*;
fhir:AllergyIntolerance.reaction @*;
fhir:index xsd:integer? # Relative position in a list
}
# Text node with attribution
CLOSED {
fhir:Element.id id?;
fhir:Element.extension @*;
(
fhir:Annotation.authorReference @ |
fhir:Annotation.authorString @
)?;
fhir:Annotation.time @?;
fhir:Annotation.text @;
fhir:index xsd:integer? # Relative position in a list
}
# A booking of a healthcare event among patient(s), practitioner(s), related person(s) and/or device(s) for a specific date/time. This may result in one or more Encounter(s)
CLOSED {
a [fhir:Appointment];
fhir:nodeRole [fhir:treeRoot]?;
fhir:Resource.id id?;
fhir:Resource.meta @?;
fhir:Resource.implicitRules @?;
fhir:Resource.language @?;
fhir:DomainResource.text @?;
fhir:DomainResource.contained @*;
fhir:DomainResource.extension @*;
fhir:DomainResource.modifierExtension @*;
fhir:Appointment.identifier @*;
fhir:Appointment.status @ AND
{fhir:value @fhirvs:appointmentstatus};
fhir:Appointment.cancelationReason @?;
fhir:Appointment.serviceCategory @*;
fhir:Appointment.serviceType @*;
fhir:Appointment.specialty @*;
fhir:Appointment.appointmentType @?;
fhir:Appointment.reasonCode @*;
fhir:Appointment.reasonReference @*;
fhir:Appointment.priority @?;
fhir:Appointment.description @?;
fhir:Appointment.supportingInformation @*;
fhir:Appointment.start @?;
fhir:Appointment.end @?;
fhir:Appointment.minutesDuration @?;
fhir:Appointment.slot @*;
fhir:Appointment.created @?;
fhir:Appointment.comment @?;
fhir:Appointment.patientInstruction @?;
fhir:Appointment.basedOn @*;
fhir:Appointment.participant @+;
fhir:Appointment.requestedPeriod @*;
fhir:index xsd:integer? # Relative position in a list
}
# A reply to an appointment request for a patient and/or practitioner(s), such as a confirmation or rejection
CLOSED {
a [fhir:AppointmentResponse];
fhir:nodeRole [fhir:treeRoot]?;
fhir:Resource.id id?;
fhir:Resource.meta @?;
fhir:Resource.implicitRules @?;
fhir:Resource.language @?;
fhir:DomainResource.text @?;
fhir:DomainResource.contained @*;
fhir:DomainResource.extension @*;
fhir:DomainResource.modifierExtension @*;
fhir:AppointmentResponse.identifier @*;
fhir:AppointmentResponse.appointment @;
fhir:AppointmentResponse.start @?;
fhir:AppointmentResponse.end @?;
fhir:AppointmentResponse.participantType @*;
fhir:AppointmentResponse.actor @?;
fhir:AppointmentResponse.participantStatus @ AND
{fhir:value @fhirvs:participationstatus};
fhir:AppointmentResponse.comment @?;
fhir:index xsd:integer? # Relative position in a list
}
# Content in a format defined elsewhere
CLOSED {
fhir:Element.id id?;
fhir:Element.extension @*;
fhir:Attachment.contentType @ AND
{fhir:value @fhirvs:mimetypes}?;
fhir:Attachment.language @?;
fhir:Attachment.data @?;
fhir:Attachment.url @?;
fhir:Attachment.size @?;
fhir:Attachment.hash @?;
fhir:Attachment.title @?;
fhir:Attachment.creation @?;
fhir:index xsd:integer? # Relative position in a list
}
# Event record kept for security purposes
CLOSED {
a [fhir:AuditEvent];
fhir:nodeRole [fhir:treeRoot]?;
fhir:Resource.id id?;
fhir:Resource.meta @?;
fhir:Resource.implicitRules @?;
fhir:Resource.language @?;
fhir:DomainResource.text @?;
fhir:DomainResource.contained @*;
fhir:DomainResource.extension @*;
fhir:DomainResource.modifierExtension @*;
fhir:AuditEvent.type @;
fhir:AuditEvent.subtype @*;
fhir:AuditEvent.action @ AND
{fhir:value @fhirvs:audit-event-action}?;
fhir:AuditEvent.period @?;
fhir:AuditEvent.recorded @;
fhir:AuditEvent.outcome @ AND
{fhir:value @fhirvs:audit-event-outcome}?;
fhir:AuditEvent.outcomeDesc @?;
fhir:AuditEvent.purposeOfEvent @*;
fhir:AuditEvent.agent @+;
fhir:AuditEvent.source @;
fhir:AuditEvent.entity @*;
fhir:index xsd:integer? # Relative position in a list
}
# Base for elements defined inside a resource
CLOSED {
fhir:Element.id id?;
fhir:Element.extension @*;
fhir:BackboneElement.modifierExtension @*;
fhir:index xsd:integer? # Relative position in a list
}
# Resource for non-supported content
CLOSED {
a [fhir:Basic];
fhir:nodeRole [fhir:treeRoot]?;
fhir:Resource.id id?;
fhir:Resource.meta @?;
fhir:Resource.implicitRules @?;
fhir:Resource.language @