WOF Connect
0.1.4 - ci-build [WIP]

WOF Connect, published by Service Well AB. This guide is not an authorized publication; it is the continuous build for version 0.1.4 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/servicewell/servicewell.fhir.wof-connect/ and changes regularly. See the Directory of published versions

Resource Profile: Wof Connect ActivityDefinition

Official URL: http://canonical.fhir.link/servicewell/wof-connect/StructureDefinition/wof-connect-activitydefinition Version: 0.1.4
Draft as of 2026-04-24 Computable Name: WofConnectActivityDefinition

ActivityDefinition represents what can be offered and booked as a service.

It answers the question: "What service is the patient booking?"

Scope and usage

  • Defines the type of service (e.g., examination, consultation, treatment).
  • Contains a booking activity code that uniquely identifies the service concept.
  • Provides stable metadata such as title and description for presentation and search.

Booking and interoperability principle:

  • Booking is performed using the activity code, not the resource id.
  • This follows the approach used in IHE Scheduling profiles.
  • The code represents a shared service concept that can be reused across installations and systems.

Important: The resource id is a technical identifier local to a FHIR server. It MUST NOT be used as a booking key.

ActivityDefinitionPortal describes the service concept only. It does not define:

  • which locations offer the service
  • which practitioners perform it
  • context-specific price or duration
  • availability, schedules, or bookable time slots

Those context-specific details are provided through Offer and related context resources.

Current name in Backoffice: Service

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. ActivityDefinition C 0..* ActivityDefinition The definition of a specific activity to be taken, independent of any particular patient or context
Constraints: adf-0
... id SΣ 1..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
.... profile SΣ 1..* canonical(StructureDefinition) Profiles that this resource claims to conform to
.... tag Σ 1..* Coding Tags applied to this resource
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
..... system SΣ 1..1 uri Identity of the terminology system
Required Pattern: http://canonical.fhir.link/servicewell/wof-connect/CodeSystem/pms-system
..... code SΣ 1..1 code System the data originates from
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
.... contained:healthcareServiceList SO 1..1 WofConnectHealthcareServiceList Resources contained within the activity definition resource
ObligationsActor
SHALL:populate https://serveractor.examplse.se
..... id Σ 1..1 id Logical id of this artifact
Required Pattern: HealthcareServiceListId
..... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
..... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
..... status ?!Σ 1..1 code current | retired | entered-in-error
Binding: ListStatus (required): The current state of the list.
Required Pattern: current
..... mode ?!Σ 1..1 code working | snapshot | changes
Binding: ListMode (required): The processing mode that applies to this list.
Required Pattern: working
..... entry C 1..* BackboneElement Entries in the list
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
...... deleted ?!C 0..1 boolean If this item is actually marked as deleted
...... item 1..1 Reference(HealthcareService) Actual entry
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... title Σ 1..1 string Human-friendly title
... status ?!SΣ 1..1 code Publication status of this activity definition
Binding: PublicationStatus (required): The lifecycle status of an artifact.
... description SΣ 0..1 markdown Human-readable description of the service
... code SΣ 1..1 CodeableConcept Service type being offered
Binding: ProcedureCodes(SNOMEDCT) (example): Detailed type of the activity; e.g. CBC.
.... Slices for coding SΣ 1..* Coding Service type coding
Slice: Unordered, Open by value:system
..... coding:All Slices Content/Rules for all slices
...... display Σ 0..1 string Display for the service type code
..... coding:serviceTypeId SΣ 1..1 Coding Code defined by a terminology system
...... system Σ 1..1 uri Type of identifersystem for service type.
Required Pattern: http://canonical.fhir.link/servicewell/wof-connect/identifiercodesystem/service-type-id
...... code SΣ 1..1 code Code for service type as recceived from sourcesystem. e.g primary key in db
..... coding:serviceType SΣ 0..1 Coding Code defined by a terminology system
...... system Σ 1..1 uri Coding system for service type
Required Pattern: http://canonical.fhir.link/servicewell/wof-connect/CodeSystem/cs-service-type
...... code Σ 1..1 code Service type code
.... text SΣ 0..1 string Text representation of the service type
... timing[x] SO 0..1 Duration Duration in minutes
ObligationsActor
SHOULD:populate-if-known https://serveractor.examplse.se
.... value SΣ 1..1 decimal Numeric duration
.... unit Σ 1..1 string Unit display for the duration
.... system SΣC 1..1 uri System that defines coded unit form
Required Pattern: http://unitsofmeasure.org
.... code SΣ 1..1 code Coded form of the unit
Required Pattern: min
... participant SO 0..* BackboneElement Who can perform the service
ObligationsActor
SHOULD:populate https://serveractor.examplse.se
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... type S 1..1 code Type of participant
Binding: ActionParticipantType (required): The type of participant in the activity.
Required Pattern: practitioner
.... role S 1..1 CodeableConcept Role required to perform the service
Binding: ActionParticipantRole (example): Defines roles played by participants for the action.
..... coding SΣ 1..* Coding Role coding
...... system SΣ 1..1 uri Coding system for role
Required Pattern: http://canonical.fhir.link/servicewell/wof-connect/CodeSystem/practitioner-role
...... code SΣ 1..1 code Symbol in syntax defined by the system
Binding: WOF Connect Practitioner Role (required)
...... display Σ 0..1 string Display for the role code
..... text Σ 0..1 string Text representation of the role

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
ActivityDefinition.meta.​tag Base example Common Tags 📍4.0.1 FHIR Std.
ActivityDefinition.contained:healthcareServiceList.​status Base required ListStatus 📍4.0.1 FHIR Std.
ActivityDefinition.contained:healthcareServiceList.​mode Base required ListMode 📍4.0.1 FHIR Std.
ActivityDefinition.status Base required PublicationStatus 📍4.0.1 FHIR Std.
ActivityDefinition.code Base example Procedure Codes (SNOMED CT) 📍4.0.1 FHIR Std.
ActivityDefinition.participant.​type Base required ActionParticipantType 📍4.0.1 FHIR Std.
ActivityDefinition.participant.​role Base example Action participant role 📍4.0.1 FHIR Std.
ActivityDefinition.participant.​role.coding.code Base required WOF Connect Practitioner Role 📦0.1.4 This IG

Constraints

Id Grade Path(s) Description Expression
adf-0 warning ActivityDefinition Name should be usable as an identifier for the module by machine processing applications such as code generation name.matches('[A-Z]([A-Za-z0-9_]){0,254}')
dom-2 error ActivityDefinition If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error ActivityDefinition If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error ActivityDefinition If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error ActivityDefinition If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice ActivityDefinition A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

This structure is derived from ActivityDefinition

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. ActivityDefinition 0..* ActivityDefinition The definition of a specific activity to be taken, independent of any particular patient or context
... id S 1..1 id Logical id of this artifact
... meta
.... profile S 1..* canonical(StructureDefinition) Profiles that this resource claims to conform to
.... tag 1..* Coding Tags applied to this resource
..... system S 1..1 uri Identity of the terminology system
Required Pattern: http://canonical.fhir.link/servicewell/wof-connect/CodeSystem/pms-system
..... code S 1..1 code System the data originates from
... Slices for contained 1..* Resource Contained, inline Resources
Slice: Ordered, Closed by type:this
.... contained:healthcareServiceList SO 1..1 WofConnectHealthcareServiceList Resources contained within the activity definition resource
ObligationsActor
SHALL:populate https://serveractor.examplse.se
..... meta
...... profile 0..* canonical(StructureDefinition) Profiles this resource claims to conform to
Required Pattern: http://canonical.fhir.link/servicewell/wof-connect/StructureDefinition/wof-connect-healthcareservice-list
... name 0..0 Name for this activity definition (computer friendly)
... title 1..1 string Human-friendly title
... subtitle 0..0 Subordinate title of the activity definition
... status S 1..1 code Publication status of this activity definition
... experimental 0..0 For testing purposes, not real usage
... subject[x] 0..0 Type of individual the activity definition is intended for
... date 0..0 Date last changed
... publisher 0..0 Name of the publisher (organization or individual)
... contact 0..0 Contact details for the publisher
... description S 0..1 markdown Human-readable description of the service
... useContext 0..0 The context that the content is intended to support
... jurisdiction 0..0 Intended jurisdiction for activity definition (if applicable)
... purpose 0..0 Why this activity definition is defined
... usage 0..0 Describes the clinical usage of the activity definition
... copyright 0..0 Use and/or publishing restrictions
... approvalDate 0..0 When the activity definition was approved by publisher
... lastReviewDate 0..0 When the activity definition was last reviewed
... effectivePeriod 0..0 When the activity definition is expected to be used
... topic 0..0 E.g. Education, Treatment, Assessment, etc.
... author 0..0 Who authored the content
... editor 0..0 Who edited the content
... reviewer 0..0 Who reviewed the content
... endorser 0..0 Who endorsed the content
... relatedArtifact 0..0 Additional documentation, citations, etc.
... library 0..0 Logic used by the activity definition
... kind 0..0 Kind of resource
... profile 0..0 What profile the resource needs to conform to
... code S 1..1 CodeableConcept Service type being offered
.... Slices for coding S 1..* Coding Service type coding
Slice: Unordered, Open by value:system
..... coding:All Slices Content/Rules for all slices
...... display 0..1 string Display for the service type code
..... coding:serviceTypeId S 1..1 Coding Code defined by a terminology system
...... system 1..1 uri Type of identifersystem for service type.
Required Pattern: http://canonical.fhir.link/servicewell/wof-connect/identifiercodesystem/service-type-id
...... code S 1..1 code Code for service type as recceived from sourcesystem. e.g primary key in db
..... coding:serviceType S 0..1 Coding Code defined by a terminology system
...... system 1..1 uri Coding system for service type
Required Pattern: http://canonical.fhir.link/servicewell/wof-connect/CodeSystem/cs-service-type
...... code 1..1 code Service type code
.... text S 0..1 string Text representation of the service type
... intent 0..0 proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option
... priority 0..0 routine | urgent | asap | stat
... doNotPerform 0..0 True if the activity should not be performed
... timing[x] SO 0..1 Duration Duration in minutes
ObligationsActor
SHOULD:populate-if-known https://serveractor.examplse.se
.... value S 1..1 decimal Numeric duration
.... comparator 0..0 < | <= | >= | > - how to understand the value
.... unit 1..1 string Unit display for the duration
.... system S 1..1 uri System that defines coded unit form
Required Pattern: http://unitsofmeasure.org
.... code S 1..1 code Coded form of the unit
Required Pattern: min
... location 0..0 Where it should happen
... participant SO 0..* BackboneElement Who can perform the service
ObligationsActor
SHOULD:populate https://serveractor.examplse.se
.... type S 1..1 code Type of participant
Required Pattern: practitioner
.... role S 1..1 CodeableConcept Role required to perform the service
..... coding S 1..* Coding Role coding
...... system S 1..1 uri Coding system for role
Required Pattern: http://canonical.fhir.link/servicewell/wof-connect/CodeSystem/practitioner-role
...... code S 1..1 code Symbol in syntax defined by the system
Binding: WOF Connect Practitioner Role (required)
...... display 0..1 string Display for the role code
..... text 0..1 string Text representation of the role
... product[x] 0..0 What's administered/supplied
... quantity 0..0 How much is administered/consumed/supplied
... dosage 0..0 Detailed dosage instructions
... bodySite 0..0 What part of body to perform on
... specimenRequirement 0..0 What specimens are required to perform this action
... observationRequirement 0..0 What observations are required to perform this action
... observationResultRequirement 0..0 What observations must be produced by this action
... transform 0..0 Transform to apply the template
... dynamicValue 0..0 Dynamic aspects of the definition

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
ActivityDefinition.participant.​role.coding.code Base required WOF Connect Practitioner Role 📦0.1.4 This IG
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. ActivityDefinition C 0..* ActivityDefinition The definition of a specific activity to be taken, independent of any particular patient or context
Constraints: adf-0
... id SΣ 1..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... versionId Σ 0..1 id Version specific identifier
.... lastUpdated Σ 0..1 instant When the resource version last changed
.... source Σ 0..1 uri Identifies where the resource comes from
.... profile SΣ 1..* canonical(StructureDefinition) Profiles that this resource claims to conform to
.... security Σ 0..* Coding Security Labels applied to this resource
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
.... tag Σ 1..* Coding Tags applied to this resource
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... system SΣ 1..1 uri Identity of the terminology system
Required Pattern: http://canonical.fhir.link/servicewell/wof-connect/CodeSystem/pms-system
..... version Σ 0..1 string Version of the system - if relevant
..... code SΣ 1..1 code System the data originates from
..... display Σ 0..1 string Representation defined by the system
..... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... Slices for contained 1..* Resource Contained, inline Resources
Slice: Ordered, Closed by type:this
.... contained:healthcareServiceList SO 1..1 WofConnectHealthcareServiceList Resources contained within the activity definition resource
ObligationsActor
SHALL:populate https://serveractor.examplse.se
..... id Σ 1..1 id Logical id of this artifact
Required Pattern: HealthcareServiceListId
..... meta Σ 0..1 Meta Metadata about the resource
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... versionId Σ 0..1 id Version specific identifier
...... lastUpdated Σ 0..1 instant When the resource version last changed
...... source Σ 0..1 uri Identifies where the resource comes from
...... profile Σ 0..* canonical(StructureDefinition) Profiles this resource claims to conform to

Required Pattern: http://canonical.fhir.link/servicewell/wof-connect/StructureDefinition/wof-connect-healthcareservice-list
...... security Σ 0..* Coding Security Labels applied to this resource
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
...... tag Σ 0..* Coding Tags applied to this resource
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
..... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
..... language 0..1 code Language of the resource content
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding
..... text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
..... contained 0..* Resource Contained, inline Resources
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
..... status ?!Σ 1..1 code current | retired | entered-in-error
Binding: ListStatus (required): The current state of the list.
Required Pattern: current
..... mode ?!Σ 1..1 code working | snapshot | changes
Binding: ListMode (required): The processing mode that applies to this list.
Required Pattern: working
..... entry C 1..* BackboneElement Entries in the list
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
...... flag 0..1 CodeableConcept Status/Workflow information about this item
Binding: PatientMedicineChangeTypes (example): Codes that provide further information about the reason and meaning of the item in the list.
...... deleted ?!C 0..1 boolean If this item is actually marked as deleted
...... date 0..1 dateTime When item added to list
...... item 1..1 Reference(HealthcareService) Actual entry
... extension 0..* Extension Additional content defined by implementations
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... url Σ 0..1 uri Canonical identifier for this activity definition, represented as a URI (globally unique)
... identifier Σ 0..* Identifier Additional identifier for the activity definition
... version Σ 0..1 string Business version of the activity definition
... title Σ 1..1 string Human-friendly title
... status ?!SΣ 1..1 code Publication status of this activity definition
Binding: PublicationStatus (required): The lifecycle status of an artifact.
... description SΣ 0..1 markdown Human-readable description of the service
... code SΣ 1..1 CodeableConcept Service type being offered
Binding: ProcedureCodes(SNOMEDCT) (example): Detailed type of the activity; e.g. CBC.
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... Slices for coding SΣ 1..* Coding Service type coding
Slice: Unordered, Open by value:system
..... coding:All Slices Content/Rules for all slices
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ 0..1 uri Identity of the terminology system
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 0..1 code Symbol in syntax defined by the system
...... display Σ 0..1 string Display for the service type code
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... coding:serviceTypeId SΣ 1..1 Coding Code defined by a terminology system
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ 1..1 uri Type of identifersystem for service type.
Required Pattern: http://canonical.fhir.link/servicewell/wof-connect/identifiercodesystem/service-type-id
...... version Σ 0..1 string Version of the system - if relevant
...... code SΣ 1..1 code Code for service type as recceived from sourcesystem. e.g primary key in db
...... display Σ 0..1 string Display for the service type code
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... coding:serviceType SΣ 0..1 Coding Code defined by a terminology system
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ 1..1 uri Coding system for service type
Required Pattern: http://canonical.fhir.link/servicewell/wof-connect/CodeSystem/cs-service-type
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 1..1 code Service type code
...... display Σ 0..1 string Display for the service type code
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
.... text SΣ 0..1 string Text representation of the service type
... timing[x] SO 0..1 Duration Duration in minutes
ObligationsActor
SHOULD:populate-if-known https://serveractor.examplse.se
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... value SΣ 1..1 decimal Numeric duration
.... unit Σ 1..1 string Unit display for the duration
.... system SΣC 1..1 uri System that defines coded unit form
Required Pattern: http://unitsofmeasure.org
.... code SΣ 1..1 code Coded form of the unit
Required Pattern: min
... participant SO 0..* BackboneElement Who can perform the service
ObligationsActor
SHOULD:populate https://serveractor.examplse.se
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... type S 1..1 code Type of participant
Binding: ActionParticipantType (required): The type of participant in the activity.
Required Pattern: practitioner
.... role S 1..1 CodeableConcept Role required to perform the service
Binding: ActionParticipantRole (example): Defines roles played by participants for the action.
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... coding SΣ 1..* Coding Role coding
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system SΣ 1..1 uri Coding system for role
Required Pattern: http://canonical.fhir.link/servicewell/wof-connect/CodeSystem/practitioner-role
...... version Σ 0..1 string Version of the system - if relevant
...... code SΣ 1..1 code Symbol in syntax defined by the system
Binding: WOF Connect Practitioner Role (required)
...... display Σ 0..1 string Display for the role code
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... text Σ 0..1 string Text representation of the role

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
ActivityDefinition.meta.​security Base extensible SecurityLabels 📍4.0.1 FHIR Std.
ActivityDefinition.meta.​tag Base example Common Tags 📍4.0.1 FHIR Std.
ActivityDefinition.language Base preferred Common Languages 📍4.0.1 FHIR Std.
ActivityDefinition.contained:healthcareServiceList.​meta.security Base extensible SecurityLabels 📍4.0.1 FHIR Std.
ActivityDefinition.contained:healthcareServiceList.​meta.tag Base example Common Tags 📍4.0.1 FHIR Std.
ActivityDefinition.contained:healthcareServiceList.​language Base preferred Common Languages 📍4.0.1 FHIR Std.
ActivityDefinition.contained:healthcareServiceList.​status Base required ListStatus 📍4.0.1 FHIR Std.
ActivityDefinition.contained:healthcareServiceList.​mode Base required ListMode 📍4.0.1 FHIR Std.
ActivityDefinition.contained:healthcareServiceList.​entry.flag Base example Patient Medicine Change Types 📍4.0.1 FHIR Std.
ActivityDefinition.status Base required PublicationStatus 📍4.0.1 FHIR Std.
ActivityDefinition.code Base example Procedure Codes (SNOMED CT) 📍4.0.1 FHIR Std.
ActivityDefinition.participant.​type Base required ActionParticipantType 📍4.0.1 FHIR Std.
ActivityDefinition.participant.​role Base example Action participant role 📍4.0.1 FHIR Std.
ActivityDefinition.participant.​role.coding.code Base required WOF Connect Practitioner Role 📦0.1.4 This IG

Constraints

Id Grade Path(s) Description Expression
adf-0 warning ActivityDefinition Name should be usable as an identifier for the module by machine processing applications such as code generation name.matches('[A-Z]([A-Za-z0-9_]){0,254}')
dom-2 error ActivityDefinition If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error ActivityDefinition If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error ActivityDefinition If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error ActivityDefinition If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice ActivityDefinition A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

This structure is derived from ActivityDefinition

Summary

Mandatory: 9 elements(14 nested mandatory elements)
Must-Support: 23 elements
Prohibited: 38 elements

Structures

This structure refers to these other structures:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of ActivityDefinition.contained (ordered, Closed)
  • The element 1 is sliced based on the value of ActivityDefinition.code.coding

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. ActivityDefinition C 0..* ActivityDefinition The definition of a specific activity to be taken, independent of any particular patient or context
Constraints: adf-0
... id SΣ 1..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
.... profile SΣ 1..* canonical(StructureDefinition) Profiles that this resource claims to conform to
.... tag Σ 1..* Coding Tags applied to this resource
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
..... system SΣ 1..1 uri Identity of the terminology system
Required Pattern: http://canonical.fhir.link/servicewell/wof-connect/CodeSystem/pms-system
..... code SΣ 1..1 code System the data originates from
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
.... contained:healthcareServiceList SO 1..1 WofConnectHealthcareServiceList Resources contained within the activity definition resource
ObligationsActor
SHALL:populate https://serveractor.examplse.se
..... id Σ 1..1 id Logical id of this artifact
Required Pattern: HealthcareServiceListId
..... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
..... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
..... status ?!Σ 1..1 code current | retired | entered-in-error
Binding: ListStatus (required): The current state of the list.
Required Pattern: current
..... mode ?!Σ 1..1 code working | snapshot | changes
Binding: ListMode (required): The processing mode that applies to this list.
Required Pattern: working
..... entry C 1..* BackboneElement Entries in the list
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
...... deleted ?!C 0..1 boolean If this item is actually marked as deleted
...... item 1..1 Reference(HealthcareService) Actual entry
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... title Σ 1..1 string Human-friendly title
... status ?!SΣ 1..1 code Publication status of this activity definition
Binding: PublicationStatus (required): The lifecycle status of an artifact.
... description SΣ 0..1 markdown Human-readable description of the service
... code SΣ 1..1 CodeableConcept Service type being offered
Binding: ProcedureCodes(SNOMEDCT) (example): Detailed type of the activity; e.g. CBC.
.... Slices for coding SΣ 1..* Coding Service type coding
Slice: Unordered, Open by value:system
..... coding:All Slices Content/Rules for all slices
...... display Σ 0..1 string Display for the service type code
..... coding:serviceTypeId SΣ 1..1 Coding Code defined by a terminology system
...... system Σ 1..1 uri Type of identifersystem for service type.
Required Pattern: http://canonical.fhir.link/servicewell/wof-connect/identifiercodesystem/service-type-id
...... code SΣ 1..1 code Code for service type as recceived from sourcesystem. e.g primary key in db
..... coding:serviceType SΣ 0..1 Coding Code defined by a terminology system
...... system Σ 1..1 uri Coding system for service type
Required Pattern: http://canonical.fhir.link/servicewell/wof-connect/CodeSystem/cs-service-type
...... code Σ 1..1 code Service type code
.... text SΣ 0..1 string Text representation of the service type
... timing[x] SO 0..1 Duration Duration in minutes
ObligationsActor
SHOULD:populate-if-known https://serveractor.examplse.se
.... value SΣ 1..1 decimal Numeric duration
.... unit Σ 1..1 string Unit display for the duration
.... system SΣC 1..1 uri System that defines coded unit form
Required Pattern: http://unitsofmeasure.org
.... code SΣ 1..1 code Coded form of the unit
Required Pattern: min
... participant SO 0..* BackboneElement Who can perform the service
ObligationsActor
SHOULD:populate https://serveractor.examplse.se
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... type S 1..1 code Type of participant
Binding: ActionParticipantType (required): The type of participant in the activity.
Required Pattern: practitioner
.... role S 1..1 CodeableConcept Role required to perform the service
Binding: ActionParticipantRole (example): Defines roles played by participants for the action.
..... coding SΣ 1..* Coding Role coding
...... system SΣ 1..1 uri Coding system for role
Required Pattern: http://canonical.fhir.link/servicewell/wof-connect/CodeSystem/practitioner-role
...... code SΣ 1..1 code Symbol in syntax defined by the system
Binding: WOF Connect Practitioner Role (required)
...... display Σ 0..1 string Display for the role code
..... text Σ 0..1 string Text representation of the role

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
ActivityDefinition.meta.​tag Base example Common Tags 📍4.0.1 FHIR Std.
ActivityDefinition.contained:healthcareServiceList.​status Base required ListStatus 📍4.0.1 FHIR Std.
ActivityDefinition.contained:healthcareServiceList.​mode Base required ListMode 📍4.0.1 FHIR Std.
ActivityDefinition.status Base required PublicationStatus 📍4.0.1 FHIR Std.
ActivityDefinition.code Base example Procedure Codes (SNOMED CT) 📍4.0.1 FHIR Std.
ActivityDefinition.participant.​type Base required ActionParticipantType 📍4.0.1 FHIR Std.
ActivityDefinition.participant.​role Base example Action participant role 📍4.0.1 FHIR Std.
ActivityDefinition.participant.​role.coding.code Base required WOF Connect Practitioner Role 📦0.1.4 This IG

Constraints

Id Grade Path(s) Description Expression
adf-0 warning ActivityDefinition Name should be usable as an identifier for the module by machine processing applications such as code generation name.matches('[A-Z]([A-Za-z0-9_]){0,254}')
dom-2 error ActivityDefinition If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error ActivityDefinition If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error ActivityDefinition If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error ActivityDefinition If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice ActivityDefinition A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

Differential View

This structure is derived from ActivityDefinition

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. ActivityDefinition 0..* ActivityDefinition The definition of a specific activity to be taken, independent of any particular patient or context
... id S 1..1 id Logical id of this artifact
... meta
.... profile S 1..* canonical(StructureDefinition) Profiles that this resource claims to conform to
.... tag 1..* Coding Tags applied to this resource
..... system S 1..1 uri Identity of the terminology system
Required Pattern: http://canonical.fhir.link/servicewell/wof-connect/CodeSystem/pms-system
..... code S 1..1 code System the data originates from
... Slices for contained 1..* Resource Contained, inline Resources
Slice: Ordered, Closed by type:this
.... contained:healthcareServiceList SO 1..1 WofConnectHealthcareServiceList Resources contained within the activity definition resource
ObligationsActor
SHALL:populate https://serveractor.examplse.se
..... meta
...... profile 0..* canonical(StructureDefinition) Profiles this resource claims to conform to
Required Pattern: http://canonical.fhir.link/servicewell/wof-connect/StructureDefinition/wof-connect-healthcareservice-list
... name 0..0 Name for this activity definition (computer friendly)
... title 1..1 string Human-friendly title
... subtitle 0..0 Subordinate title of the activity definition
... status S 1..1 code Publication status of this activity definition
... experimental 0..0 For testing purposes, not real usage
... subject[x] 0..0 Type of individual the activity definition is intended for
... date 0..0 Date last changed
... publisher 0..0 Name of the publisher (organization or individual)
... contact 0..0 Contact details for the publisher
... description S 0..1 markdown Human-readable description of the service
... useContext 0..0 The context that the content is intended to support
... jurisdiction 0..0 Intended jurisdiction for activity definition (if applicable)
... purpose 0..0 Why this activity definition is defined
... usage 0..0 Describes the clinical usage of the activity definition
... copyright 0..0 Use and/or publishing restrictions
... approvalDate 0..0 When the activity definition was approved by publisher
... lastReviewDate 0..0 When the activity definition was last reviewed
... effectivePeriod 0..0 When the activity definition is expected to be used
... topic 0..0 E.g. Education, Treatment, Assessment, etc.
... author 0..0 Who authored the content
... editor 0..0 Who edited the content
... reviewer 0..0 Who reviewed the content
... endorser 0..0 Who endorsed the content
... relatedArtifact 0..0 Additional documentation, citations, etc.
... library 0..0 Logic used by the activity definition
... kind 0..0 Kind of resource
... profile 0..0 What profile the resource needs to conform to
... code S 1..1 CodeableConcept Service type being offered
.... Slices for coding S 1..* Coding Service type coding
Slice: Unordered, Open by value:system
..... coding:All Slices Content/Rules for all slices
...... display 0..1 string Display for the service type code
..... coding:serviceTypeId S 1..1 Coding Code defined by a terminology system
...... system 1..1 uri Type of identifersystem for service type.
Required Pattern: http://canonical.fhir.link/servicewell/wof-connect/identifiercodesystem/service-type-id
...... code S 1..1 code Code for service type as recceived from sourcesystem. e.g primary key in db
..... coding:serviceType S 0..1 Coding Code defined by a terminology system
...... system 1..1 uri Coding system for service type
Required Pattern: http://canonical.fhir.link/servicewell/wof-connect/CodeSystem/cs-service-type
...... code 1..1 code Service type code
.... text S 0..1 string Text representation of the service type
... intent 0..0 proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option
... priority 0..0 routine | urgent | asap | stat
... doNotPerform 0..0 True if the activity should not be performed
... timing[x] SO 0..1 Duration Duration in minutes
ObligationsActor
SHOULD:populate-if-known https://serveractor.examplse.se
.... value S 1..1 decimal Numeric duration
.... comparator 0..0 < | <= | >= | > - how to understand the value
.... unit 1..1 string Unit display for the duration
.... system S 1..1 uri System that defines coded unit form
Required Pattern: http://unitsofmeasure.org
.... code S 1..1 code Coded form of the unit
Required Pattern: min
... location 0..0 Where it should happen
... participant SO 0..* BackboneElement Who can perform the service
ObligationsActor
SHOULD:populate https://serveractor.examplse.se
.... type S 1..1 code Type of participant
Required Pattern: practitioner
.... role S 1..1 CodeableConcept Role required to perform the service
..... coding S 1..* Coding Role coding
...... system S 1..1 uri Coding system for role
Required Pattern: http://canonical.fhir.link/servicewell/wof-connect/CodeSystem/practitioner-role
...... code S 1..1 code Symbol in syntax defined by the system
Binding: WOF Connect Practitioner Role (required)
...... display 0..1 string Display for the role code
..... text 0..1 string Text representation of the role
... product[x] 0..0 What's administered/supplied
... quantity 0..0 How much is administered/consumed/supplied
... dosage 0..0 Detailed dosage instructions
... bodySite 0..0 What part of body to perform on
... specimenRequirement 0..0 What specimens are required to perform this action
... observationRequirement 0..0 What observations are required to perform this action
... observationResultRequirement 0..0 What observations must be produced by this action
... transform 0..0 Transform to apply the template
... dynamicValue 0..0 Dynamic aspects of the definition

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
ActivityDefinition.participant.​role.coding.code Base required WOF Connect Practitioner Role 📦0.1.4 This IG

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. ActivityDefinition C 0..* ActivityDefinition The definition of a specific activity to be taken, independent of any particular patient or context
Constraints: adf-0
... id SΣ 1..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... versionId Σ 0..1 id Version specific identifier
.... lastUpdated Σ 0..1 instant When the resource version last changed
.... source Σ 0..1 uri Identifies where the resource comes from
.... profile SΣ 1..* canonical(StructureDefinition) Profiles that this resource claims to conform to
.... security Σ 0..* Coding Security Labels applied to this resource
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
.... tag Σ 1..* Coding Tags applied to this resource
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... system SΣ 1..1 uri Identity of the terminology system
Required Pattern: http://canonical.fhir.link/servicewell/wof-connect/CodeSystem/pms-system
..... version Σ 0..1 string Version of the system - if relevant
..... code SΣ 1..1 code System the data originates from
..... display Σ 0..1 string Representation defined by the system
..... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... Slices for contained 1..* Resource Contained, inline Resources
Slice: Ordered, Closed by type:this
.... contained:healthcareServiceList SO 1..1 WofConnectHealthcareServiceList Resources contained within the activity definition resource
ObligationsActor
SHALL:populate https://serveractor.examplse.se
..... id Σ 1..1 id Logical id of this artifact
Required Pattern: HealthcareServiceListId
..... meta Σ 0..1 Meta Metadata about the resource
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... versionId Σ 0..1 id Version specific identifier
...... lastUpdated Σ 0..1 instant When the resource version last changed
...... source Σ 0..1 uri Identifies where the resource comes from
...... profile Σ 0..* canonical(StructureDefinition) Profiles this resource claims to conform to

Required Pattern: http://canonical.fhir.link/servicewell/wof-connect/StructureDefinition/wof-connect-healthcareservice-list
...... security Σ 0..* Coding Security Labels applied to this resource
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
...... tag Σ 0..* Coding Tags applied to this resource
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
..... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
..... language 0..1 code Language of the resource content
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding
..... text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
..... contained 0..* Resource Contained, inline Resources
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
..... status ?!Σ 1..1 code current | retired | entered-in-error
Binding: ListStatus (required): The current state of the list.
Required Pattern: current
..... mode ?!Σ 1..1 code working | snapshot | changes
Binding: ListMode (required): The processing mode that applies to this list.
Required Pattern: working
..... entry C 1..* BackboneElement Entries in the list
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
...... flag 0..1 CodeableConcept Status/Workflow information about this item
Binding: PatientMedicineChangeTypes (example): Codes that provide further information about the reason and meaning of the item in the list.
...... deleted ?!C 0..1 boolean If this item is actually marked as deleted
...... date 0..1 dateTime When item added to list
...... item 1..1 Reference(HealthcareService) Actual entry
... extension 0..* Extension Additional content defined by implementations
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... url Σ 0..1 uri Canonical identifier for this activity definition, represented as a URI (globally unique)
... identifier Σ 0..* Identifier Additional identifier for the activity definition
... version Σ 0..1 string Business version of the activity definition
... title Σ 1..1 string Human-friendly title
... status ?!SΣ 1..1 code Publication status of this activity definition
Binding: PublicationStatus (required): The lifecycle status of an artifact.
... description SΣ 0..1 markdown Human-readable description of the service
... code SΣ 1..1 CodeableConcept Service type being offered
Binding: ProcedureCodes(SNOMEDCT) (example): Detailed type of the activity; e.g. CBC.
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... Slices for coding SΣ 1..* Coding Service type coding
Slice: Unordered, Open by value:system
..... coding:All Slices Content/Rules for all slices
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ 0..1 uri Identity of the terminology system
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 0..1 code Symbol in syntax defined by the system
...... display Σ 0..1 string Display for the service type code
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... coding:serviceTypeId SΣ 1..1 Coding Code defined by a terminology system
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ 1..1 uri Type of identifersystem for service type.
Required Pattern: http://canonical.fhir.link/servicewell/wof-connect/identifiercodesystem/service-type-id
...... version Σ 0..1 string Version of the system - if relevant
...... code SΣ 1..1 code Code for service type as recceived from sourcesystem. e.g primary key in db
...... display Σ 0..1 string Display for the service type code
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... coding:serviceType SΣ 0..1 Coding Code defined by a terminology system
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ 1..1 uri Coding system for service type
Required Pattern: http://canonical.fhir.link/servicewell/wof-connect/CodeSystem/cs-service-type
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 1..1 code Service type code
...... display Σ 0..1 string Display for the service type code
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
.... text SΣ 0..1 string Text representation of the service type
... timing[x] SO 0..1 Duration Duration in minutes
ObligationsActor
SHOULD:populate-if-known https://serveractor.examplse.se
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... value SΣ 1..1 decimal Numeric duration
.... unit Σ 1..1 string Unit display for the duration
.... system SΣC 1..1 uri System that defines coded unit form
Required Pattern: http://unitsofmeasure.org
.... code SΣ 1..1 code Coded form of the unit
Required Pattern: min
... participant SO 0..* BackboneElement Who can perform the service
ObligationsActor
SHOULD:populate https://serveractor.examplse.se
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... type S 1..1 code Type of participant
Binding: ActionParticipantType (required): The type of participant in the activity.
Required Pattern: practitioner
.... role S 1..1 CodeableConcept Role required to perform the service
Binding: ActionParticipantRole (example): Defines roles played by participants for the action.
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... coding SΣ 1..* Coding Role coding
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system SΣ 1..1 uri Coding system for role
Required Pattern: http://canonical.fhir.link/servicewell/wof-connect/CodeSystem/practitioner-role
...... version Σ 0..1 string Version of the system - if relevant
...... code SΣ 1..1 code Symbol in syntax defined by the system
Binding: WOF Connect Practitioner Role (required)
...... display Σ 0..1 string Display for the role code
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... text Σ 0..1 string Text representation of the role

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
ActivityDefinition.meta.​security Base extensible SecurityLabels 📍4.0.1 FHIR Std.
ActivityDefinition.meta.​tag Base example Common Tags 📍4.0.1 FHIR Std.
ActivityDefinition.language Base preferred Common Languages 📍4.0.1 FHIR Std.
ActivityDefinition.contained:healthcareServiceList.​meta.security Base extensible SecurityLabels 📍4.0.1 FHIR Std.
ActivityDefinition.contained:healthcareServiceList.​meta.tag Base example Common Tags 📍4.0.1 FHIR Std.
ActivityDefinition.contained:healthcareServiceList.​language Base preferred Common Languages 📍4.0.1 FHIR Std.
ActivityDefinition.contained:healthcareServiceList.​status Base required ListStatus 📍4.0.1 FHIR Std.
ActivityDefinition.contained:healthcareServiceList.​mode Base required ListMode 📍4.0.1 FHIR Std.
ActivityDefinition.contained:healthcareServiceList.​entry.flag Base example Patient Medicine Change Types 📍4.0.1 FHIR Std.
ActivityDefinition.status Base required PublicationStatus 📍4.0.1 FHIR Std.
ActivityDefinition.code Base example Procedure Codes (SNOMED CT) 📍4.0.1 FHIR Std.
ActivityDefinition.participant.​type Base required ActionParticipantType 📍4.0.1 FHIR Std.
ActivityDefinition.participant.​role Base example Action participant role 📍4.0.1 FHIR Std.
ActivityDefinition.participant.​role.coding.code Base required WOF Connect Practitioner Role 📦0.1.4 This IG

Constraints

Id Grade Path(s) Description Expression
adf-0 warning ActivityDefinition Name should be usable as an identifier for the module by machine processing applications such as code generation name.matches('[A-Z]([A-Za-z0-9_]){0,254}')
dom-2 error ActivityDefinition If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error ActivityDefinition If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error ActivityDefinition If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error ActivityDefinition If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice ActivityDefinition A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

This structure is derived from ActivityDefinition

Summary

Mandatory: 9 elements(14 nested mandatory elements)
Must-Support: 23 elements
Prohibited: 38 elements

Structures

This structure refers to these other structures:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of ActivityDefinition.contained (ordered, Closed)
  • The element 1 is sliced based on the value of ActivityDefinition.code.coding

 

Other representations of profile: CSV, Excel, Schematron