sampler2 Implementation Guide CI Build

SD.5 StructureDefinition-template-basic

Profile template-basic.md file

Conformance resource variables defined here

id = template-basic

  • index : a local id for the structure: {{site.data.structuredefinitions.[id].index}} = 4
  • url : full canonical url for the structure: {{site.data.structuredefinitions.[id].url}} = http://www.fhir.org/guides/sampler2/StructureDefinition/template-basic
  • name : the name given for it: {{site.data.structuredefinitions.[id].name}} = Profile template-basic
  • path : the path to it in the built html: {{site.data.structuredefinitions.[id].path}} = StructureDefinition-template-basic.html
  • kind : the kind (complex data type, resource, logical model): {{site.data.structuredefinitions.[id].kind}} = resource
  • type : the base type: {{site.data.structuredefinitions.[id].type}} = Basic
  • base : the url for structure definition from which it derives: {{site.data.structuredefinitions.[id].base}} = http://hl7.org/fhir/StructureDefinition/Basic
  • basename : the name of the structure definition from which it derives: {{site.data.structuredefinitions.[id].basename}} = Basic
  • basepath : the url to the structure definition from which it derives: {{site.data.structuredefinitions.[id].basepath}} = http://hl7.org/fhir/STU3/basic.html
  • status : the status (draft, active, retired): {{site.data.structuredefinitions.[id].status}} = draft
  • date : the date in the resource: {{site.data.structuredefinitions.[id].date}} = Wed Feb 15 00:00:00 PST 2017
  • publisher : the stated publisher: {{site.data.structuredefinitions.[id].publisher}} =
  • copyright : the stated copyright for the resource: {{site.data.structuredefinitions.[id].copyright}} =
  • description : the description for the resource: {{site.data.structuredefinitions.[id].description}} =
  • contextType : the type of context associated with an extension structure definition: {{site.data.structuredefinitions.[id].contextType}} =
  • contexts : an array of paths for each allowed context path for an extension: {{site.data.structuredefinitions.[id].contexts}} =

This is the introduction markdown file that gets inserted into the sd.html template.

This profile sets minimum expectations for blah blah blah

Mandatory Data Elements and Terminology

The following data-elements are mandatory (i.e data MUST be present). blah blah blah

must have:

  1. blah
  2. blah
  3. blah

Additional Profile specific implementation guidance:

Examples

Diet

SD.5.1 Formal Views of Profile Content

Description of Profiles, Differentials, and Snapshots.

The official URL for this profile is: http://www.fhir.org/guides/sampler2/StructureDefinition/template-basic

Published on Wed Feb 15 00:00:00 PST 2017 as a draft by .

This profile builds on Basic


Summary

Mandatory: 5 elements
Must-Support: 7 elements
Fixed Value: 1 element

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Basic I0..*Resource for non-supported content
temp-1: Identifier SHALL be greater than 5 characters
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: Common Languages (extensible)
... text I0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension-blah SI0..1codeExample extension
URL: http://www.fhir.org/guides/sampler2/StructureDefinition/extension-blah
Binding: BlahCodes (required)
... extension-complex SI0..1(Complex)Example complex extension
URL: http://www.fhir.org/guides/sampler2/StructureDefinition/extension-complex
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier SΣ1..1IdentifierBusiness identifier
... code ?!SΣ1..1CodeableConceptKind of Resource
Binding: Basic Resource Types (example)
.... id 0..1stringxml:id (or equivalent in JSON)
.... coding SΣ1..1CodingCode defined by a terminology system
..... id 0..1stringxml:id (or equivalent in JSON)
..... system Σ0..1uriIdentity of the terminology system
..... version Σ0..1stringVersion of the system - if relevant
..... code SΣ1..1codeSymbol in syntax defined by the system
Fixed Value: diet
..... display Σ0..1stringRepresentation defined by the system
..... userSelected Σ0..1booleanIf this coding was chosen directly by the user
.... text Σ0..1stringPlain text representation of the concept
... subject SΣ1..1Reference(US Core Patient Profile)Identifies the focus of this resource
... created Σ0..1dateWhen created
... author Σ0..1Reference(Practitioner), Reference(Patient), Reference(RelatedPerson)Who created

doco Documentation for this format

Downloads: StructureDefinition: (XML, JSON), Schema: XML Schematron

 

SD.5.2 Quick Start

Below is an overview of the required set of RESTful FHIR interactions - for example, search and read operations - for this profile. See the Conformance requirements for a complete list of supported RESTful interactions for this IG.

Template-basic-search.md file

This is the search markdown file that gets inserted into the sd.html Quick Start section for explanation of the search requirements.

GET /Basic?patient={id}

Example:

[example here]

Support: e.g. Mandatory for client to support search by patient. Optional for server to support.

Implementation Notes: blah blah blah

Response Class:

  • (Status 200): successful operation
  • (Status 400): invalid parameter
  • (Status 401/4xx): unauthorized request
  • (Status 403): insufficient scope