Packages

ISO/HL7 FHIR Application Server

Current section

Files

Jump to
hl7 priv samples OperationDefinition OperationDefinition-example.json
Raw

priv/samples/OperationDefinition/OperationDefinition-example.json

{"resourceType":"OperationDefinition","id":"example","text":{"status":"generated","div":"\u003cdiv xmlns\u003d\"http://www.w3.org/1999/xhtml\"\u003e\u003cp\u003e\u003cb\u003eGenerated Narrative: OperationDefinition\u003c/b\u003e\u003ca name\u003d\"example\"\u003e \u003c/a\u003e\u003c/p\u003e\u003cdiv style\u003d\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"\u003e\u003cp style\u003d\"margin-bottom: 0px\"\u003eResource OperationDefinition \u0026quot;example\u0026quot; \u003c/p\u003e\u003c/div\u003e\u003cp\u003e\u003cb\u003eurl\u003c/b\u003e: \u003ccode\u003ehttp://hl7.org/fhir/OperationDefinition/example\u003c/code\u003e\u003c/p\u003e\u003cp\u003e\u003cb\u003eversion\u003c/b\u003e: B\u003c/p\u003e\u003cp\u003e\u003cb\u003ename\u003c/b\u003e: PopulateQuestionnaire\u003c/p\u003e\u003cp\u003e\u003cb\u003etitle\u003c/b\u003e: Populate Questionnaire\u003c/p\u003e\u003cp\u003e\u003cb\u003estatus\u003c/b\u003e: draft\u003c/p\u003e\u003cp\u003e\u003cb\u003ekind\u003c/b\u003e: operation\u003c/p\u003e\u003cp\u003e\u003cb\u003edate\u003c/b\u003e: 2015-08-04\u003c/p\u003e\u003cp\u003e\u003cb\u003epublisher\u003c/b\u003e: Acme Healthcare Services\u003c/p\u003e\u003cp\u003e\u003cb\u003econtact\u003c/b\u003e: System Administrator: \u003ca href\u003d\"mailto:beep@coyote.acme.com\"\u003ebeep@coyote.acme.com\u003c/a\u003e\u003c/p\u003e\u003cp\u003e\u003cb\u003edescription\u003c/b\u003e: Limited implementation of the Populate Questionnaire implementation\u003c/p\u003e\u003ch3\u003eUseContexts\u003c/h3\u003e\u003ctable class\u003d\"grid\"\u003e\u003ctr\u003e\u003ctd\u003e-\u003c/td\u003e\u003ctd\u003e\u003cb\u003eCode\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eValue[x]\u003c/b\u003e\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e*\u003c/td\u003e\u003ctd\u003eClinical Venue (Details: http://terminology.hl7.org/CodeSystem/usage-context-type code venue \u003d \u0027Clinical Venue\u0027, stated as \u0027Clinical Venue\u0027)\u003c/td\u003e\u003ctd\u003einpatient encounter \u003cspan style\u003d\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"\u003e (\u003ca href\u003d\"http://terminology.hl7.org/5.1.0/CodeSystem-v3-ActCode.html\"\u003eActCode\u003c/a\u003e#IMP)\u003c/span\u003e\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\u003cp\u003e\u003cb\u003ejurisdiction\u003c/b\u003e: United Kingdom of Great Britain and Northern Ireland (the) \u003cspan style\u003d\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"\u003e (\u003ca href\u003d\"http://terminology.hl7.org/5.1.0/CodeSystem-ISO3166Part1.html\"\u003eISO 3166-1 Codes for the representation of names of countries and their subdivisions — Part 1: Country code\u003c/a\u003e#GB)\u003c/span\u003e\u003c/p\u003e\u003cp\u003e\u003cb\u003ecode\u003c/b\u003e: populate\u003c/p\u003e\u003cp\u003e\u003cb\u003ecomment\u003c/b\u003e: Only implemented for Labs and Medications so far\u003c/p\u003e\u003cp\u003e\u003cb\u003ebase\u003c/b\u003e: \u003ca href\u003d\"http://hl7.org/fhir/OperationDefinition/Questionnaire-populate\"\u003ehttp://hl7.org/fhir/OperationDefinition/Questionnaire-populate\u003c/a\u003e\u003c/p\u003e\u003cp\u003e\u003cb\u003eresource\u003c/b\u003e: Questionnaire\u003c/p\u003e\u003cp\u003e\u003cb\u003esystem\u003c/b\u003e: false\u003c/p\u003e\u003cp\u003e\u003cb\u003etype\u003c/b\u003e: false\u003c/p\u003e\u003cp\u003e\u003cb\u003einstance\u003c/b\u003e: true\u003c/p\u003e\u003cblockquote\u003e\u003cp\u003e\u003cb\u003eparameter\u003c/b\u003e\u003c/p\u003e\u003cp\u003e\u003cb\u003ename\u003c/b\u003e: subject\u003c/p\u003e\u003cp\u003e\u003cb\u003euse\u003c/b\u003e: in\u003c/p\u003e\u003cp\u003e\u003cb\u003emin\u003c/b\u003e: 1\u003c/p\u003e\u003cp\u003e\u003cb\u003emax\u003c/b\u003e: 1\u003c/p\u003e\u003cp\u003e\u003cb\u003edocumentation\u003c/b\u003e: The resource that is to be the *QuestionnaireResponse.subject*. The [[[QuestionnaireResponse]]] instance will reference the provided subject. In addition, if the *local* parameter is set to true, server information about the specified subject will be used to populate the instance.\u003c/p\u003e\u003cp\u003e\u003cb\u003etype\u003c/b\u003e: Reference\u003c/p\u003e\u003c/blockquote\u003e\u003cblockquote\u003e\u003cp\u003e\u003cb\u003eparameter\u003c/b\u003e\u003c/p\u003e\u003cp\u003e\u003cb\u003ename\u003c/b\u003e: local\u003c/p\u003e\u003cp\u003e\u003cb\u003euse\u003c/b\u003e: in\u003c/p\u003e\u003cp\u003e\u003cb\u003emin\u003c/b\u003e: 0\u003c/p\u003e\u003cp\u003e\u003cb\u003emax\u003c/b\u003e: 1\u003c/p\u003e\u003cp\u003e\u003cb\u003edocumentation\u003c/b\u003e: If the *local* parameter is set to true, server information about the specified subject will be used to populate the instance.\u003c/p\u003e\u003cp\u003e\u003cb\u003etype\u003c/b\u003e: Reference\u003c/p\u003e\u003c/blockquote\u003e\u003cblockquote\u003e\u003cp\u003e\u003cb\u003eparameter\u003c/b\u003e\u003c/p\u003e\u003cp\u003e\u003cb\u003ename\u003c/b\u003e: return\u003c/p\u003e\u003cp\u003e\u003cb\u003euse\u003c/b\u003e: out\u003c/p\u003e\u003cp\u003e\u003cb\u003emin\u003c/b\u003e: 1\u003c/p\u003e\u003cp\u003e\u003cb\u003emax\u003c/b\u003e: 1\u003c/p\u003e\u003cp\u003e\u003cb\u003edocumentation\u003c/b\u003e: The partially (or fully)-populated set of answers for the specified Questionnaire\u003c/p\u003e\u003cp\u003e\u003cb\u003etype\u003c/b\u003e: QuestionnaireResponse\u003c/p\u003e\u003c/blockquote\u003e\u003cblockquote\u003e\u003cp\u003e\u003cb\u003eoverload\u003c/b\u003e\u003c/p\u003e\u003cp\u003e\u003cb\u003eparameterName\u003c/b\u003e: subject, local\u003c/p\u003e\u003c/blockquote\u003e\u003cblockquote\u003e\u003cp\u003e\u003cb\u003eoverload\u003c/b\u003e\u003c/p\u003e\u003cp\u003e\u003cb\u003eparameterName\u003c/b\u003e: subject\u003c/p\u003e\u003cp\u003e\u003cb\u003ecomment\u003c/b\u003e: local defaults to false when not passed as a parameter\u003c/p\u003e\u003c/blockquote\u003e\u003c/div\u003e"},"url":"http://hl7.org/fhir/OperationDefinition/example","version":"B","name":"PopulateQuestionnaire","title":"Populate Questionnaire","status":"draft","kind":"operation","date":"2015-08-04","publisher":"Acme Healthcare Services","contact":[{"name":"System Administrator","telecom":[{"system":"email","value":"beep@coyote.acme.com"}]}],"description":"Limited implementation of the Populate Questionnaire implementation","useContext":[{"code":{"system":"http://terminology.hl7.org/CodeSystem/usage-context-type","code":"venue","display":"Clinical Venue"},"valueCodeableConcept":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v3-ActCode","code":"IMP","display":"inpatient encounter"}]}}],"jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"GB","display":"United Kingdom of Great Britain and Northern Ireland (the)"}]}],"code":"populate","comment":"Only implemented for Labs and Medications so far","base":"http://hl7.org/fhir/OperationDefinition/Questionnaire-populate","resource":["Questionnaire"],"system":false,"type":false,"instance":true,"parameter":[{"name":"subject","use":"in","min":1,"max":"1","documentation":"The resource that is to be the *QuestionnaireResponse.subject*. The [[[QuestionnaireResponse]]] instance will reference the provided subject. In addition, if the *local* parameter is set to true, server information about the specified subject will be used to populate the instance.","type":"Reference"},{"name":"local","use":"in","min":0,"max":"1","documentation":"If the *local* parameter is set to true, server information about the specified subject will be used to populate the instance.","type":"Reference"},{"name":"return","use":"out","min":1,"max":"1","documentation":"The partially (or fully)-populated set of answers for the specified Questionnaire","type":"QuestionnaireResponse"}],"overload":[{"parameterName":["subject","local"]},{"parameterName":["subject"],"comment":"local defaults to false when not passed as a parameter"}]}