FHIR | PKB | Notes |
---|
Resource id | [[Consultation.Public ID]] | |
Resource meta | [[Consultation.Privacy Label]] code mappings (PKB → FHIR): GENERAL_HEALTH → GENERAL_HEALTH MENTAL_HEALTH → MENTAL_HEALTH SEXUAL_HEALTH → SEXUAL_HEALTH SOCIAL_CARE → SOCIAL_CARE
| |
Questionnaire.title | [[Consultation.Name]] | |
Questionnaire.status | "active" | Note that a Questionnaire has a status of “active” even if it has been hidden in PKB. |
Questionnaire.date | [[Consultation.Creation Timestamp]] | |
Questionnaire.publisher | | |
Questionnaire.item | For each [[Consultation->Consultation Item]] item[x]: BackboneElement linkId = [[Consultation Item.ID]] text = [[Consultation Item.Text]] type = [[Consultation Item.Type]] <conditional> If [[Consultation Item.Type]] is TITLE: Else If [[Consultation Item.Type]] is CHECKBOX: Else: <conditional> If [[Consultation Item.Type]] is RADIO or CHECKBOX, add an option element for each [[Consultation Item Option]]: option: BackboneElement Else: omit the option element
[[Consultation Item.Type]] code mappings (PKB → FHIR): TITLE → display TEXT → text RADIO → choice CHECKBOX → choice
| |