Release 4

This page is part of the FHIR Specification (v4.0.1: R4 - Mixed Normative and STU) in it's permanent home (it will always be available at this URL). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4

2.32 Pattern fivews - Content

FHIR Infrastructure Maturity Level: 1Informative

Who What When Where Why - Common pattern for all resources that deals with attribution.

All resources include some attribution information. Classically, this information includes:

  • Who
  • What
  • When
  • Where
  • Why

This is classically known as the 'Five Ws' - hence the name of this pattern. The pattern also includes additional information that is common across many resources.

The Five Ws logical model is NOT a resource. It is not part of the FHIR schema and cannot appear directly in FHIR instances. Instead, it defines a pattern adhered to by other resources. This pattern serves two purposes:

  • It offers guidance to work groups designing resources and helps ensure consistency of content created by different work groups
  • It provides a standard "view" that might be useful for implementers in processing and manipulating all resources that adhere to the same pattern. (Tooling that supports this may become available in a future release.)

Note that the guidance here is around the types of information that might be captured, not around element names. For example "why" would more typically be labeled as something like "reason" and "where" would be more typically labeled "location"

To do

To do

Structure

NameFlagsCard.TypeDescription & Constraintsdoco
.. FiveWs ILogicalWho What When Where Why - Common pattern for all resources that deals with attribution
... identifier 0..*IdentifierBusiness Identifier
... version 0..1stringIdentifier for this version
... status ?!0..1codeStatus Field
Canonical Status Codes for FHIR Resources (Required)
... class 0..*CodeableConceptClassifier Field
... grade 0..1CodeableConceptA field that indicates the potential impact of the content of the resource
... what[x] 0..1What this resource is about
.... whatCodeableConceptCodeableConcept
.... whatReferenceReference(Any)
... subject 0..*Reference(Patient | Practitioner | RelatedPerson | Organization)Who this resource is about
... context 0..1Reference(Encounter | EpisodeOfCare)Context for the work described in this resource
... init 0..1dateTimeWhen the work described in this resource was started (or will be)
... planned 0..*TimingWhen this resource is planned to occur
... done[x] 0..1When the work described in this resource was completed (or will be)
.... doneDateTimedateTime
.... donePeriodPeriod
... recorded 0..1instantWhen this resource itself was created
... author 0..*Reference(Patient | Practitioner | RelatedPerson | Organization)Who authored the content of the resource
... source 0..*Reference(Patient | Practitioner | RelatedPerson | Organization)Who provided the information in this resource
... actor 0..*Reference(Patient | Practitioner | RelatedPerson | Organization)Who did the work described the resource (or will do)
... cause 0..*Reference(Patient | Practitioner | RelatedPerson | Organization)Who prompted the work described in the resource
... witness 0..*Reference(Patient | Practitioner | RelatedPerson)Who attests to the content of the resource (individual or org)
... who 0..*Reference(Patient | Practitioner | RelatedPerson | Organization)An actor involved in the work described by this resource
... where[x] 0..*The location of the work described
.... whereCodeableConceptCodeableConcept
.... whereReferenceReference(Location)
... why[x] 0..*Why this work was done
.... whyCodeableConceptCodeableConcept
.... whyReferenceReference(Any)

doco Documentation for this format

UML Diagram (Legend)

FiveWs (Logical)Business Identifieridentifier : Identifier [0..*]Identifier for this versionversion : string [0..1]Status Field (this element modifies the meaning of other elements)status : code [0..1] « Status Field. (Strength=Required)CanonicalStatusCodesForFHIRRe...! »Classifier Fieldclass : CodeableConcept [0..*]A field that indicates the potential impact of the content of the resourcegrade : CodeableConcept [0..1]what this resource is aboutwhat[x] : Type [0..1] « CodeableConcept|Reference(Any) »Who this resource is aboutsubject : Reference [0..*] « Patient|Practitioner|RelatedPerson| Organization »a resource that gives context for the work described in this resource (usually Encounter or EpisodeOfCare)context : Reference [0..1] « Encounter|EpisodeOfCare »when the work described in this resource was started (or will be)init : dateTime [0..1]when this resource is planned to occurplanned : Timing [0..*]when the work described in this resource was completed (or will be)done[x] : Type [0..1] « dateTime|Period »when this resource itself was createdrecorded : instant [0..1]who authored the content of the resourceauthor : Reference [0..*] « Patient|Practitioner|RelatedPerson| Organization »Who provided the information in this resourcesource : Reference [0..*] « Patient|Practitioner|RelatedPerson| Organization »who did the work described the resource (or will do)actor : Reference [0..*] « Patient|Practitioner|RelatedPerson| Organization »who prompted the work described in the resourcecause : Reference [0..*] « Patient|Practitioner|RelatedPerson| Organization »who attests to the content of the resource (individual or org)witness : Reference [0..*] « Patient|Practitioner|RelatedPerson »An actor involved in the work described by this resourcewho : Reference [0..*] « Patient|Practitioner|RelatedPerson| Organization »The location of the work describedwhere[x] : Type [0..*] « CodeableConcept|Reference(Location) »Why this work was donewhy[x] : Type [0..*] « CodeableConcept|Reference(Any) »

Structure

NameFlagsCard.TypeDescription & Constraintsdoco
.. FiveWs ILogicalWho What When Where Why - Common pattern for all resources that deals with attribution
... identifier 0..*IdentifierBusiness Identifier
... version 0..1stringIdentifier for this version
... status ?!0..1codeStatus Field
Canonical Status Codes for FHIR Resources (Required)
... class 0..*CodeableConceptClassifier Field
... grade 0..1CodeableConceptA field that indicates the potential impact of the content of the resource
... what[x] 0..1What this resource is about
.... whatCodeableConceptCodeableConcept
.... whatReferenceReference(Any)
... subject 0..*Reference(Patient | Practitioner | RelatedPerson | Organization)Who this resource is about
... context 0..1Reference(Encounter | EpisodeOfCare)Context for the work described in this resource
... init 0..1dateTimeWhen the work described in this resource was started (or will be)
... planned 0..*TimingWhen this resource is planned to occur
... done[x] 0..1When the work described in this resource was completed (or will be)
.... doneDateTimedateTime
.... donePeriodPeriod
... recorded 0..1instantWhen this resource itself was created
... author 0..*Reference(Patient | Practitioner | RelatedPerson | Organization)Who authored the content of the resource
... source 0..*Reference(Patient | Practitioner | RelatedPerson | Organization)Who provided the information in this resource
... actor 0..*Reference(Patient | Practitioner | RelatedPerson | Organization)Who did the work described the resource (or will do)
... cause 0..*Reference(Patient | Practitioner | RelatedPerson | Organization)Who prompted the work described in the resource
... witness 0..*Reference(Patient | Practitioner | RelatedPerson)Who attests to the content of the resource (individual or org)
... who 0..*Reference(Patient | Practitioner | RelatedPerson | Organization)An actor involved in the work described by this resource
... where[x] 0..*The location of the work described
.... whereCodeableConceptCodeableConcept
.... whereReferenceReference(Location)
... why[x] 0..*Why this work was done
.... whyCodeableConceptCodeableConcept
.... whyReferenceReference(Any)

doco Documentation for this format

UML Diagram (Legend)

FiveWs (Logical)Business Identifieridentifier : Identifier [0..*]Identifier for this versionversion : string [0..1]Status Field (this element modifies the meaning of other elements)status : code [0..1] « Status Field. (Strength=Required)CanonicalStatusCodesForFHIRRe...! »Classifier Fieldclass : CodeableConcept [0..*]A field that indicates the potential impact of the content of the resourcegrade : CodeableConcept [0..1]what this resource is aboutwhat[x] : Type [0..1] « CodeableConcept|Reference(Any) »Who this resource is aboutsubject : Reference [0..*] « Patient|Practitioner|RelatedPerson| Organization »a resource that gives context for the work described in this resource (usually Encounter or EpisodeOfCare)context : Reference [0..1] « Encounter|EpisodeOfCare »when the work described in this resource was started (or will be)init : dateTime [0..1]when this resource is planned to occurplanned : Timing [0..*]when the work described in this resource was completed (or will be)done[x] : Type [0..1] « dateTime|Period »when this resource itself was createdrecorded : instant [0..1]who authored the content of the resourceauthor : Reference [0..*] « Patient|Practitioner|RelatedPerson| Organization »Who provided the information in this resourcesource : Reference [0..*] « Patient|Practitioner|RelatedPerson| Organization »who did the work described the resource (or will do)actor : Reference [0..*] « Patient|Practitioner|RelatedPerson| Organization »who prompted the work described in the resourcecause : Reference [0..*] « Patient|Practitioner|RelatedPerson| Organization »who attests to the content of the resource (individual or org)witness : Reference [0..*] « Patient|Practitioner|RelatedPerson »An actor involved in the work described by this resourcewho : Reference [0..*] « Patient|Practitioner|RelatedPerson| Organization »The location of the work describedwhere[x] : Type [0..*] « CodeableConcept|Reference(Location) »Why this work was donewhy[x] : Type [0..*] « CodeableConcept|Reference(Any) »

 

alternate definitions: Master Definition XML + JSON.

PathDefinitionTypeReference
FiveWs.status Status Field.RequiredCanonicalStatusCodesForFHIRResources

Todo

identifier version status class grade what[x] subject context init planned done[x] recorded author source actor cause witness who where[x] why[x]
Account 1 1 1 N 1 NT 1 1 N
ActivityDefinition 2 NT 1 1 1 NT 1 NT 1 NT 1 NT
AdverseEvent 2 NT 1 N 1 N 1 N 1 NT 1 N 1 N
AllergyIntolerance 1 2 NT 2 NT 1 NT 1 N 1 N 1 N 1 NT 1 NT 1 N 1 N
Appointment 1 1 2 NT 1 NC 1 NT 1 NT 1 N
AppointmentResponse 1 1 NT 1 NT 1 N
AuditEvent 8 NTC 9 NTC 1 N 1 4 NT 7 NT 5 NT 3 NT
Basic 1 1 N 1 1 NT 1
BiologicallyDerivedProduct 1
BodyStructure 1 1 NT 5 NTC 1 N
Bundle 1 1 NT 1 NT
CapabilityStatement 1 NT 1 1 1 NT 1 NT 1 NT 1 NT
CarePlan 1 1 1 N 1 NT 1 1 N 1 NT 1 NT 1 1 N 1 N
CareTeam 1 1 1 N 1 1 N 1 NT 1 N 2 N
ChargeItem 1 1 1 N 1 1 1 NT 2 N 2 N
ChargeItemDefinition 2 NT 1 1 1 NT 1 NT 1 NT
Claim 2 1 3 NT 1 N 2 NT 1 NT 1 N 1 N 1 N 1 N 2 NT
ClaimResponse 1 1 3 NT 1 N 1 NT 1 NT 2 N 1 NT 1 N
ClinicalImpression 1 1 1 N 1 1 N 1 N 1 NT 1 N 1 N
CodeSystem 2 NT 1 1 1 NT 1 NT 1 NT 1 NT
Communication 1 1 1 N 1 NT 1 3 NTC 2 N 2 N 2 N
CommunicationRequest 1 1 1 N 1 NT 1 2 NC 1 NT 1 NT 1 N 2 N 2 N
CompartmentDefinition 1 NT 1 1 1 NT 1 NT 1 NT 1 NT
Composition 1 1 3 NT 1 1 N 1 N 2 1 N
ConceptMap 2 NT 1 1 1 NT 1 NT 1 NT 1 NT
Condition 1 2 NT 1 N 1 N 1 N 1 1 N 1 NT 1 NT 1 NT 1 N 1 N 2 N
Consent 1 1 1 N 1 N 1 NT 1 N 1 N
Contract 1 21 NTC 2 N 1 NT 2 NT 1 NT 1 N
Coverage 1 1 1 N 4 NT 1 N 1 N
CoverageEligibilityRequest 1 1 2 NT 1 N 1 NT 1 NT 1 N 2 N 1 N 1 N
CoverageEligibilityResponse 1 1 1 NT 1 N 1 NT 1 NT 2 N 1 N
DetectedIssue 1 1 1 N 1 NT 1 N 1 NT 1 3 NT
Device 2 NT 2 NTC 12 NT 1 N 2 NT 2 NT
DeviceDefinition 1 4 NT 2 NT 1 NT
DeviceMetric 1 2 NT
DeviceRequest 1 1 1 NT 1 NT 4 NTC 1 1 N 1 NT 1 NT 1 N 2 NT 2 N
DeviceUseStatement 1 1 1 1 NT 1 NT 2 N 2 N
DiagnosticReport 1 1 1 N 1 N 1 1 N 1 N 1 N 2 N
DocumentManifest 2 N 1 1 N 1 1 N 1 1 N
DocumentReference 2 N 2 N 2 N 1 1 NC 1 N 1 N
EffectEvidenceSynthesis 2 NT 1 1 1 NT 1 NT
Encounter 1 1 2 NT 1 N 1 1 NC 1 N 1 N 1 N 3 N
Endpoint 1 1 1 NT 1 NT 1 N
EnrollmentRequest 2 N
EnrollmentResponse 1 N
EpisodeOfCare 1 1 1 N 1 N 1 N 1 NT
EventDefinition 2 NT 1 1 1 NT 1 NT 1 NT 1 NT
Evidence 2 NT 1 1 1 NT 1 NT
EvidenceVariable 2 NT 1 1 1 NT 1 NT
ExampleScenario 2 NT 1 1 1 NT 1 NT 1 NT 1 NT
ExplanationOfBenefit 1 1 3 NT 1 N 3 NT 1 NT 2 N 2 N 1 N 1 N 3 NT 1 N
FamilyMemberHistory 1 1 1 N 1 NT 2 N
Flag 1 1 1 N 1 N 1 2 NT 1
Goal 1 1 N 1 N 1 N 1 N 1 1 NT 1 NT 1 NT 1 N 1 N
GraphDefinition 1 NT 1 1 1 NT 1 NT 1 NT 1 NT
Group 1 1 NT 2 NT 1 N
GuidanceResponse 1 1 1 1 N 1 N 1 N 2 N
HealthcareService 1 1 NT 1 N 1 N
ImagingStudy 1 1 1 NT 1 1 N 1 N 1 2 N 1 N 1 N 2 N
Immunization 1 1 1 N 1 N 1 N 1 NT 1 T 2 NT 1 1 N
ImmunizationEvaluation 1 1 1 N 1 N
ImmunizationRecommendation 1 1 N
ImplementationGuide 1 NT 1 1 1 NT 1 NT 1 NT
InsurancePlan 2 1 1 N
Invoice 1 1 1 N 1 1 N 1
Library 2 NT 1 1 1 NT 1 N 1 NT 1 NT 1 NT
Linkage 1 NT 1
List 1 1 1 NT 1 N 1 1 N 1 NT 1 N
Location 1 2 NT 3 NT
Measure 2 NT 1 1 1 NT 1 NT 1 NT 1 NT
MeasureReport 1 1 1 NT 1 NT 1 1 NT 1 N
Media 1 1 1 N 1 N 1 1 N 1 N 1 N 1 N 1 N
Medication 1 1 N 1 N
MedicationAdministration 1 1 1 N 1 2 NC 1 N 1 NT 1 N
MedicationDispense 1 1 1 N 1 1 NC
MedicationKnowledge 1 N 1 N
MedicationRequest 1 1 2 NT 1 NT 1 N 1 2 NC 1 NT 1 N 1 N 2 N 2 N
MedicationStatement 1 1 1 N 1 N 1 1 N 1 NT 1 N 2 N
MessageDefinition 2 NT 1 1 1 NT 1 NT 1 NT 1 NT
MessageHeader 1 NT 3 NT 2 N 1 NT 1 N 1 N
MolecularSequence 1
NamingSystem 1 NT 1 1 NT 1 NT 2 NT
NutritionOrder 1 1 1 NT 5 NC 1 N 1 N 1 NT 1 N
Observation 1 1 1 N 2 N 2 N 1 N 1 NT 1 N 1 N
ObservationDefinition 1 N 1 N
OperationDefinition 1 NT 1 1 2 NT 1 NT 1 NT 1 NT
Organization 1 1 NT 1 N
OrganizationAffiliation 1 1 NT 1 N 1 N
Patient 1 1 NT
PaymentNotice 1 1 2 N 1 NT 1 N
PaymentReconciliation 1 1 1 N 1 NT 1 N 1 N
Person 1 1 NT
PlanDefinition 2 NT 1 1 1 NT 1 NT 1 NT 1 NT
Practitioner 1 1 NT
PractitionerRole 1 1 NT 1 N 1 N
Procedure 1 1 1 N 1 N 1 1 N 1 NT 1 N 1 N 1 1 N 2 N
Provenance 1 NC 1 N 1 1 N 1 NT 1 N 2 N
Questionnaire 2 NT 1 1 1 NT 1 NT 1 NT 1 NT
QuestionnaireResponse 1 1 1 1 N 1 NT 1 1
RelatedPerson 1 1 NT 1 N 1 N
RequestGroup 1 1 1 NT 1 NT 1 N 1 1 N 1 NT 1 1 N 2 N
ResearchDefinition 2 NT 1 1 1 NT 1 NT 1 NT 1 NT
ResearchElementDefinition 2 NT 1 1 1 NT 1 NT 1 NT 1 NT
ResearchStudy 1 1 2 NC 1 N 1 N 2 N 1 N 1 N
ResearchSubject 1 1 1 NT
RiskAssessment 1 1 1 N 1 N 1 1 N 1 N 1 N 2 N
RiskEvidenceSynthesis 2 NT 1 1 1 NT 1 NT
Schedule 1 1 NT 3 N 1 N 1 NT
SearchParameter 1 NT 1 1 1 NT 1 NT 1 NT 1 NT
ServiceRequest 1 1 2 NT 1 NT 1 N 1 1 N 1 NT 1 NT 1 N 4 NT 2 N
Slot 1 4 N 2 NT
Specimen 2 N 1 1 N 1 2 NT 1 N 1 N 1 N
StructureDefinition 2 NT 1 1 1 NT 1 NT 1 NT 1 NT
StructureMap 2 NT 1 1 1 NT 1 NT 1 NT 1 NT
Subscription 1 1 NT 1 NT 1 NT
Substance 1 1 1 N 1 N
SupplyDelivery 1 NT
SupplyRequest 1 1 1 N 1 NT 3 NTC 1 NT 1 NT 1 N 1 N 2 N
Task 1 1 1 NT 1 NT 2 N 1 N 1 N 1 N 1 NT 1 N 2 NT 1 N 2 N
TerminologyCapabilities 1 NT 1 1 1 NT 1 NT 1 NT 1 NT
TestReport 1 1 1 NT
TestScript 2 NT 1 1 1 NT 1 NT 1 NT 1 NT
ValueSet 2 NT 1 1 1 NT 1 NT 1 NT 1 NT 1 NT
VerificationResult 1
VisionPrescription 1 1 1 N 1 N 1 NT 1 N