Release 4 R5 Final QA

This page is part of the FHIR Specification (v4.0.1: R4 (v5.0.0-draft-final: Final QA Preview for R5 - Mixed Normative and STU see ballot notes ) in it's permanent home (it will always be available at this URL). ). The current version which supercedes this version is 5.0.0 . For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3 R2

Extension: maxSize
FHIR Infrastructure Orders and Observations icon Work Group   Maturity Level : 1 N/A Standards Status : Informative Use Context Security Category : Any Patient Compartments : Device , Encounter , Patient , Practitioner , RelatedPerson

URL for this extension: Mappings:

For attachment answers, indicates the maximum size an attachment can be. Comment : This extension only has meaning if the element has a type of Attachment.

Context of Use: Use on Element ID Questionnaire.item or Element ID ElementDefinition Mappings for the servicerequest resource (see Mappings to Other Standards for further information & status).

Extension Content
Summary ServiceRequest Full Structure
    identifier FiveWs.identifier
    status FiveWs.status
    intent FiveWs.class
    category FiveWs.class
    priority FiveWs.grade
    code FiveWs.what[x]
    subject FiveWs.subject[x]
    focus FiveWs.subject[x]
    encounter FiveWs.context
    occurrence[x] FiveWs.planned
    authoredOn FiveWs.recorded
    requester FiveWs.author
    performerType FiveWs.actor
    performer FiveWs.actor
    location FiveWs.actor
    reason FiveWs.why[x]
All Name Flags Card. Type Description & Constraints maxSize 0..1 decimal URL = http://hl7.org/fhir/StructureDefinition/maxSize maxSize: For attachment answers, indicates the maximum size an attachment can be. Use on Element ID Questionnaire.item or Element ID ElementDefinition Documentation for this format Full Structure Name Flags Card.
Summary ServiceRequest Request
    identifier Request.identifier
    instantiatesCanonical Request.instantiatesCanonical
    instantiatesUri Request.instantiatesUri
    basedOn Request.basedOn
    replaces Request.replaces
    requisition Request.groupIdentifier
    status Request.status
    intent Request.intent
    priority Request.priority
    doNotPerform Request.doNotPerform
    code Request.code
    subject Request.subject
    encounter Request.encounter
    occurrence[x] Request.occurrence[x]
    authoredOn Request.authoredOn
    requester Request.requester
    performerType Request.performerType
    performer Request.performer
    reason Request.reason
    insurance Request.insurance
    supportingInfo Request.supportingInfo
    note Request.note
    relevantHistory Request.relevantHistory
extension 0..1 Extension URL = http://hl7.org/fhir/StructureDefinition/maxSize maxSize: For attachment answers, indicates the maximum size an attachment can be. Use on Element ID Questionnaire.item extension I 0..0 url 1..1 value[x] 1..1 decimal Value of extension Documentation for this format XML Template <!-- maxSize --> < xmlns="http://hl7.org/fhir" url="" > <!-- from Element: < </extension> JSON Template { // // from Element: " ] " " } Summary Name Flags Card.
ServiceRequest ORC
    identifier ORC-2, ORC-3, RF1-6 / RF1-11,
    instantiatesCanonical Varies by domain
    instantiatesUri Varies by domain
    basedOn ORC-8 (plus others)
    replaces Handled by message location of ORC (ORC-1=RO or Element ID ElementDefinition RU)
    requisition ORC-4
    status ORC-5,RF1-1
    intent N/A
    category RF1-5
    priority TQ1.9, RF1-2
    doNotPerform
    code PR1-3 / OBR-4 (varies by domain)
    orderDetail NTE
        parameterFocus
        parameter uri
            code "http://hl7.org/fhir/StructureDefinition/maxSize"
            value[x]
    quantity[x] NTE
    subject PID
    focus I
    encounter PV1
    occurrence[x] TQ1/TQ2, OBR-7/OBR-8
    asNeeded[x]
    authoredOn ORC-9, RF1-7 / RF1-9
    requester ORC-12, PRT
    performerType PRT, RF1-3
    performer PRT, Practitioner: PRD-2/PRD-7 where PRD-3 = RT; Organization: PRD-10 where PRD-3 = RT
    location
    reason ORC-16, RF1-10
    insurance IN1/IN2
    supportingInfo Accompanying segments
    specimen SPM
    bodySite SPM
    bodyStructure SPM
    note NTE
    patientInstruction NTE
        instruction[x] NTE
    relevantHistory N/A
maxSize 0..1 decimal URL Use on Element ID Questionnaire.item or Element ID ElementDefinition Documentation for this format Full Structure Name Flags Card.
ServiceRequest Act[moodCode<=INT]
    identifier .identifier
    instantiatesCanonical .outboundRelationship[typeCode=DEFN].target
    instantiatesUri .outboundRelationship[typeCode=DEFN].target
    basedOn .outboundRelationship[typeCode=FLFS].target
    replaces .outboundRelationship[typeCode=RPLC].target
    requisition .inboundRelationship(typeCode=COMP].source[moodCode=INT].identifier
    status .status
    intent .moodCode (nuances beyond PRP/PLAN/RQO would need to be elsewhere)
    category .outboundRelationship[typeCode="COMP].target[classCode="LIST", moodCode="INT"].code
    priority .priorityCode
    doNotPerform .actionNegationInd
    code .code
    quantity[x] .quantity
    subject .participation[typeCode=SBJ].role
    focus participation[typeCode=SBJ]
    encounter .inboundRelationship(typeCode=COMP].source[classCode<=PCPR, moodCode=EVN]
    occurrence[x] .effectiveTime
    asNeeded[x] boolean: precondition.negationInd (inversed - so negationInd = http://hl7.org/fhir/StructureDefinition/maxSize maxSize: For attachment answers, indicates the maximum size an attachment can be. true means asNeeded=false CodeableConcept: precondition.observationEventCriterion[code="Assertion"].value
    authoredOn .participation[typeCode=AUT].time
    requester .participation[typeCode=AUT].role
    performerType .participation[typeCode=PRF].role[scoper.determinerCode=KIND].code
    performer .participation[typeCode=PRF].role[scoper.determinerCode=INSTANCE]
    location .participation[typeCode=LOC].role[scoper.determinerCode=KIND].code
    reason .reasonCode
    insurance .outboundRelationship[typeCode=COVBY].target
    supportingInfo .outboundRelationship[typeCode=PERT].target
    specimen .participation[typeCode=SPC].role
    bodySite targetSiteCode
    bodyStructure targetSiteCode
    note .inboundRelationship(typeCode=SUBJ].source[classCode=ANNGEN, moodCode=EVN].value[xsi:type=ST]
    patientInstruction .text
        instruction[x] .text
    relevantHistory .inboundRelationship(typeCode=SUBJ].source[classCode=CACT, moodCode=EVN]
extension 0..1 Extension URL = http://hl7.org/fhir/StructureDefinition/maxSize maxSize: For attachment answers, indicates the maximum size an attachment can be. extension I 0..0 url 1..1 uri "http://hl7.org/fhir/StructureDefinition/maxSize" value[x] I 1..1 Value of extension Documentation for this format XML Template <!-- maxSize --> < xmlns="http://hl7.org/fhir" url="" > <!-- from Element: < </extension> JSON Template { // // from Element: " ] " " }   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')]) ) 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")]) )
ServiceRequest
    identifier ClinicalStatement.identifier
    instantiatesCanonical
    instantiatesUri
    basedOn Use on Element ID Questionnaire.item or Element ID ElementDefinition
    replaces
    requisition
    status Action.currentStatus
    intent
    category
    priority
    doNotPerform
    code Procedure.procedureCode
    orderDetail
        parameterFocus
        parameter
            code
            value[x]
    quantity[x] decimal
    subject ClinicalStatement.subject
    focus
    encounter ClinicalStatement.encounter
    occurrence[x] Procedure.procedureSchedule
    asNeeded[x] Proposal.prnReason.reason
    authoredOn Proposal.proposedAtTime
    requester ClinicalStatement.statementAuthor
    performerType ele-1 : On Extension.extension: All FHIR elements must have a @value or children (xpath on Extension.extension: @value|f:*|h:div )
    performer ele-1 : On Extension.value[x]: All FHIR elements must have a @value or children (xpath on Extension.value[x]: @value|f:*|h:div )
    location
    reason
    insurance
    supportingInfo
    specimen
    bodySite Procedure.targetBodySite
    bodyStructure Procedure.targetBodyStructure
    note ClinicalStatement.additionalText
    patientInstruction
        instruction[x]
    relevantHistory