DSTU2 Ballot Source

This page is part of the FHIR Specification (v0.5.0: DSTU 2 Ballot 2). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions

4.20.17.8 StructureDefinition: DAFResultObsRatio

The official URL for this profile is:

http://hl7.org/fhir/StructureDefinition/observation-daf-results-dafresultobsratio

US Realm DAF laboratory result using Ratio Data Type for numeric results

This profile was published on Mon, Nov 17, 2014 00:00+1100 as a draft by U.S. Office of the National Coordinator (ONC).

4.20.17.8.1 Formal Views of Profile Content

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

This structure is derived from Observation.

NameFlagsCard.TypeDescription & Constraintsdoco
.. Observation 1..1ObservationUS Realm DAF laboratory result using Ratio Data Type for numeric results
... code S1..1CodeableConceptUS Realm Laboratory Test Name
Binding: USLabObservationName (extensible)
.... coding S1..*Coding
..... system S1..1uri
..... code S1..1code
..... display S0..1string
.... text S0..1stringDisplay text
... valueRatio S0..1Titre value
.... numerator S0..1Quantity
.... denominator S0..1Quantity
... dataAbsentReason S0..1CodeableConcept
... interpretation S0..1CodeableConceptBinding: USLabObsInterpretation (required)
.... coding S1..*Coding
..... code S1..1code
..... system S1..1uri
... applies[x] S I0..1dateTime, PeriodFor lab tests this is the specimen collection date. For Ask at Order Entry Questions (AOE)'s this is the date the question was asked.
inv-1: Datetime must be at least to day.
... issued S0..1instant
... status S1..1code
... bodySite[x] 0..0
... identifier S1..*Identifier
.... use S1..1code
.... system S1..1uri
.... value S1..1string
... subject S1..1patient-daf-dafpatient
... performer 0..*pract-daf-dafpract, org-daf-daforganization, patient-daf-dafpatient, relatedperson-daf-dafrelatedperson
... encounter S1..1encounter-daf-dafencounter
... referenceRange S0..1
.... text S0..1string
... related 0..0
NameFlagsCard.TypeDescription & Constraintsdoco
.. Observation I1..1ObservationUS Realm DAF laboratory result using Ratio Data Type for numeric results
obs-6: Shall only be present if Observation.value[x] is not present
... 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: Language (required)
... text I0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional Content defined by implementations
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... code S Σ1..1CodeableConceptUS Realm Laboratory Test Name
Binding: USLabObservationName (extensible)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... coding S1..*CodingCode defined by a terminology system
..... extension 0..*ExtensionAdditional Content defined by implementations
..... system S1..1uriIdentity of the terminology system
..... version 0..1stringVersion of the system - if relevant
..... code S1..1codeSymbol in syntax defined by the system
..... display S0..1stringRepresentation defined by the system
..... primary 0..1booleanIf this code was chosen directly by the user
.... text S0..1stringDisplay text
... value[x] S Σ0..1Quantity, CodeableConcept, string, Range, Ratio, SampledData, Attachment, time, dateTime, PeriodTitre value
Binding: ObservationValue (example)
... dataAbsentReason S I0..1CodeableConceptWhy the result is missing
Binding: ObservationValueAbsentReason (extensible)
... interpretation S0..1CodeableConceptHigh, low, normal, etc.
Binding: USLabObsInterpretation (required)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... coding S1..*CodingCode defined by a terminology system
..... extension 0..*ExtensionAdditional Content defined by implementations
..... system S1..1uriIdentity of the terminology system
..... version 0..1stringVersion of the system - if relevant
..... code 0..1codeSymbol in syntax defined by the system
..... display 0..1stringRepresentation defined by the system
..... primary 0..1booleanIf this code was chosen directly by the user
.... text 0..1stringPlain text representation of the concept
... comments 0..1stringComments about result
... applies[x] S ΣI0..1dateTime, PeriodFor lab tests this is the specimen collection date. For Ask at Order Entry Questions (AOE)'s this is the date the question was asked.
inv-1: Datetime must be at least to day.
... issued S Σ0..1instantDate/Time this was made available
... status ?! SΣ1..1coderegistered | preliminary | final | amended +
Binding: ObservationStatus (required)
... reliability ?!0..1codeok | ongoing | early | questionable | calibrating | error +
Binding: ObservationReliability (required)
... method 0..1CodeableConceptHow it was done
Binding: ObservationMethod (example)
... identifier S1..*IdentifierUnique Id for this particular observation
.... extension 0..*ExtensionAdditional Content defined by implementations
.... use ?! S1..1codeusual | official | temp | secondary (If known)
Binding: IdentifierUse (required)
.... type 0..1CodeableConceptDescription of identifier
Binding: IdentifierType (extensible)
.... system S1..1uriThe namespace for the identifier
Example: http://www.acme.com/identifiers/patient or urn:ietf:rfc:3986 if the id itself is a full uri
.... value S1..1stringThe value that is unique
Example: 123456
.... period 0..1PeriodTime period when id is/was valid for use
.... assigner 0..1OrganizationOrganization that issued id (may be just text)
... subject S Σ1..1patient-daf-dafpatientWho and/or what this is about
... specimen 0..1SpecimenSpecimen used for this observation
... performer Σ0..*pract-daf-dafpract, org-daf-daforganization, patient-daf-dafpatient, relatedperson-daf-dafrelatedpersonWho did the observation
... device 0..1Device, DeviceMetric(Measurement) Device
... encounter S1..1encounter-daf-dafencounterHealthcare event during which this observation is made
... referenceRange S I0..1Provides guide for interpretation
obs-3: Must have at least a low or a high or text
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
.... low I0..1QuantityLow Range, if relevant
obs-4: Low range comparators can only be '>' or '>=' or empty
.... high I0..1QuantityHigh Range, if relevant
obs-5: High range comparators can only be '<' or '<=' or empty
.... meaning 0..1CodeableConceptIndicates the meaning/use of this range of this range
Binding: ObservationRangeMeaning (example)
.... age 0..1RangeApplicable age range, if relevant
.... text S0..1stringText based reference range in an observation

todo

Differential View

This structure is derived from Observation.

NameFlagsCard.TypeDescription & Constraintsdoco
.. Observation 1..1ObservationUS Realm DAF laboratory result using Ratio Data Type for numeric results
... code S1..1CodeableConceptUS Realm Laboratory Test Name
Binding: USLabObservationName (extensible)
.... coding S1..*Coding
..... system S1..1uri
..... code S1..1code
..... display S0..1string
.... text S0..1stringDisplay text
... valueRatio S0..1Titre value
.... numerator S0..1Quantity
.... denominator S0..1Quantity
... dataAbsentReason S0..1CodeableConcept
... interpretation S0..1CodeableConceptBinding: USLabObsInterpretation (required)
.... coding S1..*Coding
..... code S1..1code
..... system S1..1uri
... applies[x] S I0..1dateTime, PeriodFor lab tests this is the specimen collection date. For Ask at Order Entry Questions (AOE)'s this is the date the question was asked.
inv-1: Datetime must be at least to day.
... issued S0..1instant
... status S1..1code
... bodySite[x] 0..0
... identifier S1..*Identifier
.... use S1..1code
.... system S1..1uri
.... value S1..1string
... subject S1..1patient-daf-dafpatient
... performer 0..*pract-daf-dafpract, org-daf-daforganization, patient-daf-dafpatient, relatedperson-daf-dafrelatedperson
... encounter S1..1encounter-daf-dafencounter
... referenceRange S0..1
.... text S0..1string
... related 0..0

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Observation I1..1ObservationUS Realm DAF laboratory result using Ratio Data Type for numeric results
obs-6: Shall only be present if Observation.value[x] is not present
... 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: Language (required)
... text I0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional Content defined by implementations
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... code S Σ1..1CodeableConceptUS Realm Laboratory Test Name
Binding: USLabObservationName (extensible)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... coding S1..*CodingCode defined by a terminology system
..... extension 0..*ExtensionAdditional Content defined by implementations
..... system S1..1uriIdentity of the terminology system
..... version 0..1stringVersion of the system - if relevant
..... code S1..1codeSymbol in syntax defined by the system
..... display S0..1stringRepresentation defined by the system
..... primary 0..1booleanIf this code was chosen directly by the user
.... text S0..1stringDisplay text
... value[x] S Σ0..1Quantity, CodeableConcept, string, Range, Ratio, SampledData, Attachment, time, dateTime, PeriodTitre value
Binding: ObservationValue (example)
... dataAbsentReason S I0..1CodeableConceptWhy the result is missing
Binding: ObservationValueAbsentReason (extensible)
... interpretation S0..1CodeableConceptHigh, low, normal, etc.
Binding: USLabObsInterpretation (required)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... coding S1..*CodingCode defined by a terminology system
..... extension 0..*ExtensionAdditional Content defined by implementations
..... system S1..1uriIdentity of the terminology system
..... version 0..1stringVersion of the system - if relevant
..... code 0..1codeSymbol in syntax defined by the system
..... display 0..1stringRepresentation defined by the system
..... primary 0..1booleanIf this code was chosen directly by the user
.... text 0..1stringPlain text representation of the concept
... comments 0..1stringComments about result
... applies[x] S ΣI0..1dateTime, PeriodFor lab tests this is the specimen collection date. For Ask at Order Entry Questions (AOE)'s this is the date the question was asked.
inv-1: Datetime must be at least to day.
... issued S Σ0..1instantDate/Time this was made available
... status ?! SΣ1..1coderegistered | preliminary | final | amended +
Binding: ObservationStatus (required)
... reliability ?!0..1codeok | ongoing | early | questionable | calibrating | error +
Binding: ObservationReliability (required)
... method 0..1CodeableConceptHow it was done
Binding: ObservationMethod (example)
... identifier S1..*IdentifierUnique Id for this particular observation
.... extension 0..*ExtensionAdditional Content defined by implementations
.... use ?! S1..1codeusual | official | temp | secondary (If known)
Binding: IdentifierUse (required)
.... type 0..1CodeableConceptDescription of identifier
Binding: IdentifierType (extensible)
.... system S1..1uriThe namespace for the identifier
Example: http://www.acme.com/identifiers/patient or urn:ietf:rfc:3986 if the id itself is a full uri
.... value S1..1stringThe value that is unique
Example: 123456
.... period 0..1PeriodTime period when id is/was valid for use
.... assigner 0..1OrganizationOrganization that issued id (may be just text)
... subject S Σ1..1patient-daf-dafpatientWho and/or what this is about
... specimen 0..1SpecimenSpecimen used for this observation
... performer Σ0..*pract-daf-dafpract, org-daf-daforganization, patient-daf-dafpatient, relatedperson-daf-dafrelatedpersonWho did the observation
... device 0..1Device, DeviceMetric(Measurement) Device
... encounter S1..1encounter-daf-dafencounterHealthcare event during which this observation is made
... referenceRange S I0..1Provides guide for interpretation
obs-3: Must have at least a low or a high or text
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
.... low I0..1QuantityLow Range, if relevant
obs-4: Low range comparators can only be '>' or '>=' or empty
.... high I0..1QuantityHigh Range, if relevant
obs-5: High range comparators can only be '<' or '<=' or empty
.... meaning 0..1CodeableConceptIndicates the meaning/use of this range of this range
Binding: ObservationRangeMeaning (example)
.... age 0..1RangeApplicable age range, if relevant
.... text S0..1stringText based reference range in an observation

XML Template

JSON Template

todo

 

Other representations of profile: (todo)

4.20.17.8.2 Terminology Bindings

PathNameConformanceValueSet
Observation.languageLanguagerequiredhttp://tools.ietf.org/html/bcp47
Observation.codeUSLabObservationNameextensibleUS Laboratory Observation Profile Observation Name Codes
Observation.value[x]ObservationValueexampleSNOMED CT Codes
Observation.dataAbsentReasonObservationValueAbsentReasonextensibleObservation Value Absent Reason
Observation.interpretationUSLabObsInterpretationrequiredUS Laboratory Observation Profile Interpretation Codes
Observation.statusObservationStatusrequiredObservationStatus
Observation.reliabilityObservationReliabilityrequiredObservationReliability
Observation.methodObservationMethodexampleObservation Methods
Observation.identifier.useIdentifierUserequiredIdentifierUse
Observation.identifier.typeIdentifierTypeextensibleIdentifier Type Codes
Observation.referenceRange.meaningObservationRangeMeaningexampleObservation Reference Range Meaning Codes
Observation.related.typeObservationRelationshipTyperequiredObservationRelationshipType

4.20.17.8.3 Constraints

IdPathNameDetails
obs-6Observationdata absent reasonShall only be present if Observation.value[x] is not present
XPath: not(exists(f:dataAbsentReason)) or (not(exists(*[starts-with(local-name(.), 'value')])))
inv-1Observation.applies[x]datetime to DayDatetime must be at least to day.
XPath: f:matches(appliesDateTime,/\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)/)
obs-3Observation.referenceRangereference rangeMust have at least a low or a high or text
XPath: (exists(f:low) or exists(f:high)or exists(f:text))
obs-4Observation.referenceRange.lowlow range comparatorsLow range comparators can only be '>' or '>=' or empty
XPath: not(exists(f:comparator)) or boolean(f:comparator/@value = '<') or boolean(f:comparator/@value = '<=')
obs-5Observation.referenceRange.highhigh range comparatorsHigh range comparators can only be '<' or '<=' or empty
XPath: not(exists(f:comparator)) or boolean(f:comparator/@value = '>') or boolean(f:comparator/@value = '>=')
.