Generated Narrative: StructureDefinition ext-R5-ElementDefinition.pattern Name Flags Card. Type Description & Constraints <a href="StructureDefinition-ext-R5-ElementDefinition.pattern-definitions.html#Extension" title="Specifies a value that each occurrence of the element in the instance SHALL follow - that is, any value in the pattern must be found in the instance, if the element has a value. Other additional values may be found too. This is effectively constraint by example. #xA;#xA;When pattern[x] is used to constrain a primitive, it means that the value provided in the pattern[x] must match the instance value exactly.#xA;#xA;When an element within a pattern[x] is used to constrain an array, it means that each element provided in the pattern[x] must (recursively) match at least one element from the instance array.#xA;#xA;When pattern[x] is used to constrain a complex object, it means that each property in the pattern must be present in the complex object, and its value must recursively match -- i.e.,#xA;#xA;1. If primitive: it must match exactly the pattern value#xA;2. If a complex object: it must match (recursively) the pattern value#xA;3. If an array: it must match (recursively) the pattern value#xA;#xA;If a pattern[x] is declared on a repeating element, the pattern applies to all repetitions. If the desire is for a pattern to apply to only one element or a subset of elements, slicing must be used. See [Examples of Patterns](https://hl7.org/fhir/elementdefinition.html#pattern-examples) for examples of pattern usage and the effect it will have.">Extension 0..1 Extension(4.3.0) Value must have at least these property values #xD; Slices for extension 0..* Extension Extension Slice: Unordered, Closed by value:url #xD; extension:availableTime 0..* Extension Times the {item} is available #xD; Slices for extension 0..* Extension Extension Slice: Unordered, Closed by value:url #xD; extension:daysOfWeek 0..* Extension mon | tue | wed | thu | fri | sat | sun #xD; url 1..1 uri "daysOfWeek" #xD; value[x] 0..1 code mon | tue | wed | thu | fri | sat | sun Binding: DaysOfWeek (required): The purpose for which an extended contact detail should be used. #xD; extension:allDay 0..1 Extension Always available? i.e. 24 hour service #xD; url 1..1 uri "allDay" #xD; value[x] 0..1 boolean Always available? i.e. 24 hour service #xD; extension:availableStartTime 0..1 Extension Opening time of day (ignored if allDay = true) #xD; url 1..1 uri "availableStartTime" #xD; value[x] 0..1 time Opening time of day (ignored if allDay = true) #xD; extension:availableEndTime 0..1 Extension Closing time of day (ignored if allDay = true) #xD; url 1..1 uri "availableEndTime" #xD; value[x] 0..1 time Closing time of day (ignored if allDay = true) #xD; url 1..1 uri "availableTime" #xD; extension:notAvailableTime 0..* Extension Not available during this time due to provided reason #xD; Slices for extension 0..* Extension Extension Slice: Unordered, Closed by value:url #xD; extension:description 0..1 Extension Reason presented to the user explaining why time not available #xD; url 1..1 uri "description" #xD; value[x] 0..1 string Reason presented to the user explaining why time not available #xD; extension:during 0..1 Extension Service not available during this period #xD; url 1..1 uri "during" #xD; value[x] 0..1 Period Service not available during this period #xD; url 1..1 uri "notAvailableTime" #xD; extension:purpose 0..1 Extension The type of contact #xD; url 1..1 uri "purpose" #xD; value[x] 0..1 CodeableConcept The type of contact Binding: R5_contactentity_type_for_R4B (0.0.1-snapshot-2) (preferred): The purpose for which an extended contact detail should be used. #xD; extension:name 0..* Extension Name of an individual to contact #xD; url 1..1 uri "name" #xD; value[x] 0..1 HumanName Name of an individual to contact #xD; extension:telecom 0..* Extension Contact details (e.g.phone/fax/url) #xD; url 1..1 uri "telecom" #xD; value[x] 0..1 ContactPoint Contact details (e.g.phone/fax/url) #xD; extension:address 0..1 Extension Address for the contact #xD; url 1..1 uri "address" #xD; value[x] 0..1 Address Address for the contact #xD; extension:organization 0..1 Extension This contact detail is handled/monitored by a specific organization #xD; url 1..1 uri "organization" #xD; value[x] 0..1 Reference() This contact detail is handled/monitored by a specific organization #xD; extension:period 0..1 Extension Period that this contact was valid for usage #xD; url 1..1 uri "period" #xD; value[x] 0..1 Period Period that this contact was valid for usage #xD; extension:versionId 0..1 Extension Version specific identifier #xD; url 1..1 uri "versionId" #xD; value[x] 0..1 id Version specific identifier #xD; extension:lastUpdated 0..1 Extension When the resource version last changed #xD; url 1..1 uri "lastUpdated" #xD; value[x] 0..1 instant When the resource version last changed #xD; <a href="StructureDefinition-ext-R5-ElementDefinition.pattern-definitions.html#Extension.extension:source" title="Slice source: A uri that identifies the source system of the resource. This provides a minimal amount of [Provenance](https://hl7.org/fhir/p.html#) information that can be used to track or differentiate the source of information in the resource. The source may identify another FHIR server, document, message, database, etc.">extension:source 0..1 Extension Identifies where the resource comes from #xD; url 1..1 uri "source" #xD; <a href="StructureDefinition-ext-R5-ElementDefinition.pattern-definitions.html#Extension.extension:source.value[x]" title="A uri that identifies the source system of the resource. This provides a minimal amount of [Provenance](https://hl7.org/fhir/p.html#) information that can be used to track or differentiate the source of information in the resource. The source may identify another FHIR server, document, message, database, etc.">value[x] 0..1 uri Identifies where the resource comes from #xD; extension:profile 0..* Extension Profiles this resource claims to conform to #xD; url 1..1 uri "profile" #xD; value[x] 0..1 canonical() Profiles this resource claims to conform to #xD; extension:security 0..* Extension Security Labels applied to this resource #xD; url 1..1 uri "security" #xD; value[x] 0..1 Coding Security Labels applied to this resource Binding: R5_security_labels_for_R4B (0.0.1-snapshot-2) (extensible): Security Labels from the Healthcare Privacy and Security Classification System. #xD; extension:tag 0..* Extension Tags applied to this resource #xD; url 1..1 uri "tag" #xD; value[x] 0..1 Coding Tags applied to this resource Binding: R5_common_tags_for_R4B (0.0.1-snapshot-2) (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". #xD; extension:_datatype 0..1 (Complex) Data type name for ElementDefinition.pattern[x] from FHIR R5 URL: http://hl7.org/fhir/StructureDefinition/_datatype #xD; value[x] 1..1 string Value of extension #xD; url 1..1 uri "http://hl7.org/fhir/5.0/StructureDefinition/extension-ElementDefinition.pattern" #xD; <a href="StructureDefinition-ext-R5-ElementDefinition.pattern-definitions.html#Extension.value[x]" title="Specifies a value that each occurrence of the element in the instance SHALL follow - that is, any value in the pattern must be found in the instance, if the element has a value. Other additional values may be found too. This is effectively constraint by example. #xA;#xA;When pattern[x] is used to constrain a primitive, it means that the value provided in the pattern[x] must match the instance value exactly.#xA;#xA;When an element within a pattern[x] is used to constrain an array, it means that each element provided in the pattern[x] must (recursively) match at least one element from the instance array.#xA;#xA;When pattern[x] is used to constrain a complex object, it means that each property in the pattern must be present in the complex object, and its value must recursively match -- i.e.,#xA;#xA;1. If primitive: it must match exactly the pattern value#xA;2. If a complex object: it must match (recursively) the pattern value#xA;3. If an array: it must match (recursively) the pattern value#xA;#xA;If a pattern[x] is declared on a repeating element, the pattern applies to all repetitions. If the desire is for a pattern to apply to only one element or a subset of elements, slicing must be used. See [Examples of Patterns](https://hl7.org/fhir/elementdefinition.html#pattern-examples) for examples of pattern usage and the effect it will have.">value[x] 0..1 Value must have at least these property values #xD; valueBase64Binary base64Binary #xD; valueBoolean boolean #xD; valueCanonical canonical(Any) #xD; valueCode code #xD; valueDate date #xD; valueDateTime dateTime #xD; valueDecimal decimal #xD; valueId id #xD; valueInstant instant #xD; valueInteger integer #xD; valueMarkdown markdown #xD; valueOid oid #xD; 0)">valuePositiveInt positiveInt #xD; valueString string #xD; valueTime time #xD; = 0)">valueUnsignedInt unsignedInt #xD; valueUri uri #xD; valueUrl url #xD; valueUuid uuid #xD; valueAddress Address #xD; valueAge Age #xD; valueAnnotation Annotation #xD; valueAttachment Attachment #xD; valueCodeableConcept CodeableConcept #xD; valueCodeableReference CodeableReference #xD; valueCoding Coding #xD; valueContactPoint ContactPoint #xD; valueCount Count #xD; valueDistance Distance #xD; valueDuration Duration #xD; valueHumanName HumanName #xD; valueIdentifier Identifier #xD; valueMoney Money #xD; valuePeriod Period #xD; valueQuantity Quantity #xD; valueRange Range #xD; valueRatio Ratio #xD; valueRatioRange RatioRange #xD; valueReference Reference(Any) #xD; valueSampledData SampledData #xD; valueSignature Signature #xD; <span title="Base StructureDefinition for Timing Type: Specifies an event that may occur multiple times. Timing schedules are used to record when things are planned, expected or requested to occur. The most common usage is in dosage instructions for medications. They are also used when planning care of various kinds, and may be used for reporting the schedule to which past regular activities were carried out.">valueTiming Timing #xD; valueContactDetail ContactDetail #xD; valueDataRequirement DataRequirement #xD; valueExpression Expression #xD; valueParameterDefinition ParameterDefinition #xD; valueRelatedArtifact RelatedArtifact #xD; valueTriggerDefinition TriggerDefinition #xD; valueUsageContext UsageContext #xD; valueDosage Dosage #xD; Documentation for this format
Cross-version Extension for R5.ElementDefinition.pattern[x] for use in FHIR R4B
This cross-version extension represents ElementDefinition.pattern[x] from http://hl7.org/fhir/StructureDefinition/ElementDefinition|5.0.0 for use in FHIR R4B.
Value must have at least these property values
Specifies a value that each occurrence of the element in the instance SHALL follow - that is, any value in the pattern must be found in the instance, if the element has a value. Other additional values may be found too. This is effectively constraint by example. When pattern[x] is used to constrain a primitive, it means that the value provided in the pattern[x] must match the instance value exactly. When an element within a pattern[x] is used to constrain an array, it means that each element provided in the pattern[x] must (recursively) match at least one element from the instance array. When pattern[x] is used to constrain a complex object, it means that each property in the pattern must be present in the complex object, and its value must recursively match -- i.e., 1. If primitive: it must match exactly the pattern value 2. If a complex object: it must match (recursively) the pattern value 3. If an array: it must match (recursively) the pattern value If a pattern[x] is declared on a repeating element, the pattern applies to all repetitions. If the desire is for a pattern to apply to only one element or a subset of elements, slicing must be used. See [Examples of Patterns](https://hl7.org/fhir/elementdefinition.html#pattern-examples) for examples of pattern usage and the effect it will have.
`ElementDefinition.pattern[x]` maps to R4B `ElementDefinition.pattern[x]`. Type `Availability` has no mapping Type `ExtendedContactDetail` has no mapping Type `Meta` has no mapping So is mapped as SourceIsBroaderThanTarget.
All FHIR elements must have a @value or children unless an empty Parameters resource
hasValue() or (children().count() > id.count()) or $this is Parameters
Must have either extensions or value[x], not both
exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Extensions are always sliced by (at least) url
All FHIR elements must have a @value or children
hasValue() or (children().count() > id.count())
exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
Additional content defined by implementations
May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
Source of the definition for the extension code - a logical name or a URL.
The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.
The purpose for which an extended contact detail should be used.
Opening time of day (ignored if allDay = true)
Closing time of day (ignored if allDay = true)
Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4B/extensibility.html) for a list).
Not available during this time due to provided reason
Reason presented to the user explaining why time not available
Service not available during this period
The name of an individual to contact, some types of contact detail are usually blank.
The contact details application for the purpose defined.
This contact detail is handled/monitored by a specific organization
This contact detail is handled/monitored by a specific organization. If the name is provided in the contact, then it is referring to the named individual within this organization.
Period that this contact was valid for usage
The version specific identifier, as it appears in the version portion of the URL. This value changes when the resource is created, updated, or deleted.
When the resource last changed - e.g. when the version changed.
Identifies where the resource comes from
A uri that identifies the source system of the resource. This provides a minimal amount of [Provenance](https://hl7.org/fhir/p.html#) information that can be used to track or differentiate the source of information in the resource. The source may identify another FHIR server, document, message, database, etc.
Profiles this resource claims to conform to
A list of profiles (references to [StructureDefinition](https://hl7.org/fhir/s.html#) resources) that this resource claims to conform to. The URL is a reference to [StructureDefinition.url](https://hl7.org/fhir/structuredefinition-defi.html#StructureDefinition.url).
Security Labels applied to this resource
Security labels applied to this resource. These tags connect specific resources to the overall security policy and infrastructure.
Security Labels from the Healthcare Privacy and Security Classification System.
Tags applied to this resource. Tags are intended to be used to identify and relate resources to process and workflow, and applications are not required to consider the tags when interpreting the meaning of a resource.
Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
Data type name for ElementDefinition.pattern[x] from FHIR R5
Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).
Must be: Availability|ExtendedContactDetail|Meta|integer64