Release 4 FHIR CI-Build

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

2.32 2.1.29 Pattern fivews FiveWs - Content

Maturity Level : 1
Responsible Owner: FHIR Infrastructure icon Informative

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' ' Five Ws icon ' - 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

No references for this Pattern.

Structure

Name Flags Card. Type Description & Constraints      Filter: Filters doco
. . FiveWs I Logical Who What When Where Why - Common pattern for all resources that deals with attribution
. . . identifier 0..* Identifier Business Identifier

. . . version 0..1 string Identifier for this version
. . . status ?! 0..1 code Status Field
Binding: Canonical Status Codes for FHIR Resources ( Required )
. . . grade 0..1 CodeableConcept A field that indicates the potential impact of the content of the resource
. . . what[x] 0..1 What this resource is about
. . . . whatCodeableConcept CodeableConcept
. . . . whatReference Reference ( Any )
. . . subject 0..* Reference ( Patient | Practitioner | RelatedPerson | Organization ) Who this resource is about

. . . context 0..1 Reference ( Encounter | EpisodeOfCare ) Context for the work described in this resource
. . . init 0..1 dateTime When the work described in this resource was started (or will be)
. . . planned 0..* Timing When this resource is planned to occur

. . . done[x] 0..1 When the work described in this resource was completed (or will be)
. . . . doneDateTime dateTime
. . . . donePeriod Period
. . . recorded 0..1 instant When 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

. . . . whereCodeableConcept CodeableConcept
. . . . whereReference Reference ( Location )
. . . why[x] 0..* Why this work was done

. . . . whyCodeableConcept CodeableConcept
. . . . whyReference Reference ( Any )

doco Documentation for this format icon

UML Diagram ( Legend )

FiveWs ( Logical Base ) «Pattern» Business Identifier identifier : Identifier [0..*] Identifier for this version version : string [0..1] Status Field (this element modifies the meaning of other elements) status : code [0..1] « Status Field. (Strength=Required) CanonicalStatusCodesForFHIRRe... ! » Classifier Field class : CodeableConcept [0..*] A field that indicates the potential impact of the content of the resource grade : CodeableConcept [0..1] what this resource is about what[x] : Type DataType [0..1] « CodeableConcept | Reference ( Any ) » Who this resource is about subject : 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 occur planned : Timing [0..*] when the work described in this resource was completed (or will be) done[x] : Type DataType [0..1] « dateTime | Period » when this resource itself was created recorded : instant [0..1] who authored the content of the resource author : Reference [0..*] « Patient | Practitioner | RelatedPerson | Organization » Who provided the information in this resource source : 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 resource cause : 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 resource who : Reference [0..*] « Patient | Practitioner | RelatedPerson | Organization » The location of the work described where[x] : Type DataType [0..*] « CodeableConcept | Reference ( Location ) » Why this work was done why[x] : Type DataType [0..*] « CodeableConcept | Reference ( Any ) »

Structure

Name Flags Card. Type Description & Constraints      Filter: Filters doco
. . FiveWs I Logical Who What When Where Why - Common pattern for all resources that deals with attribution
. . . identifier 0..* Identifier Business Identifier

. . . version 0..1 string Identifier for this version
. . . status ?! 0..1 code Status Field
Binding: Canonical Status Codes for FHIR Resources ( Required )
. . . grade 0..1 CodeableConcept A field that indicates the potential impact of the content of the resource
. . . what[x] 0..1 What this resource is about
. . . . whatCodeableConcept CodeableConcept
. . . . whatReference Reference ( Any )
. . . subject 0..* Reference ( Patient | Practitioner | RelatedPerson | Organization ) Who this resource is about

. . . context 0..1 Reference ( Encounter | EpisodeOfCare ) Context for the work described in this resource
. . . init 0..1 dateTime When the work described in this resource was started (or will be)
. . . planned 0..* Timing When this resource is planned to occur

. . . done[x] 0..1 When the work described in this resource was completed (or will be)
. . . . doneDateTime dateTime
. . . . donePeriod Period
. . . recorded 0..1 instant When 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

. . . . whereCodeableConcept CodeableConcept
. . . . whereReference Reference ( Location )
. . . why[x] 0..* Why this work was done

. . . . whyCodeableConcept CodeableConcept
. . . . whyReference Reference ( Any )

doco Documentation for this format icon

UML Diagram ( Legend )

FiveWs ( Logical Base ) «Pattern» Business Identifier identifier : Identifier [0..*] Identifier for this version version : string [0..1] Status Field (this element modifies the meaning of other elements) status : code [0..1] « Status Field. (Strength=Required) CanonicalStatusCodesForFHIRRe... ! » Classifier Field class : CodeableConcept [0..*] A field that indicates the potential impact of the content of the resource grade : CodeableConcept [0..1] what this resource is about what[x] : Type DataType [0..1] « CodeableConcept | Reference ( Any ) » Who this resource is about subject : 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 occur planned : Timing [0..*] when the work described in this resource was completed (or will be) done[x] : Type DataType [0..1] « dateTime | Period » when this resource itself was created recorded : instant [0..1] who authored the content of the resource author : Reference [0..*] « Patient | Practitioner | RelatedPerson | Organization » Who provided the information in this resource source : 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 resource cause : 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 resource who : Reference [0..*] « Patient | Practitioner | RelatedPerson | Organization » The location of the work described where[x] : Type DataType [0..*] « CodeableConcept | Reference ( Location ) » Why this work was done why[x] : Type DataType [0..*] « CodeableConcept | Reference ( Any ) »

 

alternate Alternate definitions: Master Definition XML + JSON .

Path Definition ValueSet Type Reference Documentation
FiveWs.status Status Field. CanonicalStatusCodesForFHIRResources Required CanonicalStatusCodesForFHIRResources

The master set of status codes used throughout FHIR. All status codes are mapped to one of these codes.

Todo

1 2 NT 1 NT 2 NT 1 NC 1 8 NTC 9 NTC 4 NT 7 NT 3 NT 1 5 NTC 1 NT 1 NT 1 1 NT 1 NT CareTeam 1 1 1 1 NT 2 1 1 2 N ChargeItemDefinition 2 NT 1 1 1 1 1 1 N 1 N 1 NT 1 N 1 N 2 1 2 1 3 NT 2 N 1 N 1 N 2 NTC 12 NT 1 2 NT 2 NT 4 NT 2 NT 1 2 NT 1 1 NT 1 NT 4 NTC 1 NT 1 NT 2 NT 2 N DeviceUseStatement 1 1 1 NT 1 NT 2 N 2 N 2 N 1 2 N 2 EffectEvidenceSynthesis 2 NT 1 1 2 NT 3 1 1 N 1 2 1 NT 1 NT 1 NT 1 N 1 1 N 1 N 1 N 2 1 N 1 N 2 1 1 N 1 T 1 N 1 N 1 1 N 1 1 1 NT 1 NT 1 NT 2 1 N 1 1 NT 1 NT Linkage 2 NT 1 1 1 NT 1 NT 1 NT 1 NT 1 1 NT 1 1 NT 1 1 1 N 1 N 1 N 1 N 2 NT 2 NC 2 N 2 1 1 1 N 1 1 N 1 NT 1 N 2 N 3 NT 2 N 1 N 1 2 NT 1 NT 1 1 2 1 N 1 NT 2 1 1 NT 1 N 1 1 NT 1 NT 1 1 NT 1 2 N 2 NT 1 NT 1 NT 2 1 2 N 1 1 NT 2 N RiskEvidenceSynthesis 2 NT 1 1 1 NT 1 NT 1 4 NT 2 2 N 1 1 2 NT 1 1 1 NT 1 NT 1 NT 1 NT 1 NT 1 N 1 NT 1 1 1 1 NT 3 NTC 1 N 2 N Task 1 1 1 NT 1 NT 2 N 1 N 1 NT 1 N 2 NT 2 N 1 1 NT 1 NT 1 NT 1 NT
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 N 1 1 N
ActivityDefinition 2 NT N 2 N 1 1 NT N 1 NT N 1 NT N 1 NT N
AdverseEvent ActorDefinition 2 N 1 1 1 N 1 N 1 N 1 N
AdministrableProductDefinition 1 N
AdverseEvent 1 2 N 1 N 1 1 N 2 N 1 N 1 N 1
AllergyIntolerance 1 2 NT N 2 NT N 1 NT N 1 N 1 N 1 N 1 NT N 1 NT N 1 N 1 N
Appointment 1 1 3 N 4 N 1 NT N 1 NT N 2 N
AppointmentResponse 1 1 NT N 1 NT N 1 N
AuditEvent ArtifactAssessment 1 1 N 1 N
AuditEvent 1 N 7 N 1 N 6 N 1 N 1 4 N 5 NT N 2 N 4 N
Basic 1 1 N 1 1 NT N 1
BiologicallyDerivedProduct 2 N
BodyStructure 1 1 NT N 10 NC 1 N 1 N
Bundle 1 1 NT N 1 NT N
CapabilityStatement 2 N 1 1 1 NT N 1 NT N 1 NT N 1 NT N
CarePlan 1 1 1 N 1 N 1 1 N 1 N 1 N 1 N 1 N 1 N
ChargeItem CareTeam 1 1 1 N 1 NT 2 N 1 NT N 1 NT N 1 NT N
Claim 2 1 3 NT N 1 N 2 NT N 1 NT N 1 N 1 N 1 N 1 N 2 NT N
ClaimResponse 1 1 3 NT N 1 N 1 NT N 1 NT N 2 N 1 NT N 1 N
ClinicalImpression ClinicalUseDefinition 1 N
CodeSystem 2 NT N 1 1 1 NT N 1 NT N 1 NT N 1 NT N
Communication 1 1 1 N 1 NT N 1 3 NTC N 2 N 2 N 1 N
CommunicationRequest 1 1 2 N 1 NT N 1 2 NC N 1 NT N 1 NT N 1 N 2 N 1 N
CompartmentDefinition 1 NT N 1 1 1 NT N 1 NT N 1 NT N 1 NT N
Composition 2 N 1 1 2 N 1 1 N 1 N 2 1 N
ConceptMap 2 NT N 1 1 1 NT N 1 NT N 1 NT N 1 NT N
Condition 1 2 NT N 1 N 1 N 1 N 1 1 N 1 NT N 1 NT N 1 NT N 1 N 1 N
Consent 1 1 1 N 1 N 1 NT N 1 N
Contract 1 21 NTC N 2 N 1 NT N 2 NT N 1 NT N 1 N
Coverage 1 1 1 N 4 NT N 1 N
CoverageEligibilityRequest 1 1 2 NT N 1 N 1 NT N 1 NT N 1 N 2 N 1 N 1 N
CoverageEligibilityResponse 1 1 1 NT N 1 N 1 NT N 1 NT N 2 N 1 N
DetectedIssue 1 1 1 N 1 NT N 1 N 1 1 N 1 NT N 1 3 NT N
Device 2 NT N 3 N 15 N 1 N
DeviceDefinition DeviceAlert 1 1 2 N 1 N 1 N 1 1 N 1 N 1 N 1 N 1 NT N 1 N
DeviceMetric DeviceDefinition 2 N 1 1 1 N 5 N 1 N 1 N 1 N
DeviceRequest DeviceMetric 1 1 1 N 1 N 1 N
DiagnosticReport DeviceRequest 1 1 1 N 1 N 4 N 1 1 N 1 N 1 N 1 N 2 N 1 N
DocumentManifest DiagnosticReport 1 1 1 N 1 N 1 1 N 1 N 1 N 2 N
DocumentReference 1 1 2 N 1 N 2 NC 1 1 NC C 1 N 1 N 1 NT 1 NT N
Encounter 1 1 1 1 N 1 NC 1 1 NC 1 N 1 N 1 N 2 N
Endpoint 1 1 1 NT N 1 NT N 1 N
EnrollmentRequest 2 N
EnrollmentResponse 2 N
EpisodeOfCare 1 1 1 N 2 NC 1 N 1 NT N
EventDefinition 2 NT N 2 N 1 1 NT N 1 NT N 1 NT N 1 NT N
Evidence 2 NT N 1 1 1 NT N 1 1 NT N 1 N
EvidenceVariable 2 NT N 1 1 1 NT N 1 1 NT N 1 N
ExampleScenario 2 NT N 1 1 1 NT N 1 NC 1 NT N 1 NT N 1 N 1 NT N
ExplanationOfBenefit 1 1 3 NT N 1 N 3 NT N 1 NT N 2 N 2 N 1 N 1 N 3 NT N 1 N
FamilyMemberHistory 1 1 1 N 1 NT N 1 N 1 N 1 N
Flag 1 1 1 N 1 N 1 2 NT N 1
Goal 1 1 N 1 N 1 N 1 N 1 1 NT N 1 NT N 1 NT N 1 N 1 1 N
GraphDefinition Group 2 N 1 1 2 N 1 N 1 N 1 NT N 2 N 1 NT N
Group GuidanceResponse 1 1 NT 2 NT 1 1 N 1 N 1 N 1 N
GuidanceResponse HealthcareService 1 1 N 1 N 1 N
HealthcareService ImagingSelection 1 1 NT 1 N 1 N 1 1 N 1 N 1 N
ImagingStudy 1 1 1 NT N 1 1 N 1 N 1 2 N 1 N 1 N
Immunization 1 1 2 N 1 N 2 NC 1 NT N 2 NT N 1 1 N
ImmunizationEvaluation ImplementationGuide 2 N 1 1 1 N 1 N 1 N 1 N
ImmunizationRecommendation Ingredient 1 N
ImplementationGuide InsurancePlan 1 NT
InsurancePlan InsuranceProduct 1 1 1 N
Invoice 1 1 1 N 1 1
Library 2 NT N 2 N 1 1 NT N 1 N 1 NT N 1 NT N 1 N
List 1 1 1 NT N 1 N 1 1 N 1 NT N 1 N
Location 1 2 NT N 3 NT N
Measure ManufacturedItemDefinition 2 N
MeasureReport Measure 2 N 2 N 1 1 NT N 1 N 1 N 1 N
Media MeasureReport 1 1 1 N 1 N 4 N 1 N 1 N
Medication 1 1 N
MedicationAdministration 1 1 1 N 1 2 NC 1 N 1 1 NT N
MedicationDispense 1 1 1 N 1 1 NC
MedicationKnowledge MedicationRequest 1 1 2 N 1 N 1 N 1 2 NC 1 N 1 N 1 N 2 N 1 N
MedicationRequest MedicationStatement 1 1 1 NT N 1 N 1 1 NT N 1 N 1 1 N 1 N
MedicationStatement MedicinalProductDefinition 1 N
MessageDefinition 2 NT N 1 1 1 NT N 1 NT N 1 NT N 1 NT N
MessageHeader 1 NT N 2 N 1 NT N 1 N
MolecularSequence NamingSystem 3 N 1 1 2 N 1 N 2 N 1 N
NamingSystem NutritionIntake 1 NT 1 1 NT N 1 N 1 1 N 1 NT 1 N 1 N
NutritionOrder 1 1 1 NT N 1 N 5 NC N 1 1 N 1 N 1 N
NutritionProduct 1 NT N 1 1 N
Observation 1 1 1 N 2 N 2 N 1 N 1 NT N 1 N 1 N
ObservationDefinition 1 N 1 N
OperationDefinition 2 N 1 1 2 NT N 1 NT N 1 NT N 1 NT N
Organization 1 1 NT N 1 N
OrganizationAffiliation 1 1 NT N 1 N 1 N
PackagedProductDefinition 1 N
Patient 1 1 NT N
PaymentNotice 1 1 2 N 1 NT N 1 N
PaymentReconciliation 1 1 1 N 1 NT N 1 N 1 N
Permission 1
Person 1 1 NT N
PlanDefinition 2 NT N 2 N 1 1 NT N 1 NT N 1 NT N 1 NT N
Practitioner 1 1 NT N
PractitionerRole 1 1 NT N 1 N 1 N
Procedure 1 1 1 N 1 N 2 N 1 N 1 NT N 1 1 N 1 N 1 1 N 1 N
Provenance 1 NC 1 N 1 N 1 N 1 2 N 1 N 4 N
Questionnaire 2 NT N 1 1 1 NT N 1 NT N 1 N 1 NT N 1 NT N
QuestionnaireResponse 1 1 1 1 N 1 NT N 1 1
RelatedPerson RegulatedAuthorization 1 N
RequestGroup RelatedPerson 1 1 N 1 N 1 N
ResearchDefinition RequestOrchestration 1 1 1 N 1 NT N 1 N 1 1 N 1 N 1 NT 1 N 3 N
ResearchElementDefinition Requirements 2 NT N 1 1 1 NT N 1 NT N 1 1 NT N 1 N 1 NT N
ResearchStudy 1 1 1 NC 2 N 1 N 1 N 1 N
ResearchSubject 1 2 N
RiskAssessment 1 1 1 N 1 N 1 1 N 1 N 1 N 1 NT N
Schedule 1 1 NT N 3 N 1 N 1 NT N
SearchParameter 2 N 1 1 1 NT N 1 NT N 1 NT N 1 NT N
ServiceRequest 1 1 2 NT N 1 NT N 1 N 2 N 1 N 1 NT N 1 NT N 1 N 3 N 1 N
Slot 1 4 N 2 NT N
Specimen 1 1 2 N 1 2 NT N 1 N 2 N 1 N
StructureDefinition SpecimenDefinition 1 N
StructureMap StructureDefinition 2 NT N 1 1 1 NT N 1 NT N 1 NT N 1 NT N
Subscription StructureMap 2 N 1 1 1 N 1 NT N 1 N 1 NT N
Substance Subscription 1 1 1 N 1 N 1 N 1 N 1 N
SupplyDelivery SubscriptionStatus 1 1 N 1 N
SupplyRequest SubscriptionTopic 2 N 1 NT 1 NT 1 N 1 N 1 N 1 N
TerminologyCapabilities Substance 1 NT 1 1 NT N 1 N
TestReport Task 1 1 1 N 1 N 3 NC 1 N 1 N 1 N 1 NT N 1 N 2 N 1 N 1 N
TestScript TerminologyCapabilities 2 NT N 1 1 1 NT N 1 NT N 1 NT N 1 NT N
ValueSet 2 NT N 1 1 1 NT N 1 NT N 1 NT N 1 NT VerificationResult N 1 N
VisionPrescription 1 1 1 N 1 N 1 N 1 NT N 1 N

Each non-grey cell contains a number, the number of elements and extensions (if > 0) mapped in the resource that are mapped to the pattern element in the column. If there are 0 elements and extensions, the number is not shown. In addition, the cell has a color and some character flags.

Colors:

  • Grey: the resource has no element or extension for the pattern element
  • White: the resource has an element that implements the pattern element with the same name
  • Yellow: the resource has a documented extension that implements the pattern element with the same name
  • Blue: the resource has an element that implements the pattern element with a different name
  • Red: the resource has an element that implements that pattern element, but the type or cardinality does not match

Flags:

  • E: pattern element implemented by an extension
  • N: pattern element implemented by an element with a different name
  • T: pattern element implemented by an element with a different type
  • C: pattern element implemented by an element with a different cardinality