EMA Write PMS API Implementation Guide - Enrichments
1.2.1 - ci-build
EMA Write PMS API Implementation Guide - Enrichments - Local Development build (v1.2.1) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
| Official URL: http://ema.europa.eu/fhir/StructureDefinition/emaWriteApiActivityDefinitionRestrictions | Version: 1.2.1 | |||
| Draft as of 2026-06-26 | Computable Name: EmaWriteApiActivityDefinitionRestrictions | |||
Defines restrictive rules a ActivityDefinition resource instance must conform to when belonging to a FHIR bundle representing a Human Variation Application
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | ActivityDefinition | The definition of a specific activity to be taken, independent of any particular patient or context Interfaces Implemented: MetadataResource Constraints: cnl-0 |
![]() ![]() |
?!Σ | 1..1 | code | draft | active | retired | unknown Binding: PublicationStatus (required): The lifecycle status of an artifact. |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| ActivityDefinition.status | Base | required | PublicationStatus | 📍5.0.0 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| cnl-0 | warning | ActivityDefinition | Name should be usable as an identifier for the module by machine processing applications such as code generation |
name.exists() implies name.matches('^[A-Z]([A-Za-z0-9_]){1,254}$')
|
| 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
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | ActivityDefinition | The definition of a specific activity to be taken, independent of any particular patient or context Interfaces Implemented: MetadataResource | |
![]() ![]() |
0..0 | Metadata about the resource | ||
![]() ![]() |
0..0 | A set of rules under which this content was created | ||
![]() ![]() |
0..0 | Language of the resource content | ||
![]() ![]() |
0..0 | Text summary of the resource, for human interpretation | ||
![]() ![]() |
0..0 | Contained, inline Resources | ||
![]() ![]() |
0..0 | Extension | ||
![]() ![]() |
0..0 | Canonical identifier for this activity definition, represented as a URI (globally unique) | ||
![]() ![]() |
0..0 | Additional identifier for the activity definition | ||
![]() ![]() |
0..0 | Business version of the activity definition | ||
![]() ![]() |
0..0 | How to compare versions | ||
![]() ![]() |
0..0 | Name for this activity definition (computer friendly) | ||
![]() ![]() |
0..0 | Name for this activity definition (human friendly) | ||
![]() ![]() |
0..0 | Subordinate title of the activity definition | ||
![]() ![]() |
0..0 | For testing purposes, not real usage | ||
![]() ![]() |
0..0 | Type of individual the activity definition is intended for | ||
![]() ![]() |
0..0 | Date last changed | ||
![]() ![]() |
0..0 | Name of the publisher/steward (organization or individual) | ||
![]() ![]() |
0..0 | Contact details for the publisher | ||
![]() ![]() |
0..0 | Natural language description of the activity definition | ||
![]() ![]() |
0..0 | The context that the content is intended to support | ||
![]() ![]() |
0..0 | Intended jurisdiction for activity definition (if applicable) | ||
![]() ![]() |
0..0 | Why this activity definition is defined | ||
![]() ![]() |
0..0 | Describes the clinical usage of the activity definition | ||
![]() ![]() |
0..0 | Use and/or publishing restrictions | ||
![]() ![]() |
0..0 | Copyright holder and year(s) | ||
![]() ![]() |
0..0 | When the activity definition was approved by publisher | ||
![]() ![]() |
0..0 | When the activity definition was last reviewed by the publisher | ||
![]() ![]() |
0..0 | E.g. Education, Treatment, Assessment, etc | ||
![]() ![]() |
0..0 | Who authored the content | ||
![]() ![]() |
0..0 | Who edited the content | ||
![]() ![]() |
0..0 | Who reviewed the content | ||
![]() ![]() |
0..0 | Who endorsed the content | ||
![]() ![]() |
0..0 | Additional documentation, citations, etc | ||
![]() ![]() |
0..0 | Logic used by the activity definition | ||
![]() ![]() |
0..0 | Kind of resource | ||
![]() ![]() |
0..0 | What profile the resource needs to conform to | ||
![]() ![]() |
0..0 | proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option | ||
![]() ![]() |
0..0 | routine | urgent | asap | stat | ||
![]() ![]() |
0..0 | True if the activity should not be performed | ||
![]() ![]() |
0..0 | When activity is to occur | ||
![]() ![]() |
0..0 | Preconditions for service | ||
![]() ![]() |
0..0 | Where it should happen | ||
![]() ![]() |
0..0 | What's administered/supplied | ||
![]() ![]() |
0..0 | How much is administered/consumed/supplied | ||
![]() ![]() |
0..0 | Detailed dosage instructions | ||
![]() ![]() |
0..0 | What part of body to perform on | ||
![]() ![]() |
0..0 | What specimens are required to perform this action | ||
![]() ![]() |
0..0 | What observations are required to perform this action | ||
![]() ![]() |
0..0 | What observations must be produced by this action | ||
![]() ![]() |
0..0 | Transform to apply the template | ||
![]() ![]() |
0..0 | Dynamic aspects of the definition | ||
Documentation for this format | ||||
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | ActivityDefinition | The definition of a specific activity to be taken, independent of any particular patient or context Interfaces Implemented: MetadataResource Constraints: cnl-0 |
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact |
![]() ![]() |
0..* | Extension | Additional content defined by implementations | |
![]() ![]() |
?!Σ | 1..1 | code | draft | active | retired | unknown Binding: PublicationStatus (required): The lifecycle status of an artifact. |
![]() ![]() |
Σ | 0..1 | Period | When the activity definition is expected to be used |
![]() ![]() |
Σ | 0..1 | CodeableConcept | Detail type of activity Binding: ProcedureCodesSNOMEDCT (example): Detailed type of the activity; e.g. CBC. |
![]() ![]() |
0..* | BackboneElement | Who should participate in the action | |
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
0..1 | code | careteam | device | group | healthcareservice | location | organization | patient | practitioner | practitionerrole | relatedperson Binding: ActionParticipantType (required): The type of participant in the activity. | |
![]() ![]() ![]() |
0..1 | canonical(CapabilityStatement) | Who or what can participate | |
![]() ![]() ![]() |
0..1 | Reference(CareTeam | Device | DeviceDefinition | Endpoint | Group | HealthcareService | Location | Organization | Patient | Practitioner | PractitionerRole | RelatedPerson) | Who or what can participate | |
![]() ![]() ![]() |
0..1 | CodeableConcept | E.g. Nurse, Surgeon, Parent, etc Binding: Action Participant Role (example): Defines roles played by participants for the action. | |
![]() ![]() ![]() |
0..1 | CodeableConcept | E.g. Author, Reviewer, Witness, etc Binding: ActionParticipantFunction (example) | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| ActivityDefinition.status | Base | required | PublicationStatus | 📍5.0.0 | FHIR Std. |
| ActivityDefinition.code | Base | example | Procedure Codes (SNOMED CT) | 📍5.0.0 | FHIR Std. |
| ActivityDefinition.participant.type | Base | required | Action Participant Type | 📍5.0.0 | FHIR Std. |
| ActivityDefinition.participant.role | Base | example | Action Participant Role | 📦2.0.0 | THO v7.2 |
| ActivityDefinition.participant.function | Base | example | Action Participant Function | 📍5.0.0 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| cnl-0 | warning | ActivityDefinition | Name should be usable as an identifier for the module by machine processing applications such as code generation |
name.exists() implies name.matches('^[A-Z]([A-Za-z0-9_]){1,254}$')
|
| 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
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | ActivityDefinition | The definition of a specific activity to be taken, independent of any particular patient or context Interfaces Implemented: MetadataResource Constraints: cnl-0 |
![]() ![]() |
?!Σ | 1..1 | code | draft | active | retired | unknown Binding: PublicationStatus (required): The lifecycle status of an artifact. |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| ActivityDefinition.status | Base | required | PublicationStatus | 📍5.0.0 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| cnl-0 | warning | ActivityDefinition | Name should be usable as an identifier for the module by machine processing applications such as code generation |
name.exists() implies name.matches('^[A-Z]([A-Za-z0-9_]){1,254}$')
|
| 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
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | ActivityDefinition | The definition of a specific activity to be taken, independent of any particular patient or context Interfaces Implemented: MetadataResource | |
![]() ![]() |
0..0 | Metadata about the resource | ||
![]() ![]() |
0..0 | A set of rules under which this content was created | ||
![]() ![]() |
0..0 | Language of the resource content | ||
![]() ![]() |
0..0 | Text summary of the resource, for human interpretation | ||
![]() ![]() |
0..0 | Contained, inline Resources | ||
![]() ![]() |
0..0 | Extension | ||
![]() ![]() |
0..0 | Canonical identifier for this activity definition, represented as a URI (globally unique) | ||
![]() ![]() |
0..0 | Additional identifier for the activity definition | ||
![]() ![]() |
0..0 | Business version of the activity definition | ||
![]() ![]() |
0..0 | How to compare versions | ||
![]() ![]() |
0..0 | Name for this activity definition (computer friendly) | ||
![]() ![]() |
0..0 | Name for this activity definition (human friendly) | ||
![]() ![]() |
0..0 | Subordinate title of the activity definition | ||
![]() ![]() |
0..0 | For testing purposes, not real usage | ||
![]() ![]() |
0..0 | Type of individual the activity definition is intended for | ||
![]() ![]() |
0..0 | Date last changed | ||
![]() ![]() |
0..0 | Name of the publisher/steward (organization or individual) | ||
![]() ![]() |
0..0 | Contact details for the publisher | ||
![]() ![]() |
0..0 | Natural language description of the activity definition | ||
![]() ![]() |
0..0 | The context that the content is intended to support | ||
![]() ![]() |
0..0 | Intended jurisdiction for activity definition (if applicable) | ||
![]() ![]() |
0..0 | Why this activity definition is defined | ||
![]() ![]() |
0..0 | Describes the clinical usage of the activity definition | ||
![]() ![]() |
0..0 | Use and/or publishing restrictions | ||
![]() ![]() |
0..0 | Copyright holder and year(s) | ||
![]() ![]() |
0..0 | When the activity definition was approved by publisher | ||
![]() ![]() |
0..0 | When the activity definition was last reviewed by the publisher | ||
![]() ![]() |
0..0 | E.g. Education, Treatment, Assessment, etc | ||
![]() ![]() |
0..0 | Who authored the content | ||
![]() ![]() |
0..0 | Who edited the content | ||
![]() ![]() |
0..0 | Who reviewed the content | ||
![]() ![]() |
0..0 | Who endorsed the content | ||
![]() ![]() |
0..0 | Additional documentation, citations, etc | ||
![]() ![]() |
0..0 | Logic used by the activity definition | ||
![]() ![]() |
0..0 | Kind of resource | ||
![]() ![]() |
0..0 | What profile the resource needs to conform to | ||
![]() ![]() |
0..0 | proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option | ||
![]() ![]() |
0..0 | routine | urgent | asap | stat | ||
![]() ![]() |
0..0 | True if the activity should not be performed | ||
![]() ![]() |
0..0 | When activity is to occur | ||
![]() ![]() |
0..0 | Preconditions for service | ||
![]() ![]() |
0..0 | Where it should happen | ||
![]() ![]() |
0..0 | What's administered/supplied | ||
![]() ![]() |
0..0 | How much is administered/consumed/supplied | ||
![]() ![]() |
0..0 | Detailed dosage instructions | ||
![]() ![]() |
0..0 | What part of body to perform on | ||
![]() ![]() |
0..0 | What specimens are required to perform this action | ||
![]() ![]() |
0..0 | What observations are required to perform this action | ||
![]() ![]() |
0..0 | What observations must be produced by this action | ||
![]() ![]() |
0..0 | Transform to apply the template | ||
![]() ![]() |
0..0 | Dynamic aspects of the definition | ||
Documentation for this format | ||||
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | ActivityDefinition | The definition of a specific activity to be taken, independent of any particular patient or context Interfaces Implemented: MetadataResource Constraints: cnl-0 |
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact |
![]() ![]() |
0..* | Extension | Additional content defined by implementations | |
![]() ![]() |
?!Σ | 1..1 | code | draft | active | retired | unknown Binding: PublicationStatus (required): The lifecycle status of an artifact. |
![]() ![]() |
Σ | 0..1 | Period | When the activity definition is expected to be used |
![]() ![]() |
Σ | 0..1 | CodeableConcept | Detail type of activity Binding: ProcedureCodesSNOMEDCT (example): Detailed type of the activity; e.g. CBC. |
![]() ![]() |
0..* | BackboneElement | Who should participate in the action | |
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
0..1 | code | careteam | device | group | healthcareservice | location | organization | patient | practitioner | practitionerrole | relatedperson Binding: ActionParticipantType (required): The type of participant in the activity. | |
![]() ![]() ![]() |
0..1 | canonical(CapabilityStatement) | Who or what can participate | |
![]() ![]() ![]() |
0..1 | Reference(CareTeam | Device | DeviceDefinition | Endpoint | Group | HealthcareService | Location | Organization | Patient | Practitioner | PractitionerRole | RelatedPerson) | Who or what can participate | |
![]() ![]() ![]() |
0..1 | CodeableConcept | E.g. Nurse, Surgeon, Parent, etc Binding: Action Participant Role (example): Defines roles played by participants for the action. | |
![]() ![]() ![]() |
0..1 | CodeableConcept | E.g. Author, Reviewer, Witness, etc Binding: ActionParticipantFunction (example) | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| ActivityDefinition.status | Base | required | PublicationStatus | 📍5.0.0 | FHIR Std. |
| ActivityDefinition.code | Base | example | Procedure Codes (SNOMED CT) | 📍5.0.0 | FHIR Std. |
| ActivityDefinition.participant.type | Base | required | Action Participant Type | 📍5.0.0 | FHIR Std. |
| ActivityDefinition.participant.role | Base | example | Action Participant Role | 📦2.0.0 | THO v7.2 |
| ActivityDefinition.participant.function | Base | example | Action Participant Function | 📍5.0.0 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| cnl-0 | warning | ActivityDefinition | Name should be usable as an identifier for the module by machine processing applications such as code generation |
name.exists() implies name.matches('^[A-Z]([A-Za-z0-9_]){1,254}$')
|
| 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
Other representations of profile: CSV, Excel, Schematron