This page is part of the FHIR Specification v6.0.0-ballot1: Release 6 Ballot (1st Draft) (see Ballot Notes). The current version is 5.0.0. For a full list of available versions, see the Directory of published versions
FHIR Infrastructure Work Group | Maturity Level: N/A | Standards Status: Informative |
Raw Turtle (+ also see Turtle/RDF Format Specification)
Logical Model Event
@prefix fhir: <http://hl7.org/fhir/> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . # - resource ------------------------------------------------------------------- [] a fhir:StructureDefinition ; fhir:id [ fhir:v "Event"] ; fhir:text [ fhir:status [ fhir:v "generated" ] ] ; fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status" ] ; fhir:value [ fhir:v "informative" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg" ] ; fhir:value [ fhir:v "fhir" ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/Event"], [ fhir:v "http://hl7.org/fhir/StructureDefinition/Event"] ; fhir:version [ fhir:v "6.0.0-ballot1"], [ fhir:v "6.0.0-ballot1"] ; fhir:name [ fhir:v "Event"], [ fhir:v "Event"] ; fhir:title [ fhir:v "event"], [ fhir:v "event"] ; fhir:status [ fhir:v "draft"], [ fhir:v "draft"] ; fhir:experimental [ fhir:v "false"], [ fhir:v "false"] ; fhir:date [ fhir:v "2023-12-18T15:12:07+11:00"], [ fhir:v "2023-12-18T15:12:07+11:00"] ; fhir:publisher [ fhir:v "HL7 International / FHIR Infrastructure"], [ fhir:v "HL7 International / FHIR Infrastructure"] ; fhir:contact ( [ fhir:telecom ( [ fhir:system [ fhir:v "url" ] ; fhir:value [ fhir:v "http://hl7.org/fhir" ] ] ) ] [ fhir:telecom ( [ fhir:system [ fhir:v "url" ] ; fhir:value [ fhir:v "http://www.hl7.org/Special/committees/fiwg" ] ] ) ] [ fhir:telecom ( [ fhir:system [ fhir:v "url" ] ; fhir:value [ fhir:v "http://hl7.org/fhir" ] ] ) ] [ fhir:telecom ( [ fhir:system [ fhir:v "url" ] ; fhir:value [ fhir:v "http://www.hl7.org/Special/committees/fiwg" ] ] ) ] ) ; fhir:description [ fhir:v "Logical Model: A pattern to be followed by resources that represent the performance of some activity, possibly in accordance with a request or service definition."], [ fhir:v "Logical Model: A pattern to be followed by resources that represent the performance of some activity, possibly in accordance with a request or service definition."] ; fhir:jurisdiction ( [ fhir:coding ( [ fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm" ] ; fhir:code [ fhir:v "001" ] ; fhir:display [ fhir:v "World" ] ] ) ] [ fhir:coding ( [ fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm" ] ; fhir:code [ fhir:v "001" ] ; fhir:display [ fhir:v "World" ] ] ) ] ) ; fhir:fhirVersion [ fhir:v "6.0.0-ballot1"] ; fhir:mapping ( [ fhir:identity [ fhir:v "v2" ] ; fhir:uri [ fhir:v "http://hl7.org/v2" ] ; fhir:name [ fhir:v "HL7 V2 Mapping" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:uri [ fhir:v "http://hl7.org/v3" ] ; fhir:name [ fhir:v "RIM Mapping" ] ] [ fhir:identity [ fhir:v "w5" ] ; fhir:uri [ fhir:v "http://hl7.org/fhir/fivews" ] ; fhir:name [ fhir:v "FiveWs Pattern Mapping" ] ] ) ; fhir:kind [ fhir:v "logical"] ; fhir:abstract [ fhir:v "false"] ; fhir:type [ fhir:v "Event"] ; fhir:baseDefinition [ fhir:v "http://hl7.org/fhir/StructureDefinition/Base"] ; fhir:snapshot [ fhir:element ( [ fhir:id [ fhir:v "Event" ] ; fhir:path [ fhir:v "Event" ] ; fhir:short [ fhir:v "Event Pattern" ] ; fhir:definition [ fhir:v "A pattern to be followed by resources that represent the performance of some activity, possibly in accordance with a request or service definition." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Event" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "*" ] ] ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ] ] [ fhir:key [ fhir:v "inv-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Not Done Reason can only be specified if status is 'not-done'" ] ; fhir:expression [ fhir:v "status='not-done' or notDoneReason.exists().not()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Event" ] ] [ fhir:key [ fhir:v "inv-2" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "reason elements can only be specified if status is NOT 'not-done'" ] ; fhir:expression [ fhir:v "status!='not-done' or (reasonCode.exists().not() and reasonReference.exists().not())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Event" ] ] ) ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "false" ] ; fhir:mapping ( [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "EVN (for administrative events)" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "Act[moodCode=EVN]" ] ] ) ] [ fhir:id [ fhir:v "Event.identifier" ] ; fhir:path [ fhir:v "Event.identifier" ] ; fhir:short [ fhir:v "Business identifier for {{title}}" ] ; fhir:definition [ fhir:v "Business identifiers assigned to this {{title}} by the performer and/or other systems. These identifiers remain constant as the resource is updated and propagates from server to server." ] ; fhir:comment [ fhir:v "Note: This is a business identifier, not a resource identifier (see [discussion](resource.html#identifiers)). It is best practice for the identifier to only appear on a single resource instance, however business practices may occasionally dictate that multiple resource instances with the same identifier can exist - possibly even with different resource types. For example, multiple Patient and a Person resource instance might share the same social insurance number." ] ; fhir:requirements [ fhir:v "Allows identification of the {{title}} as it is known by various participating systems and in a way that remains consistent across servers." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Event.identifier" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "*" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Identifier" ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ] ] ) ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "true" ] ; fhir:mapping ( [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "Varies by domain" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v ".identifier" ] ] [ fhir:identity [ fhir:v "w5" ] ; fhir:map [ fhir:v "FiveWs.identifier" ] ] ) ] [ fhir:id [ fhir:v "Event.basedOn" ] ; fhir:path [ fhir:v "Event.basedOn" ] ; fhir:short [ fhir:v "Fulfills plan, proposal or order" ] ; fhir:definition [ fhir:v "A plan, proposal or order that is fulfilled in whole or in part by this {{title}}." ] ; fhir:comment [ fhir:v "[The allowed reference resources may be adjusted as appropriate for the event resource]." ] ; fhir:requirements [ fhir:v "Allows tracing of authorization for the {{title}} and tracking whether proposals/recommendations were acted upon." ] ; fhir:alias ( [ fhir:v "fulfills" ] ) ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Event.basedOn" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "*" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Reference" ] ; fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Appointment" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/AppointmentResponse" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/CarePlan" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/Claim" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/CommunicationRequest" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/CoverageEligibilityRequest" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/DeviceRequest" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/EnrollmentRequest" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/MedicationRequest" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/NutritionOrder" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/RequestOrchestration" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/ServiceRequest" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/SupplyRequest" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/Task" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/Transport" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/VisionPrescription" ] ) ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ] ] ) ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "true" ] ; fhir:mapping ( [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "ORC in proximity to EVN segment" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v ".outboundRelationship[typeCode=FLFS].target" ] ] ) ] [ fhir:id [ fhir:v "Event.partOf" ] ; fhir:path [ fhir:v "Event.partOf" ] ; fhir:short [ fhir:v "Part of referenced event" ] ; fhir:definition [ fhir:v "A larger event of which this particular {{title}} is a component or step." ] ; fhir:comment [ fhir:v "Not to be used to link an {{title}} to an Encounter - use 'context' for that.[The allowed reference resources may be adjusted as appropriate for the event resource]." ] ; fhir:requirements [ fhir:v "[E.g. Drug administration as part of a procedure, procedure as part of observation, etc.]." ] ; fhir:alias ( [ fhir:v "container" ] ) ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Event.partOf" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "*" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Reference" ] ; fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/AdverseEvent" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/AuditEvent" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/ChargeItem" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/ClaimResponse" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/ClinicalImpression" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/Communication" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/Composition" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/Consent" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/Contract" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/Coverage" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/CoverageEligibilityResponse" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/DetectedIssue" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/DeviceDispense" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/DeviceUsage" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/DiagnosticReport" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/DocumentReference" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/Encounter" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/EnrollmentResponse" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/ExplanationOfBenefit" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/GenomicStudy" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/GuidanceResponse" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/ImagingSelection" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/ImagingStudy" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/Immunization" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/ImmunizationEvaluation" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/InventoryReport" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/Invoice" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/MedicationAdministration" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/MedicationDispense" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/MedicationStatement" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/MessageHeader" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/NutritionIntake" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/Observation" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/PaymentNotice" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/PaymentReconciliation" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/Procedure" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/Provenance" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/RiskAssessment" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/SupplyDelivery" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/Transport" ] ) ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ] ] ) ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "true" ] ; fhir:mapping ( [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "Varies by domain" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v ".inboundRelationship[typeCode=COMP].source[moodCode=EVN]" ] ] ) ] [ fhir:id [ fhir:v "Event.researchStudy" ] ; fhir:path [ fhir:v "Event.researchStudy" ] ; fhir:short [ fhir:v "Associated research study" ] ; fhir:definition [ fhir:v "Indicates that this {{title}} is relevant to the specified research study(ies)." ] ; fhir:comment [ fhir:v "This relevance might mean that the {{title}} occurred as part of the study protocol, but can also include events that occurred outside the study but still have relevance." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Event.researchStudy" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "*" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Reference" ] ; fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/ResearchStudy" ] ) ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ] ] ) ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "false" ] ; fhir:mapping ( [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "Varies by domain" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v ".outboundRelationship[typeCode=PERT].target[classCode=CLNTRL, moodCode=EVN]" ] ] ) ] [ fhir:id [ fhir:v "Event.status" ] ; fhir:path [ fhir:v "Event.status" ] ; fhir:short [ fhir:v "preparation | in-progress | not-done | suspended | aborted | completed | entered-in-error | unknown" ] ; fhir:definition [ fhir:v "The current state of the {{title}}." ] ; fhir:comment [ fhir:v "A nominal state-transition diagram can be found in the (Event pattern)[event.html#statemachine] documentation\n\nUnknown does not represent \"other\" - one of the defined statuses must apply. Unknown is used when the authoring system is not sure what the current status is." ] ; fhir:min [ fhir:v "1" ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Event.status" ] ; fhir:min [ fhir:v "1" ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "code" ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ] ] ) ; fhir:isModifier [ fhir:v "true" ] ; fhir:isModifierReason [ fhir:v "This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid" ] ; fhir:isSummary [ fhir:v "true" ] ; fhir:binding [ fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/binding-definition" ] ; fhir:value [ fhir:v "Codes identifying the lifecycle stage of an event." ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:value [ fhir:v "EventStatus" ] ] ) ; fhir:strength [ fhir:v "required" ] ; fhir:description [ fhir:v "Codes identifying the lifecycle stage of an event." ] ; fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/event-status|6.0.0-ballot1" ] ] ; fhir:mapping ( [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "Varies by domain" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v ".status" ] ] [ fhir:identity [ fhir:v "w5" ] ; fhir:map [ fhir:v "FiveWs.status" ] ] ) ] [ fhir:id [ fhir:v "Event.statusReason" ] ; fhir:path [ fhir:v "Event.statusReason" ] ; fhir:short [ fhir:v "Reason for current status" ] ; fhir:definition [ fhir:v "Captures the reason for the current state of the {{title}}." ] ; fhir:comment [ fhir:v "This is generally only used for \"exception\" statuses such as \"not-done\", \"suspended\" or \"cancelled\". The reason for performing the event at all is captured in reasonCode, not here.\n\n[distinct reason codes for different statuses can be enforced using invariants if they are universal bindings]." ] ; fhir:alias ( [ fhir:v "Suspended Reason" ] [ fhir:v "Cancelled Reason" ] ) ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Event.statusReason" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "CodeableConcept" ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ] ] ) ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "false" ] ; fhir:binding [ fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/binding-definition" ] ; fhir:value [ fhir:v "Codes identifying the reason for the current state of an event." ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:value [ fhir:v "EventStatusReason" ] ] ) ; fhir:strength [ fhir:v "example" ] ; fhir:description [ fhir:v "Codes identifying the reason for the current state of an event." ] ] ; fhir:mapping ( [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v ".inboundRelationship[typeCode=SUBJ].source[classCode=CACT, moodCode=EVN].reasonCOde" ] ] ) ] [ fhir:id [ fhir:v "Event.category" ] ; fhir:path [ fhir:v "Event.category" ] ; fhir:short [ fhir:v "High level categorization of {{title}}" ] ; fhir:definition [ fhir:v "Partitions the {{title}} into one or more categories that can be used to filter searching, to govern access control and/or to guide system behavior." ] ; fhir:comment [ fhir:v "Categorization might be done automatically (inferred by code) or manually by user assertion. The absence of a category may limit the ability to determine when the element should be handled, so strong consideration should be given to how systems will be able to determine category values for legacy data and how data that cannot be categorized will be handled. As well, some categories might not be mutually exclusive, so systems should prepare for multiple declared categories - even within a single category 'axis'.\nIn general, there should not be a 'strong' binding ('required' or 'extensible') on the category element overall. Instead, the element can be sliced and bindings can be asserted that apply to particular repetitions." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Event.category" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "*" ] ] ; fhir:type ( [ fhir:code [ fhir:v "CodeableConcept" ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ] ] ) ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "true" ] ] [ fhir:id [ fhir:v "Event.code" ] ; fhir:path [ fhir:v "Event.code" ] ; fhir:short [ fhir:v "What service was done" ] ; fhir:definition [ fhir:v "A code that identifies the specific service or action that was or is being performed." ] ; fhir:comment [ fhir:v "[In some cases, the service type is implicit based on the scope of the resource and only a product element will be present]." ] ; fhir:alias ( [ fhir:v "type" ] ) ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Event.code" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "CodeableConcept" ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ] ] ) ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "true" ] ; fhir:binding [ fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/binding-definition" ] ; fhir:value [ fhir:v "Codes indicating the details of what is/was done. These will vary significantly based on the type of event resource and will often be example/preferred rather than extensible/required." ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:value [ fhir:v "EventCode" ] ] ) ; fhir:strength [ fhir:v "example" ] ; fhir:description [ fhir:v "Codes indicating the details of what is/was done. These will vary significantly based on the type of event resource and will often be example/preferred rather than extensible/required." ] ] ; fhir:mapping ( [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "Varies by domain" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v ".code" ] ] [ fhir:identity [ fhir:v "w5" ] ; fhir:map [ fhir:v "FiveWs.what[x]" ] ] ) ] [ fhir:id [ fhir:v "Event.product" ] ; fhir:path [ fhir:v "Event.product" ] ; fhir:short [ fhir:v "Product used/provided" ] ; fhir:definition [ fhir:v "Indicates the product supplied or manipulated by this {{title}}." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Event.product" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "CodeableReference" ] ; fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/BiologicallyDerivedProduct" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/Device" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/DeviceDefinition" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/Medication" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/NutritionProduct" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/Substance" ] ) ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ] ] ) ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "true" ] ; fhir:mapping ( [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "Varies by domain" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v ".participation[typeCode=PRD].role" ] ] ) ] [ fhir:id [ fhir:v "Event.subject" ] ; fhir:path [ fhir:v "Event.subject" ] ; fhir:short [ fhir:v "Individual service was done for/to" ] ; fhir:definition [ fhir:v "The individual or set of individuals the action is being or was performed on." ] ; fhir:comment [ fhir:v "[For resources that aren't patient-specific, the set of allowed resources may be extended to include other things. Group should generally be retained unless there's certainty this resource won't be used for veterinary, research or public health settings where Group may be necessary (e.g. this cage of rats/crate of chickens, group of people in a 5 mile radious of the incident, etc.)]." ] ; fhir:requirements [ fhir:v "Links the {{title}} to the Patient context. May also affect access control." ] ; fhir:alias ( [ fhir:v "patient" ] ) ; fhir:min [ fhir:v "1" ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Event.subject" ] ; fhir:min [ fhir:v "1" ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Reference" ] ; fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Patient" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/Group" ] ) ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ] ] ) ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "true" ] ; fhir:mapping ( [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "PAT in proximity to EVN segment" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v ".participation[typeCode=SBJ].role" ] ] [ fhir:identity [ fhir:v "w5" ] ; fhir:map [ fhir:v "FiveWs.subject[x]" ] ] ) ] [ fhir:id [ fhir:v "Event.encounter" ] ; fhir:path [ fhir:v "Event.encounter" ] ; fhir:short [ fhir:v "Encounter the {{title}} is part of" ] ; fhir:definition [ fhir:v "The Encounter during which this {{title}} was created or to which the creation of this record is tightly associated." ] ; fhir:comment [ fhir:v "This will typically be the encounter the {{title}} was created during, but some {{title}}s may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission lab tests)." ] ; fhir:requirements [ fhir:v "Links the {{title}} to the Encounter context. May also affect access control." ] ; fhir:alias ( [ fhir:v "context" ] ) ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Event.encounter" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Reference" ] ; fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Encounter" ] ) ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ] ] ) ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "true" ] ; fhir:mapping ( [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "PV1 in proximity to EVN segment" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v ".inboundRelationship(typeCode=COMP].source[classCode<=PCPR, moodCode=EVN]" ] ] [ fhir:identity [ fhir:v "w5" ] ; fhir:map [ fhir:v "FiveWs.context" ] ] ) ] [ fhir:id [ fhir:v "Event.occurrence[x]" ] ; fhir:path [ fhir:v "Event.occurrence[x]" ] ; fhir:short [ fhir:v "When {{title}} occurred/is occurring" ] ; fhir:definition [ fhir:v "The date, period or timing when the {{title}} did occur or is occurring." ] ; fhir:comment [ fhir:v "This indicates when the activity actually occurred or is occurring, not when it was asked/requested/ordered to occur. For the latter, look at the occurence element of the Request this {{event}} is \"basedOn\". The status code allows differentiation of whether the timing reflects a historic event or an ongoing event. Ongoing events should not include an upper bound in the Period or Timing.bounds.\n\n[The list of types may be constrained as appropriate for the type of event. The use of 'Timing' in type is generally only appropriate for Events that are typically used to represent summary information.]." ] ; fhir:alias ( [ fhir:v "timing" ] ) ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Event.occurrence[x]" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "dateTime" ] ] [ fhir:code [ fhir:v "Period" ] ] [ fhir:code [ fhir:v "Timing" ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ] ] ) ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "true" ] ; fhir:mapping ( [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "Varies by domain" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v ".effectiveTime" ] ] [ fhir:identity [ fhir:v "w5" ] ; fhir:map [ fhir:v "FiveWs.done[x]" ] ] ) ] [ fhir:id [ fhir:v "Event.recorded" ] ; fhir:path [ fhir:v "Event.recorded" ] ; fhir:short [ fhir:v "When {{title}} was first captured in the subject's record" ] ; fhir:definition [ fhir:v "The date the occurrence of the {{title}} was first captured in the record - potentially significantly after the occurrence of the event." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Event.recorded" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "dateTime" ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ] ] ) ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "true" ] ; fhir:mapping ( [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "Varies by domain" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v ".participation[typeCode=AUT].time" ] ] [ fhir:identity [ fhir:v "w5" ] ; fhir:map [ fhir:v "FiveWs.recorded" ] ] ) ] [ fhir:id [ fhir:v "Event.reported[x]" ] ; fhir:path [ fhir:v "Event.reported[x]" ] ; fhir:short [ fhir:v "Reported rather than primary record" ] ; fhir:definition [ fhir:v "Indicates if this record was captured as a secondary 'reported' record rather than as an original primary source-of-truth record. It may also indicate the source of the report." ] ; fhir:requirements [ fhir:v "Reported data may have different rules on editing and may be visually distinguished from primary data." ] ; fhir:alias ( [ fhir:v "informer" ] ) ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Event.reported[x]" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "boolean" ] ] [ fhir:code [ fhir:v "Reference" ] ; fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Patient" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/RelatedPerson" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/Practitioner" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/PractitionerRole" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/Organization" ] ) ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ] ] ) ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "true" ] ; fhir:mapping ( [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v ".participation[typeCode=RPT].role" ] ] [ fhir:identity [ fhir:v "w5" ] ; fhir:map [ fhir:v "FiveWs.source" ] ] ) ] [ fhir:id [ fhir:v "Event.performer" ] ; fhir:path [ fhir:v "Event.performer" ] ; fhir:short [ fhir:v "Who performed {{title}} and what they did" ] ; fhir:definition [ fhir:v "Indicates who or what performed the {{title}} and how they were involved." ] ; fhir:comment [ fhir:v "[Resources may choose to replace this with just a single performer or repeating where there's no need to distinguish the function performed]." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Event.performer" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "*" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Element" ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ] ] ) ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "true" ] ] [ fhir:id [ fhir:v "Event.performer.function" ] ; fhir:path [ fhir:v "Event.performer.function" ] ; fhir:short [ fhir:v "Type of performance" ] ; fhir:definition [ fhir:v "Distinguishes the type of involvement of the performer in the {{title}}. [Consider adding examples]." ] ; fhir:requirements [ fhir:v "Allows disambiguation of the types of involvement of different performers." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Event.performer.function" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "CodeableConcept" ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ] ] ) ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "true" ] ; fhir:binding [ fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/binding-definition" ] ; fhir:value [ fhir:v "Codes that describe the specific involvement of a performer in an event. E.g. Primary vs. secondary vs. supervising, etc." ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:value [ fhir:v "EventPerformerFunction" ] ] ) ; fhir:strength [ fhir:v "example" ] ; fhir:description [ fhir:v "Codes that describe the specific involvement of a performer in an event. E.g. Primary vs. secondary vs. supervising, etc." ] ] ] [ fhir:id [ fhir:v "Event.performer.actor" ] ; fhir:path [ fhir:v "Event.performer.actor" ] ; fhir:short [ fhir:v "Who performed {{title}}" ] ; fhir:definition [ fhir:v "Indicates who or what performed the {{title}}." ] ; fhir:min [ fhir:v "1" ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Event.performer.actor" ] ; fhir:min [ fhir:v "1" ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Reference" ] ; fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Practitioner" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/PractitionerRole" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/Organization" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/CareTeam" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/Patient" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/Device" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/RelatedPerson" ] ) ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ] ] ) ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "true" ] ; fhir:mapping ( [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "EVN.5 or by domain" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v ".participation[typeCode=PRF].role[scoper.determinerCode=INSTANCE]" ] ] [ fhir:identity [ fhir:v "w5" ] ; fhir:map [ fhir:v "FiveWs.actor" ] ] ) ] [ fhir:id [ fhir:v "Event.location" ] ; fhir:path [ fhir:v "Event.location" ] ; fhir:short [ fhir:v "Where {{title}} occurred" ] ; fhir:definition [ fhir:v "The principal physical location where the {{title}} was performed." ] ; fhir:requirements [ fhir:v "Ties the event to where the records are likely kept and provides context around the event occurrence (e.g. if it occurred inside or outside a dedicated healthcare setting)." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Event.location" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Reference" ] ; fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Location" ] ) ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ] ] ) ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "true" ] ; fhir:mapping ( [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "EVN.7" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v ".participation[typeCode=LOC].role" ] ] [ fhir:identity [ fhir:v "w5" ] ; fhir:map [ fhir:v "FiveWs.where[x]" ] ] ) ] [ fhir:id [ fhir:v "Event.reason" ] ; fhir:path [ fhir:v "Event.reason" ] ; fhir:short [ fhir:v "Why was {{title}} performed?" ] ; fhir:definition [ fhir:v "Describes why the {{title}} occurred in coded or textual form or Indicates another resource whose existence justifies this {{title}}." ] ; fhir:comment [ fhir:v "Textual reasons can be captured using reasonCode.text." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Event.reason" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "*" ] ] ; fhir:type ( [ fhir:code [ fhir:v "CodeableReference" ] ; fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Condition" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/Observation" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/DiagnosticReport" ] [ fhir:v "http://hl7.org/fhir/StructureDefinition/DocumentReference" ] ) ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ] ] ) ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "true" ] ; fhir:binding [ fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/binding-definition" ] ; fhir:value [ fhir:v "Codes identifying why this event was necessary. These may be clinical reasons (e.g. diagnoses, symptoms) and/or administrative reasons. While the detailed constraints of relevant reasons will vary by resource, some degree of consistency across resources around recommended codes would be desirable." ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:value [ fhir:v "EventReason" ] ] ) ; fhir:strength [ fhir:v "example" ] ; fhir:description [ fhir:v "Codes identifying why this event was necessary. These may be clinical reasons (e.g. diagnoses, symptoms) and/or administrative reasons. While the detailed constraints of relevant reasons will vary by resource, some degree of consistency across resources around recommended codes would be desirable." ] ] ; fhir:mapping ( [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "EVN.4 or by domain" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v ".reasonCode" ] ] [ fhir:identity [ fhir:v "w5" ] ; fhir:map [ fhir:v "FiveWs.why[x]" ] ] ) ] [ fhir:id [ fhir:v "Event.note" ] ; fhir:path [ fhir:v "Event.note" ] ; fhir:short [ fhir:v "Comments made about the event" ] ; fhir:definition [ fhir:v "Comments made about the {{title}} by the performer, subject or other participants." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Event.note" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "*" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Annotation" ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ] ] ) ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "false" ] ; fhir:mapping ( [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "NTE" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v ".inboundRelationship(typeCode=SUBJ].source[classCode=ANNGEN, moodCode=EVN].value[xsi:type=ST]" ] ] ) ] [ fhir:id [ fhir:v "Event.relevantHistory" ] ; fhir:path [ fhir:v "Event.relevantHistory" ] ; fhir:short [ fhir:v "Key events in history of {{title}}" ] ; fhir:definition [ fhir:v "Links to Provenance records for past versions of this resource or component resources that identify key state transitions or updates that are likely to be relevant to a user looking at the current version of the resource." ] ; fhir:comment [ fhir:v "This element does not point to the Provenance associated with the *current* version of the resource - as it would be created after this version existed. The Provenance for the current version can be retrieved with a _revinclude. Referenced provenances should adhere to the provenance-relevant-history profile.\n\nSee additional guidance [here](event.html#history)." ] ; fhir:alias ( [ fhir:v "eventHistory" ] ) ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Event.relevantHistory" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "*" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Reference" ] ; fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Provenance" ] ) ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ] ] ) ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "false" ] ; fhir:mapping ( [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "N/A" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v ".inboundRelationship(typeCode=SUBJ].source[classCode=CACT, moodCode=EVN]" ] ] ) ] ) ] . # -------------------------------------------------------------------------------------
Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.
FHIR ®© HL7.org 2011+. FHIR R6 hl7.fhir.core#6.0.0-ballot1 generated on Mon, Dec 18, 2023 15:14+1100.
Links: Search |
Version History |
Contents |
Glossary |
QA |
Compare to R5 |
|
Propose a change