This is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions
Example of testplan
{
"resourceType" : "TestPlan",
"id" : "example",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
"valueCode" : "fhir"
}],
"url" : "http://hl7.org/fhir/TestPlan/testplan-example",
"identifier" : [{
"system" : "urn:oid:0.1.2.3.4.5.6.7",
"value" : "1234"
}],
"status" : "draft",
"publisher" : "HL7 International / FHIR Infrastructure",
"contact" : [{
"telecom" : [{
"system" : "url",
"value" : "http://www.hl7.org/Special/committees/fiwg"
}]
}],
"scope" : [{
"artifactCanonical" : "http://hl7.org/fhir/StructureDefinition/Observation"
}],
"testCase" : [{
"key" : "obs-read",
"testRun" : [{
"narrative" : "Read a JSON formatted Observation",
"script" : {
"language" : {
"coding" : [{
"system" : "http://hl7.org/fhir/testplan-script-language",
"code" : "postman",
"display" : "Postman"
}]
},
"sourceString" : "Postman test script contents"
}
}],
"testData" : [{
"sourceString" : "Description of observation test data"
}]
}]
}
Usage note: every effort has been made to ensure that the
examples are correct and useful, but they are not a normative part
of the specification.