Release 5 Draft Ballot

This is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions

Extension: Attester

FHIR Infrastructure Work Group Maturity Level: 1InformativeUse Context: Any

URL for this extension:

http://hl7.org/fhir/StructureDefinition/questionnaireresponse-attester

Status: draft. Extension maintained by: HL7

Allows capturing the individual(s) who attest to the accuracy of the information within the QuestionnaireResponse

Comment:

Multiple atttestations are possible - potentially of different types

Context of Use: Use on Element ID QuestionnaireResponse

Extension Content

Summary

NameFlagsCard.TypeDescription & Constraintsdoco
.. Attester0..*ExtensionURL = http://hl7.org/fhir/StructureDefinition/questionnaireresponse-attester
Attester: Allows capturing the individual(s) who attest to the accuracy of the information within the QuestionnaireResponse


Use on Element ID QuestionnaireResponse
... mode1..1codeAn Extension

... time0..1dateTimeAn Extension

... party0..1Reference(Practitioner | PractitionerRole | Device | Patient | RelatedPerson | Organization)An Extension


doco Documentation for this format

Full Structure

NameFlagsCard.TypeDescription & Constraintsdoco
.. extension0..*ExtensionURL = http://hl7.org/fhir/StructureDefinition/questionnaireresponse-attester
Attester: Allows capturing the individual(s) who attest to the accuracy of the information within the QuestionnaireResponse


Use on Element ID QuestionnaireResponse
... Slices for extension 1..*ExtensionExtension
Slice: Unordered, Open by value:url
... extension:mode 1..1ExtensionExtension
.... id 0..1stringUnique id for inter-element referencing
.... Slices for extension 0..0
.... url 1..1uri"mode"
.... value[x] 1..1codeValue of extension
Binding: CompositionAttestationMode (required)
... extension:time 0..1ExtensionExtension
.... id 0..1stringUnique id for inter-element referencing
.... Slices for extension 0..0
.... url 1..1uri"time"
.... value[x] 1..1dateTimeValue of extension
.... id 0..1stringUnique id for inter-element referencing
.... Slices for extension 0..0
.... url 1..1uri"party"
.... value[x] 1..1Reference(Practitioner | PractitionerRole | Device | Patient | RelatedPerson | Organization)Value of extension
... url 1..1uri"http://hl7.org/fhir/StructureDefinition/questionnaireresponse-attester"
... value[x] 0..0
.... valueBase64Binarybase64Binary
.... valueBooleanboolean
.... valueCanonicalcanonical(Any)
.... valueCodecode
.... valueDatedate
.... valueDateTimedateTime
.... valueDecimaldecimal
.... valueIdid
.... valueInstantinstant
.... valueIntegerinteger
.... valueInteger64integer64
.... 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

XML Template

<!-- Attester -->doco

<extension xmlns="http://hl7.org/fhir"
     url="http://hl7.org/fhir/StructureDefinition/questionnaireresponse-attester" >
 <-- extension sliced by value:url  in the specified orderOpen-->
 <extension url="mode"> ?? 1..1 Extension  <!-- ?? 1..1 Extension -->
  <valueCode value="[code]"/><!-- ?? 1..1 Value of extension -->
 </extension>
 <extension url="time"> ?? 0..1 Extension  <!-- ?? 0..1 Extension -->
  <valueDateTime value="[dateTime]"/><!-- ?? 1..1 Value of extension -->
 </extension>
 <extension url="party"> ?? 0..1 Extension  <!-- ?? 0..1 Extension -->
  <valueReference><!-- ?? 1..1 Reference(Practitioner) Value of extension --></valueReference>
 </extension>
</extension>

JSON Template

{ // Attester
    "extension" : [ //  sliced by value:url  in the specified order, Open 
      { // Extension // C? R! 
        // from Element: extension
        "extension" : [ //  sliced by value:url  in the specified order, Open ]
        "url" : "mode", // R! 
        "valueCode" : "<code>" // C? R! Value of extension
      },
      { // Extension // C?
        // from Element: extension
        "extension" : [ //  sliced by value:url  in the specified order, Open ]
        "url" : "time", // R! 
        "valueDateTime" : "<dateTime>" // C? R! Value of extension
      },
      { // Extension // C?
        // from Element: extension
        "extension" : [ //  sliced by value:url  in the specified order, Open ]
        "url" : "party", // R! 
        "valueReference" : { Reference(Practitioner) } // C? R! Value of extension
      }
    ],
    "url" : "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-attester", // R! 
// value[x]: Value of extension. One of these 51:
  }

Summary

NameFlagsCard.TypeDescription & Constraintsdoco
.. Attester0..*ExtensionURL = http://hl7.org/fhir/StructureDefinition/questionnaireresponse-attester
Attester: Allows capturing the individual(s) who attest to the accuracy of the information within the QuestionnaireResponse


Use on Element ID QuestionnaireResponse
... mode1..1codeAn Extension

... time0..1dateTimeAn Extension

... party0..1Reference(Practitioner | PractitionerRole | Device | Patient | RelatedPerson | Organization)An Extension


doco Documentation for this format

Full Structure

NameFlagsCard.TypeDescription & Constraintsdoco
.. extension0..*ExtensionURL = http://hl7.org/fhir/StructureDefinition/questionnaireresponse-attester
Attester: Allows capturing the individual(s) who attest to the accuracy of the information within the QuestionnaireResponse


Use on Element ID QuestionnaireResponse
... Slices for extension 1..*ExtensionExtension
Slice: Unordered, Open by value:url
... extension:mode 1..1ExtensionExtension
.... id 0..1stringUnique id for inter-element referencing
.... Slices for extension 0..0
.... url 1..1uri"mode"
.... value[x] 1..1codeValue of extension
Binding: CompositionAttestationMode (required)
... extension:time 0..1ExtensionExtension
.... id 0..1stringUnique id for inter-element referencing
.... Slices for extension 0..0
.... url 1..1uri"time"
.... value[x] 1..1dateTimeValue of extension
.... id 0..1stringUnique id for inter-element referencing
.... Slices for extension 0..0
.... url 1..1uri"party"
.... value[x] 1..1Reference(Practitioner | PractitionerRole | Device | Patient | RelatedPerson | Organization)Value of extension
... url 1..1uri"http://hl7.org/fhir/StructureDefinition/questionnaireresponse-attester"
... value[x] 0..0
.... valueBase64Binarybase64Binary
.... valueBooleanboolean
.... valueCanonicalcanonical(Any)
.... valueCodecode
.... valueDatedate
.... valueDateTimedateTime
.... valueDecimaldecimal
.... valueIdid
.... valueInstantinstant
.... valueIntegerinteger
.... valueInteger64integer64
.... 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

XML Template

<!-- Attester -->doco

<extension xmlns="http://hl7.org/fhir"
     url="http://hl7.org/fhir/StructureDefinition/questionnaireresponse-attester" >
 <-- extension sliced by value:url  in the specified orderOpen-->
 <extension url="mode"> ?? 1..1 Extension  <!-- ?? 1..1 Extension -->
  <valueCode value="[code]"/><!-- ?? 1..1 Value of extension -->
 </extension>
 <extension url="time"> ?? 0..1 Extension  <!-- ?? 0..1 Extension -->
  <valueDateTime value="[dateTime]"/><!-- ?? 1..1 Value of extension -->
 </extension>
 <extension url="party"> ?? 0..1 Extension  <!-- ?? 0..1 Extension -->
  <valueReference><!-- ?? 1..1 Reference(Practitioner) Value of extension --></valueReference>
 </extension>
</extension>

JSON Template

{ // Attester
    "extension" : [ //  sliced by value:url  in the specified order, Open 
      { // Extension // C? R! 
        // from Element: extension
        "extension" : [ //  sliced by value:url  in the specified order, Open ]
        "url" : "mode", // R! 
        "valueCode" : "<code>" // C? R! Value of extension
      },
      { // Extension // C?
        // from Element: extension
        "extension" : [ //  sliced by value:url  in the specified order, Open ]
        "url" : "time", // R! 
        "valueDateTime" : "<dateTime>" // C? R! Value of extension
      },
      { // Extension // C?
        // from Element: extension
        "extension" : [ //  sliced by value:url  in the specified order, Open ]
        "url" : "party", // R! 
        "valueReference" : { Reference(Practitioner) } // C? R! Value of extension
      }
    ],
    "url" : "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-attester", // R! 
// value[x]: Value of extension. One of these 51:
  }

 

Constraints

  • ele-1: All FHIR elements must have a @value or children (xpath: @value|f:*|h:div)
  • ext-1: Must have either extensions or value[x], not both (xpath: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')]))
  • ele-1: On Extension.extension: All FHIR elements must have a @value or children (xpath on Extension.extension: @value|f:*|h:div)
  • ext-1: On Extension.extension: Must have either extensions or value[x], not both (xpath on Extension.extension: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")]))
  • ele-1: On Extension.extension: All FHIR elements must have a @value or children (xpath on Extension.extension: @value|f:*|h:div)
  • ext-1: On Extension.extension: Must have either extensions or value[x], not both (xpath on Extension.extension: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")]))
  • ele-1: On Extension.extension.extension: All FHIR elements must have a @value or children (xpath on Extension.extension.extension: @value|f:*|h:div)
  • ext-1: On Extension.extension.extension: Must have either extensions or value[x], not both (xpath on Extension.extension.extension: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")]))
  • ele-1: On Extension.extension.value[x]: All FHIR elements must have a @value or children (xpath on Extension.extension.value[x]: @value|f:*|h:div)
  • ele-1: On Extension.extension: All FHIR elements must have a @value or children (xpath on Extension.extension: @value|f:*|h:div)
  • ext-1: On Extension.extension: Must have either extensions or value[x], not both (xpath on Extension.extension: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")]))
  • ele-1: On Extension.extension.extension: All FHIR elements must have a @value or children (xpath on Extension.extension.extension: @value|f:*|h:div)
  • ext-1: On Extension.extension.extension: Must have either extensions or value[x], not both (xpath on Extension.extension.extension: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")]))
  • ele-1: On Extension.extension.value[x]: All FHIR elements must have a @value or children (xpath on Extension.extension.value[x]: @value|f:*|h:div)
  • ele-1: On Extension.extension: All FHIR elements must have a @value or children (xpath on Extension.extension: @value|f:*|h:div)
  • ext-1: On Extension.extension: Must have either extensions or value[x], not both (xpath on Extension.extension: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")]))
  • ele-1: On Extension.extension.extension: All FHIR elements must have a @value or children (xpath on Extension.extension.extension: @value|f:*|h:div)
  • ext-1: On Extension.extension.extension: Must have either extensions or value[x], not both (xpath on Extension.extension.extension: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")]))
  • ele-1: On Extension.extension.value[x]: All FHIR elements must have a @value or children (xpath on Extension.extension.value[x]: @value|f:*|h:div)
  • ele-1: On Extension.value[x]: All FHIR elements must have a @value or children (xpath on Extension.value[x]: @value|f:*|h:div)