2nd DSTU Draft For Comment

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

Profile: HSPC Standard Quantitative Lab: Specific gravity

The official URL for this profile is:

http://hl7.org/fhir/Profile/SpecificGravityUrineQnLabObs

. ??

This profile was published on Wed, Feb 18, 2015 00:00+1100 with unknown status '" by . Use the Review Spreadsheet to comment on this profile.

Summary

Required/Prohibited Elements

  • The element Observation.valueQuantity.code is required

Fixed Values

  • The element Observation.code value has been fixed to LOINC code 2965-2
  • The element Observation.valueQuantity.code value has been fixed to

Formal Views of Profile Content

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

Differential View

This structure is derived from observation-hspc-standardlabobs-quantitative-stdqty.

NameFlagsCard.TypeDescription & Constraintsdoco
.. code Fixed Value: {"coding":[{"system":"http://loinc.org","code":"2965-2"}]}

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Observation I1..1Measurements and simple assertions
obs-6: Shall only be present if Observation.value[x] is not present
inv-1: Must have either a value or a dataAbsentReason but not both
... id 0..1idLogical id of this artefact
... meta 0..1MetaMetadata about the resource
... implicitRules M0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: Language (required, not extensible)
... text I0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... hspc-ReportingPriority 0..1codeAdditional Content defined by implementations
... hspc-DeltaFlag 0..1codeAdditional Content defined by implementations
... hspc-Verified 0..1booleanAdditional Content defined by implementations
... hspc-Updated 0..1dateTimeAdditional Content defined by implementations
... indirectTarget 0..1Patient, Group, LocationAdditional Content defined by implementations
... modifierExtension 0..*ExtensionExtensions that cannot be ignored
... code 1..1CodeableConceptType of observation (code / type)
Binding: HSPC-Quantitative-Observations (preferred, extensible)
Fixed Value: {"coding":[{"system":"http://loinc.org","code":"2965-2"}]}
... valueQuantity 0..1QuantityActual result
.... id 0..1idxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... value 1..1decimalNumerical value (with implicit precision)
.... comparator M0..1code< | <= | >= | > - how to understand the value
Binding: QuantityComparator (required, not extensible)
.... units 1..1stringUnit representation
.... system I1..1uriSystem that defines coded unit form
Fixed Value: http://unitsofmeasure.org
.... code 1..1codeCoded form of the unit
Fixed Value:
... dataAbsentReason I0..1codeunknown | asked | temp | notasked +
Binding: DataAbsentReason (required, not extensible)
Example: unknown
... interpretation 0..1CodeableConceptHigh, low, normal, etc.
Binding: CEM_AbnormalInterpretation (preferred, extensible)
... comments 0..1stringComments about result
... issued 0..1instantDate/Time this was made available
... status M1..1coderegistered | preliminary | final | amended +
Binding: ObservationStatus (required, not extensible)
... reliability M0..1codeok | ongoing | early | questionable | calibrating | error +
Binding: ObservationReliability (required, not extensible)
Fixed Value: ok
... subject 1..1Patient, Group, Device, LocationWho and/or what this is about
... specimen 0..1hspc-SpecimenSpecimen used for this observation
... performer Practitioner, Organization, Patient, RelatedPersonWho did the observation
Slice: Ordered, Closed, by performer.type
... performer 0..*hspc-ResponsibleObserverthe individual with the primary responsibility for the procedure or action being taken
... performer 0..1hspc-PerformingLaboratoryname and address of the laboratory that performs the test
... device 0..1Device, DeviceMetric(Measurement) Device
... encounter 0..1EncounterHealthcare event during which this observation is made
... referenceRange I1..1Provides guide for interpretation
obs-3: Must have at least a low or a high or text
.... id 0..1idxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension 0..*ExtensionExtensions that cannot be ignored
.... text 1..1stringText based reference range in an observation

XML Template

JSON Template

todo

Differential View

This structure is derived from observation-hspc-standardlabobs-quantitative-stdqty.

NameFlagsCard.TypeDescription & Constraintsdoco
.. code Fixed Value: {"coding":[{"system":"http://loinc.org","code":"2965-2"}]}

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Observation I1..1Measurements and simple assertions
obs-6: Shall only be present if Observation.value[x] is not present
inv-1: Must have either a value or a dataAbsentReason but not both
... id 0..1idLogical id of this artefact
... meta 0..1MetaMetadata about the resource
... implicitRules M0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: Language (required, not extensible)
... text I0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... hspc-ReportingPriority 0..1codeAdditional Content defined by implementations
... hspc-DeltaFlag 0..1codeAdditional Content defined by implementations
... hspc-Verified 0..1booleanAdditional Content defined by implementations
... hspc-Updated 0..1dateTimeAdditional Content defined by implementations
... indirectTarget 0..1Patient, Group, LocationAdditional Content defined by implementations
... modifierExtension 0..*ExtensionExtensions that cannot be ignored
... code 1..1CodeableConceptType of observation (code / type)
Binding: HSPC-Quantitative-Observations (preferred, extensible)
Fixed Value: {"coding":[{"system":"http://loinc.org","code":"2965-2"}]}
... valueQuantity 0..1QuantityActual result
.... id 0..1idxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... value 1..1decimalNumerical value (with implicit precision)
.... comparator M0..1code< | <= | >= | > - how to understand the value
Binding: QuantityComparator (required, not extensible)
.... units 1..1stringUnit representation
.... system I1..1uriSystem that defines coded unit form
Fixed Value: http://unitsofmeasure.org
.... code 1..1codeCoded form of the unit
Fixed Value:
... dataAbsentReason I0..1codeunknown | asked | temp | notasked +
Binding: DataAbsentReason (required, not extensible)
Example: unknown
... interpretation 0..1CodeableConceptHigh, low, normal, etc.
Binding: CEM_AbnormalInterpretation (preferred, extensible)
... comments 0..1stringComments about result
... issued 0..1instantDate/Time this was made available
... status M1..1coderegistered | preliminary | final | amended +
Binding: ObservationStatus (required, not extensible)
... reliability M0..1codeok | ongoing | early | questionable | calibrating | error +
Binding: ObservationReliability (required, not extensible)
Fixed Value: ok
... subject 1..1Patient, Group, Device, LocationWho and/or what this is about
... specimen 0..1hspc-SpecimenSpecimen used for this observation
... performer Practitioner, Organization, Patient, RelatedPersonWho did the observation
Slice: Ordered, Closed, by performer.type
... performer 0..*hspc-ResponsibleObserverthe individual with the primary responsibility for the procedure or action being taken
... performer 0..1hspc-PerformingLaboratoryname and address of the laboratory that performs the test
... device 0..1Device, DeviceMetric(Measurement) Device
... encounter 0..1EncounterHealthcare event during which this observation is made
... referenceRange I1..1Provides guide for interpretation
obs-3: Must have at least a low or a high or text
.... id 0..1idxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension 0..*ExtensionExtensions that cannot be ignored
.... text 1..1stringText based reference range in an observation

XML Template

JSON Template

todo

 

Other definitions: (todo)

Terminology Bindings

PathNameConformanceValueSet
Observation.languageLanguagerequiredhttp://tools.ietf.org/html/bcp47
Observation.codeHSPC-Quantitative-Observationspreferred (extensible)HSPC Quantitative Labs
Observation.valueQuantity.comparatorQuantityComparatorrequiredQuantityComparator
Observation.dataAbsentReasonDataAbsentReasonrequiredDataAbsentReason
Observation.interpretationCEM_AbnormalInterpretationpreferred (extensible)AbnormalInterpretation
Observation.statusObservationStatusrequiredObservationStatus
Observation.reliabilityObservationReliabilityrequiredObservationReliability
Observation.bodySite[x]BodySiteexample (extensible)SNOMED CT Body Structures
Observation.methodObservationMethodexample (extensible)Observation Methods
Observation.referenceRange.meaningObservationRangeMeaningexample (extensible)Observation Reference Range Meaning Codes
Observation.related.typeObservationRelationshipTyperequiredObservationRelationshipType

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-1Observationvalue or dataAbsentReasonMust have either a value or a dataAbsentReason but not both
XPath: (f:value or f:dataAbsentReason) and (not(f:value and f:dataAbsentReason))
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 = '>=')
.