openIMIS FHIR R4 Implementation Guide
1.0.0 - ci-build

openIMIS FHIR R4 Implementation Guide - Local Development build (v1.0.0). See the Directory of published versions

Resource Profile: openIMIS ActivityDefinition

Official URL: https://openimis.github.io/openimis_fhir_r4_ig/StructureDefinition/openimis-activitiy-definition Version: 1.0.0
Active as of 2022-05-31 Responsible: openIMIS Initiative Computable Name: OpenIMISActivityDefinition

Defines a ActivityDefinition for openIMIS which maps to a Medical Service.

Usage:

  • Refer to this Resource Profile:
  • Examples for this Resource Profile: A1

Formal Views of Profile Content

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

This structure is derived from ActivityDefinition

Summary

Mandatory: 13 elements (11 nested mandatory elements)
Must-Support: 2 elements
Prohibited: 36 elements

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element ActivityDefinition.identifier is sliced based on the value of value:type.coding.code (Closed)
  • The element ActivityDefinition.useContext is sliced based on the value of value:code (Closed)
  • The element ActivityDefinition.useContext.value[x] is sliced based on the value of type:$this
  • The element ActivityDefinition.timing[x] is sliced based on the value of type:$this

This structure is derived from ActivityDefinition

NameFlagsCard.TypeDescription & Constraintsdoco
.. ActivityDefinition 0..*ActivityDefinitionThe definition of a specific activity to be taken, independent of any particular patient or context
... id 0..1stringActivityDefinition UUID
... Slices for extension 1..*ExtensionExtension
Slice: Unordered, Open by value:url
... unit-price 1..1MoneyUnit Price
URL: https://openimis.github.io/openimis_fhir_r4_ig/StructureDefinition/unit-price
... activity-definition-level 0..1CodeableConceptLevel
URL: https://openimis.github.io/openimis_fhir_r4_ig/StructureDefinition/activity-definition-level
Binding: Level (ActivityDefinition) (required)
... Slices for identifier S1..*IdentifierAdditional identifier for the activity definition
Slice: Unordered, Closed by value:type.coding.code
.... identifier:All Slices Content/Rules for all slices
..... type 1..1CodeableConceptDescription of identifier
...... coding
....... code 0..1codeSymbol in syntax defined by the system
Binding: openIMIS Identifiers Value Set (required)
..... value 1..1stringThe value that is unique
.... identifier:Code S1..1IdentifierAdditional identifier for the activity definition
..... type
...... coding
....... code 1..1codeActivityDefinition openIMIS Code
Required Pattern: Code
.... identifier:UUID 0..1IdentifierAdditional identifier for the activity definition
..... type
...... coding
....... code 1..1codeActivityDefinition openIMIS UUID
Required Pattern: UUID
... version 0..0
... name 1..1stringCode of the Medical Service (computer friendly)
... title 1..1stringName of the Medical Service (human friendly)
... subtitle 0..0
... status 1..1codedraft | active | retired | unknown
Required Pattern: active
... experimental 0..0
... subject[x] 0..0
... date 1..1dateTimeDate last changed
... publisher 0..0
... contact 0..0
... description 0..0
... Slices for useContext 1..4UsageContextThe context that the content is intended to support
Slice: Unordered, Closed by value:code
.... useContext:All Slices Content/Rules for all slices
..... code 1..1CodingType of context being specified
Binding: Usage Context Type (ActivityDefinition) (required)
.... useContext:Gender 0..1UsageContextUsage Context per Gender
..... code 1..1CodingType of context being specified
Required Pattern: At least the following
...... system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/usage-context-type
...... code1..1codeSymbol in syntax defined by the system
Fixed Value: gender
...... display1..1stringRepresentation defined by the system
Fixed Value: Gender
..... value[x] 1..1CodeableConceptValue that defines the context
Slice: Unordered, Open by type:$this
..... valueCodeableConcept 1..1CodeableConceptValue that defines the context
...... coding 1..2CodingCode defined by a terminology system
Binding: Usage Context for Gender Type (ActivityDefinition|Medication) (required)
.... useContext:Age 0..1UsageContextUsage Context per Age
..... code 1..1CodingType of context being specified
Required Pattern: At least the following
...... system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/usage-context-type
...... code1..1codeSymbol in syntax defined by the system
Fixed Value: age
...... display1..1stringRepresentation defined by the system
Fixed Value: Age
..... value[x] 1..1CodeableConceptValue that defines the context
Slice: Unordered, Open by type:$this
..... valueCodeableConcept 1..1CodeableConceptValue that defines the context
...... coding 1..2CodingCode defined by a terminology system
Binding: Usage Context for Age Type (ActivityDefinition|Medication) (required)
.... useContext:Category 0..1UsageContextUsage Context per Workflow
..... code 1..1CodingType of context being specified
Required Pattern: At least the following
...... system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/usage-context-type
...... code1..1codeSymbol in syntax defined by the system
Fixed Value: workflow
...... display1..1stringRepresentation defined by the system
Fixed Value: Workflow Setting
..... value[x] 1..1CodeableConceptValue that defines the context
Slice: Unordered, Open by type:$this
..... valueCodeableConcept 1..1CodeableConceptValue that defines the context
...... coding 1..1CodingCode defined by a terminology system
Binding: Usage Context for Workflow Type (ActivityDefinition) (required)
.... useContext:CareType 1..1UsageContextUsage Context per Care Type
..... code 1..1CodingType of context being specified
Required Pattern: At least the following
...... system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/usage-context-type
...... code1..1codeSymbol in syntax defined by the system
Fixed Value: venue
...... display1..1stringRepresentation defined by the system
Fixed Value: Clinical Venue
..... value[x] 1..1CodeableConceptValue that defines the context
Slice: Unordered, Open by type:$this
..... valueCodeableConcept 1..1CodeableConceptValue that defines the context
...... coding 1..2CodingCode defined by a terminology system
Binding: Usage Context for Venue Type (ActivityDefinition) (required)
... jurisdiction 0..0
... purpose 0..0
... usage 0..0
... copyright 0..0
... approvalDate 0..0
... lastReviewDate 0..0
... effectivePeriod 0..0
... topic 0..*CodeableConceptE.g. Education, Treatment, Assessment, etc.
Binding: Service Type (ActivityDefinition) (required)
... author 0..0
... editor 0..0
... reviewer 0..0
... endorser 0..0
... relatedArtifact 0..0
... library 0..0
... kind 0..1codeKind of resource
Required Pattern: ServiceRequest
... profile 0..0
... code 0..0
... intent 0..0
... priority 0..0
... doNotPerform 0..0
... timing[x] 0..1TimingWhen activity is to occur
Slice: Unordered, Open by type:$this
... timingTiming 0..1TimingWhen activity is to occur
.... repeat
..... frequency 1..1positiveIntEvent occurs frequency times per period
Required Pattern: 1
..... period 1..1decimalFrequency (days)
..... periodUnit 1..1codes | min | h | d | wk | mo | a - unit of time (UCUM)
Required Pattern: d
... location 0..0
... participant 0..0
... product[x] 0..0
... quantity 0..0
... dosage 0..0
... bodySite 0..0
... specimenRequirement 0..0
... observationRequirement 0..0
... observationResultRequirement 0..0
... transform 0..0
... dynamicValue 0..0

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. ActivityDefinition I0..*ActivityDefinitionThe definition of a specific activity to be taken, independent of any particular patient or context
... id Σ0..1stringActivityDefinition UUID
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... Slices for extension 1..*ExtensionExtension
Slice: Unordered, Open by value:url
... unit-price 1..1MoneyUnit Price
URL: https://openimis.github.io/openimis_fhir_r4_ig/StructureDefinition/unit-price
... activity-definition-level 0..1CodeableConceptLevel
URL: https://openimis.github.io/openimis_fhir_r4_ig/StructureDefinition/activity-definition-level
Binding: Level (ActivityDefinition) (required)
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... url Σ0..1uriCanonical identifier for this activity definition, represented as a URI (globally unique)
... Slices for identifier SΣ1..*IdentifierAdditional identifier for the activity definition
Slice: Unordered, Closed by value:type.coding.code
.... identifier:All Slices Content/Rules for all slices
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

..... type Σ1..1CodeableConceptDescription of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ0..*CodingCode defined by a terminology system
....... id 0..1stringUnique id for inter-element referencing
....... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
....... system Σ0..1uriIdentity of the terminology system
....... version Σ0..1stringVersion of the system - if relevant
....... code Σ0..1codeSymbol in syntax defined by the system
Binding: openIMIS Identifiers Value Set (required)
....... display Σ0..1stringRepresentation defined by the system
....... userSelected Σ0..1booleanIf this coding was chosen directly by the user
...... text Σ0..1stringPlain text representation of the concept
..... system Σ0..1uriThe namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
..... value Σ1..1stringThe value that is unique
Example General: 123456
..... period Σ0..1PeriodTime period when id is/was valid for use
..... assigner Σ0..1Reference(Organization)Organization that issued id (may be just text)
.... identifier:Code SΣ1..1IdentifierAdditional identifier for the activity definition
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

..... type Σ0..1CodeableConceptDescription of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ0..*CodingCode defined by a terminology system
....... id 0..1stringUnique id for inter-element referencing
....... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
....... system Σ0..1uriIdentity of the terminology system
....... version Σ0..1stringVersion of the system - if relevant
....... code Σ1..1codeActivityDefinition openIMIS Code
Required Pattern: Code
....... display Σ0..1stringRepresentation defined by the system
....... userSelected Σ0..1booleanIf this coding was chosen directly by the user
...... text Σ0..1stringPlain text representation of the concept
..... system Σ0..1uriThe namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
..... value Σ0..1stringThe value that is unique
Example General: 123456
..... period Σ0..1PeriodTime period when id is/was valid for use
..... assigner Σ0..1Reference(Organization)Organization that issued id (may be just text)
.... identifier:UUID Σ0..1IdentifierAdditional identifier for the activity definition
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

..... type Σ0..1CodeableConceptDescription of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ0..*CodingCode defined by a terminology system
....... id 0..1stringUnique id for inter-element referencing
....... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
....... system Σ0..1uriIdentity of the terminology system
....... version Σ0..1stringVersion of the system - if relevant
....... code Σ1..1codeActivityDefinition openIMIS UUID
Required Pattern: UUID
....... display Σ0..1stringRepresentation defined by the system
....... userSelected Σ0..1booleanIf this coding was chosen directly by the user
...... text Σ0..1stringPlain text representation of the concept
..... system Σ0..1uriThe namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
..... value Σ0..1stringThe value that is unique
Example General: 123456
..... period Σ0..1PeriodTime period when id is/was valid for use
..... assigner Σ0..1Reference(Organization)Organization that issued id (may be just text)
... name ΣI1..1stringCode of the Medical Service (computer friendly)
... title Σ1..1stringName of the Medical Service (human friendly)
... status ?!Σ1..1codedraft | active | retired | unknown
Binding: PublicationStatus (required): The lifecycle status of an artifact.


Required Pattern: active
... date Σ1..1dateTimeDate last changed
... Slices for useContext Σ1..4UsageContextThe context that the content is intended to support
Slice: Unordered, Closed by value:code
.... useContext:All Slices Content/Rules for all slices
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... code Σ1..1CodingType of context being specified
Binding: Usage Context Type (ActivityDefinition) (required)
..... value[x] Σ1..1Value that defines the context
Binding: Context of Use ValueSet (example): A code that defines the specific value for the context being specified.

...... valueCodeableConceptCodeableConcept
...... valueQuantityQuantity
...... valueRangeRange
...... valueReferenceReference(PlanDefinition | ResearchStudy | InsurancePlan | HealthcareService | Group | Location | Organization)
.... useContext:Gender Σ0..1UsageContextUsage Context per Gender
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... code Σ1..1CodingType of context being specified
Binding: UsageContextType (extensible): A code that specifies a type of context being specified by a usage context.


Required Pattern: At least the following
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/usage-context-type
...... version0..1stringVersion of the system - if relevant
...... code1..1codeSymbol in syntax defined by the system
Fixed Value: gender
...... display1..1stringRepresentation defined by the system
Fixed Value: Gender
...... userSelected0..1booleanIf this coding was chosen directly by the user
..... Slices for value[x] Σ1..1CodeableConceptValue that defines the context
Slice: Unordered, Closed by type:$this
Binding: Context of Use ValueSet (example): A code that defines the specific value for the context being specified.

...... value[x]:valueCodeableConcept Σ1..1CodeableConceptValue that defines the context
Binding: Context of Use ValueSet (example): A code that defines the specific value for the context being specified.

....... id 0..1stringUnique id for inter-element referencing
....... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
....... coding Σ1..2CodingCode defined by a terminology system
Binding: Usage Context for Gender Type (ActivityDefinition|Medication) (required)
....... text Σ0..1stringPlain text representation of the concept
.... useContext:Age Σ0..1UsageContextUsage Context per Age
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... code Σ1..1CodingType of context being specified
Binding: UsageContextType (extensible): A code that specifies a type of context being specified by a usage context.


Required Pattern: At least the following
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/usage-context-type
...... version0..1stringVersion of the system - if relevant
...... code1..1codeSymbol in syntax defined by the system
Fixed Value: age
...... display1..1stringRepresentation defined by the system
Fixed Value: Age
...... userSelected0..1booleanIf this coding was chosen directly by the user
..... Slices for value[x] Σ1..1CodeableConceptValue that defines the context
Slice: Unordered, Closed by type:$this
Binding: Context of Use ValueSet (example): A code that defines the specific value for the context being specified.

...... value[x]:valueCodeableConcept Σ1..1CodeableConceptValue that defines the context
Binding: Context of Use ValueSet (example): A code that defines the specific value for the context being specified.

....... id 0..1stringUnique id for inter-element referencing
....... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
....... coding Σ1..2CodingCode defined by a terminology system
Binding: Usage Context for Age Type (ActivityDefinition|Medication) (required)
....... text Σ0..1stringPlain text representation of the concept
.... useContext:Category Σ0..1UsageContextUsage Context per Workflow
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... code Σ1..1CodingType of context being specified
Binding: UsageContextType (extensible): A code that specifies a type of context being specified by a usage context.


Required Pattern: At least the following
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/usage-context-type
...... version0..1stringVersion of the system - if relevant
...... code1..1codeSymbol in syntax defined by the system
Fixed Value: workflow
...... display1..1stringRepresentation defined by the system
Fixed Value: Workflow Setting
...... userSelected0..1booleanIf this coding was chosen directly by the user
..... Slices for value[x] Σ1..1CodeableConceptValue that defines the context
Slice: Unordered, Closed by type:$this
Binding: Context of Use ValueSet (example): A code that defines the specific value for the context being specified.

...... value[x]:valueCodeableConcept Σ1..1CodeableConceptValue that defines the context
Binding: Context of Use ValueSet (example): A code that defines the specific value for the context being specified.

....... id 0..1stringUnique id for inter-element referencing
....... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
....... coding Σ1..1CodingCode defined by a terminology system
Binding: Usage Context for Workflow Type (ActivityDefinition) (required)
....... text Σ0..1stringPlain text representation of the concept
.... useContext:CareType Σ1..1UsageContextUsage Context per Care Type
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... code Σ1..1CodingType of context being specified
Binding: UsageContextType (extensible): A code that specifies a type of context being specified by a usage context.


Required Pattern: At least the following
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/usage-context-type
...... version0..1stringVersion of the system - if relevant
...... code1..1codeSymbol in syntax defined by the system
Fixed Value: venue
...... display1..1stringRepresentation defined by the system
Fixed Value: Clinical Venue
...... userSelected0..1booleanIf this coding was chosen directly by the user
..... Slices for value[x] Σ1..1CodeableConceptValue that defines the context
Slice: Unordered, Closed by type:$this
Binding: Context of Use ValueSet (example): A code that defines the specific value for the context being specified.

...... value[x]:valueCodeableConcept Σ1..1CodeableConceptValue that defines the context
Binding: Context of Use ValueSet (example): A code that defines the specific value for the context being specified.

....... id 0..1stringUnique id for inter-element referencing
....... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
....... coding Σ1..2CodingCode defined by a terminology system
Binding: Usage Context for Venue Type (ActivityDefinition) (required)
....... text Σ0..1stringPlain text representation of the concept
... topic 0..*CodeableConceptE.g. Education, Treatment, Assessment, etc.
Binding: Service Type (ActivityDefinition) (required)
... kind Σ0..1codeKind of resource
Binding: RequestResourceType (required): The kind of activity the definition is describing.


Required Pattern: ServiceRequest
... Slices for timing[x] 0..1TimingWhen activity is to occur
Slice: Unordered, Closed by type:$this
.... timing[x]:timingTiming 0..1TimingWhen activity is to occur
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... event Σ0..*dateTimeWhen the event occurs
..... repeat ΣI0..1ElementWhen the event is to occur
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... bounds[x] Σ0..1Length/Range of lengths, or (Start and/or end) limits
....... boundsDurationDuration
....... boundsRangeRange
....... boundsPeriodPeriod
...... count Σ0..1positiveIntNumber of times to repeat
...... countMax Σ0..1positiveIntMaximum number of times to repeat
...... duration Σ0..1decimalHow long when it happens
...... durationMax Σ0..1decimalHow long when it happens (Max)
...... durationUnit Σ0..1codes | min | h | d | wk | mo | a - unit of time (UCUM)
Binding: UnitsOfTime (required): A unit of time (units from UCUM).

...... frequency Σ1..1positiveIntEvent occurs frequency times per period
Required Pattern: 1
...... frequencyMax Σ0..1positiveIntEvent occurs up to frequencyMax times per period
...... period Σ1..1decimalFrequency (days)
...... periodMax Σ0..1decimalUpper limit of period (3-4 hours)
...... periodUnit Σ1..1codes | min | h | d | wk | mo | a - unit of time (UCUM)
Binding: UnitsOfTime (required): A unit of time (units from UCUM).


Required Pattern: d
...... dayOfWeek Σ0..*codemon | tue | wed | thu | fri | sat | sun
Binding: DaysOfWeek (required)
...... timeOfDay Σ0..*timeTime of day for action
...... when Σ0..*codeCode for time period of occurrence
Binding: EventTiming (required): Real world event relating to the schedule.


...... offset Σ0..1unsignedIntMinutes from event (before or after)
..... code Σ0..1CodeableConceptBID | TID | QID | AM | PM | QD | QOD | +
Binding: TimingAbbreviation (preferred): Code for a known / defined timing pattern.


doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. ActivityDefinition I0..*ActivityDefinitionThe definition of a specific activity to be taken, independent of any particular patient or context
... Slices for identifier Σ1..*IdentifierAdditional identifier for the activity definition
Slice: Unordered, Closed by value:type.coding.code
.... identifier:Code Σ1..1IdentifierAdditional identifier for the activity definition

doco Documentation for this format

This structure is derived from ActivityDefinition

Summary

Mandatory: 13 elements (11 nested mandatory elements)
Must-Support: 2 elements
Prohibited: 36 elements

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element ActivityDefinition.identifier is sliced based on the value of value:type.coding.code (Closed)
  • The element ActivityDefinition.useContext is sliced based on the value of value:code (Closed)
  • The element ActivityDefinition.useContext.value[x] is sliced based on the value of type:$this
  • The element ActivityDefinition.timing[x] is sliced based on the value of type:$this

Differential View

This structure is derived from ActivityDefinition

NameFlagsCard.TypeDescription & Constraintsdoco
.. ActivityDefinition 0..*ActivityDefinitionThe definition of a specific activity to be taken, independent of any particular patient or context
... id 0..1stringActivityDefinition UUID
... Slices for extension 1..*ExtensionExtension
Slice: Unordered, Open by value:url
... unit-price 1..1MoneyUnit Price
URL: https://openimis.github.io/openimis_fhir_r4_ig/StructureDefinition/unit-price
... activity-definition-level 0..1CodeableConceptLevel
URL: https://openimis.github.io/openimis_fhir_r4_ig/StructureDefinition/activity-definition-level
Binding: Level (ActivityDefinition) (required)
... Slices for identifier S1..*IdentifierAdditional identifier for the activity definition
Slice: Unordered, Closed by value:type.coding.code
.... identifier:All Slices Content/Rules for all slices
..... type 1..1CodeableConceptDescription of identifier
...... coding
....... code 0..1codeSymbol in syntax defined by the system
Binding: openIMIS Identifiers Value Set (required)
..... value 1..1stringThe value that is unique
.... identifier:Code S1..1IdentifierAdditional identifier for the activity definition
..... type
...... coding
....... code 1..1codeActivityDefinition openIMIS Code
Required Pattern: Code
.... identifier:UUID 0..1IdentifierAdditional identifier for the activity definition
..... type
...... coding
....... code 1..1codeActivityDefinition openIMIS UUID
Required Pattern: UUID
... version 0..0
... name 1..1stringCode of the Medical Service (computer friendly)
... title 1..1stringName of the Medical Service (human friendly)
... subtitle 0..0
... status 1..1codedraft | active | retired | unknown
Required Pattern: active
... experimental 0..0
... subject[x] 0..0
... date 1..1dateTimeDate last changed
... publisher 0..0
... contact 0..0
... description 0..0
... Slices for useContext 1..4UsageContextThe context that the content is intended to support
Slice: Unordered, Closed by value:code
.... useContext:All Slices Content/Rules for all slices
..... code 1..1CodingType of context being specified
Binding: Usage Context Type (ActivityDefinition) (required)
.... useContext:Gender 0..1UsageContextUsage Context per Gender
..... code 1..1CodingType of context being specified
Required Pattern: At least the following
...... system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/usage-context-type
...... code1..1codeSymbol in syntax defined by the system
Fixed Value: gender
...... display1..1stringRepresentation defined by the system
Fixed Value: Gender
..... value[x] 1..1CodeableConceptValue that defines the context
Slice: Unordered, Open by type:$this
..... valueCodeableConcept 1..1CodeableConceptValue that defines the context
...... coding 1..2CodingCode defined by a terminology system
Binding: Usage Context for Gender Type (ActivityDefinition|Medication) (required)
.... useContext:Age 0..1UsageContextUsage Context per Age
..... code 1..1CodingType of context being specified
Required Pattern: At least the following
...... system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/usage-context-type
...... code1..1codeSymbol in syntax defined by the system
Fixed Value: age
...... display1..1stringRepresentation defined by the system
Fixed Value: Age
..... value[x] 1..1CodeableConceptValue that defines the context
Slice: Unordered, Open by type:$this
..... valueCodeableConcept 1..1CodeableConceptValue that defines the context
...... coding 1..2CodingCode defined by a terminology system
Binding: Usage Context for Age Type (ActivityDefinition|Medication) (required)
.... useContext:Category 0..1UsageContextUsage Context per Workflow
..... code 1..1CodingType of context being specified
Required Pattern: At least the following
...... system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/usage-context-type
...... code1..1codeSymbol in syntax defined by the system
Fixed Value: workflow
...... display1..1stringRepresentation defined by the system
Fixed Value: Workflow Setting
..... value[x] 1..1CodeableConceptValue that defines the context
Slice: Unordered, Open by type:$this
..... valueCodeableConcept 1..1CodeableConceptValue that defines the context
...... coding 1..1CodingCode defined by a terminology system
Binding: Usage Context for Workflow Type (ActivityDefinition) (required)
.... useContext:CareType 1..1UsageContextUsage Context per Care Type
..... code 1..1CodingType of context being specified
Required Pattern: At least the following
...... system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/usage-context-type
...... code1..1codeSymbol in syntax defined by the system
Fixed Value: venue
...... display1..1stringRepresentation defined by the system
Fixed Value: Clinical Venue
..... value[x] 1..1CodeableConceptValue that defines the context
Slice: Unordered, Open by type:$this
..... valueCodeableConcept 1..1CodeableConceptValue that defines the context
...... coding 1..2CodingCode defined by a terminology system
Binding: Usage Context for Venue Type (ActivityDefinition) (required)
... jurisdiction 0..0
... purpose 0..0
... usage 0..0
... copyright 0..0
... approvalDate 0..0
... lastReviewDate 0..0
... effectivePeriod 0..0
... topic 0..*CodeableConceptE.g. Education, Treatment, Assessment, etc.
Binding: Service Type (ActivityDefinition) (required)
... author 0..0
... editor 0..0
... reviewer 0..0
... endorser 0..0
... relatedArtifact 0..0
... library 0..0
... kind 0..1codeKind of resource
Required Pattern: ServiceRequest
... profile 0..0
... code 0..0
... intent 0..0
... priority 0..0
... doNotPerform 0..0
... timing[x] 0..1TimingWhen activity is to occur
Slice: Unordered, Open by type:$this
... timingTiming 0..1TimingWhen activity is to occur
.... repeat
..... frequency 1..1positiveIntEvent occurs frequency times per period
Required Pattern: 1
..... period 1..1decimalFrequency (days)
..... periodUnit 1..1codes | min | h | d | wk | mo | a - unit of time (UCUM)
Required Pattern: d
... location 0..0
... participant 0..0
... product[x] 0..0
... quantity 0..0
... dosage 0..0
... bodySite 0..0
... specimenRequirement 0..0
... observationRequirement 0..0
... observationResultRequirement 0..0
... transform 0..0
... dynamicValue 0..0

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. ActivityDefinition I0..*ActivityDefinitionThe definition of a specific activity to be taken, independent of any particular patient or context
... id Σ0..1stringActivityDefinition UUID
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... Slices for extension 1..*ExtensionExtension
Slice: Unordered, Open by value:url
... unit-price 1..1MoneyUnit Price
URL: https://openimis.github.io/openimis_fhir_r4_ig/StructureDefinition/unit-price
... activity-definition-level 0..1CodeableConceptLevel
URL: https://openimis.github.io/openimis_fhir_r4_ig/StructureDefinition/activity-definition-level
Binding: Level (ActivityDefinition) (required)
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... url Σ0..1uriCanonical identifier for this activity definition, represented as a URI (globally unique)
... Slices for identifier SΣ1..*IdentifierAdditional identifier for the activity definition
Slice: Unordered, Closed by value:type.coding.code
.... identifier:All Slices Content/Rules for all slices
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

..... type Σ1..1CodeableConceptDescription of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ0..*CodingCode defined by a terminology system
....... id 0..1stringUnique id for inter-element referencing
....... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
....... system Σ0..1uriIdentity of the terminology system
....... version Σ0..1stringVersion of the system - if relevant
....... code Σ0..1codeSymbol in syntax defined by the system
Binding: openIMIS Identifiers Value Set (required)
....... display Σ0..1stringRepresentation defined by the system
....... userSelected Σ0..1booleanIf this coding was chosen directly by the user
...... text Σ0..1stringPlain text representation of the concept
..... system Σ0..1uriThe namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
..... value Σ1..1stringThe value that is unique
Example General: 123456
..... period Σ0..1PeriodTime period when id is/was valid for use
..... assigner Σ0..1Reference(Organization)Organization that issued id (may be just text)
.... identifier:Code SΣ1..1IdentifierAdditional identifier for the activity definition
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

..... type Σ0..1CodeableConceptDescription of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ0..*CodingCode defined by a terminology system
....... id 0..1stringUnique id for inter-element referencing
....... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
....... system Σ0..1uriIdentity of the terminology system
....... version Σ0..1stringVersion of the system - if relevant
....... code Σ1..1codeActivityDefinition openIMIS Code
Required Pattern: Code
....... display Σ0..1stringRepresentation defined by the system
....... userSelected Σ0..1booleanIf this coding was chosen directly by the user
...... text Σ0..1stringPlain text representation of the concept
..... system Σ0..1uriThe namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
..... value Σ0..1stringThe value that is unique
Example General: 123456
..... period Σ0..1PeriodTime period when id is/was valid for use
..... assigner Σ0..1Reference(Organization)Organization that issued id (may be just text)
.... identifier:UUID Σ0..1IdentifierAdditional identifier for the activity definition
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

..... type Σ0..1CodeableConceptDescription of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ0..*CodingCode defined by a terminology system
....... id 0..1stringUnique id for inter-element referencing
....... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
....... system Σ0..1uriIdentity of the terminology system
....... version Σ0..1stringVersion of the system - if relevant
....... code Σ1..1codeActivityDefinition openIMIS UUID
Required Pattern: UUID
....... display Σ0..1stringRepresentation defined by the system
....... userSelected Σ0..1booleanIf this coding was chosen directly by the user
...... text Σ0..1stringPlain text representation of the concept
..... system Σ0..1uriThe namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
..... value Σ0..1stringThe value that is unique
Example General: 123456
..... period Σ0..1PeriodTime period when id is/was valid for use
..... assigner Σ0..1Reference(Organization)Organization that issued id (may be just text)
... name ΣI1..1stringCode of the Medical Service (computer friendly)
... title Σ1..1stringName of the Medical Service (human friendly)
... status ?!Σ1..1codedraft | active | retired | unknown
Binding: PublicationStatus (required): The lifecycle status of an artifact.


Required Pattern: active
... date Σ1..1dateTimeDate last changed
... Slices for useContext Σ1..4UsageContextThe context that the content is intended to support
Slice: Unordered, Closed by value:code
.... useContext:All Slices Content/Rules for all slices
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... code Σ1..1CodingType of context being specified
Binding: Usage Context Type (ActivityDefinition) (required)
..... value[x] Σ1..1Value that defines the context
Binding: Context of Use ValueSet (example): A code that defines the specific value for the context being specified.

...... valueCodeableConceptCodeableConcept
...... valueQuantityQuantity
...... valueRangeRange
...... valueReferenceReference(PlanDefinition | ResearchStudy | InsurancePlan | HealthcareService | Group | Location | Organization)
.... useContext:Gender Σ0..1UsageContextUsage Context per Gender
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... code Σ1..1CodingType of context being specified
Binding: UsageContextType (extensible): A code that specifies a type of context being specified by a usage context.


Required Pattern: At least the following
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/usage-context-type