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: Location

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

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 Location

NameFlagsCard.TypeDescription & Constraintsdoco
.. Location 0..*LocationDetails and position information for a physical place
... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... defaultCostCenter 0..1Reference(Library)Extension
URL: https://ancode.app/fhir/StructureDefinition/DefaultCostCenter
... notifyMinimumStock 0..1booleanExtension
URL: https://ancode.app/fhir/StructureDefinition/NotifyMinimumStock
... operationalStatus 0..1CodingThe operational status of the location (typically only for a bed/room)
Binding: hl7VS-bedStatus (required)
... name 1..1stringName of the location as used by humans
... type 0..*CodeableConceptType of function performed
Binding: ServiceDeliveryLocationRoleType (required)
... telecom 0..*ContactPointDetails of a Technology mediated contact point (phone, fax, email, etc.)
... address 0..1AddressAn address expressed using postal conventions (as opposed to GPS or other location definition formats)
... physicalType 0..1CodeableConceptPhysical form of the location
Binding: PhysicalType (required)
... managingOrganization 1..1Reference(Organization)Organization responsible for provisioning and upkeep

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSet
Location.operationalStatusrequiredHl7VSBedStatus
Location.typerequiredServiceDeliveryLocationRoleType
Location.physicalTyperequiredPhysicalType
NameFlagsCard.TypeDescription & Constraintsdoco
.. Location 0..*LocationDetails and position information for a physical place
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... defaultCostCenter 0..1Reference(Library)Extension
URL: https://ancode.app/fhir/StructureDefinition/DefaultCostCenter
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... status ?!Σ1..1codeactive | suspended | inactive
Binding: LocationStatus (required): Indicates whether the location is still in use.

... operationalStatus Σ0..1CodingThe operational status of the location (typically only for a bed/room)
Binding: hl7VS-bedStatus (required)
... name Σ1..1stringName of the location as used by humans
... type Σ0..*CodeableConceptType of function performed
Binding: ServiceDeliveryLocationRoleType (required)
... telecom C0..*ContactPointDetails of a Technology mediated contact point (phone, fax, email, etc.)
... address 0..1AddressAn address expressed using postal conventions (as opposed to GPS or other location definition formats)
... physicalType Σ0..1CodeableConceptPhysical form of the location
Binding: PhysicalType (required)
... managingOrganization Σ1..1Reference(Organization)Organization responsible for provisioning and upkeep

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
Location.statusrequiredLocationStatus
Location.operationalStatusrequiredHl7VSBedStatus
Location.typerequiredServiceDeliveryLocationRoleType
Location.physicalTyperequiredPhysicalType

Constraints

IdGradePath(s)DetailsRequirements
cpt-2errorLocation.telecomA system is required if a value is provided.
: value.empty() or system.exists()
dom-2errorLocationIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorLocationIf 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-4errorLocationIf 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-5errorLocationIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceLocationA 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
.. Location 0..*LocationDetails and position information for a physical place
... 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
... language 0..1codeLanguage of the resource content
Binding: CommonLanguages (preferred): IETF language tag

Additional BindingsPurpose
AllLanguagesMax Binding
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... defaultCostCenter 0..1Reference(Library)Extension
URL: https://ancode.app/fhir/StructureDefinition/DefaultCostCenter
... notifyMinimumStock 0..1booleanOptional Extensions Element
URL: https://ancode.app/fhir/StructureDefinition/NotifyMinimumStock
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier Σ0..*IdentifierUnique code or number identifying the location to its users
... status ?!Σ1..1codeactive | suspended | inactive
Binding: LocationStatus (required): Indicates whether the location is still in use.

... operationalStatus Σ0..1CodingThe operational status of the location (typically only for a bed/room)
Binding: hl7VS-bedStatus (required)
... name Σ1..1stringName of the location as used by humans
... alias 0..*stringA list of alternate names that the location is known as, or was known as, in the past
... description Σ0..1stringAdditional details about the location that could be displayed as further information to identify the location beyond its name
... mode Σ0..1codeinstance | kind
Binding: LocationMode (required): Indicates whether a resource instance represents a specific location or a class of locations.

... type Σ0..*CodeableConceptType of function performed
Binding: ServiceDeliveryLocationRoleType (required)
... telecom C0..*ContactPointDetails of a Technology mediated contact point (phone, fax, email, etc.)
... address 0..1AddressAn address expressed using postal conventions (as opposed to GPS or other location definition formats)
... physicalType Σ0..1CodeableConceptPhysical form of the location
Binding: PhysicalType (required)
... position 0..1BackboneElementThe absolute geographic location
.... 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
.... longitude 1..1decimalLongitude with WGS84 datum
.... latitude 1..1decimalLatitude with WGS84 datum
.... altitude 0..1decimalAltitude with WGS84 datum
... managingOrganization Σ1..1Reference(Organization)Organization responsible for provisioning and upkeep
... partOf 0..1Reference(Location)Another Location this one is physically a part of
... hoursOfOperation 0..*BackboneElementWhat days/times during a week is this location usually open
.... 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
.... daysOfWeek 0..*codemon | tue | wed | thu | fri | sat | sun
Binding: DaysOfWeek (required): The days of the week.


.... allDay 0..1booleanThe Location is open all day
.... openingTime 0..1timeTime that the Location opens
.... closingTime 0..1timeTime that the Location closes
... availabilityExceptions 0..1stringDescription of availability exceptions
... endpoint 0..*Reference(Endpoint)Technical endpoints providing access to services operated for the location

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
Location.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
Location.statusrequiredLocationStatus
Location.operationalStatusrequiredHl7VSBedStatus
Location.moderequiredLocationMode
Location.typerequiredServiceDeliveryLocationRoleType
Location.physicalTyperequiredPhysicalType
Location.hoursOfOperation.daysOfWeekrequiredDaysOfWeek

Constraints

IdGradePath(s)DetailsRequirements
cpt-2errorLocation.telecomA system is required if a value is provided.
: value.empty() or system.exists()
dom-r4bwarningLocation.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()

This structure is derived from Location

Differential View

This structure is derived from Location

NameFlagsCard.TypeDescription & Constraintsdoco
.. Location 0..*LocationDetails and position information for a physical place
... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... defaultCostCenter 0..1Reference(Library)Extension
URL: https://ancode.app/fhir/StructureDefinition/DefaultCostCenter
... notifyMinimumStock 0..1booleanExtension
URL: https://ancode.app/fhir/StructureDefinition/NotifyMinimumStock
... operationalStatus 0..1CodingThe operational status of the location (typically only for a bed/room)
Binding: hl7VS-bedStatus (required)
... name 1..1stringName of the location as used by humans
... type 0..*CodeableConceptType of function performed
Binding: ServiceDeliveryLocationRoleType (required)
... telecom 0..*ContactPointDetails of a Technology mediated contact point (phone, fax, email, etc.)
... address 0..1AddressAn address expressed using postal conventions (as opposed to GPS or other location definition formats)
... physicalType 0..1CodeableConceptPhysical form of the location
Binding: PhysicalType (required)
... managingOrganization 1..1Reference(Organization)Organization responsible for provisioning and upkeep

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSet
Location.operationalStatusrequiredHl7VSBedStatus
Location.typerequiredServiceDeliveryLocationRoleType
Location.physicalTyperequiredPhysicalType

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Location 0..*LocationDetails and position information for a physical place
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... defaultCostCenter 0..1Reference(Library)Extension
URL: https://ancode.app/fhir/StructureDefinition/DefaultCostCenter
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... status ?!Σ1..1codeactive | suspended | inactive
Binding: LocationStatus (required): Indicates whether the location is still in use.

... operationalStatus Σ0..1CodingThe operational status of the location (typically only for a bed/room)
Binding: hl7VS-bedStatus (required)
... name Σ1..1stringName of the location as used by humans
... type Σ0..*CodeableConceptType of function performed
Binding: ServiceDeliveryLocationRoleType (required)
... telecom C0..*ContactPointDetails of a Technology mediated contact point (phone, fax, email, etc.)
... address 0..1AddressAn address expressed using postal conventions (as opposed to GPS or other location definition formats)
... physicalType Σ0..1CodeableConceptPhysical form of the location
Binding: PhysicalType (required)
... managingOrganization Σ1..1Reference(Organization)Organization responsible for provisioning and upkeep

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
Location.statusrequiredLocationStatus
Location.operationalStatusrequiredHl7VSBedStatus
Location.typerequiredServiceDeliveryLocationRoleType
Location.physicalTyperequiredPhysicalType

Constraints

IdGradePath(s)DetailsRequirements
cpt-2errorLocation.telecomA system is required if a value is provided.
: value.empty() or system.exists()
dom-2errorLocationIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorLocationIf 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-4errorLocationIf 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-5errorLocationIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceLocationA 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
.. Location 0..*LocationDetails and position information for a physical place
... 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
... language 0..1codeLanguage of the resource content
Binding: CommonLanguages (preferred): IETF language tag

Additional BindingsPurpose
AllLanguagesMax Binding
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... defaultCostCenter 0..1Reference(Library)Extension
URL: https://ancode.app/fhir/StructureDefinition/DefaultCostCenter
... notifyMinimumStock 0..1booleanOptional Extensions Element
URL: https://ancode.app/fhir/StructureDefinition/NotifyMinimumStock
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier Σ0..*IdentifierUnique code or number identifying the location to its users
... status ?!Σ1..1codeactive | suspended | inactive
Binding: LocationStatus (required): Indicates whether the location is still in use.

... operationalStatus Σ0..1CodingThe operational status of the location (typically only for a bed/room)
Binding: hl7VS-bedStatus (required)
... name Σ1..1stringName of the location as used by humans
... alias 0..*stringA list of alternate names that the location is known as, or was known as, in the past
... description Σ0..1stringAdditional details about the location that could be displayed as further information to identify the location beyond its name
... mode Σ0..1codeinstance | kind
Binding: LocationMode (required): Indicates whether a resource instance represents a specific location or a class of locations.

... type Σ0..*CodeableConceptType of function performed
Binding: ServiceDeliveryLocationRoleType (required)
... telecom C0..*ContactPointDetails of a Technology mediated contact point (phone, fax, email, etc.)
... address 0..1AddressAn address expressed using postal conventions (as opposed to GPS or other location definition formats)
... physicalType Σ0..1CodeableConceptPhysical form of the location
Binding: PhysicalType (required)
... position 0..1BackboneElementThe absolute geographic location
.... 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
.... longitude 1..1decimalLongitude with WGS84 datum
.... latitude 1..1decimalLatitude with WGS84 datum
.... altitude 0..1decimalAltitude with WGS84 datum
... managingOrganization Σ1..1Reference(Organization)Organization responsible for provisioning and upkeep
... partOf 0..1Reference(Location)Another Location this one is physically a part of
... hoursOfOperation 0..*BackboneElementWhat days/times during a week is this location usually open
.... 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
.... daysOfWeek 0..*codemon | tue | wed | thu | fri | sat | sun
Binding: DaysOfWeek (required): The days of the week.


.... allDay 0..1booleanThe Location is open all day
.... openingTime 0..1timeTime that the Location opens
.... closingTime 0..1timeTime that the Location closes
... availabilityExceptions 0..1stringDescription of availability exceptions
... endpoint 0..*Reference(Endpoint)Technical endpoints providing access to services operated for the location

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
Location.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
Location.statusrequiredLocationStatus
Location.operationalStatusrequiredHl7VSBedStatus
Location.moderequiredLocationMode
Location.typerequiredServiceDeliveryLocationRoleType
Location.physicalTyperequiredPhysicalType
Location.hoursOfOperation.daysOfWeekrequiredDaysOfWeek

Constraints

IdGradePath(s)DetailsRequirements
cpt-2errorLocation.telecomA system is required if a value is provided.
: value.empty() or system.exists()
dom-r4bwarningLocation.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()

This structure is derived from Location

 

Other representations of profile: CSV, Excel, Schematron