NCPI FHIR Implementation Guide
0.2.0 - ci-build
NCPI FHIR Implementation Guide - Local Development build (v0.2.0). See the Directory of published versions
In this example, we provide a single “row” of data as an Observation. The row’s subject references the relevant Patient resource while the specimen resource references the the relevant Specimen resource (most, if not all rows, should provide a reference to the subject, but the specimen may only apply to rows from specific tables.)
Notice the use of codes from the study’s data-dictionary code systems. For the Observation’s code, we use the study’s entry, demographics from the dataset code system. For each of the variables, represented here as elements in the component array, the codes used are from the related variable’s entry in the table’s CodeSystem.
Generated Narrative: Observation
Resource Observation "example-observation-data-row-1"
status: final
code: Demographics (Dataset CodeSystem (lists all tables)#demographics)
subject: Patient/ncpi-research-study-01-patient-01
specimen: Specimen/ncpi-research-study-01-specimen-01
component
code: Subject's Unique Identifier (Datatable CodeSystem (lists all variables)#subjectid)
value: SUB0001
component
code: Gender (Datatable CodeSystem (lists all variables)#gender)
value: female (AdministrativeGender#female)
component
code: Subject's BMI, Measured at Enrollment (Datatable CodeSystem (lists all variables)#bmi)
value: 34.1 kg/m2 (Details: UCUM code kg/m2 = 'kg/m2')
component
code: Subject's status (Case or Control) (Datatable CodeSystem (lists all variables)#status)
value: Case (umls#C99269)