Skip to content

Instantly share code, notes, and snippets.

@p2
Last active August 29, 2015 14:24
Show Gist options
  • Save p2/dc3e9ce198852b9937e0 to your computer and use it in GitHub Desktop.
Save p2/dc3e9ce198852b9937e0 to your computer and use it in GitHub Desktop.
🔥FHIR ValueSet: Yes/No/Don't know
{
"resourceType": "ValueSet",
"status": "draft",
"identifier": {
"system": "https://smarthealthit.org/ValueSet/questionnaire-yesnodontknow"
},
"name": "Yes/No/Don't Know",
"description": "Captures simple yes-no-don't know answers",
"compose": {
"import": [
"http://hl7.org/fhir/v2/vs/0136"
],
"include": [
{
"system": "http://hl7.org/fhir/data-absent-reason",
"concept": [
{
"code": "asked",
"display": "Don't know"
}]
}
]
},
"expansion": {
"identifier": "urn:uuid:bf99fe50-2c2b-41ad-bd63-bee6919810b4",
"timestamp": "2015-07-14T10:00:00Z",
"contains": [
{
"system": "http://hl7.org/fhir/v2/vs/0136",
"code": "Y",
"display": "Yes"
},
{
"system": "http://hl7.org/fhir/v2/vs/0136",
"code": "N",
"display": "No"
},
{
"system": "http://hl7.org/fhir/data-absent-reason",
"code": "asked",
"display": "Don't know"
}]
}
}
@brianpos
Copy link

Shouldn't the expansion actually be a define section, as this isn't an expansion.

@brianpos
Copy link

Sorry, missed the import bit, looks ok (Thanks GG)

@p2
Copy link
Author

p2 commented Jul 17, 2015

Thanks for checking anyway!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment