Guia de Implementação do AnHealth
0.2.0 - CI Build

Guia de Implementação do AnHealth - Local Development build (v0.2.0). See the Directory of published versions

Resource Profile: Schedule

Official URL: https://ancode.app/fhir/StructureDefinition/Schedule Version: 0.2.0
Draft as of 2023-08-28 Computable Name: Schedule

Usage:

  • Refer to this Resource Profile:

Formal Views of Profile Content

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

This structure is derived from Schedule

NameFlagsCard.TypeDescription & Constraintsdoco
.. Schedule 0..*ScheduleA container for slots of time that may be available for booking appointments
... Slices for extension 8..*ExtensionExtension
Slice: Unordered, Open by value:url
... type 1..1CodeableConceptExtension
URL: https://ancode.app/fhir/StructureDefinition/ScheduleType
Binding: ScheduleType (required)
... plan 1..*(Complex)Extension
URL: https://ancode.app/fhir/StructureDefinition/SchedulePlan
... dynamicSlot 1..1booleanExtension
URL: https://ancode.app/fhir/StructureDefinition/ScheduleDynamicSlot
... serviceProvider 1..1Reference(Organization)Extension
URL: https://ancode.app/fhir/StructureDefinition/ServiceProvider
... encounterClass 1..1CodeableConceptExtension
URL: https://ancode.app/fhir/StructureDefinition/EncounterClass
Binding: EncounterClass (required)
... encounterType 1..1CodeableConceptExtension
URL: https://ancode.app/fhir/StructureDefinition/EncounterType
Binding: EncounterType (required)
... confirmationType 1..1CodeableConceptExtension
URL: https://ancode.app/fhir/StructureDefinition/ConfirmationType
Binding: ConfirmationType (required)
... scheduleQuestionnaire 0..*Reference()Extension
URL: https://ancode.app/fhir/StructureDefinition/ScheduleQuestionnaire
... identifier 0..*IdentifierAn identifier intended for computation
... active 1..1booleanWhether this schedule is in active use
... specialty 0..*CodeableConceptType of specialty needed
Binding: CBOHealthcare (required)
... Slices for actor 1..*Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Device | HealthcareService | Location)Resource(s) that availability information is being provided for
Slice: Unordered, Open by value:type
.... actor:healthcareService 0..*Reference(HealthcareService)Resource(s) that availability information is being provided for
.... actor:practitioner 0..*Reference(Practitioner)Resource(s) that availability information is being provided for
.... actor:location 1..1Reference(Location)Resource(s) that availability information is being provided for
... planningHorizon 1..1PeriodPeriod of time covered by schedule
.... start 1..1dateTimeStarting time with inclusive boundary
.... end 1..1dateTimeEnd time with inclusive boundary, if not ongoing
... comment 1..1stringComments on availability

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSet
Schedule.specialtyrequiredCBOHealthcare (a valid code from Classificação Brasileira de Ocupações - CBO)
NameFlagsCard.TypeDescription & Constraintsdoco
.. Schedule 0..*ScheduleA container for slots of time that may be available for booking appointments
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... Slices for extension 8..*ExtensionExtension
Slice: Unordered, Open by value:url
... type 1..1CodeableConceptExtension
URL: https://ancode.app/fhir/StructureDefinition/ScheduleType
Binding: ScheduleType (required)
... durationMinute 1..1codeOptional Extensions Element
URL: https://ancode.app/fhir/StructureDefinition/ScheduleDuration
Binding: DurationMinute (required)
... dynamicSlot 1..1booleanOptional Extensions Element
URL: https://ancode.app/fhir/StructureDefinition/ScheduleDynamicSlot
... serviceProvider 1..1Reference(Organization)Optional Extensions Element
URL: https://ancode.app/fhir/StructureDefinition/ServiceProvider
... encounterClass 1..1CodeableConceptExtension
URL: https://ancode.app/fhir/StructureDefinition/EncounterClass
Binding: EncounterClass (required)
... encounterType 1..1CodeableConceptExtension
URL: https://ancode.app/fhir/StructureDefinition/EncounterType
Binding: EncounterType (required)
... confirmationType 1..1CodeableConceptExtension
URL: https://ancode.app/fhir/StructureDefinition/ConfirmationType
Binding: ConfirmationType (required)
... scheduleQuestionnaire 0..*Reference()Optional Extensions Element
URL: https://ancode.app/fhir/StructureDefinition/ScheduleQuestionnaire
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier 0..*IdentifierAn identifier intended for computation
... active ?!Σ1..1booleanWhether this schedule is in active use
... specialty Σ0..*CodeableConceptType of specialty needed
Binding: CBOHealthcare (required)
... Slices for actor Σ1..*Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Device | HealthcareService | Location)Resource(s) that availability information is being provided for
Slice: Unordered, Open by value:type
.... actor:healthcareService Σ0..*Reference(HealthcareService)Resource(s) that availability information is being provided for
.... actor:practitioner Σ0..*Reference(Practitioner)Resource(s) that availability information is being provided for
.... actor:location Σ1..1Reference(Location)Resource(s) that availability information is being provided for
... planningHorizon Σ1..1PeriodPeriod of time covered by schedule
.... start ΣC1..1dateTimeStarting time with inclusive boundary
.... end ΣC1..1dateTimeEnd time with inclusive boundary, if not ongoing
... comment 1..1stringComments on availability

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
Schedule.specialtyrequiredCBOHealthcare (a valid code from Classificação Brasileira de Ocupações - CBO)

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorScheduleIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorScheduleIf 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.exists() and ('#'+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(uri) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorScheduleIf 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-5errorScheduleIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceScheduleA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
NameFlagsCard.TypeDescription & Constraintsdoco
.. Schedule 0..*ScheduleA container for slots of time that may be available for booking appointments
... id Σ0..1idLogical id of this artifact
... 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 8..*ExtensionExtension
Slice: Unordered, Open by value:url
... type 1..1CodeableConceptExtension
URL: https://ancode.app/fhir/StructureDefinition/ScheduleType
Binding: ScheduleType (required)
... plan 1..*(Complex)Optional Extensions Element
URL: https://ancode.app/fhir/StructureDefinition/SchedulePlan
... durationMinute 1..1codeOptional Extensions Element
URL: https://ancode.app/fhir/StructureDefinition/ScheduleDuration
Binding: DurationMinute (required)
... dynamicSlot 1..1booleanOptional Extensions Element
URL: https://ancode.app/fhir/StructureDefinition/ScheduleDynamicSlot
... serviceProvider 1..1Reference(Organization)Optional Extensions Element
URL: https://ancode.app/fhir/StructureDefinition/ServiceProvider
... encounterClass 1..1CodeableConceptExtension
URL: https://ancode.app/fhir/StructureDefinition/EncounterClass
Binding: EncounterClass (required)
... encounterType 1..1CodeableConceptExtension
URL: https://ancode.app/fhir/StructureDefinition/EncounterType
Binding: EncounterType (required)
... confirmationType 1..1CodeableConceptExtension
URL: https://ancode.app/fhir/StructureDefinition/ConfirmationType
Binding: ConfirmationType (required)
... scheduleQuestionnaire 0..*Reference()Optional Extensions Element
URL: https://ancode.app/fhir/StructureDefinition/ScheduleQuestionnaire
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier 0..*IdentifierAn identifier intended for computation
... active ?!Σ1..1booleanWhether this schedule is in active use
... serviceCategory Σ0..*CodeableConceptHigh-level category
Binding: ServiceCategory (example)
... serviceType Σ0..*CodeableConceptSpecific service
Binding: ServiceType (example)
... specialty Σ0..*CodeableConceptType of specialty needed
Binding: CBOHealthcare (required)
... Slices for actor Σ1..*Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Device | HealthcareService | Location)Resource(s) that availability information is being provided for
Slice: Unordered, Open by value:type
.... actor:healthcareService Σ0..*Reference(HealthcareService)Resource(s) that availability information is being provided for
.... actor:practitioner Σ0..*Reference(Practitioner)Resource(s) that availability information is being provided for
.... actor:location Σ1..1Reference(Location)Resource(s) that availability information is being provided for
... planningHorizon Σ1..1PeriodPeriod of time covered by schedule
.... id 0..1idUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... start ΣC1..1dateTimeStarting time with inclusive boundary
.... end ΣC1..1dateTimeEnd time with inclusive boundary, if not ongoing
... comment 1..1stringComments on availability

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
Schedule.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
Schedule.serviceCategoryexampleServiceCategory
Schedule.serviceTypeexampleServiceType
Schedule.specialtyrequiredCBOHealthcare (a valid code from Classificação Brasileira de Ocupações - CBO)

Constraints

IdGradePath(s)DetailsRequirements
dom-r4bwarningSchedule.containedContaining new R4B resources within R4 resources may cause interoperability issues if instances are shared with R4 systems
: ($this is Citation or $this is Evidence or $this is EvidenceReport or $this is EvidenceVariable or $this is MedicinalProductDefinition or $this is PackagedProductDefinition or $this is AdministrableProductDefinition or $this is Ingredient or $this is ClinicalUseDefinition or $this is RegulatedAuthorization or $this is SubstanceDefinition or $this is SubscriptionStatus or $this is SubscriptionTopic) implies (%resource is Citation or %resource is Evidence or %resource is EvidenceReport or %resource is EvidenceVariable or %resource is MedicinalProductDefinition or %resource is PackagedProductDefinition or %resource is AdministrableProductDefinition or %resource is Ingredient or %resource is ClinicalUseDefinition or %resource is RegulatedAuthorization or %resource is SubstanceDefinition or %resource is SubscriptionStatus or %resource is SubscriptionTopic)
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

Differential View

This structure is derived from Schedule

NameFlagsCard.TypeDescription & Constraintsdoco
.. Schedule 0..*ScheduleA container for slots of time that may be available for booking appointments
... Slices for extension 8..*ExtensionExtension
Slice: Unordered, Open by value:url
... type 1..1CodeableConceptExtension
URL: https://ancode.app/fhir/StructureDefinition/ScheduleType
Binding: ScheduleType (required)
... plan 1..*(Complex)Extension
URL: https://ancode.app/fhir/StructureDefinition/SchedulePlan
... dynamicSlot 1..1booleanExtension
URL: https://ancode.app/fhir/StructureDefinition/ScheduleDynamicSlot
... serviceProvider 1..1Reference(Organization)Extension
URL: https://ancode.app/fhir/StructureDefinition/ServiceProvider
... encounterClass 1..1CodeableConceptExtension
URL: https://ancode.app/fhir/StructureDefinition/EncounterClass
Binding: EncounterClass (required)
... encounterType 1..1CodeableConceptExtension
URL: https://ancode.app/fhir/StructureDefinition/EncounterType
Binding: EncounterType (required)
... confirmationType 1..1CodeableConceptExtension
URL: https://ancode.app/fhir/StructureDefinition/ConfirmationType
Binding: ConfirmationType (required)
... scheduleQuestionnaire 0..*Reference()Extension
URL: https://ancode.app/fhir/StructureDefinition/ScheduleQuestionnaire
... identifier 0..*IdentifierAn identifier intended for computation
... active 1..1booleanWhether this schedule is in active use
... specialty 0..*CodeableConceptType of specialty needed
Binding: CBOHealthcare (required)
... Slices for actor 1..*Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Device | HealthcareService | Location)Resource(s) that availability information is being provided for
Slice: Unordered, Open by value:type
.... actor:healthcareService 0..*Reference(HealthcareService)Resource(s) that availability information is being provided for
.... actor:practitioner 0..*Reference(Practitioner)Resource(s) that availability information is being provided for
.... actor:location 1..1Reference(Location)Resource(s) that availability information is being provided for
... planningHorizon 1..1PeriodPeriod of time covered by schedule
.... start 1..1dateTimeStarting time with inclusive boundary
.... end 1..1dateTimeEnd time with inclusive boundary, if not ongoing
... comment 1..1stringComments on availability

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSet
Schedule.specialtyrequiredCBOHealthcare (a valid code from Classificação Brasileira de Ocupações - CBO)

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Schedule 0..*ScheduleA container for slots of time that may be available for booking appointments
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... Slices for extension 8..*ExtensionExtension
Slice: Unordered, Open by value:url
... type 1..1CodeableConceptExtension
URL: https://ancode.app/fhir/StructureDefinition/ScheduleType
Binding: ScheduleType (required)
... durationMinute 1..1codeOptional Extensions Element
URL: https://ancode.app/fhir/StructureDefinition/ScheduleDuration
Binding: DurationMinute (required)
... dynamicSlot 1..1booleanOptional Extensions Element
URL: https://ancode.app/fhir/StructureDefinition/ScheduleDynamicSlot
... serviceProvider 1..1Reference(Organization)Optional Extensions Element
URL: https://ancode.app/fhir/StructureDefinition/ServiceProvider
... encounterClass 1..1CodeableConceptExtension
URL: https://ancode.app/fhir/StructureDefinition/EncounterClass
Binding: EncounterClass (required)
... encounterType 1..1CodeableConceptExtension
URL: https://ancode.app/fhir/StructureDefinition/EncounterType
Binding: EncounterType (required)
... confirmationType 1..1CodeableConceptExtension
URL: https://ancode.app/fhir/StructureDefinition/ConfirmationType
Binding: ConfirmationType (required)
... scheduleQuestionnaire 0..*Reference()Optional Extensions Element
URL: https://ancode.app/fhir/StructureDefinition/ScheduleQuestionnaire
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier 0..*IdentifierAn identifier intended for computation
... active ?!Σ1..1booleanWhether this schedule is in active use
... specialty Σ0..*CodeableConceptType of specialty needed
Binding: CBOHealthcare (required)
... Slices for actor Σ1..*Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Device | HealthcareService | Location)Resource(s) that availability information is being provided for
Slice: Unordered, Open by value:type
.... actor:healthcareService Σ0..*Reference(HealthcareService)Resource(s) that availability information is being provided for
.... actor:practitioner Σ0..*Reference(Practitioner)Resource(s) that availability information is being provided for
.... actor:location Σ1..1Reference(Location)Resource(s) that availability information is being provided for
... planningHorizon Σ1..1PeriodPeriod of time covered by schedule
.... start ΣC1..1dateTimeStarting time with inclusive boundary
.... end ΣC1..1dateTimeEnd time with inclusive boundary, if not ongoing
... comment 1..1stringComments on availability

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
Schedule.specialtyrequiredCBOHealthcare (a valid code from Classificação Brasileira de Ocupações - CBO)

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorScheduleIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorScheduleIf 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.exists() and ('#'+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(uri) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorScheduleIf 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-5errorScheduleIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceScheduleA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Schedule 0..*ScheduleA container for slots of time that may be available for booking appointments
... id Σ0..1idLogical id of this artifact
... 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 8..*ExtensionExtension
Slice: Unordered, Open by value:url
... type 1..1CodeableConceptExtension
URL: https://ancode.app/fhir/StructureDefinition/ScheduleType
Binding: ScheduleType (required)
... plan 1..*(Complex)Optional Extensions Element
URL: https://ancode.app/fhir/StructureDefinition/SchedulePlan
... durationMinute 1..1codeOptional Extensions Element
URL: https://ancode.app/fhir/StructureDefinition/ScheduleDuration
Binding: DurationMinute (required)
... dynamicSlot 1..1booleanOptional Extensions Element
URL: https://ancode.app/fhir/StructureDefinition/ScheduleDynamicSlot
... serviceProvider 1..1Reference(Organization)Optional Extensions Element
URL: https://ancode.app/fhir/StructureDefinition/ServiceProvider
... encounterClass 1..1CodeableConceptExtension
URL: https://ancode.app/fhir/StructureDefinition/EncounterClass
Binding: EncounterClass (required)
... encounterType 1..1CodeableConceptExtension
URL: https://ancode.app/fhir/StructureDefinition/EncounterType
Binding: EncounterType (required)
... confirmationType 1..1CodeableConceptExtension
URL: https://ancode.app/fhir/StructureDefinition/ConfirmationType
Binding: ConfirmationType (required)
... scheduleQuestionnaire 0..*Reference()Optional Extensions Element
URL: https://ancode.app/fhir/StructureDefinition/ScheduleQuestionnaire
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier 0..*IdentifierAn identifier intended for computation
... active ?!Σ1..1booleanWhether this schedule is in active use
... serviceCategory Σ0..*CodeableConceptHigh-level category
Binding: ServiceCategory (example)
... serviceType Σ0..*CodeableConceptSpecific service
Binding: ServiceType (example)
... specialty Σ0..*CodeableConceptType of specialty needed
Binding: CBOHealthcare (required)
... Slices for actor Σ1..*Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Device | HealthcareService | Location)Resource(s) that availability information is being provided for
Slice: Unordered, Open by value:type
.... actor:healthcareService Σ0..*Reference(HealthcareService)Resource(s) that availability information is being provided for
.... actor:practitioner Σ0..*Reference(Practitioner)Resource(s) that availability information is being provided for
.... actor:location Σ1..1Reference(Location)Resource(s) that availability information is being provided for
... planningHorizon Σ1..1PeriodPeriod of time covered by schedule
.... id 0..1idUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... start ΣC1..1dateTimeStarting time with inclusive boundary
.... end ΣC1..1dateTimeEnd time with inclusive boundary, if not ongoing
... comment 1..1stringComments on availability

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
Schedule.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
Schedule.serviceCategoryexampleServiceCategory
Schedule.serviceTypeexampleServiceType
Schedule.specialtyrequiredCBOHealthcare (a valid code from Classificação Brasileira de Ocupações - CBO)

Constraints

IdGradePath(s)DetailsRequirements
dom-r4bwarningSchedule.containedContaining new R4B resources within R4 resources may cause interoperability issues if instances are shared with R4 systems
: ($this is Citation or $this is Evidence or $this is EvidenceReport or $this is EvidenceVariable or $this is MedicinalProductDefinition or $this is PackagedProductDefinition or $this is AdministrableProductDefinition or $this is Ingredient or $this is ClinicalUseDefinition or $this is RegulatedAuthorization or $this is SubstanceDefinition or $this is SubscriptionStatus or $this is SubscriptionTopic) implies (%resource is Citation or %resource is Evidence or %resource is EvidenceReport or %resource is EvidenceVariable or %resource is MedicinalProductDefinition or %resource is PackagedProductDefinition or %resource is AdministrableProductDefinition or %resource is Ingredient or %resource is ClinicalUseDefinition or %resource is RegulatedAuthorization or %resource is SubstanceDefinition or %resource is SubscriptionStatus or %resource is SubscriptionTopic)
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

 

Other representations of profile: CSV, Excel, Schematron