Specialty Medication Enrollment
0.1.0 - STU1 Ballot

This page is part of the Specialty Medication Enrollment (v0.1.0: STU1 Ballot 1) based on FHIR R4. . For a full list of available versions, see the Directory of published versions

Resource Profile: Specialty Rx Task - SMART Launch

Defining URL:http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-task-smart-launch
Version:0.1.0
Name:SpecialtyRxTaskSmartLaunch
Title:Specialty Rx Task - SMART Launch
Status:Active as of 2020-12-12T00:00:00-05:00
Definition:

This profile defines Task content enabling a pharmacy or other external party to prompt clinic staff to launch a SMART app and answer prescription-related questions.

Publisher:HL7 International - Pharmacy
Source Resource:XML / JSON / Turtle

The official URL for this profile is:

http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-task-smart-launch

This profile ensures that the Task conveys the information that the EHR needs to…

  • recognize the pharmacy or other party submitting the request
  • associate the request with the patient and prescription
  • place the task into the appropriate work queue, (d) display a description of the task to the user, and
  • launch the requested SMART application into the appropriate context (e.g., the questions staff need to answer)

Formal Views of Profile Content

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

This structure is derived from Task

Summary

Mandatory: 17 elements
Must-Support: 26 elements
Fixed Value: 1 element

Structures

This structure refers to these other structures:

Slices

This structure defines the following Slices:

  • The element Task.identifier is sliced based on the value of pattern:$this
  • The element Task.requester.identifier is sliced based on the value of pattern:$this
  • The element Task.input is sliced based on the value of pattern:type

This structure is derived from Task

NameFlagsCard.TypeDescription & Constraintsdoco
.. Task 0..*TaskA task to be performed
... id S1..1stringLogical id of this artifact
... identifier S1..*(Slice Definition)Task Instance Identifier
Slice: Unordered, Open by pattern:$this
.... identifier:appContext S1..1IdentifierSMART App Context ID
Required Pattern: At least the following
..... type1..1CodeableConceptDescription of identifier
Fixed Value: (complex)
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://hl7.org/fhir/us/specialty-rx/CodeSystem/specialty-rx-task-identifier-type
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: app-context
..... type S1..1CodeableConceptDescription of identifier
..... system S1..1uriThe namespace for the identifier value
..... value S1..1stringThe value that is unique
... intent S1..1codeunknown | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
Fixed Value: plan
... description S1..1stringHuman-readable explanation of task
... for S1..1Reference(US Core Patient Profile)Related Patient
... authoredOn S1..1dateTimeTask Creation Date
... requester SI1..1Reference(US Core Organization Profile)Who is asking for task to be done
srx-2: Either requester.reference or requester.identifier SHALL be present
.... reference S0..1stringLiteral reference, Relative, internal or absolute URL
.... identifier S0..1(Slice Definition)Logical reference, when literal reference is not known
Slice: Unordered, Open by pattern:$this
..... identifier:pharmacyNcpdpId S0..1IdentifierThe pharmacy's NCPDP Provider ID
Required Pattern: At least the following
...... system1..1uriThe namespace for the identifier value
Fixed Value: http://terminology.hl7.org/CodeSystem/NCPDP/ProviderIdentificationNumber
..... identifier:NPI S0..1IdentifierNational Provider Identifier (NPI)
Required Pattern: At least the following
...... system1..1uriThe namespace for the identifier value
Fixed Value: http://hl7.org/fhir/sid/us-npi
... owner SI1..1Reference(Practitioner)Prescriber
srx-3: Either owner.reference or owner.identifier SHALL be present
.... reference S0..1stringPrescriber Reference
.... identifier S0..1IdentifierLogical reference, when literal reference is not known
Required Pattern: At least the following
..... system1..1uriThe namespace for the identifier value
Fixed Value: http://hl7.org/fhir/sid/us-npi
... reasonReference SI0..1Reference(MedicationRequest)Related Prescription
srx-1: If Task.reasonReference is present, either reference or identifier SHOULD be present. If reasonReference.identifier is present, it SHALL be the placer order ID
.... reference S0..1stringPrescription Reference
.... identifier S0..1IdentifierPlacer Order Number
Required Pattern: At least the following
..... type1..1CodeableConceptDescription of identifier
Fixed Value: (complex)
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/v2-0203
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: PLAC
.... display S0..1stringText alternative for the resource
... input S1..*(Slice Definition)Information used to perform task
Slice: Unordered, Open by pattern:type
.... input:SmartLaunchUrl S1..1BackboneElementSmart App Launch URL
..... type S1..1CodeableConceptLabel for the input
Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://hl7.org/fhir/us/specialty-rx/CodeSystem/specialty-rx-task-input-type
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: smart-app-launch-url
....... display1..1stringRepresentation defined by the system
Fixed Value: SMART Application Launch URL
..... valueUrl S1..1urlSMART launch URL

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Task I0..*TaskA task to be performed
... id SΣ1..1stringLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: CommonLanguages (preferred)
Max Binding: AllLanguages: A human language.

... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional content defined by implementations
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier S1..*(Slice Definition)Task Instance Identifier
Slice: Unordered, Open by pattern:$this
.... identifier:appContext S1..1IdentifierSMART App Context ID

Required Pattern: At least the following
..... id0..1stringUnique id for inter-element referencing
..... extension0..*ExtensionAdditional content defined by implementations
..... use0..1codeusual | official | temp | secondary | old (If known)
..... type1..1CodeableConceptDescription of identifier
Fixed Value: (complex)
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... id0..1stringUnique id for inter-element referencing
....... extension0..*ExtensionAdditional content defined by implementations
....... system1..1uriIdentity of the terminology system
Fixed Value: http://hl7.org/fhir/us/specialty-rx/CodeSystem/specialty-rx-task-identifier-type
....... version0..1stringVersion of the system - if relevant
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: app-context
....... display0..1stringRepresentation defined by the system
....... userSelected0..1booleanIf this coding was chosen directly by the user
...... text0..1stringPlain text representation of the concept
..... system0..1uriThe namespace for the identifier value
..... value0..1stringThe value that is unique
..... period0..1PeriodTime period when id is/was valid for use
..... assigner0..1Reference(Organization)Organization that issued id (may be just text)
..... 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 SΣ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.

..... system SΣ1..1uriThe namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
..... value SΣ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)
... instantiatesCanonical Σ0..1canonical(ActivityDefinition)Formal definition of task
... instantiatesUri Σ0..1uriFormal definition of task
... basedOn Σ0..*Reference(Resource)Request fulfilled by this task
... groupIdentifier Σ0..1IdentifierRequisition or grouper id
... partOf Σ0..*Reference(Task)Composite task
... status ?!Σ1..1codedraft | requested | received | accepted | +
Binding: TaskStatus (required): The current status of the task.

... statusReason Σ0..1CodeableConceptReason for current status
Binding: (unbound) (example): Codes to identify the reason for current status. These will typically be specific to a particular workflow.

... businessStatus Σ0..1CodeableConceptE.g. "Specimen collected", "IV prepped"
Binding: (unbound) (example): The domain-specific business-contextual sub-state of the task. For example: "Blood drawn", "IV inserted", "Awaiting physician signature", etc.

... intent SΣ1..1codeunknown | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
Binding: TaskIntent (required): Distinguishes whether the task is a proposal, plan or full order.


Fixed Value: plan
... priority 0..1coderoutine | urgent | asap | stat
Binding: RequestPriority (required): The task's priority.

... code Σ1..1CodeableConceptTask Type
Binding: Specialty Rx Value Set - Task Type (extensible): Task types used in the Specialty Rx workflow

... description SΣ1..1stringHuman-readable explanation of task
... focus Σ0..1Reference(Resource)What task is acting on
... for SΣ1..1Reference(US Core Patient Profile)Related Patient
... encounter Σ0..1Reference(Encounter)Healthcare event during which this task originated
... executionPeriod Σ0..1PeriodStart and end time of execution
... authoredOn SI1..1dateTimeTask Creation Date
... lastModified ΣI0..1dateTimeTask Last Modified Date
... requester SΣI1..1Reference(US Core Organization Profile)Who is asking for task to be done
srx-2: Either requester.reference or requester.identifier SHALL be present
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... reference SΣI0..1stringLiteral reference, Relative, internal or absolute URL
.... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

.... identifier SΣ0..1(Slice Definition)Logical reference, when literal reference is not known
Slice: Unordered, Open by pattern:$this
..... identifier:pharmacyNcpdpId SΣ0..1IdentifierThe pharmacy's NCPDP Provider ID
Required Pattern: At least the following
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... use0..1codeusual | official | temp | secondary | old (If known)
...... type0..1CodeableConceptDescription of identifier
...... system1..1uriThe namespace for the identifier value
Fixed Value: http://terminology.hl7.org/CodeSystem/NCPDP/ProviderIdentificationNumber
...... value0..1stringThe value that is unique
...... period0..1PeriodTime period when id is/was valid for use
...... assigner0..1Reference(Organization)Organization that issued id (may be just text)
..... identifier:NPI SΣ0..1IdentifierNational Provider Identifier (NPI)
Required Pattern: At least the following
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... use0..1codeusual | official | temp | secondary | old (If known)
...... type0..1CodeableConceptDescription of identifier
...... system1..1uriThe namespace for the identifier value
Fixed Value: http://hl7.org/fhir/sid/us-npi
...... value0..1stringThe value that is unique
...... period0..1PeriodTime period when id is/was valid for use
...... assigner0..1Reference(Organization)Organization that issued id (may be just text)
.... display Σ0..1stringText alternative for the resource
... performerType 0..*CodeableConceptRequested performer
Binding: ProcedurePerformerRoleCodes (preferred): The type(s) of task performers allowed.


... owner SΣI1..1Reference(Practitioner)Prescriber
srx-3: Either owner.reference or owner.identifier SHALL be present
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... reference SΣI0..1stringPrescriber Reference
.... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

.... identifier SΣ0..1IdentifierLogical reference, when literal reference is not known
Required Pattern: At least the following
..... id0..1stringUnique id for inter-element referencing
..... extension0..*ExtensionAdditional content defined by implementations
..... use0..1codeusual | official | temp | secondary | old (If known)
..... type0..1CodeableConceptDescription of identifier
..... system1..1uriThe namespace for the identifier value
Fixed Value: http://hl7.org/fhir/sid/us-npi
..... value0..1stringThe value that is unique
..... period0..1PeriodTime period when id is/was valid for use
..... assigner0..1Reference(Organization)Organization that issued id (may be just text)
.... display Σ0..1stringText alternative for the resource
... location Σ0..1Reference(Location)Where task occurs
... reasonCode 0..1CodeableConceptWhy task is needed
Binding: (unbound) (example): Indicates why the task is needed. E.g. Suspended because patient admitted to hospital.

... reasonReference SI0..1Reference(MedicationRequest)Related Prescription
srx-1: If Task.reasonReference is present, either reference or identifier SHOULD be present. If reasonReference.identifier is present, it SHALL be the placer order ID
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... reference SΣI0..1stringPrescription Reference
.... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

.... identifier SΣ0..1IdentifierPlacer Order Number
Required Pattern: At least the following
..... id0..1stringUnique id for inter-element referencing
..... extension0..*ExtensionAdditional content defined by implementations
..... use0..1codeusual | official | temp | secondary | old (If known)
..... type1..1CodeableConceptDescription of identifier
Fixed Value: (complex)
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... 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/v2-0203
....... version0..1stringVersion of the system - if relevant
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: PLAC
....... display0..1stringRepresentation defined by the system
....... userSelected0..1booleanIf this coding was chosen directly by the user
...... text0..1stringPlain text representation of the concept
..... system0..1uriThe namespace for the identifier value
..... value0..1stringThe value that is unique
..... period0..1PeriodTime period when id is/was valid for use
..... assigner0..1Reference(Organization)Organization that issued id (may be just text)
.... display SΣ0..1stringText alternative for the resource
... insurance 0..*Reference(Coverage | ClaimResponse)Associated insurance coverage
... note 0..*AnnotationComments made about the task
... relevantHistory 0..*Reference(Provenance)Key events in history of the Task
... restriction 0..1BackboneElementConstraints on fulfillment tasks
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... repetitions 0..1positiveIntHow many times to repeat
.... period 0..1PeriodWhen fulfillment sought
.... recipient 0..*Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Group | Organization)For whom is fulfillment sought?
... input S1..*(Slice Definition)Information used to perform task
Slice: Unordered, Open by pattern:type
.... input:All Slices Content/Rules for all slices
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... type 1..1CodeableConceptLabel for the input
Binding: (unbound) (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Comparison source", "Applicable consent", "Concomitent Medications", etc.

..... value[x] 1..1Content to use in performing the task
...... valueBase64Binarybase64Binary
...... valueBooleanboolean
...... valueCanonicalcanonical(Any)
...... valueCodecode
...... valueDatedate
...... valueDateTimedateTime
...... valueDecimaldecimal
...... valueIdid
...... valueInstantinstant
...... valueIntegerinteger
...... valueMarkdownmarkdown
...... valueOidoid
...... valuePositiveIntpositiveInt
...... valueStringstring
...... valueTimetime
...... valueUnsignedIntunsignedInt
...... valueUriuri
...... valueUrlurl
...... valueUuiduuid
...... valueAddressAddress
...... valueAgeAge
...... valueAnnotationAnnotation
...... valueAttachmentAttachment
...... valueCodeableConceptCodeableConcept
...... valueCodingCoding
...... valueContactPointContactPoint
...... valueCountCount
...... valueDistanceDistance
...... valueDurationDuration
...... valueHumanNameHumanName
...... valueIdentifierIdentifier
...... valueMoneyMoney
...... valuePeriodPeriod
...... valueQuantityQuantity
...... valueRangeRange
...... valueRatioRatio
...... valueReferenceReference(Any)
...... valueSampledDataSampledData
...... valueSignatureSignature
...... valueTimingTiming
...... valueContactDetailContactDetail
...... valueContributorContributor
...... valueDataRequirementDataRequirement
...... valueExpressionExpression
...... valueParameterDefinitionParameterDefinition
...... valueRelatedArtifactRelatedArtifact
...... valueTriggerDefinitionTriggerDefinition
...... valueUsageContextUsageContext
...... valueDosageDosage
...... valueMetaMeta
.... input:SmartLaunchUrl S1..1BackboneElementSmart App Launch URL
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... type S1..1CodeableConceptLabel for the input
Binding: (unbound) (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Comparison source", "Applicable consent", "Concomitent Medications", etc.


Required Pattern: At least the following
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... id0..1stringUnique id for inter-element referencing
....... extension0..*ExtensionAdditional content defined by implementations
....... system1..1uriIdentity of the terminology system
Fixed Value: http://hl7.org/fhir/us/specialty-rx/CodeSystem/specialty-rx-task-input-type
....... version0..1stringVersion of the system - if relevant
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: smart-app-launch-url
....... display1..1stringRepresentation defined by the system
Fixed Value: SMART Application Launch URL
....... userSelected0..1booleanIf this coding was chosen directly by the user
...... text0..1stringPlain text representation of the concept
..... value[x] S1..1urlSMART launch URL
... output 0..*BackboneElementInformation produced as part of task
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... type 1..1CodeableConceptLabel for output
Binding: (unbound) (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Identified issues", "Preliminary results", "Filler order", "Final results", etc.

.... value[x] 1..1Result of output
..... valueBase64Binarybase64Binary
..... valueBooleanboolean
..... valueCanonicalcanonical(Any)
..... valueCodecode
..... valueDatedate
..... valueDateTimedateTime
..... valueDecimaldecimal
..... valueIdid
..... valueInstantinstant
..... valueIntegerinteger
..... valueMarkdownmarkdown
..... valueOidoid
..... valuePositiveIntpositiveInt
..... valueStringstring
..... valueTimetime
..... valueUnsignedIntunsignedInt
..... valueUriuri
..... valueUrlurl
..... valueUuiduuid
..... valueAddressAddress
..... valueAgeAge
..... valueAnnotationAnnotation
..... valueAttachmentAttachment
..... valueCodeableConceptCodeableConcept
..... valueCodingCoding
..... valueContactPointContactPoint
..... valueCountCount
..... valueDistanceDistance
..... valueDurationDuration
..... valueHumanNameHumanName
..... valueIdentifierIdentifier
..... valueMoneyMoney
..... valuePeriodPeriod
..... valueQuantityQuantity
..... valueRangeRange
..... valueRatioRatio
..... valueReferenceReference(Any)
..... valueSampledDataSampledData
..... valueSignatureSignature
..... valueTimingTiming
..... valueContactDetailContactDetail
..... valueContributorContributor
..... valueDataRequirementDataRequirement
..... valueExpressionExpression
..... valueParameterDefinitionParameterDefinition
..... valueRelatedArtifactRelatedArtifact
..... valueTriggerDefinitionTriggerDefinition
..... valueUsageContextUsageContext
..... valueDosageDosage
..... valueMetaMeta

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Task I0..*TaskA task to be performed
... id Σ1..1stringLogical id of this artifact
... identifier 1..*(Slice Definition)Task Instance Identifier
Slice: Unordered, Open by pattern:$this
.... identifier:appContext 1..1IdentifierSMART App Context ID

Required Pattern: At least the following
..... type1..1CodeableConceptDescription of identifier
Fixed Value: (complex)
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://hl7.org/fhir/us/specialty-rx/CodeSystem/specialty-rx-task-identifier-type
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: app-context
..... 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.

..... system Σ1..1uriThe namespace for the identifier value
..... value Σ1..1stringThe value that is unique
... intent Σ1..1codeunknown | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
Binding: TaskIntent (required): Distinguishes whether the task is a proposal, plan or full order.


Fixed Value: plan
... for Σ1..1Reference(US Core Patient Profile)Related Patient
... authoredOn I1..1dateTimeTask Creation Date
... requester ΣI1..1Reference(US Core Organization Profile)Who is asking for task to be done
srx-2: Either requester.reference or requester.identifier SHALL be present
.... reference ΣI0..1stringLiteral reference, Relative, internal or absolute URL
.... identifier Σ0..1(Slice Definition)Logical reference, when literal reference is not known
Slice: Unordered, Open by pattern:$this
..... identifier:pharmacyNcpdpId Σ0..1IdentifierThe pharmacy's NCPDP Provider ID
Required Pattern: At least the following
...... system1..1uriThe namespace for the identifier value
Fixed Value: http://terminology.hl7.org/CodeSystem/NCPDP/ProviderIdentificationNumber
..... identifier:NPI Σ0..1IdentifierNational Provider Identifier (NPI)
Required Pattern: At least the following
...... system1..1uriThe namespace for the identifier value
Fixed Value: http://hl7.org/fhir/sid/us-npi
... owner ΣI1..1Reference(Practitioner)Prescriber
srx-3: Either owner.reference or owner.identifier SHALL be present
.... reference ΣI0..1stringPrescriber Reference
.... identifier Σ0..1IdentifierLogical reference, when literal reference is not known
Required Pattern: At least the following
..... system1..1uriThe namespace for the identifier value
Fixed Value: http://hl7.org/fhir/sid/us-npi
... reasonReference I0..1Reference(MedicationRequest)Related Prescription
srx-1: If Task.reasonReference is present, either reference or identifier SHOULD be present. If reasonReference.identifier is present, it SHALL be the placer order ID
.... reference ΣI0..1stringPrescription Reference
.... identifier Σ0..1IdentifierPlacer Order Number
Required Pattern: At least the following
..... type1..1CodeableConceptDescription of identifier
Fixed Value: (complex)
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/v2-0203
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: PLAC
.... display Σ0..1stringText alternative for the resource
... input 1..*(Slice Definition)Information used to perform task
Slice: Unordered, Open by pattern:type
.... input:SmartLaunchUrl 1..1BackboneElementSmart App Launch URL
..... type 1..1CodeableConceptLabel for the input
Binding: (unbound) (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Comparison source", "Applicable consent", "Concomitent Medications", etc.


Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://hl7.org/fhir/us/specialty-rx/CodeSystem/specialty-rx-task-input-type
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: smart-app-launch-url
....... display1..1stringRepresentation defined by the system
Fixed Value: SMART Application Launch URL
..... value[x] 1..1urlSMART launch URL

doco Documentation for this format

This structure is derived from Task

Summary

Mandatory: 17 elements
Must-Support: 26 elements
Fixed Value: 1 element

Structures

This structure refers to these other structures:

Slices

This structure defines the following Slices:

  • The element Task.identifier is sliced based on the value of pattern:$this
  • The element Task.requester.identifier is sliced based on the value of pattern:$this
  • The element Task.input is sliced based on the value of pattern:type

Differential View

This structure is derived from Task

NameFlagsCard.TypeDescription & Constraintsdoco
.. Task 0..*TaskA task to be performed
... id S1..1stringLogical id of this artifact
... identifier S1..*(Slice Definition)Task Instance Identifier
Slice: Unordered, Open by pattern:$this
.... identifier:appContext S1..1IdentifierSMART App Context ID
Required Pattern: At least the following
..... type1..1CodeableConceptDescription of identifier
Fixed Value: (complex)
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://hl7.org/fhir/us/specialty-rx/CodeSystem/specialty-rx-task-identifier-type
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: app-context
..... type S1..1CodeableConceptDescription of identifier
..... system S1..1uriThe namespace for the identifier value
..... value S1..1stringThe value that is unique
... intent S1..1codeunknown | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
Fixed Value: plan
... description S1..1stringHuman-readable explanation of task
... for S1..1Reference(US Core Patient Profile)Related Patient
... authoredOn S1..1dateTimeTask Creation Date
... requester SI1..1Reference(US Core Organization Profile)Who is asking for task to be done
srx-2: Either requester.reference or requester.identifier SHALL be present
.... reference S0..1stringLiteral reference, Relative, internal or absolute URL
.... identifier S0..1(Slice Definition)Logical reference, when literal reference is not known
Slice: Unordered, Open by pattern:$this
..... identifier:pharmacyNcpdpId S0..1IdentifierThe pharmacy's NCPDP Provider ID
Required Pattern: At least the following
...... system1..1uriThe namespace for the identifier value
Fixed Value: http://terminology.hl7.org/CodeSystem/NCPDP/ProviderIdentificationNumber
..... identifier:NPI S0..1IdentifierNational Provider Identifier (NPI)
Required Pattern: At least the following
...... system1..1uriThe namespace for the identifier value
Fixed Value: http://hl7.org/fhir/sid/us-npi
... owner SI1..1Reference(Practitioner)Prescriber
srx-3: Either owner.reference or owner.identifier SHALL be present
.... reference S0..1stringPrescriber Reference
.... identifier S0..1IdentifierLogical reference, when literal reference is not known
Required Pattern: At least the following
..... system1..1uriThe namespace for the identifier value
Fixed Value: http://hl7.org/fhir/sid/us-npi
... reasonReference SI0..1Reference(MedicationRequest)Related Prescription
srx-1: If Task.reasonReference is present, either reference or identifier SHOULD be present. If reasonReference.identifier is present, it SHALL be the placer order ID
.... reference S0..1stringPrescription Reference
.... identifier S0..1IdentifierPlacer Order Number
Required Pattern: At least the following
..... type1..1CodeableConceptDescription of identifier
Fixed Value: (complex)
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/v2-0203
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: PLAC
.... display S0..1stringText alternative for the resource
... input S1..*(Slice Definition)Information used to perform task
Slice: Unordered, Open by pattern:type
.... input:SmartLaunchUrl S1..1BackboneElementSmart App Launch URL
..... type S1..1CodeableConceptLabel for the input
Required Pattern: At least the following
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... system1..1uriIdentity of the terminology system
Fixed Value: http://hl7.org/fhir/us/specialty-rx/CodeSystem/specialty-rx-task-input-type
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: smart-app-launch-url
....... display1..1stringRepresentation defined by the system
Fixed Value: SMART Application Launch URL
..... valueUrl S1..1urlSMART launch URL

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Task I0..*TaskA task to be performed
... id SΣ1..1stringLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: CommonLanguages (preferred)
Max Binding: AllLanguages: A human language.

... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional content defined by implementations
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier S1..*(Slice Definition)Task Instance Identifier
Slice: Unordered, Open by pattern:$this
.... identifier:appContext S1..1IdentifierSMART App Context ID

Required Pattern: At least the following
..... id0..1stringUnique id for inter-element referencing
..... extension0..*ExtensionAdditional content defined by implementations
..... use0..1codeusual | official | temp | secondary | old (If known)
..... type1..1CodeableConceptDescription of identifier
Fixed Value: (complex)
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... id0..1stringUnique id for inter-element referencing
....... extension0..*ExtensionAdditional content defined by implementations
....... system1..1uriIdentity of the terminology system
Fixed Value: http://hl7.org/fhir/us/specialty-rx/CodeSystem/specialty-rx-task-identifier-type
....... version0..1stringVersion of the system - if relevant
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: app-context
....... display0..1stringRepresentation defined by the system
....... userSelected0..1booleanIf this coding was chosen directly by the user
...... text0..1stringPlain text representation of the concept
..... system0..1uriThe namespace for the identifier value
..... value0..1stringThe value that is unique
..... period0..1PeriodTime period when id is/was valid for use
..... assigner0..1Reference(Organization)Organization that issued id (may be just text)
..... 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 SΣ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.

..... system SΣ1..1uriThe namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
..... value SΣ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)
... instantiatesCanonical Σ0..1canonical(ActivityDefinition)Formal definition of task
... instantiatesUri Σ0..1uriFormal definition of task
... basedOn Σ0..*Reference(Resource)Request fulfilled by this task
... groupIdentifier Σ0..1IdentifierRequisition or grouper id
... partOf Σ0..*Reference(Task)Composite task
... status ?!Σ1..1codedraft | requested | received | accepted | +
Binding: TaskStatus (required): The current status of the task.

... statusReason Σ0..1CodeableConceptReason for current status
Binding: (unbound) (example): Codes to identify the reason for current status. These will typically be specific to a particular workflow.

... businessStatus Σ0..1CodeableConceptE.g. "Specimen collected", "IV prepped"
Binding: (unbound) (example): The domain-specific business-contextual sub-state of the task. For example: "Blood drawn", "IV inserted", "Awaiting physician signature", etc.

... intent SΣ1..1codeunknown | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option
Binding: TaskIntent (required): Distinguishes whether the task is a proposal, plan or full order.


Fixed Value: plan
... priority 0..1coderoutine | urgent | asap | stat
Binding: RequestPriority (required): The task's priority.

... code Σ1..1CodeableConceptTask Type
Binding: Specialty Rx Value Set - Task Type (extensible): Task types used in the Specialty Rx workflow

... description SΣ1..1stringHuman-readable explanation of task
... focus Σ0..1Reference(Resource)What task is acting on
... for SΣ1..1Reference(US Core Patient Profile)Related Patient
... encounter Σ0..1Reference(Encounter)Healthcare event during which this task originated
... executionPeriod Σ0..1PeriodStart and end time of execution
... authoredOn SI1..1dateTimeTask Creation Date
... lastModified ΣI0..1dateTimeTask Last Modified Date
... requester SΣI1..1Reference(US Core Organization Profile)Who is asking for task to be done
srx-2: Either requester.reference or requester.identifier SHALL be present
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... reference SΣI0..1stringLiteral reference, Relative, internal or absolute URL
.... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

.... identifier SΣ0..1(Slice Definition)Logical reference, when literal reference is not known
Slice: Unordered, Open by pattern:$this
..... identifier:pharmacyNcpdpId SΣ0..1IdentifierThe pharmacy's NCPDP Provider ID
Required Pattern: At least the following
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... use0..1codeusual | official | temp | secondary | old (If known)
...... type0..1CodeableConceptDescription of identifier
...... system1..1uriThe namespace for the identifier value
Fixed Value: http://terminology.hl7.org/CodeSystem/NCPDP/ProviderIdentificationNumber
...... value0..1stringThe value that is unique
...... period0..1PeriodTime period when id is/was valid for use
...... assigner0..1Reference(Organization)Organization that issued id (may be just text)
..... identifier:NPI SΣ0..1IdentifierNational Provider Identifier (NPI)
Required Pattern: At least the following
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... use0..1codeusual | official | temp | secondary | old (If known)
...... type0..1CodeableConceptDescription of identifier
...... system1..1uriThe namespace for the identifier value
Fixed Value: http://hl7.org/fhir/sid/us-npi
...... value0..1stringThe value that is unique
...... period0..1PeriodTime period when id is/was valid for use
...... assigner0..1Reference(Organization)Organization that issued id (may be just text)
.... display Σ0..1stringText alternative for the resource
... performerType 0..*CodeableConceptRequested performer
Binding: ProcedurePerformerRoleCodes (preferred): The type(s) of task performers allowed.


... owner SΣI1..1Reference(Practitioner)Prescriber
srx-3: Either owner.reference or owner.identifier SHALL be present
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... reference SΣI0..1stringPrescriber Reference
.... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

.... identifier SΣ0..1IdentifierLogical reference, when literal reference is not known
Required Pattern: At least the following
..... id0..1stringUnique id for inter-element referencing
..... extension0..*ExtensionAdditional content defined by implementations
..... use0..1codeusual | official | temp | secondary | old (If known)
..... type0..1CodeableConceptDescription of identifier
..... system1..1uriThe namespace for the identifier value
Fixed Value: http://hl7.org/fhir/sid/us-npi
..... value0..1stringThe value that is unique
..... period0..1PeriodTime period when id is/was valid for use
..... assigner0..1Reference(Organization)Organization that issued id (may be just text)
.... display Σ0..1stringText alternative for the resource
... location Σ0..1Reference(Location)Where task occurs
... reasonCode 0..1CodeableConceptWhy task is needed
Binding: (unbound) (example): Indicates why the task is needed. E.g. Suspended because patient admitted to hospital.

... reasonReference SI0..1Reference(MedicationRequest)Related Prescription
srx-1: If Task.reasonReference is present, either reference or identifier SHOULD be present. If reasonReference.identifier is present, it SHALL be the placer order ID
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... reference SΣI0..1stringPrescription Reference
.... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).

.... identifier SΣ0..1IdentifierPlacer Order Number
Required Pattern: At least the following
..... id0..1stringUnique id for inter-element referencing
..... extension0..*ExtensionAdditional content defined by implementations
..... use0..1codeusual | official | temp | secondary | old (If known)
..... type1..1CodeableConceptDescription of identifier
Fixed Value: (complex)
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... 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/v2-0203
....... version0..1stringVersion of the system - if relevant
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: PLAC
....... display0..1stringRepresentation defined by the system
....... userSelected0..1booleanIf this coding was chosen directly by the user
...... text0..1stringPlain text representation of the concept
..... system0..1uriThe namespace for the identifier value
..... value0..1stringThe value that is unique
..... period0..1PeriodTime period when id is/was valid for use
..... assigner0..1Reference(Organization)Organization that issued id (may be just text)
.... display SΣ0..1stringText alternative for the resource
... insurance 0..*Reference(Coverage | ClaimResponse)Associated insurance coverage
... note 0..*AnnotationComments made about the task
... relevantHistory 0..*Reference(Provenance)Key events in history of the Task
... restriction 0..1BackboneElementConstraints on fulfillment tasks
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... repetitions 0..1positiveIntHow many times to repeat
.... period 0..1PeriodWhen fulfillment sought
.... recipient 0..*Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Group | Organization)For whom is fulfillment sought?
... input S1..*(Slice Definition)Information used to perform task
Slice: Unordered, Open by pattern:type
.... input:All Slices Content/Rules for all slices
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... type 1..1CodeableConceptLabel for the input
Binding: (unbound) (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Comparison source", "Applicable consent", "Concomitent Medications", etc.

..... value[x] 1..1Content to use in performing the task
...... valueBase64Binarybase64Binary
...... valueBooleanboolean
...... valueCanonicalcanonical(Any)
...... valueCodecode
...... valueDatedate
...... valueDateTimedateTime
...... valueDecimaldecimal
...... valueIdid
...... valueInstantinstant
...... valueIntegerinteger
...... valueMarkdownmarkdown
...... valueOidoid
...... valuePositiveIntpositiveInt
...... valueStringstring
...... valueTimetime
...... valueUnsignedIntunsignedInt
...... valueUriuri
...... valueUrlurl
...... valueUuiduuid
...... valueAddressAddress
...... valueAgeAge
...... valueAnnotationAnnotation
...... valueAttachmentAttachment
...... valueCodeableConceptCodeableConcept
...... valueCodingCoding
...... valueContactPointContactPoint
...... valueCountCount
...... valueDistanceDistance
...... valueDurationDuration
...... valueHumanNameHumanName
...... valueIdentifierIdentifier
...... valueMoneyMoney
...... valuePeriodPeriod
...... valueQuantityQuantity
...... valueRangeRange
...... valueRatioRatio
...... valueReferenceReference(Any)
...... valueSampledDataSampledData
...... valueSignatureSignature
...... valueTimingTiming
...... valueContactDetailContactDetail
...... valueContributorContributor
...... valueDataRequirementDataRequirement
...... valueExpressionExpression
...... valueParameterDefinitionParameterDefinition
...... valueRelatedArtifactRelatedArtifact
...... valueTriggerDefinitionTriggerDefinition
...... valueUsageContextUsageContext
...... valueDosageDosage
...... valueMetaMeta
.... input:SmartLaunchUrl S1..1BackboneElementSmart App Launch URL
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... type S1..1CodeableConceptLabel for the input
Binding: (unbound) (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Comparison source", "Applicable consent", "Concomitent Medications", etc.


Required Pattern: At least the following
...... id0..1stringUnique id for inter-element referencing
...... extension0..*ExtensionAdditional content defined by implementations
...... coding1..*CodingCode defined by a terminology system
Fixed Value: (complex)
....... id0..1stringUnique id for inter-element referencing
....... extension0..*ExtensionAdditional content defined by implementations
....... system1..1uriIdentity of the terminology system
Fixed Value: http://hl7.org/fhir/us/specialty-rx/CodeSystem/specialty-rx-task-input-type
....... version0..1stringVersion of the system - if relevant
....... code1..1codeSymbol in syntax defined by the system
Fixed Value: smart-app-launch-url
....... display1..1stringRepresentation defined by the system
Fixed Value: SMART Application Launch URL
....... userSelected0..1booleanIf this coding was chosen directly by the user
...... text0..1stringPlain text representation of the concept
..... value[x] S1..1urlSMART launch URL
... output 0..*BackboneElementInformation produced as part of task
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... type 1..1CodeableConceptLabel for output
Binding: (unbound) (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Identified issues", "Preliminary results", "Filler order", "Final results", etc.

.... value[x] 1..1Result of output
..... valueBase64Binarybase64Binary
..... valueBooleanboolean
..... valueCanonicalcanonical(Any)
..... valueCodecode
..... valueDatedate
..... valueDateTimedateTime
..... valueDecimaldecimal
..... valueIdid
..... valueInstantinstant
..... valueIntegerinteger
..... valueMarkdownmarkdown
..... valueOidoid
..... valuePositiveIntpositiveInt
..... valueStringstring
..... valueTimetime
..... valueUnsignedIntunsignedInt
..... valueUriuri
..... valueUrlurl
..... valueUuiduuid
..... valueAddressAddress
..... valueAgeAge
..... valueAnnotationAnnotation
..... valueAttachmentAttachment
..... valueCodeableConceptCodeableConcept
..... valueCodingCoding
..... valueContactPointContactPoint
..... valueCountCount
..... valueDistanceDistance
..... valueDurationDuration
..... valueHumanNameHumanName
..... valueIdentifierIdentifier
..... valueMoneyMoney
..... valuePeriodPeriod
..... valueQuantityQuantity
..... valueRangeRange
..... valueRatioRatio
..... valueReferenceReference(Any)
..... valueSampledDataSampledData
..... valueSignatureSignature
..... valueTimingTiming
..... valueContactDetailContactDetail
..... valueContributorContributor
..... valueDataRequirementDataRequirement
..... valueExpressionExpression
..... valueParameterDefinitionParameterDefinition
..... valueRelatedArtifactRelatedArtifact
..... valueTriggerDefinitionTriggerDefinition
..... valueUsageContextUsageContext
..... valueDosageDosage
..... valueMetaMeta

doco Documentation for this format

 

Other representations of profile: Schematron

Terminology Bindings

PathConformanceValueSet / Code
Task.languagepreferredCommonLanguages
Max Binding: AllLanguages
Task.identifier:appContext.userequiredIdentifierUse
Task.identifier:appContext.typeextensibleIdentifier Type Codes
Task.statusrequiredTaskStatus
Task.statusReasonexample
Task.businessStatusexample
Task.intentrequiredFixed Value: plan
Task.priorityrequiredRequestPriority
Task.codeextensibleSpecialtyRxValueSetTaskType
Task.requester.typeextensibleResourceType
Task.performerTypepreferredProcedurePerformerRoleCodes
Task.owner.typeextensibleResourceType
Task.reasonCodeexample
Task.reasonReference.typeextensibleResourceType
Task.input.typeexample
Task.input:SmartLaunchUrl.typeexamplePattern: smart-app-launch-url("SMART Application Launch URL")
Task.output.typeexample

Constraints

IdPathDetailsRequirements
dom-2TaskIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3TaskIf 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-4TaskIf 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-5TaskIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6TaskA resource should have narrative for robust management
: text.`div`.exists()
inv-1TaskLast modified date must be greater than or equal to authored-on date.
: lastModified.exists().not() or authoredOn.exists().not() or lastModified >= authoredOn
ele-1Task.metaAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.implicitRulesAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.languageAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.textAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Task.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Task.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Task.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Task.identifierAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.identifier:appContextAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.identifier:appContext.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Task.identifier:appContext.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Task.identifier:appContext.useAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.identifier:appContext.typeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.identifier:appContext.systemAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.identifier:appContext.valueAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.identifier:appContext.periodAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.identifier:appContext.assignerAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.instantiatesCanonicalAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.instantiatesUriAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.basedOnAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.groupIdentifierAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.partOfAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.statusAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.statusReasonAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.businessStatusAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.intentAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.priorityAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.codeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.descriptionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.focusAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.forAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.encounterAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.executionPeriodAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.authoredOnAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.lastModifiedAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.requesterAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
srx-2Task.requesterEither requester.reference or requester.identifier SHALL be present
: reference.exists() or identifier.exists()
ele-1Task.requester.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Task.requester.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Task.requester.referenceAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.requester.typeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.requester.identifierAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.requester.identifier:pharmacyNcpdpIdAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.requester.identifier:NPIAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.requester.displayAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.performerTypeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.ownerAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
srx-3Task.ownerEither owner.reference or owner.identifier SHALL be present
: reference.exists() or identifier.exists()
ele-1Task.owner.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Task.owner.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Task.owner.referenceAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.owner.typeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.owner.identifierAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.owner.displayAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.locationAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.reasonCodeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.reasonReferenceAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
srx-1Task.reasonReferenceIf Task.reasonReference is present, either reference or identifier SHOULD be present. If reasonReference.identifier is present, it SHALL be the placer order ID
: reference.exists() or identifier.exists()
ele-1Task.reasonReference.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Task.reasonReference.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Task.reasonReference.referenceAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.reasonReference.typeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.reasonReference.identifierAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.reasonReference.displayAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.insuranceAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.noteAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.relevantHistoryAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.restrictionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.restriction.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Task.restriction.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Task.restriction.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Task.restriction.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Task.restriction.repetitionsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.restriction.periodAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.restriction.recipientAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.inputAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.input.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Task.input.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Task.input.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Task.input.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Task.input.typeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.input.value[x]All FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.input:SmartLaunchUrlAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.input:SmartLaunchUrl.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Task.input:SmartLaunchUrl.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Task.input:SmartLaunchUrl.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Task.input:SmartLaunchUrl.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Task.input:SmartLaunchUrl.typeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.input:SmartLaunchUrl.value[x]All FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.outputAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.output.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Task.output.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Task.output.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Task.output.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Task.output.typeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Task.output.value[x]All FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())