PREFIX fhir: PREFIX fhirvs: PREFIX xsd: BASE start=@ AND {fhir:nodeRole [fhir:treeRoot]} # 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?; # Logical id of this artifact fhir:Resource.meta @?; # Metadata about the resource fhir:Resource.implicitRules @?; # A set of rules under which this # content was created fhir:Resource.language @?; # Language of the resource content fhir:DomainResource.text @?; # Text summary of the resource, for # human interpretation fhir:DomainResource.contained @*; # Contained, inline Resources fhir:DomainResource.extension @*; # Additional content defined by # implementations fhir:DomainResource.modifierExtension @*; # Extensions that cannot be ignored fhir:AppointmentResponse.identifier @*; # External Ids for this item fhir:AppointmentResponse.appointment @; # Appointment this response relates # to fhir:AppointmentResponse.start @?; # Time from appointment, or # requested new start time fhir:AppointmentResponse.end @?; # Time from appointment, or # requested new end time fhir:AppointmentResponse.participantType @*; # Role of participant in the # appointment fhir:AppointmentResponse.actor @?; # Person, Location, # HealthcareService, or Device fhir:AppointmentResponse.participantStatus @ AND {fhir:value @fhirvs:participationstatus}; # accepted | declined | tentative | # needs-action fhir:AppointmentResponse.comment @?; # Additional comments fhir:index xsd:integer? # Relative position in a list } #---------------------- Data Types ------------------- # Optional Extensions Element CLOSED { fhir:Element.id id?; fhir:Element.extension @*; fhir:Extension.url uri; ( fhir:Extension.valueBase64Binary @ | fhir:Extension.valueBoolean @ | fhir:Extension.valueCanonical @ | fhir:Extension.valueCode @ | fhir:Extension.valueDate @ | fhir:Extension.valueDateTime @ | fhir:Extension.valueDecimal @ | fhir:Extension.valueId @ | fhir:Extension.valueInstant @ | fhir:Extension.valueInteger @ | fhir:Extension.valueMarkdown @ | fhir:Extension.valueOid @ | fhir:Extension.valuePositiveInt @ | fhir:Extension.valueString @ | fhir:Extension.valueTime @